@apexcura/ui-components 0.0.11-Beta75 → 0.0.11-Beta76
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -457,14 +457,14 @@ var AddMoreTable = (props) => {
|
|
|
457
457
|
}))
|
|
458
458
|
}));
|
|
459
459
|
const rowData = {
|
|
460
|
-
"
|
|
460
|
+
"9": index + 1,
|
|
461
461
|
"Medicine": renderInputElement({
|
|
462
462
|
element: eachRow.element,
|
|
463
463
|
label: eachRow.label
|
|
464
464
|
}),
|
|
465
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)))
|
|
466
466
|
};
|
|
467
|
-
return
|
|
467
|
+
return [rowData, ...subRow];
|
|
468
468
|
}).flat();
|
|
469
469
|
if (!columns.some((col) => col.dataIndex === "actions")) {
|
|
470
470
|
columns.push({
|
package/dist/index.mjs
CHANGED
|
@@ -410,14 +410,14 @@ var AddMoreTable = (props) => {
|
|
|
410
410
|
}))
|
|
411
411
|
}));
|
|
412
412
|
const rowData = {
|
|
413
|
-
"
|
|
413
|
+
"9": index + 1,
|
|
414
414
|
"Medicine": renderInputElement({
|
|
415
415
|
element: eachRow.element,
|
|
416
416
|
label: eachRow.label
|
|
417
417
|
}),
|
|
418
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)))
|
|
419
419
|
};
|
|
420
|
-
return
|
|
420
|
+
return [rowData, ...subRow];
|
|
421
421
|
}).flat();
|
|
422
422
|
if (!columns.some((col) => col.dataIndex === "actions")) {
|
|
423
423
|
columns.push({
|