componenteszw-package 1.0.83 → 1.0.84
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/index.js +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37379,11 +37379,12 @@ var Kk = ({ title: e, subtitle: n, iconFile: r, loading: i = !1, state: a = "def
|
|
|
37379
37379
|
};
|
|
37380
37380
|
function Zk({ columns: e, data: t, itemsPerPage: n = 5, title: r, className: d = "", titleAction: f, onActionClick: p, externalPagination: m, onExternalSearch: h }) {
|
|
37381
37381
|
let [g, _] = s(1), [v, y] = s({}), [b, x] = s(null), S = o(null), C = o(null), w = !!m, T = (e, t) => {
|
|
37382
|
-
|
|
37383
|
-
...
|
|
37382
|
+
let n = {
|
|
37383
|
+
...v,
|
|
37384
37384
|
[e]: t
|
|
37385
|
-
}
|
|
37386
|
-
|
|
37385
|
+
};
|
|
37386
|
+
y(n), _(1), w && h && (C.current && clearTimeout(C.current), C.current = setTimeout(() => {
|
|
37387
|
+
h(Object.values(n).find((e) => e.trim() !== "") ?? "");
|
|
37387
37388
|
}, 350));
|
|
37388
37389
|
};
|
|
37389
37390
|
i(() => {
|