componenteszw-package 1.0.83 → 1.0.85

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -4
  2. 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
- y((n) => ({
37383
- ...n,
37382
+ let n = {
37383
+ ...v,
37384
37384
  [e]: t
37385
- })), _(1), w && h && (C.current && clearTimeout(C.current), C.current = setTimeout(() => {
37386
- h(t);
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(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "componenteszw-package",
3
- "version": "1.0.83",
3
+ "version": "1.0.85",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",