impaktapps-ui-builder 1.0.64-alpha.108 → 1.0.64-alpha.110

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.64-alpha.108",
3
+ "version": "1.0.64-alpha.110",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -374,27 +374,10 @@ const buildUiSchema = (config: any, store?: any) => {
374
374
  tableHeaderElements.push({widget:headerElem});
375
375
  return false;
376
376
  }
377
- const tableElem: any = {
378
- // elements: cellElem.type == "ColumnGroup" ? cellElem.elements : [],
379
- // widget: buildUiSchema(cellElem, store),
377
+ const tableElem = {
380
378
  widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store) : undefined,
381
- // elements: cellElem.type == "ColumnGroup" ?
382
- // cellElem.elements.map(
383
- // (childCellElem) => {
384
- // if(childCellElem.type){
385
- // return {widget: buildUiSchema(childCellElem, store),
386
- // ...commonProperties
387
- // }
388
- // }
389
- // else{
390
- // return {...commonProperties}
391
- // }
392
- // })
393
- // : [],
394
- ...commonProperties
395
- }
396
- if(cellElem.type === "ColumnGroup"){
397
- tableElem.elements = buildUiSchema(cellElem, store)
379
+ ...commonProperties,
380
+ ...(cellElem.type === "ColumnGroup" ? buildUiSchema(cellElem, store) : {})
398
381
  }
399
382
  rowElements.push(tableElem)
400
383
  } else {