sprintify-ui 0.10.41 → 0.10.43
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/sprintify-ui.es.js
CHANGED
|
@@ -15063,7 +15063,7 @@ const Sa = /* @__PURE__ */ Wa(cy), dy = { class: "flex grow items-center justify
|
|
|
15063
15063
|
ge = Do(ge, me), ge = Nr(ge, "page", 1), be(ge);
|
|
15064
15064
|
return;
|
|
15065
15065
|
}
|
|
15066
|
-
if (
|
|
15066
|
+
if (typeof ue == "string") {
|
|
15067
15067
|
let ge = kt(I.value);
|
|
15068
15068
|
ge = Nr(ge, me, ue), ge = Nr(ge, "page", 1), be(ge);
|
|
15069
15069
|
return;
|
package/package.json
CHANGED
|
@@ -462,7 +462,7 @@ function updateFilterQueryValue(key: string | DataTableQuery, value?: any) {
|
|
|
462
462
|
return;
|
|
463
463
|
}
|
|
464
464
|
|
|
465
|
-
if (
|
|
465
|
+
if (typeof value === 'string') {
|
|
466
466
|
let newQuery = cloneDeep(query.value);
|
|
467
467
|
newQuery = set(newQuery, key, value);
|
|
468
468
|
newQuery = set(newQuery, 'page', 1);
|
|
@@ -793,7 +793,7 @@ function searchItems(items: Collection | undefined) {
|
|
|
793
793
|
|
|
794
794
|
return items?.filter((item) => {
|
|
795
795
|
return Object.values(item).some((value) => {
|
|
796
|
-
if (typeof value
|
|
796
|
+
if (typeof value === 'string') {
|
|
797
797
|
return value.toLowerCase().includes(searchWords);
|
|
798
798
|
}
|
|
799
799
|
return false;
|
|
@@ -59,6 +59,15 @@ const componentProps = {
|
|
|
59
59
|
return "/";
|
|
60
60
|
},
|
|
61
61
|
rowSelected(row) {
|
|
62
|
+
if (!row) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
if (!row.id) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
if (typeof row.id !== "string") {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
62
71
|
return row.id.includes('9b7e6');
|
|
63
72
|
},
|
|
64
73
|
detailed: true,
|