impaktapps-ui-builder 1.0.125-testL.1 → 1.0.125-testL.2

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.
@@ -12572,7 +12572,17 @@ const buildUiSchema = (config2, store2) => {
12572
12572
  }
12573
12573
  if (config2 == null ? void 0 : config2.elements) {
12574
12574
  if ((config2 == null ? void 0 : config2.type) === "LeaderBoard") {
12575
- return elements;
12575
+ const rowElements = [];
12576
+ config2.elements.filter((cellElem, elemInd) => {
12577
+ const commonProperties = {
12578
+ accessorKey: cellElem.name,
12579
+ type: cellElem.type === "ColumnGroup" ? "ColumnGroup" : cellElem.columnFormat,
12580
+ header: cellElem.label || cellElem.name,
12581
+ columnKey: cellElem.columnKey
12582
+ };
12583
+ rowElements.push({ ...commonProperties });
12584
+ });
12585
+ elements.elements = rowElements;
12576
12586
  } else if (config2.type == "ColumnGroup") {
12577
12587
  const sizeMap = {};
12578
12588
  if (config2.sizeHolder) {