@apexcura/ui-components 0.0.11-Beta77 → 0.0.11-Beta79

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
@@ -458,13 +458,14 @@ var AddMoreTable = (props) => {
458
458
  if (key === "icons") {
459
459
  acc[`icons-${subIndex}`] = /* @__PURE__ */ import_react13.default.createElement("div", { key: subIndex }, eachRow.variable_data.length > 1 && /* @__PURE__ */ import_react13.default.createElement(import_antd11.Button, { onClick: () => onHandleSubRowsDelete(index, subIndex) }, /* @__PURE__ */ import_react13.default.createElement(import_icons2.DeleteOutlined, null)), subIndex === eachRow.variable_data.length - 1 && /* @__PURE__ */ import_react13.default.createElement(import_antd11.Button, { onClick: () => onHandleSubRowsAdd(index) }, /* @__PURE__ */ import_react13.default.createElement(import_icons2.PlusOutlined, null)));
460
460
  } else {
461
- acc[`${key}-${subIndex}`] = renderInputElement(variable[key]);
461
+ acc[`${key}`] = renderInputElement(variable[key]);
462
462
  }
463
463
  });
464
464
  return acc;
465
465
  }, {}),
466
466
  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
467
  };
468
+ console.log(rowData);
468
469
  return rowData;
469
470
  });
470
471
  if (!columns.some((col) => col.dataIndex === "actions")) {
package/dist/index.mjs CHANGED
@@ -411,13 +411,14 @@ var AddMoreTable = (props) => {
411
411
  if (key === "icons") {
412
412
  acc[`icons-${subIndex}`] = /* @__PURE__ */ React12.createElement("div", { key: subIndex }, eachRow.variable_data.length > 1 && /* @__PURE__ */ React12.createElement(Button3, { onClick: () => onHandleSubRowsDelete(index, subIndex) }, /* @__PURE__ */ React12.createElement(DeleteOutlined, null)), subIndex === eachRow.variable_data.length - 1 && /* @__PURE__ */ React12.createElement(Button3, { onClick: () => onHandleSubRowsAdd(index) }, /* @__PURE__ */ React12.createElement(PlusOutlined, null)));
413
413
  } else {
414
- acc[`${key}-${subIndex}`] = renderInputElement(variable[key]);
414
+ acc[`${key}`] = renderInputElement(variable[key]);
415
415
  }
416
416
  });
417
417
  return acc;
418
418
  }, {}),
419
419
  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
420
  };
421
+ console.log(rowData);
421
422
  return rowData;
422
423
  });
423
424
  if (!columns.some((col) => col.dataIndex === "actions")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta77",
3
+ "version": "0.0.11-Beta79",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",