@apexcura/ui-components 0.0.11-Beta74 → 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 CHANGED
@@ -457,16 +457,14 @@ var AddMoreTable = (props) => {
457
457
  }))
458
458
  }));
459
459
  const rowData = {
460
- "#": index + 1,
460
+ "9": index + 1,
461
461
  "Medicine": renderInputElement({
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
- console.log("rowData", rowData);
469
- return [rowData];
467
+ return [rowData, ...subRow];
470
468
  }).flat();
471
469
  if (!columns.some((col) => col.dataIndex === "actions")) {
472
470
  columns.push({
package/dist/index.mjs CHANGED
@@ -410,16 +410,14 @@ var AddMoreTable = (props) => {
410
410
  }))
411
411
  }));
412
412
  const rowData = {
413
- "#": index + 1,
413
+ "9": index + 1,
414
414
  "Medicine": renderInputElement({
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
- console.log("rowData", rowData);
422
- return [rowData];
420
+ return [rowData, ...subRow];
423
421
  }).flat();
424
422
  if (!columns.some((col) => col.dataIndex === "actions")) {
425
423
  columns.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta74",
3
+ "version": "0.0.11-Beta76",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",