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