@apexcura/ui-components 0.0.11-Beta55 → 0.0.11-Beta56

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 CHANGED
@@ -454,15 +454,14 @@ var AddMoreTable = (props) => {
454
454
  }
455
455
  };
456
456
  const dataSource = rows.flatMap((eachRow, index) => {
457
+ console.log("------rows", rows);
457
458
  const rowData = [];
458
- console.log("rowData-------", rowData);
459
459
  const mainRow = {
460
460
  key: index.toString(),
461
461
  "#": index + 1,
462
462
  ...eachRow,
463
463
  actions: /* @__PURE__ */ import_react13.default.createElement(import_react13.default.Fragment, null, /* @__PURE__ */ import_react13.default.createElement(import_antd11.Button, { onClick: () => onHandleDelete(eachRow.id) }, /* @__PURE__ */ import_react13.default.createElement(import_icons2.DeleteOutlined, null)), index === rows.length - 1 && /* @__PURE__ */ import_react13.default.createElement(import_antd11.Button, { onClick: onHandleRows }, /* @__PURE__ */ import_react13.default.createElement(import_icons2.PlusOutlined, null)))
464
464
  };
465
- console.log("mainRow--------", mainRow);
466
465
  const subRowElements = [];
467
466
  if (eachRow.variable_data && Array.isArray(eachRow.variable_data)) {
468
467
  eachRow.variable_data.forEach((variable, subIndex) => {
@@ -474,7 +473,6 @@ var AddMoreTable = (props) => {
474
473
  subRowElement[value.label] = renderInputElement(value);
475
474
  }
476
475
  });
477
- console.log("subRowElements", subRowElements);
478
476
  subRowElements.push(subRowElement);
479
477
  });
480
478
  }
@@ -486,7 +484,7 @@ var AddMoreTable = (props) => {
486
484
  }),
487
485
  "sub rows": subRowElements
488
486
  });
489
- console.log("rowData++++++++++");
487
+ console.log("rowData++++++++++", rowData);
490
488
  return rowData;
491
489
  });
492
490
  if (!columns.some((col) => isColumnType(col) && col.dataIndex === "actions")) {
package/dist/index.mjs CHANGED
@@ -407,15 +407,14 @@ var AddMoreTable = (props) => {
407
407
  }
408
408
  };
409
409
  const dataSource = rows.flatMap((eachRow, index) => {
410
+ console.log("------rows", rows);
410
411
  const rowData = [];
411
- console.log("rowData-------", rowData);
412
412
  const mainRow = {
413
413
  key: index.toString(),
414
414
  "#": index + 1,
415
415
  ...eachRow,
416
416
  actions: /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement(Button3, { onClick: () => onHandleDelete(eachRow.id) }, /* @__PURE__ */ React12.createElement(DeleteOutlined, null)), index === rows.length - 1 && /* @__PURE__ */ React12.createElement(Button3, { onClick: onHandleRows }, /* @__PURE__ */ React12.createElement(PlusOutlined, null)))
417
417
  };
418
- console.log("mainRow--------", mainRow);
419
418
  const subRowElements = [];
420
419
  if (eachRow.variable_data && Array.isArray(eachRow.variable_data)) {
421
420
  eachRow.variable_data.forEach((variable, subIndex) => {
@@ -427,7 +426,6 @@ var AddMoreTable = (props) => {
427
426
  subRowElement[value.label] = renderInputElement(value);
428
427
  }
429
428
  });
430
- console.log("subRowElements", subRowElements);
431
429
  subRowElements.push(subRowElement);
432
430
  });
433
431
  }
@@ -439,7 +437,7 @@ var AddMoreTable = (props) => {
439
437
  }),
440
438
  "sub rows": subRowElements
441
439
  });
442
- console.log("rowData++++++++++");
440
+ console.log("rowData++++++++++", rowData);
443
441
  return rowData;
444
442
  });
445
443
  if (!columns.some((col) => isColumnType(col) && col.dataIndex === "actions")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta55",
3
+ "version": "0.0.11-Beta56",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",