@apexcura/ui-components 0.0.12-Beta46 → 0.0.12-Beta47
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 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -487,7 +487,6 @@ var AddMoreTable = (props) => {
|
|
|
487
487
|
})
|
|
488
488
|
};
|
|
489
489
|
eachRow.variable_data.forEach((variable, subIndex) => {
|
|
490
|
-
console.log(variable, subIndex);
|
|
491
490
|
Object.keys(variable).forEach((key) => {
|
|
492
491
|
if (key === "SubRows") {
|
|
493
492
|
rowData[`${key}`] = /* @__PURE__ */ import_react13.default.createElement("div", { key: subIndex }, eachRow.variable_data.length > 1 && /* @__PURE__ */ import_react13.default.createElement(import_antd11.Button, { onClick: () => onHandleSubRowsDelete(rowIndex, 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(rowIndex) }, /* @__PURE__ */ import_react13.default.createElement(import_icons2.PlusOutlined, null)));
|
|
@@ -497,6 +496,7 @@ var AddMoreTable = (props) => {
|
|
|
497
496
|
});
|
|
498
497
|
});
|
|
499
498
|
rowData.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)), rowIndex === rows.length - 1 && /* @__PURE__ */ import_react13.default.createElement(import_antd11.Button, { onClick: onHandleRows }, /* @__PURE__ */ import_react13.default.createElement(import_icons2.PlusOutlined, null)));
|
|
499
|
+
console.log("=====rowdata", rowData);
|
|
500
500
|
return rowData;
|
|
501
501
|
});
|
|
502
502
|
const columns = thead && thead.length > 0 ? thead.map((eachHeadEl) => ({
|
package/dist/index.mjs
CHANGED
|
@@ -440,7 +440,6 @@ var AddMoreTable = (props) => {
|
|
|
440
440
|
})
|
|
441
441
|
};
|
|
442
442
|
eachRow.variable_data.forEach((variable, subIndex) => {
|
|
443
|
-
console.log(variable, subIndex);
|
|
444
443
|
Object.keys(variable).forEach((key) => {
|
|
445
444
|
if (key === "SubRows") {
|
|
446
445
|
rowData[`${key}`] = /* @__PURE__ */ React12.createElement("div", { key: subIndex }, eachRow.variable_data.length > 1 && /* @__PURE__ */ React12.createElement(Button3, { onClick: () => onHandleSubRowsDelete(rowIndex, subIndex) }, /* @__PURE__ */ React12.createElement(DeleteOutlined, null)), subIndex === eachRow.variable_data.length - 1 && /* @__PURE__ */ React12.createElement(Button3, { onClick: () => onHandleSubRowsAdd(rowIndex) }, /* @__PURE__ */ React12.createElement(PlusOutlined, null)));
|
|
@@ -450,6 +449,7 @@ var AddMoreTable = (props) => {
|
|
|
450
449
|
});
|
|
451
450
|
});
|
|
452
451
|
rowData.actions = /* @__PURE__ */ React12.createElement("div", null, /* @__PURE__ */ React12.createElement(Button3, { onClick: () => onHandleDelete(eachRow.id) }, /* @__PURE__ */ React12.createElement(DeleteOutlined, null)), rowIndex === rows.length - 1 && /* @__PURE__ */ React12.createElement(Button3, { onClick: onHandleRows }, /* @__PURE__ */ React12.createElement(PlusOutlined, null)));
|
|
452
|
+
console.log("=====rowdata", rowData);
|
|
453
453
|
return rowData;
|
|
454
454
|
});
|
|
455
455
|
const columns = thead && thead.length > 0 ? thead.map((eachHeadEl) => ({
|