next-recomponents 1.7.53 → 1.7.54
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 +1 -5
- package/dist/index.mjs +1 -5
- package/package.json +1 -1
- package/src/table/h.tsx +1 -6
package/dist/index.js
CHANGED
|
@@ -43390,11 +43390,7 @@ function HTable(_a) {
|
|
|
43390
43390
|
const head = (0, import_react25.useMemo)(() => {
|
|
43391
43391
|
return [...new Set(data.map((d) => Object.keys(d)).flat())];
|
|
43392
43392
|
}, [data]);
|
|
43393
|
-
|
|
43394
|
-
if (!head.includes("_id")) {
|
|
43395
|
-
console.error("La tabla no tiene _id");
|
|
43396
|
-
}
|
|
43397
|
-
}, [head]);
|
|
43393
|
+
console.log({ head });
|
|
43398
43394
|
const mapedTotals = (0, import_react25.useMemo)(() => {
|
|
43399
43395
|
return mapedData == null ? void 0 : mapedData.reduce((acc, md) => {
|
|
43400
43396
|
head.forEach((h) => {
|
package/dist/index.mjs
CHANGED
|
@@ -43372,11 +43372,7 @@ function HTable(_a) {
|
|
|
43372
43372
|
const head = useMemo6(() => {
|
|
43373
43373
|
return [...new Set(data.map((d) => Object.keys(d)).flat())];
|
|
43374
43374
|
}, [data]);
|
|
43375
|
-
|
|
43376
|
-
if (!head.includes("_id")) {
|
|
43377
|
-
console.error("La tabla no tiene _id");
|
|
43378
|
-
}
|
|
43379
|
-
}, [head]);
|
|
43375
|
+
console.log({ head });
|
|
43380
43376
|
const mapedTotals = useMemo6(() => {
|
|
43381
43377
|
return mapedData == null ? void 0 : mapedData.reduce((acc, md) => {
|
|
43382
43378
|
head.forEach((h) => {
|
package/package.json
CHANGED
package/src/table/h.tsx
CHANGED
|
@@ -31,12 +31,7 @@ export default function HTable({
|
|
|
31
31
|
return [...new Set<string>(data.map((d: any) => Object.keys(d)).flat())];
|
|
32
32
|
}, [data]);
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
if (!head.includes("_id")) {
|
|
36
|
-
console.error("La tabla no tiene _id");
|
|
37
|
-
}
|
|
38
|
-
}, [head]);
|
|
39
|
-
|
|
34
|
+
console.log({ head });
|
|
40
35
|
const mapedTotals = useMemo(() => {
|
|
41
36
|
return mapedData?.reduce((acc: any, md: any) => {
|
|
42
37
|
head.forEach((h) => {
|