@apexcura/ui-components 0.0.11-Beta2 → 0.0.11-Beta4
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 +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -369,16 +369,16 @@ var AddMoreTable = (props) => {
|
|
|
369
369
|
key: eachHeadEl.id
|
|
370
370
|
})) : [];
|
|
371
371
|
const dataSource = tbody && tbody.length > 0 ? tbody.map((eachRow, index) => {
|
|
372
|
+
console.log("eachRow---------", eachRow);
|
|
372
373
|
const variableData = eachRow.variable_data.reduce((acc, curr) => {
|
|
373
374
|
acc[curr.label] = curr.element;
|
|
374
375
|
return acc;
|
|
375
376
|
}, {});
|
|
376
|
-
console.log("
|
|
377
|
-
console.log("VariableData", { ...variableData });
|
|
377
|
+
console.log("variableData", variableData);
|
|
378
378
|
return {
|
|
379
379
|
key: index.toString(),
|
|
380
|
-
...
|
|
381
|
-
...
|
|
380
|
+
...eachRow,
|
|
381
|
+
...variableData
|
|
382
382
|
};
|
|
383
383
|
}) : [];
|
|
384
384
|
return /* @__PURE__ */ import_react13.default.createElement(import_react13.default.Fragment, null, /* @__PURE__ */ import_react13.default.createElement(
|
package/dist/index.mjs
CHANGED
|
@@ -322,16 +322,16 @@ var AddMoreTable = (props) => {
|
|
|
322
322
|
key: eachHeadEl.id
|
|
323
323
|
})) : [];
|
|
324
324
|
const dataSource = tbody && tbody.length > 0 ? tbody.map((eachRow, index) => {
|
|
325
|
+
console.log("eachRow---------", eachRow);
|
|
325
326
|
const variableData = eachRow.variable_data.reduce((acc, curr) => {
|
|
326
327
|
acc[curr.label] = curr.element;
|
|
327
328
|
return acc;
|
|
328
329
|
}, {});
|
|
329
|
-
console.log("
|
|
330
|
-
console.log("VariableData", { ...variableData });
|
|
330
|
+
console.log("variableData", variableData);
|
|
331
331
|
return {
|
|
332
332
|
key: index.toString(),
|
|
333
|
-
...
|
|
334
|
-
...
|
|
333
|
+
...eachRow,
|
|
334
|
+
...variableData
|
|
335
335
|
};
|
|
336
336
|
}) : [];
|
|
337
337
|
return /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement(
|