next-recomponents 1.7.39 → 1.7.40

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
@@ -11200,7 +11200,7 @@ function TD(_a) {
11200
11200
  var _a3, _b3;
11201
11201
  e.item = item;
11202
11202
  e.row = Object.keys(mapedData[index]).reduce((acc2, i2) => {
11203
- acc2[i2] = name == i2 ? e.target.value : mapedData[index][i2].content;
11203
+ acc2[i2] = mapedData[index][i2].content;
11204
11204
  return acc2;
11205
11205
  }, {});
11206
11206
  e.updateRow = (data) => {
package/dist/index.mjs CHANGED
@@ -11182,7 +11182,7 @@ function TD(_a) {
11182
11182
  var _a3, _b3;
11183
11183
  e.item = item;
11184
11184
  e.row = Object.keys(mapedData[index]).reduce((acc2, i2) => {
11185
- acc2[i2] = name == i2 ? e.target.value : mapedData[index][i2].content;
11185
+ acc2[i2] = mapedData[index][i2].content;
11186
11186
  return acc2;
11187
11187
  }, {});
11188
11188
  e.updateRow = (data) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-recomponents",
3
- "version": "1.7.39",
3
+ "version": "1.7.40",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/table/td.tsx CHANGED
@@ -49,8 +49,7 @@ export default function TD({
49
49
  newAcc[i] = async (e: any) => {
50
50
  e.item = item;
51
51
  e.row = Object.keys(mapedData[index]).reduce((acc, i) => {
52
- acc[i] =
53
- name == i ? e.target.value : mapedData[index][i].content;
52
+ acc[i] = mapedData[index][i].content;
54
53
  return acc;
55
54
  }, {} as any);
56
55
  e.updateRow = (data: Record<string, any>) => {