@apexcura/ui-components 0.0.11-Beta17 → 0.0.11-Beta19
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 +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -403,7 +403,6 @@ var AddMoreTable = (props) => {
|
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
405
|
const dataSource = rows.map((eachRow, index) => {
|
|
406
|
-
console.log("eachRow=======", eachRow);
|
|
407
406
|
const rowElements = {};
|
|
408
407
|
if (eachRow.element && eachRow.label) {
|
|
409
408
|
rowElements[eachRow.label] = renderInputElement(eachRow);
|
|
@@ -416,8 +415,11 @@ var AddMoreTable = (props) => {
|
|
|
416
415
|
}
|
|
417
416
|
});
|
|
418
417
|
});
|
|
418
|
+
if (eachRow.variable_data.length > 0) {
|
|
419
|
+
const addSubRow = /* @__PURE__ */ import_react13.default.createElement("button", null, /* @__PURE__ */ import_react13.default.createElement(import_icons2.PlusOutlined, null));
|
|
420
|
+
rowElements["kkk"] = addSubRow;
|
|
421
|
+
}
|
|
419
422
|
}
|
|
420
|
-
console.log("-----------");
|
|
421
423
|
return {
|
|
422
424
|
key: index.toString(),
|
|
423
425
|
"#": index + 1,
|
package/dist/index.mjs
CHANGED
|
@@ -356,7 +356,6 @@ var AddMoreTable = (props) => {
|
|
|
356
356
|
}
|
|
357
357
|
};
|
|
358
358
|
const dataSource = rows.map((eachRow, index) => {
|
|
359
|
-
console.log("eachRow=======", eachRow);
|
|
360
359
|
const rowElements = {};
|
|
361
360
|
if (eachRow.element && eachRow.label) {
|
|
362
361
|
rowElements[eachRow.label] = renderInputElement(eachRow);
|
|
@@ -369,8 +368,11 @@ var AddMoreTable = (props) => {
|
|
|
369
368
|
}
|
|
370
369
|
});
|
|
371
370
|
});
|
|
371
|
+
if (eachRow.variable_data.length > 0) {
|
|
372
|
+
const addSubRow = /* @__PURE__ */ React12.createElement("button", null, /* @__PURE__ */ React12.createElement(PlusOutlined, null));
|
|
373
|
+
rowElements["kkk"] = addSubRow;
|
|
374
|
+
}
|
|
372
375
|
}
|
|
373
|
-
console.log("-----------");
|
|
374
376
|
return {
|
|
375
377
|
key: index.toString(),
|
|
376
378
|
"#": index + 1,
|