@trops/dash-core 0.1.195 → 0.1.197
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/dist/electron/index.js +12 -7
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +394 -570
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +393 -571
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/electron/index.js
CHANGED
|
@@ -26779,11 +26779,13 @@ async function searchRegistry$1(query = "", filters = {}) {
|
|
|
26779
26779
|
});
|
|
26780
26780
|
}
|
|
26781
26781
|
|
|
26782
|
-
// Apply category filter
|
|
26782
|
+
// Apply category filter (supports single string or comma-separated or array)
|
|
26783
26783
|
if (filters.category) {
|
|
26784
|
-
|
|
26785
|
-
|
|
26786
|
-
|
|
26784
|
+
const cats = Array.isArray(filters.category)
|
|
26785
|
+
? filters.category
|
|
26786
|
+
: filters.category.split(",").map((c) => c.trim().toLowerCase());
|
|
26787
|
+
packages = packages.filter((pkg) =>
|
|
26788
|
+
cats.includes((pkg.category || "").toLowerCase()),
|
|
26787
26789
|
);
|
|
26788
26790
|
}
|
|
26789
26791
|
|
|
@@ -26795,11 +26797,13 @@ async function searchRegistry$1(query = "", filters = {}) {
|
|
|
26795
26797
|
);
|
|
26796
26798
|
}
|
|
26797
26799
|
|
|
26798
|
-
// Apply tag filter
|
|
26800
|
+
// Apply tag filter (supports single string or comma-separated or array)
|
|
26799
26801
|
if (filters.tag) {
|
|
26800
|
-
const
|
|
26802
|
+
const tags = Array.isArray(filters.tag)
|
|
26803
|
+
? filters.tag
|
|
26804
|
+
: filters.tag.split(",").map((t) => t.trim().toLowerCase());
|
|
26801
26805
|
packages = packages.filter((pkg) =>
|
|
26802
|
-
(pkg.tags || []).some((t) => t.toLowerCase()
|
|
26806
|
+
(pkg.tags || []).some((t) => tags.includes(t.toLowerCase())),
|
|
26803
26807
|
);
|
|
26804
26808
|
}
|
|
26805
26809
|
|
|
@@ -71889,6 +71893,7 @@ var electron = {
|
|
|
71889
71893
|
|
|
71890
71894
|
// Events
|
|
71891
71895
|
events,
|
|
71896
|
+
API_GROUPS: events.API_GROUPS,
|
|
71892
71897
|
|
|
71893
71898
|
// Widget Pipeline
|
|
71894
71899
|
widgetRegistry,
|