@apexcura/ui-components 0.0.11-Beta73 → 0.0.11-Beta75
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
|
@@ -462,10 +462,9 @@ var AddMoreTable = (props) => {
|
|
|
462
462
|
element: eachRow.element,
|
|
463
463
|
label: eachRow.label
|
|
464
464
|
}),
|
|
465
|
-
subRow,
|
|
466
465
|
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)))
|
|
467
466
|
};
|
|
468
|
-
return
|
|
467
|
+
return { ...rowData, ...subRow };
|
|
469
468
|
}).flat();
|
|
470
469
|
if (!columns.some((col) => col.dataIndex === "actions")) {
|
|
471
470
|
columns.push({
|
package/dist/index.mjs
CHANGED
|
@@ -415,10 +415,9 @@ var AddMoreTable = (props) => {
|
|
|
415
415
|
element: eachRow.element,
|
|
416
416
|
label: eachRow.label
|
|
417
417
|
}),
|
|
418
|
-
subRow,
|
|
419
418
|
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)))
|
|
420
419
|
};
|
|
421
|
-
return
|
|
420
|
+
return { ...rowData, ...subRow };
|
|
422
421
|
}).flat();
|
|
423
422
|
if (!columns.some((col) => col.dataIndex === "actions")) {
|
|
424
423
|
columns.push({
|