@apexcura/ui-components 0.0.11-Beta2 → 0.0.11-Beta4

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
@@ -369,16 +369,16 @@ var AddMoreTable = (props) => {
369
369
  key: eachHeadEl.id
370
370
  })) : [];
371
371
  const dataSource = tbody && tbody.length > 0 ? tbody.map((eachRow, index) => {
372
+ console.log("eachRow---------", eachRow);
372
373
  const variableData = eachRow.variable_data.reduce((acc, curr) => {
373
374
  acc[curr.label] = curr.element;
374
375
  return acc;
375
376
  }, {});
376
- console.log("eachRow---------", eachRow);
377
- console.log("VariableData", { ...variableData });
377
+ console.log("variableData", variableData);
378
378
  return {
379
379
  key: index.toString(),
380
- ...variableData,
381
- ...eachRow
380
+ ...eachRow,
381
+ ...variableData
382
382
  };
383
383
  }) : [];
384
384
  return /* @__PURE__ */ import_react13.default.createElement(import_react13.default.Fragment, null, /* @__PURE__ */ import_react13.default.createElement(
package/dist/index.mjs CHANGED
@@ -322,16 +322,16 @@ var AddMoreTable = (props) => {
322
322
  key: eachHeadEl.id
323
323
  })) : [];
324
324
  const dataSource = tbody && tbody.length > 0 ? tbody.map((eachRow, index) => {
325
+ console.log("eachRow---------", eachRow);
325
326
  const variableData = eachRow.variable_data.reduce((acc, curr) => {
326
327
  acc[curr.label] = curr.element;
327
328
  return acc;
328
329
  }, {});
329
- console.log("eachRow---------", eachRow);
330
- console.log("VariableData", { ...variableData });
330
+ console.log("variableData", variableData);
331
331
  return {
332
332
  key: index.toString(),
333
- ...variableData,
334
- ...eachRow
333
+ ...eachRow,
334
+ ...variableData
335
335
  };
336
336
  }) : [];
337
337
  return /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta2",
3
+ "version": "0.0.11-Beta4",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",