@ai-matrx/associations 0.7.0 → 0.7.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/CHANGELOG.md +15 -0
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +1 -1
- package/dist/core/index.js.map +1 -1
- package/dist/react/index.cjs +3 -3
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +3 -3
- package/dist/react/index.js.map +1 -1
- package/package.json +2 -2
package/dist/react/index.js
CHANGED
|
@@ -1389,7 +1389,7 @@ function useUniversalEntitySearch(args) {
|
|
|
1389
1389
|
const timer = setTimeout(async () => {
|
|
1390
1390
|
if (runRef.current !== run) return;
|
|
1391
1391
|
setLoading(true);
|
|
1392
|
-
const activeTokens = tokensKey ? tokensKey.split(",") : store.registry.
|
|
1392
|
+
const activeTokens = tokensKey ? tokensKey.split(",") : store.registry.listableTokens();
|
|
1393
1393
|
let next = [];
|
|
1394
1394
|
if (trimmed || emptyQueryMode === "candidates") {
|
|
1395
1395
|
next = await store.candidates.searchCandidatesAcrossTokens({
|
|
@@ -2433,7 +2433,7 @@ function UniversalAssociationPicker(props) {
|
|
|
2433
2433
|
const store = useAssociationsStore();
|
|
2434
2434
|
const { pickerOverrides } = useAssociationsUiPorts();
|
|
2435
2435
|
const notifier = useNotifier();
|
|
2436
|
-
const tokens = props.tokens ?? store.registry.
|
|
2436
|
+
const tokens = props.tokens ?? store.registry.listableTokens();
|
|
2437
2437
|
const [query, setQuery] = useState8("");
|
|
2438
2438
|
const [browseToken, setBrowseToken] = useState8(null);
|
|
2439
2439
|
const [busyKey, setBusyKey] = useState8(null);
|
|
@@ -3160,7 +3160,7 @@ function AssociationList(props) {
|
|
|
3160
3160
|
};
|
|
3161
3161
|
const grouped = groupRows(store, visibleRows);
|
|
3162
3162
|
const isLoading = adapter.status === "loading" || adapter.status === "idle";
|
|
3163
|
-
const attachableTokens = tokenFilter ?? store.registry.
|
|
3163
|
+
const attachableTokens = tokenFilter ?? store.registry.listableTokens();
|
|
3164
3164
|
return /* @__PURE__ */ jsxs10("div", { className: cn8("flex flex-col gap-2 text-foreground", props.className), children: [
|
|
3165
3165
|
/* @__PURE__ */ jsxs10("div", { className: "flex items-center justify-between gap-2 px-1", children: [
|
|
3166
3166
|
/* @__PURE__ */ jsxs10("h3", { className: "flex items-center gap-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: [
|