impaktapps-ui-builder 0.0.101-alpha.261 → 0.0.101-alpha.262
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.
|
@@ -12600,7 +12600,8 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12600
12600
|
}
|
|
12601
12601
|
const tableHeaderElements = [];
|
|
12602
12602
|
const tableActionElement = [];
|
|
12603
|
-
|
|
12603
|
+
const rowElements = [];
|
|
12604
|
+
config2.elements.filter((cellElem, elemInd) => {
|
|
12604
12605
|
const commonProperties = {
|
|
12605
12606
|
accessorKey: cellElem.name,
|
|
12606
12607
|
type: cellElem.columnFormat,
|
|
@@ -12622,15 +12623,16 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12622
12623
|
tableHeaderElements.push(headerElem);
|
|
12623
12624
|
return false;
|
|
12624
12625
|
}
|
|
12625
|
-
|
|
12626
|
+
rowElements.push({
|
|
12626
12627
|
widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
|
|
12627
12628
|
elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : [],
|
|
12628
12629
|
...commonProperties
|
|
12629
|
-
};
|
|
12630
|
+
});
|
|
12630
12631
|
} else {
|
|
12631
|
-
|
|
12632
|
+
rowElements.push(commonProperties);
|
|
12632
12633
|
}
|
|
12633
12634
|
});
|
|
12635
|
+
elements.elements = rowElements;
|
|
12634
12636
|
elements.config.main.action = tableActionElement;
|
|
12635
12637
|
elements.config.main.headerIcons = tableHeaderElements;
|
|
12636
12638
|
} else if (config2.type == "Array") {
|