@apexcura/ui-components 0.0.12-Beta7 → 0.0.12-Beta9

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
@@ -408,11 +408,9 @@ var AddMoreTable = (props) => {
408
408
  rowElements[eachRow.label] = renderInputElement(eachRow);
409
409
  }
410
410
  const variableData = eachRow.variable_data && Array.isArray(eachRow.variable_data) ? eachRow.variable_data.reduce((acc, curr) => {
411
- if (!curr.label || !curr.element) {
412
- console.error(`Invalid element in row ${index}:`, curr);
413
- return acc;
414
- }
415
- acc[curr.label] = renderInputElement(curr);
411
+ Object.keys(curr).forEach((key) => {
412
+ console.log(key);
413
+ });
416
414
  return acc;
417
415
  }, {}) : {};
418
416
  return {
package/dist/index.mjs CHANGED
@@ -361,11 +361,9 @@ var AddMoreTable = (props) => {
361
361
  rowElements[eachRow.label] = renderInputElement(eachRow);
362
362
  }
363
363
  const variableData = eachRow.variable_data && Array.isArray(eachRow.variable_data) ? eachRow.variable_data.reduce((acc, curr) => {
364
- if (!curr.label || !curr.element) {
365
- console.error(`Invalid element in row ${index}:`, curr);
366
- return acc;
367
- }
368
- acc[curr.label] = renderInputElement(curr);
364
+ Object.keys(curr).forEach((key) => {
365
+ console.log(key);
366
+ });
369
367
  return acc;
370
368
  }, {}) : {};
371
369
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.12-Beta7",
3
+ "version": "0.0.12-Beta9",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",