impaktapps-ui-builder 1.0.125-testL.1 → 1.0.125-testL.10
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/impaktapps-ui-builder.es.js +23 -3
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +18 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +11 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +12 -2
|
@@ -11452,14 +11452,24 @@ function Card(theme) {
|
|
|
11452
11452
|
style: {
|
|
11453
11453
|
color: "black",
|
|
11454
11454
|
display: "flex",
|
|
11455
|
-
fontSize: { xs: "24px", md: "
|
|
11455
|
+
fontSize: { xs: "24px", md: "25px" },
|
|
11456
11456
|
fontWeight: "bold",
|
|
11457
11457
|
background: "inherit",
|
|
11458
11458
|
justifyContent: "flex-start",
|
|
11459
11459
|
width: "auto",
|
|
11460
11460
|
margin: "-8px",
|
|
11461
|
+
marginTop: "-6px",
|
|
11461
11462
|
position: "absolute",
|
|
11462
|
-
left: "
|
|
11463
|
+
left: "7px",
|
|
11464
|
+
whiteSpace: "nowrap",
|
|
11465
|
+
overflowX: "auto",
|
|
11466
|
+
overflowY: "hidden",
|
|
11467
|
+
scrollbarWidth: "none",
|
|
11468
|
+
msOverflowStyle: "none",
|
|
11469
|
+
maxWidth: "calc(100% + 20px)",
|
|
11470
|
+
"&::-webkit-scrollbar": {
|
|
11471
|
+
display: "none"
|
|
11472
|
+
}
|
|
11463
11473
|
}
|
|
11464
11474
|
},
|
|
11465
11475
|
options: {
|
|
@@ -12572,7 +12582,17 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12572
12582
|
}
|
|
12573
12583
|
if (config2 == null ? void 0 : config2.elements) {
|
|
12574
12584
|
if ((config2 == null ? void 0 : config2.type) === "LeaderBoard") {
|
|
12575
|
-
|
|
12585
|
+
const rowElements = [];
|
|
12586
|
+
config2.elements.filter((cellElem, elemInd) => {
|
|
12587
|
+
const commonProperties = {
|
|
12588
|
+
accessorKey: cellElem.name,
|
|
12589
|
+
type: cellElem.type === "ColumnGroup" ? "ColumnGroup" : cellElem.columnFormat,
|
|
12590
|
+
header: cellElem.label || cellElem.name,
|
|
12591
|
+
columnKey: cellElem.columnKey
|
|
12592
|
+
};
|
|
12593
|
+
rowElements.push({ ...commonProperties });
|
|
12594
|
+
});
|
|
12595
|
+
elements.elements = rowElements;
|
|
12576
12596
|
} else if (config2.type == "ColumnGroup") {
|
|
12577
12597
|
const sizeMap = {};
|
|
12578
12598
|
if (config2.sizeHolder) {
|