next-recomponents 1.3.9 → 1.4.0

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
@@ -32075,10 +32075,10 @@ function HTable(_a) {
32075
32075
  );
32076
32076
  }) }) }),
32077
32077
  /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("tbody", { className: "divide-y divide-gray-200", children: mapedData.map((md, trKey) => {
32078
- var _a2;
32078
+ var _a2, _b2;
32079
32079
  const color2 = trKey % 2 == 0 ? "bg-white" : "bg-gray-100";
32080
32080
  for (let d in md) {
32081
- if (md[d].exclude === true) {
32081
+ if (((_a2 = md[d]) == null ? void 0 : _a2.exclude) === true) {
32082
32082
  return null;
32083
32083
  }
32084
32084
  }
@@ -32113,7 +32113,7 @@ function HTable(_a) {
32113
32113
  );
32114
32114
  })
32115
32115
  },
32116
- ((_a2 = md == null ? void 0 : md.id) == null ? void 0 : _a2.content) || trKey
32116
+ ((_b2 = md == null ? void 0 : md.id) == null ? void 0 : _b2.content) || trKey
32117
32117
  );
32118
32118
  }) }),
32119
32119
  totals && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("tfoot", { className: "bg-gray-800 text-white", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("tr", { children: head.map((h, fkey) => {
package/dist/index.mjs CHANGED
@@ -32065,10 +32065,10 @@ function HTable(_a) {
32065
32065
  );
32066
32066
  }) }) }),
32067
32067
  /* @__PURE__ */ jsx11("tbody", { className: "divide-y divide-gray-200", children: mapedData.map((md, trKey) => {
32068
- var _a2;
32068
+ var _a2, _b2;
32069
32069
  const color2 = trKey % 2 == 0 ? "bg-white" : "bg-gray-100";
32070
32070
  for (let d in md) {
32071
- if (md[d].exclude === true) {
32071
+ if (((_a2 = md[d]) == null ? void 0 : _a2.exclude) === true) {
32072
32072
  return null;
32073
32073
  }
32074
32074
  }
@@ -32103,7 +32103,7 @@ function HTable(_a) {
32103
32103
  );
32104
32104
  })
32105
32105
  },
32106
- ((_a2 = md == null ? void 0 : md.id) == null ? void 0 : _a2.content) || trKey
32106
+ ((_b2 = md == null ? void 0 : md.id) == null ? void 0 : _b2.content) || trKey
32107
32107
  );
32108
32108
  }) }),
32109
32109
  totals && /* @__PURE__ */ jsx11("tfoot", { className: "bg-gray-800 text-white", children: /* @__PURE__ */ jsx11("tr", { children: head.map((h, fkey) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-recomponents",
3
- "version": "1.3.9",
3
+ "version": "1.4.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/table/h.tsx CHANGED
@@ -154,7 +154,7 @@ export default function HTable({
154
154
  {mapedData.map((md: any, trKey: number) => {
155
155
  const color = trKey % 2 == 0 ? "bg-white" : "bg-gray-100";
156
156
  for (let d in md) {
157
- if (md[d].exclude === true) {
157
+ if (md[d]?.exclude === true) {
158
158
  return null;
159
159
  }
160
160
  }