react-base-data-table 0.5.10 → 0.5.12
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.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +12 -9
- package/dist/index.es.js.map +1 -1
- package/dist/types/components/BaseTable/BaseTable.d.ts +1 -1
- package/dist/types/components/BaseTable/contexts/useTableInteractionContext.d.ts +2 -2
- package/dist/types/components/BaseTable/hooks/useRowDragDrop.d.ts +6 -6
- package/dist/types/components/BaseTable/hooks/useTableInteractions.d.ts +8 -8
- package/dist/types/components/BaseTable/models/TableItem.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -2306,7 +2306,7 @@ function Qm({
|
|
|
2306
2306
|
async (R, O) => {
|
|
2307
2307
|
a && await a(R, O);
|
|
2308
2308
|
},
|
|
2309
|
-
[
|
|
2309
|
+
[a, e]
|
|
2310
2310
|
), X = ue(
|
|
2311
2311
|
async (R, O) => {
|
|
2312
2312
|
s && await s(R, O);
|
|
@@ -2376,13 +2376,10 @@ const eb = ({
|
|
|
2376
2376
|
groupBy: n
|
|
2377
2377
|
}) => {
|
|
2378
2378
|
const [r, i] = re(null), [o, s] = re(null), [a, l] = re(null), [c, u] = re(!1), d = ue(() => {
|
|
2379
|
-
console.log(e), i(null), l(null), u(!1), s(null);
|
|
2380
|
-
}, []), h = ue(
|
|
2381
|
-
(p, m)
|
|
2382
|
-
|
|
2383
|
-
},
|
|
2384
|
-
[]
|
|
2385
|
-
), f = ue(
|
|
2379
|
+
console.log("Drag End", e), i(null), l(null), u(!1), s(null);
|
|
2380
|
+
}, []), h = ue((p, m) => {
|
|
2381
|
+
i(p), u(!0), s(m);
|
|
2382
|
+
}, []), f = ue(
|
|
2386
2383
|
(p) => {
|
|
2387
2384
|
if (r !== null && a !== null && r !== a) {
|
|
2388
2385
|
if (n && p[n] !== (o == null ? void 0 : o[n])) {
|
|
@@ -2448,7 +2445,13 @@ const eb = ({
|
|
|
2448
2445
|
() => ({ ...p, ...m }),
|
|
2449
2446
|
[p, m]
|
|
2450
2447
|
);
|
|
2451
|
-
return /* @__PURE__ */ _.jsx(
|
|
2448
|
+
return /* @__PURE__ */ _.jsx(
|
|
2449
|
+
cf.Provider,
|
|
2450
|
+
{
|
|
2451
|
+
value: b,
|
|
2452
|
+
children: e
|
|
2453
|
+
}
|
|
2454
|
+
);
|
|
2452
2455
|
};
|
|
2453
2456
|
function In() {
|
|
2454
2457
|
const e = fn(cf);
|