@apexcura/ui-components 0.0.11-Beta60 → 0.0.11-Beta61
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 -2
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -458,7 +458,7 @@ var AddMoreTable = (props) => {
|
|
|
458
458
|
key: index.toString(),
|
|
459
459
|
"#": index + 1,
|
|
460
460
|
...eachRow,
|
|
461
|
-
actions: /* @__PURE__ */ import_react13.default.createElement(
|
|
461
|
+
actions: /* @__PURE__ */ import_react13.default.createElement("div", null, /* @__PURE__ */ import_react13.default.createElement(import_antd11.Button, { onClick: () => onHandleDelete(eachRow.id) }, /* @__PURE__ */ import_react13.default.createElement(import_icons2.DeleteOutlined, null)), index === rows.length - 1 && /* @__PURE__ */ import_react13.default.createElement(import_antd11.Button, { onClick: onHandleRows }, /* @__PURE__ */ import_react13.default.createElement(import_icons2.PlusOutlined, null)))
|
|
462
462
|
};
|
|
463
463
|
const subRowElements = [];
|
|
464
464
|
if (eachRow.variable_data && Array.isArray(eachRow.variable_data)) {
|
|
@@ -482,7 +482,6 @@ var AddMoreTable = (props) => {
|
|
|
482
482
|
}),
|
|
483
483
|
"sub rows": subRowElements
|
|
484
484
|
});
|
|
485
|
-
console.log("rowData++++++++++", rowData);
|
|
486
485
|
return rowData;
|
|
487
486
|
});
|
|
488
487
|
if (!columns.some((col) => isColumnType(col) && col.dataIndex === "actions")) {
|
package/dist/index.mjs
CHANGED
|
@@ -411,7 +411,7 @@ var AddMoreTable = (props) => {
|
|
|
411
411
|
key: index.toString(),
|
|
412
412
|
"#": index + 1,
|
|
413
413
|
...eachRow,
|
|
414
|
-
actions: /* @__PURE__ */ React12.createElement(
|
|
414
|
+
actions: /* @__PURE__ */ React12.createElement("div", null, /* @__PURE__ */ React12.createElement(Button3, { onClick: () => onHandleDelete(eachRow.id) }, /* @__PURE__ */ React12.createElement(DeleteOutlined, null)), index === rows.length - 1 && /* @__PURE__ */ React12.createElement(Button3, { onClick: onHandleRows }, /* @__PURE__ */ React12.createElement(PlusOutlined, null)))
|
|
415
415
|
};
|
|
416
416
|
const subRowElements = [];
|
|
417
417
|
if (eachRow.variable_data && Array.isArray(eachRow.variable_data)) {
|
|
@@ -435,7 +435,6 @@ var AddMoreTable = (props) => {
|
|
|
435
435
|
}),
|
|
436
436
|
"sub rows": subRowElements
|
|
437
437
|
});
|
|
438
|
-
console.log("rowData++++++++++", rowData);
|
|
439
438
|
return rowData;
|
|
440
439
|
});
|
|
441
440
|
if (!columns.some((col) => isColumnType(col) && col.dataIndex === "actions")) {
|