@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.cjs
CHANGED
|
@@ -1446,7 +1446,7 @@ function useUniversalEntitySearch(args) {
|
|
|
1446
1446
|
const timer = setTimeout(async () => {
|
|
1447
1447
|
if (runRef.current !== run) return;
|
|
1448
1448
|
setLoading(true);
|
|
1449
|
-
const activeTokens = tokensKey ? tokensKey.split(",") : store.registry.
|
|
1449
|
+
const activeTokens = tokensKey ? tokensKey.split(",") : store.registry.listableTokens();
|
|
1450
1450
|
let next = [];
|
|
1451
1451
|
if (trimmed || emptyQueryMode === "candidates") {
|
|
1452
1452
|
next = await store.candidates.searchCandidatesAcrossTokens({
|
|
@@ -2484,7 +2484,7 @@ function UniversalAssociationPicker(props) {
|
|
|
2484
2484
|
const store = useAssociationsStore();
|
|
2485
2485
|
const { pickerOverrides } = useAssociationsUiPorts();
|
|
2486
2486
|
const notifier = useNotifier();
|
|
2487
|
-
const tokens = props.tokens ?? store.registry.
|
|
2487
|
+
const tokens = props.tokens ?? store.registry.listableTokens();
|
|
2488
2488
|
const [query, setQuery] = (0, import_react14.useState)("");
|
|
2489
2489
|
const [browseToken, setBrowseToken] = (0, import_react14.useState)(null);
|
|
2490
2490
|
const [busyKey, setBusyKey] = (0, import_react14.useState)(null);
|
|
@@ -3211,7 +3211,7 @@ function AssociationList(props) {
|
|
|
3211
3211
|
};
|
|
3212
3212
|
const grouped = groupRows(store, visibleRows);
|
|
3213
3213
|
const isLoading = adapter.status === "loading" || adapter.status === "idle";
|
|
3214
|
-
const attachableTokens = tokenFilter ?? store.registry.
|
|
3214
|
+
const attachableTokens = tokenFilter ?? store.registry.listableTokens();
|
|
3215
3215
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: (0, import_design_system8.cn)("flex flex-col gap-2 text-foreground", props.className), children: [
|
|
3216
3216
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex items-center justify-between gap-2 px-1", children: [
|
|
3217
3217
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("h3", { className: "flex items-center gap-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: [
|