@ai-matrx/records-ui 0.93.12 → 0.93.13
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 +6 -0
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
+
## 0.93.13
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/records-ui/v0.93.12..npm/records-ui/v0.93.13 -- apps/shared/records-ui`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
3
9
|
## 0.93.12
|
|
4
10
|
### Unreleased
|
|
5
11
|
### page-pass shared fix (2026-09-27): the agent door shows each field's value and can set values
|
package/dist/index.cjs
CHANGED
|
@@ -16740,7 +16740,7 @@ function PipelineBoard({
|
|
|
16740
16740
|
};
|
|
16741
16741
|
if (fields.error) return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(RefusalNotice, { error: fields.error });
|
|
16742
16742
|
if (error) return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(RefusalNotice, { error });
|
|
16743
|
-
if (loading || fields.loading) return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_design_system49.Skeleton, { className: "h-40 w-full" });
|
|
16743
|
+
if (loading || fields.loading && !fields.data) return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_design_system49.Skeleton, { className: "h-40 w-full" });
|
|
16744
16744
|
if (!definition?.is_pipeline) {
|
|
16745
16745
|
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: "rounded border border-dashed p-4 text-xs text-muted-foreground", children: definition?.why ?? "This table has no stage column yet, so there is no board to draw." });
|
|
16746
16746
|
}
|
|
@@ -17437,7 +17437,7 @@ function Board({
|
|
|
17437
17437
|
);
|
|
17438
17438
|
if (fields.error) return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(RefusalNotice, { error: fields.error });
|
|
17439
17439
|
if (records.error) return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(RefusalNotice, { error: records.error });
|
|
17440
|
-
if (fields.loading || records.loading) return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_design_system50.Skeleton, { className: "h-40 w-full" });
|
|
17440
|
+
if (fields.loading && !fields.data || records.loading && records.rows.length === 0) return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_design_system50.Skeleton, { className: "h-40 w-full" });
|
|
17441
17441
|
const all = fields.data ?? [];
|
|
17442
17442
|
const byKey = (key) => all.find((f) => f.key === key);
|
|
17443
17443
|
const noRows = records.rows.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
@@ -20309,7 +20309,7 @@ function CommentThread({ tableId, recordId, fieldKey, className }) {
|
|
|
20309
20309
|
return people.filter((p) => !picked.some((already) => already.userId === p.userId)).filter((p) => q === "" || (p.name ?? p.email ?? "").toLowerCase().includes(q)).slice(0, 6);
|
|
20310
20310
|
}, [mentionQuery, people, picked]);
|
|
20311
20311
|
if (error) return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(RefusalNotice, { error, className });
|
|
20312
|
-
if (!thread || table.loading || fields.loading) return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_design_system58.Skeleton, { className: (0, import_design_system58.cn)("h-32 w-full", className) });
|
|
20312
|
+
if (!thread || table.loading && !table.data || fields.loading && !fields.data) return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_design_system58.Skeleton, { className: (0, import_design_system58.cn)("h-32 w-full", className) });
|
|
20313
20313
|
const shown3 = fieldKey ? thread.comments.filter((c) => c.field_key === fieldKey) : thread.comments;
|
|
20314
20314
|
const roots = shown3.filter((c) => !c.parent_comment_id);
|
|
20315
20315
|
const repliesOf = (id) => shown3.filter((c) => c.parent_comment_id === id);
|
|
@@ -20525,7 +20525,7 @@ function FieldHistoryPanel({
|
|
|
20525
20525
|
}, [load]);
|
|
20526
20526
|
const label = (fields.data ?? []).find((f) => f.key === fieldKey)?.label || humanize(fieldKey);
|
|
20527
20527
|
if (error) return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(RefusalNotice, { error, className });
|
|
20528
|
-
if (!rows || fields.loading || table.loading) return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_design_system59.Skeleton, { className: (0, import_design_system59.cn)("h-40 w-full", className) });
|
|
20528
|
+
if (!rows || fields.loading && !fields.data || table.loading && !table.data) return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_design_system59.Skeleton, { className: (0, import_design_system59.cn)("h-40 w-full", className) });
|
|
20529
20529
|
async function start(row) {
|
|
20530
20530
|
setSaid(null);
|
|
20531
20531
|
setPending({ phase: "asking", recordId: row.record_id, version: row.version });
|
|
@@ -22856,7 +22856,7 @@ function ConnectedFormRunner(props) {
|
|
|
22856
22856
|
[client, form.subject, form.questions]
|
|
22857
22857
|
);
|
|
22858
22858
|
if (fields.error) return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(RefusalNotice, { error: fields.error, className });
|
|
22859
|
-
if (fields.loading) return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_design_system67.Skeleton, { className: (0, import_design_system67.cn)("h-40 w-full", className) });
|
|
22859
|
+
if (fields.loading && !fields.data) return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_design_system67.Skeleton, { className: (0, import_design_system67.cn)("h-40 w-full", className) });
|
|
22860
22860
|
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
22861
22861
|
FormStage,
|
|
22862
22862
|
{
|
|
@@ -24330,7 +24330,7 @@ function DocTemplate({ tableId, seed, activeTemplateId, onActiveTemplate, classN
|
|
|
24330
24330
|
}
|
|
24331
24331
|
);
|
|
24332
24332
|
}
|
|
24333
|
-
if (templates === null || fields.loading) return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_design_system71.Skeleton, { className: (0, import_design_system71.cn)("h-64 w-full", className) });
|
|
24333
|
+
if (templates === null || fields.loading && !fields.data) return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_design_system71.Skeleton, { className: (0, import_design_system71.cn)("h-64 w-full", className) });
|
|
24334
24334
|
if (!rights.admin) {
|
|
24335
24335
|
return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("p", { className: (0, import_design_system71.cn)("text-xs text-muted-foreground", className), children: rights.why("structure") });
|
|
24336
24336
|
}
|
|
@@ -25992,7 +25992,7 @@ function BookingBuilder({ tableId, bookingId, onSaved, onClose, className }) {
|
|
|
25992
25992
|
await load();
|
|
25993
25993
|
onSaved?.({ form_id: formId });
|
|
25994
25994
|
}
|
|
25995
|
-
if (!loaded || fields.loading) return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_design_system77.Skeleton, { className: (0, import_design_system77.cn)("h-64 w-full", className) });
|
|
25995
|
+
if (!loaded || fields.loading && !fields.data) return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_design_system77.Skeleton, { className: (0, import_design_system77.cn)("h-64 w-full", className) });
|
|
25996
25996
|
if (!rights.structure) {
|
|
25997
25997
|
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: (0, import_design_system77.cn)("text-xs text-muted-foreground", className), children: rights.why("structure") ?? "Making a booking page needs the admin level on this table, because it lets people with no account take time in your calendar." });
|
|
25998
25998
|
}
|
|
@@ -27281,7 +27281,7 @@ function EmbedFrame({
|
|
|
27281
27281
|
setTokenId(null);
|
|
27282
27282
|
}, [client, tokenId]);
|
|
27283
27283
|
if (table.error) return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(RefusalNotice, { error: table.error, className });
|
|
27284
|
-
if (table.loading) return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_design_system83.Skeleton, { className: (0, import_design_system83.cn)("h-48 w-full", className) });
|
|
27284
|
+
if (table.loading && !table.data) return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_design_system83.Skeleton, { className: (0, import_design_system83.cn)("h-48 w-full", className) });
|
|
27285
27285
|
if (!rights.admin) {
|
|
27286
27286
|
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("p", { className: (0, import_design_system83.cn)("rounded border border-dashed px-2 py-1 text-xs text-muted-foreground", className), children: [
|
|
27287
27287
|
rights.why("structure"),
|
|
@@ -28862,7 +28862,7 @@ function TablePage({
|
|
|
28862
28862
|
headerNode,
|
|
28863
28863
|
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(RefusalNotice, { error: table.error })
|
|
28864
28864
|
] });
|
|
28865
|
-
if (table.loading) return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_jsx_runtime97.Fragment, { children: [
|
|
28865
|
+
if (table.loading && !table.data) return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_jsx_runtime97.Fragment, { children: [
|
|
28866
28866
|
headerNode,
|
|
28867
28867
|
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_design_system88.Skeleton, { className: "h-40 w-full" })
|
|
28868
28868
|
] });
|