next-recomponents 2.0.77 → 2.0.78

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
@@ -39503,9 +39503,10 @@ function HTable({
39503
39503
  onClick: (e) => {
39504
39504
  context.excel.export(
39505
39505
  context.data.map((d) => {
39506
+ var _a, _b;
39506
39507
  const obj = {};
39507
39508
  for (let key in d) {
39508
- if (!key.startsWith("_") && !context.hideColumns.includes(key)) {
39509
+ if (!key.startsWith("_") && !((_b = (_a = context == null ? void 0 : context.hideColumns) == null ? void 0 : _a.includes) == null ? void 0 : _b.call(_a, key))) {
39509
39510
  obj[key] = d[key];
39510
39511
  }
39511
39512
  }
package/dist/index.mjs CHANGED
@@ -39498,9 +39498,10 @@ function HTable({
39498
39498
  onClick: (e) => {
39499
39499
  context.excel.export(
39500
39500
  context.data.map((d) => {
39501
+ var _a, _b;
39501
39502
  const obj = {};
39502
39503
  for (let key in d) {
39503
- if (!key.startsWith("_") && !context.hideColumns.includes(key)) {
39504
+ if (!key.startsWith("_") && !((_b = (_a = context == null ? void 0 : context.hideColumns) == null ? void 0 : _a.includes) == null ? void 0 : _b.call(_a, key))) {
39504
39505
  obj[key] = d[key];
39505
39506
  }
39506
39507
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-recomponents",
3
- "version": "2.0.77",
3
+ "version": "2.0.78",
4
4
  "description": "description nueva",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -175,7 +175,7 @@ export default function HTable({
175
175
  for (let key in d) {
176
176
  if (
177
177
  !key.startsWith("_") &&
178
- !context.hideColumns.includes(key)
178
+ !context?.hideColumns?.includes?.(key)
179
179
  ) {
180
180
  obj[key] = d[key];
181
181
  }