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

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.
@@ -7833,6 +7833,7 @@ const buildPropertiesSection = function(type) {
7833
7833
  getSelectField("graphType", "Graph Type"),
7834
7834
  getInputField("leftLabel", "Left Label"),
7835
7835
  getInputField("bottomLabel", "Bottom Label"),
7836
+ getRadioInputField("axisDirection", "Axis Direction", ["Left", "Right"]),
7836
7837
  emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
7837
7838
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
7838
7839
  getInputField("yAxisValue", "Y-AxisValue"),
@@ -10754,6 +10755,9 @@ const buildHorizontalBarGraph = (config2, componentScope2) => {
10754
10755
  if (config2.leftLabel) {
10755
10756
  horizontalBarGraph.config.main.leftLabel = config2.leftLabel;
10756
10757
  }
10758
+ if (config2.axisDirection) {
10759
+ horizontalBarGraph.config.main.axisDirection = config2.axisDirection === "Right" ? "right" : "left";
10760
+ }
10757
10761
  return horizontalBarGraph;
10758
10762
  };
10759
10763
  var SpeedoMeter = {
@@ -11452,14 +11456,24 @@ function Card(theme) {
11452
11456
  style: {
11453
11457
  color: "black",
11454
11458
  display: "flex",
11455
- fontSize: { xs: "24px", md: "28px" },
11459
+ fontSize: { xs: "24px", md: "25px" },
11456
11460
  fontWeight: "bold",
11457
11461
  background: "inherit",
11458
11462
  justifyContent: "flex-start",
11459
11463
  width: "auto",
11460
11464
  margin: "-8px",
11465
+ marginTop: "-6px",
11461
11466
  position: "absolute",
11462
- left: "24px"
11467
+ left: "7px",
11468
+ whiteSpace: "nowrap",
11469
+ overflowX: "auto",
11470
+ overflowY: "hidden",
11471
+ scrollbarWidth: "none",
11472
+ msOverflowStyle: "none",
11473
+ maxWidth: "calc(100% + 20px)",
11474
+ "&::-webkit-scrollbar": {
11475
+ display: "none"
11476
+ }
11463
11477
  }
11464
11478
  },
11465
11479
  options: {
@@ -12572,7 +12586,17 @@ const buildUiSchema = (config2, store2) => {
12572
12586
  }
12573
12587
  if (config2 == null ? void 0 : config2.elements) {
12574
12588
  if ((config2 == null ? void 0 : config2.type) === "LeaderBoard") {
12575
- return elements;
12589
+ const rowElements = [];
12590
+ config2.elements.filter((cellElem, elemInd) => {
12591
+ const commonProperties = {
12592
+ accessorKey: cellElem.name,
12593
+ type: cellElem.type === "ColumnGroup" ? "ColumnGroup" : cellElem.columnFormat,
12594
+ header: cellElem.label || cellElem.name,
12595
+ columnKey: cellElem.columnKey
12596
+ };
12597
+ rowElements.push({ ...commonProperties });
12598
+ });
12599
+ elements.elements = rowElements;
12576
12600
  } else if (config2.type == "ColumnGroup") {
12577
12601
  const sizeMap = {};
12578
12602
  if (config2.sizeHolder) {