@apexcura/ui-components 0.0.11-Beta47 → 0.0.11-Beta49
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 +1 -9
- package/dist/index.mjs +1 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -455,15 +455,6 @@ var AddMoreTable = (props) => {
|
|
|
455
455
|
};
|
|
456
456
|
const dataSource = rows.flatMap((eachRow, index) => {
|
|
457
457
|
const rowData = [];
|
|
458
|
-
if (thead && Array.isArray(thead)) {
|
|
459
|
-
const mainRow2 = {};
|
|
460
|
-
thead.forEach((theadItem) => {
|
|
461
|
-
if (theadItem.element && theadItem.label) {
|
|
462
|
-
mainRow2[theadItem.label] = renderInputElement(theadItem);
|
|
463
|
-
}
|
|
464
|
-
});
|
|
465
|
-
rowData.push(mainRow2);
|
|
466
|
-
}
|
|
467
458
|
const mainRow = {
|
|
468
459
|
key: index.toString(),
|
|
469
460
|
"#": index + 1,
|
|
@@ -484,6 +475,7 @@ var AddMoreTable = (props) => {
|
|
|
484
475
|
rowData.push(subRowElements);
|
|
485
476
|
});
|
|
486
477
|
}
|
|
478
|
+
console.log(rowData);
|
|
487
479
|
return rowData;
|
|
488
480
|
});
|
|
489
481
|
if (!columns.some((col) => isColumnType(col) && col.dataIndex === "actions")) {
|
package/dist/index.mjs
CHANGED
|
@@ -408,15 +408,6 @@ var AddMoreTable = (props) => {
|
|
|
408
408
|
};
|
|
409
409
|
const dataSource = rows.flatMap((eachRow, index) => {
|
|
410
410
|
const rowData = [];
|
|
411
|
-
if (thead && Array.isArray(thead)) {
|
|
412
|
-
const mainRow2 = {};
|
|
413
|
-
thead.forEach((theadItem) => {
|
|
414
|
-
if (theadItem.element && theadItem.label) {
|
|
415
|
-
mainRow2[theadItem.label] = renderInputElement(theadItem);
|
|
416
|
-
}
|
|
417
|
-
});
|
|
418
|
-
rowData.push(mainRow2);
|
|
419
|
-
}
|
|
420
411
|
const mainRow = {
|
|
421
412
|
key: index.toString(),
|
|
422
413
|
"#": index + 1,
|
|
@@ -437,6 +428,7 @@ var AddMoreTable = (props) => {
|
|
|
437
428
|
rowData.push(subRowElements);
|
|
438
429
|
});
|
|
439
430
|
}
|
|
431
|
+
console.log(rowData);
|
|
440
432
|
return rowData;
|
|
441
433
|
});
|
|
442
434
|
if (!columns.some((col) => isColumnType(col) && col.dataIndex === "actions")) {
|