@ai-matrx/records-ui 0.116.58 → 0.116.59
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 +2 -13
- package/dist/{chunk-F3NGOSYY.js → chunk-AJVN4BMI.js} +6 -2
- package/dist/chunk-AJVN4BMI.js.map +1 -0
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/pickers.cjs +5 -1
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-F3NGOSYY.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -14721,7 +14721,11 @@ function EntityReferencePicker({
|
|
|
14721
14721
|
onSearch: setSearch,
|
|
14722
14722
|
items,
|
|
14723
14723
|
notice: notice2,
|
|
14724
|
-
empty:
|
|
14724
|
+
empty: (
|
|
14725
|
+
// LINK-PICKER: a refused search is never an empty list. The refusal line above says why; "there is
|
|
14726
|
+
// none you can open" under it would be a second, untrue answer (the 2026-10-20 dead picker).
|
|
14727
|
+
found.loading || found.error ? null : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("p", { className: "px-2 py-1 text-[11px] text-muted-foreground", children: search.trim() ? `No ${kindWords} you can open is called \u201C${search.trim()}\u201D.` : `There is no ${kindWords} you can open yet.` })
|
|
14728
|
+
),
|
|
14725
14729
|
onPick: (key) => {
|
|
14726
14730
|
const r = (found.data ?? []).find((x) => `${x.token}:${x.id}` === key);
|
|
14727
14731
|
if (!r) return;
|