@apexcura/ui-components 0.0.11-Beta80 → 0.0.11-Beta81
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 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -455,7 +455,8 @@ var AddMoreTable = (props) => {
|
|
|
455
455
|
}),
|
|
456
456
|
...eachRow.variable_data.reduce((acc, variable, subIndex) => {
|
|
457
457
|
Object.keys(variable).forEach((key) => {
|
|
458
|
-
|
|
458
|
+
console.log("key------", key);
|
|
459
|
+
if (key === "SubRows") {
|
|
459
460
|
acc[`${key}`] = /* @__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
461
|
} else {
|
|
461
462
|
acc[`${key}`] = renderInputElement(variable[key]);
|
package/dist/index.mjs
CHANGED
|
@@ -408,7 +408,8 @@ var AddMoreTable = (props) => {
|
|
|
408
408
|
}),
|
|
409
409
|
...eachRow.variable_data.reduce((acc, variable, subIndex) => {
|
|
410
410
|
Object.keys(variable).forEach((key) => {
|
|
411
|
-
|
|
411
|
+
console.log("key------", key);
|
|
412
|
+
if (key === "SubRows") {
|
|
412
413
|
acc[`${key}`] = /* @__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
414
|
} else {
|
|
414
415
|
acc[`${key}`] = renderInputElement(variable[key]);
|