next-recomponents 1.7.51 → 1.7.52

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 CHANGED
@@ -43534,7 +43534,7 @@ function HTable(_a) {
43534
43534
  );
43535
43535
  }) }) }),
43536
43536
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("tbody", { className: "divide-y divide-gray-200", children: mapedData.map((md, trKey) => {
43537
- var _a2, _b2;
43537
+ var _a2, _b2, _c;
43538
43538
  const start = (page - 1) * maxItems;
43539
43539
  const end = page * maxItems;
43540
43540
  if (!hasFilters) {
@@ -43546,7 +43546,7 @@ function HTable(_a) {
43546
43546
  return null;
43547
43547
  }
43548
43548
  }
43549
- const dataKey = ((_b2 = md == null ? void 0 : md.id) == null ? void 0 : _b2.content) || trKey;
43549
+ const dataKey = ((_b2 = md == null ? void 0 : md._id) == null ? void 0 : _b2.content) || ((_c = md == null ? void 0 : md.id) == null ? void 0 : _c.content) || trKey;
43550
43550
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
43551
43551
  "tr",
43552
43552
  {
package/dist/index.mjs CHANGED
@@ -43516,7 +43516,7 @@ function HTable(_a) {
43516
43516
  );
43517
43517
  }) }) }),
43518
43518
  /* @__PURE__ */ jsx12("tbody", { className: "divide-y divide-gray-200", children: mapedData.map((md, trKey) => {
43519
- var _a2, _b2;
43519
+ var _a2, _b2, _c;
43520
43520
  const start = (page - 1) * maxItems;
43521
43521
  const end = page * maxItems;
43522
43522
  if (!hasFilters) {
@@ -43528,7 +43528,7 @@ function HTable(_a) {
43528
43528
  return null;
43529
43529
  }
43530
43530
  }
43531
- const dataKey = ((_b2 = md == null ? void 0 : md.id) == null ? void 0 : _b2.content) || trKey;
43531
+ const dataKey = ((_b2 = md == null ? void 0 : md._id) == null ? void 0 : _b2.content) || ((_c = md == null ? void 0 : md.id) == null ? void 0 : _c.content) || trKey;
43532
43532
  return /* @__PURE__ */ jsx12(
43533
43533
  "tr",
43534
43534
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-recomponents",
3
- "version": "1.7.51",
3
+ "version": "1.7.52",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/table/h.tsx CHANGED
@@ -198,7 +198,7 @@ export default function HTable({
198
198
  return null;
199
199
  }
200
200
  }
201
- const dataKey = md?.id?.content || trKey;
201
+ const dataKey = md?._id?.content || md?.id?.content || trKey;
202
202
 
203
203
  return (
204
204
  <tr