@apexcura/ui-components 0.0.11-Beta37 → 0.0.11-Beta38
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
|
@@ -417,7 +417,7 @@ var AddMoreTable = (props) => {
|
|
|
417
417
|
rowElements["sub rows"] = /* @__PURE__ */ import_react13.default.createElement(import_react13.default.Fragment, null, eachRow.variable_data.map((variable2, subIndex) => {
|
|
418
418
|
console.log(variable2);
|
|
419
419
|
console.log(subIndex);
|
|
420
|
-
/* @__PURE__ */ import_react13.default.createElement("div", { key: subIndex },
|
|
420
|
+
/* @__PURE__ */ import_react13.default.createElement("div", { key: subIndex }, /* @__PURE__ */ import_react13.default.createElement("div", null, /* @__PURE__ */ import_react13.default.createElement("button", null, /* @__PURE__ */ import_react13.default.createElement(import_icons2.DeleteOutlined, null)), subIndex === eachRow.variable_data.length - 1 && /* @__PURE__ */ import_react13.default.createElement("button", { onClick: onHandleSubRowsAdd }, /* @__PURE__ */ import_react13.default.createElement(import_icons2.PlusOutlined, null))));
|
|
421
421
|
}));
|
|
422
422
|
} else if (value && value.element && value.label) {
|
|
423
423
|
rowElements[value.label] = renderInputElement(value);
|
package/dist/index.mjs
CHANGED
|
@@ -370,7 +370,7 @@ var AddMoreTable = (props) => {
|
|
|
370
370
|
rowElements["sub rows"] = /* @__PURE__ */ React12.createElement(React12.Fragment, null, eachRow.variable_data.map((variable2, subIndex) => {
|
|
371
371
|
console.log(variable2);
|
|
372
372
|
console.log(subIndex);
|
|
373
|
-
/* @__PURE__ */ React12.createElement("div", { key: subIndex },
|
|
373
|
+
/* @__PURE__ */ React12.createElement("div", { key: subIndex }, /* @__PURE__ */ React12.createElement("div", null, /* @__PURE__ */ React12.createElement("button", null, /* @__PURE__ */ React12.createElement(DeleteOutlined, null)), subIndex === eachRow.variable_data.length - 1 && /* @__PURE__ */ React12.createElement("button", { onClick: onHandleSubRowsAdd }, /* @__PURE__ */ React12.createElement(PlusOutlined, null))));
|
|
374
374
|
}));
|
|
375
375
|
} else if (value && value.element && value.label) {
|
|
376
376
|
rowElements[value.label] = renderInputElement(value);
|