impaktapps-ui-builder 1.0.64-alpha.107 → 1.0.64-alpha.109
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.
|
@@ -12611,22 +12611,13 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12611
12611
|
tableHeaderElements.push({ widget: headerElem });
|
|
12612
12612
|
return false;
|
|
12613
12613
|
}
|
|
12614
|
-
|
|
12614
|
+
let tableElem = {
|
|
12615
12615
|
widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
|
|
12616
|
-
elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map(
|
|
12617
|
-
(childCellElem) => {
|
|
12618
|
-
if (childCellElem.type) {
|
|
12619
|
-
return {
|
|
12620
|
-
widget: buildUiSchema(childCellElem, store2),
|
|
12621
|
-
...commonProperties
|
|
12622
|
-
};
|
|
12623
|
-
} else {
|
|
12624
|
-
return { ...commonProperties };
|
|
12625
|
-
}
|
|
12626
|
-
}
|
|
12627
|
-
) : [],
|
|
12628
12616
|
...commonProperties
|
|
12629
12617
|
};
|
|
12618
|
+
if (cellElem.type === "ColumnGroup") {
|
|
12619
|
+
tableElem = { ...tableElem, ...buildUiSchema(cellElem, store2) };
|
|
12620
|
+
}
|
|
12630
12621
|
rowElements.push(tableElem);
|
|
12631
12622
|
} else {
|
|
12632
12623
|
rowElements.push({ ...commonProperties });
|