impaktapps-ui-builder 0.0.961 → 0.0.963

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.
@@ -7534,6 +7534,8 @@ const buildPropertiesSection = function(type) {
7534
7534
  getSelectField("graphType", "Graph Type"),
7535
7535
  getInputField("leftLabel", "Left Label"),
7536
7536
  getInputField("bottomLabel", "Bottom Label"),
7537
+ getInputField("leftLabelMargin", "Left Label Margin"),
7538
+ getInputField("leftLabelOffset", "Left Label Offset"),
7537
7539
  emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
7538
7540
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
7539
7541
  getInputField("yAxisValue", "Y-AxisValue"),
@@ -9466,7 +9468,7 @@ var service = (funcParams) => {
9466
9468
  };
9467
9469
  return {
9468
9470
  setPage: async function() {
9469
- var _a, _b, _c, _d;
9471
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
9470
9472
  funcParams.store.setFormdata({});
9471
9473
  funcParams.store.newData = {};
9472
9474
  const pageBasicDetailString = sessionStorage.getItem("pagemasterMetaData");
@@ -9498,7 +9500,6 @@ var service = (funcParams) => {
9498
9500
  flexDirection: "row",
9499
9501
  position: "absolute",
9500
9502
  bottom: 0,
9501
- marginBottom: "-8px",
9502
9503
  height: "fit-content",
9503
9504
  overflow: "hidden",
9504
9505
  zIndex: 1e3,
@@ -9517,22 +9518,23 @@ var service = (funcParams) => {
9517
9518
  heading: "Copywriter@ACT21.IO"
9518
9519
  },
9519
9520
  style: {
9520
- color: ((_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.text.disabled) || "#AFAFAF",
9521
+ color: ((_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.text) == null ? void 0 : _d.disabled) || "#AFAFAF",
9521
9522
  fontSize: "12px",
9522
9523
  textAlign: "center",
9523
- lineHeight: 1,
9524
+ lineHeight: 2,
9524
9525
  width: "fit-content",
9525
9526
  left: "50%",
9526
9527
  position: "relative",
9527
9528
  margin: 0,
9528
9529
  flexGrow: 1,
9529
- height: 0
9530
+ height: 0,
9531
+ transform: "translate(-50%, 0%)"
9530
9532
  }
9531
9533
  }
9532
9534
  },
9533
9535
  {
9534
9536
  type: "Control",
9535
- scope: "#/properties/backIcon",
9537
+ scope: "#/properties/FooterBackIcon",
9536
9538
  options: {
9537
9539
  widget: "Box"
9538
9540
  },
@@ -9543,24 +9545,24 @@ var service = (funcParams) => {
9543
9545
  width: "fit-content"
9544
9546
  },
9545
9547
  style: {
9546
- fill: theme.palette.primary.main,
9548
+ fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.main,
9547
9549
  width: 20,
9548
9550
  height: 0,
9549
- margin: 0,
9550
9551
  top: 0,
9551
9552
  right: { xs: "12px", sm: "84px" },
9552
9553
  position: "absolute",
9553
9554
  fontSize: "12px",
9554
9555
  cursor: "pointer",
9555
9556
  ":hover": {
9556
- fill: theme.palette.primary.dark
9557
- }
9557
+ fill: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.dark
9558
+ },
9559
+ marginRight: "13px"
9558
9560
  }
9559
9561
  }
9560
9562
  },
9561
9563
  {
9562
9564
  type: "Control",
9563
- scope: "#/properties/text",
9565
+ scope: "#/properties/FooterBackHandlerText",
9564
9566
  options: {
9565
9567
  widget: "Box"
9566
9568
  },
@@ -9575,24 +9577,24 @@ var service = (funcParams) => {
9575
9577
  lineHeight: 1,
9576
9578
  height: 0,
9577
9579
  width: "fit-content",
9578
- color: theme.palette.primary.main,
9579
- fontSize: "12px",
9580
+ color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.main,
9581
+ fontSize: "14px",
9580
9582
  cursor: "pointer",
9581
9583
  marginLeft: "2px",
9582
- marginRight: 0,
9583
9584
  top: 3,
9584
9585
  right: "12px",
9585
9586
  position: "absolute",
9586
9587
  ":hover": {
9587
- color: theme.palette.primary.dark
9588
- }
9588
+ color: (_l = (_k = theme == null ? void 0 : theme.palette) == null ? void 0 : _k.primary) == null ? void 0 : _l.dark
9589
+ },
9590
+ marginRight: "4px"
9589
9591
  }
9590
9592
  }
9591
9593
  }
9592
9594
  ]
9593
9595
  }
9594
9596
  );
9595
- const schema2 = (_d = pageData == null ? void 0 : pageData.schema) != null ? _d : { type: "object", properties: {} };
9597
+ const schema2 = (_m = pageData == null ? void 0 : pageData.schema) != null ? _m : { type: "object", properties: {} };
9596
9598
  eventGroups = extractEvents(config);
9597
9599
  executeEventsParameters = {
9598
9600
  config: {},
@@ -10220,7 +10222,7 @@ const BarGraph = {
10220
10222
  },
10221
10223
  config: {
10222
10224
  main: {},
10223
- style: { containerStyle: {} }
10225
+ style: { containerStyle: {}, labelStyle: {} }
10224
10226
  }
10225
10227
  };
10226
10228
  const PieGraph = {
@@ -10281,7 +10283,9 @@ const HorizontalBarGraph = {
10281
10283
  main: {
10282
10284
  type: "HorizontalBarGraph"
10283
10285
  },
10284
- style: {}
10286
+ style: {
10287
+ labelStyle: {}
10288
+ }
10285
10289
  }
10286
10290
  };
10287
10291
  const buildHorizontalBarGraph = (config, componentScope) => {
@@ -10315,6 +10319,14 @@ const buildHorizontalBarGraph = (config, componentScope) => {
10315
10319
  if (config.leftLabel) {
10316
10320
  horizontalBarGraph.config.main.leftLabel = config.leftLabel;
10317
10321
  }
10322
+ if (config.leftLabelMargin) {
10323
+ horizontalBarGraph.config.style.labelStyle.margin = {
10324
+ left: config.leftLabelMargin
10325
+ };
10326
+ }
10327
+ if (config.leftLabelOffset) {
10328
+ horizontalBarGraph.config.style.labelStyle.leftLabelOffset = config.leftLabelOffset;
10329
+ }
10318
10330
  return horizontalBarGraph;
10319
10331
  };
10320
10332
  var SpeedoMeter = {
@@ -10467,6 +10479,14 @@ const buildStackbarGraph = (config, componentScope) => {
10467
10479
  if (config.leftLabel) {
10468
10480
  barGraph.config.main.leftLabel = config.leftLabel;
10469
10481
  }
10482
+ if (config.leftLabelMargin) {
10483
+ barGraph.config.style.labelStyle.margin = {
10484
+ left: config.leftLabelMargin
10485
+ };
10486
+ }
10487
+ if (config.leftLabelOffset) {
10488
+ barGraph.config.style.labelStyle.leftLabelOffset = config.leftLabelOffset;
10489
+ }
10470
10490
  barGraph.scope = componentScope;
10471
10491
  return barGraph;
10472
10492
  };
@@ -11315,6 +11335,14 @@ const buildLineGraph = (config, componentScope) => {
11315
11335
  if (config.pieArcColors) {
11316
11336
  lineGraph.config.style.lineStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
11317
11337
  }
11338
+ if (config.leftLabelMargin) {
11339
+ lineGraph.config.style.labelStyle.margin = {
11340
+ left: config.leftLabelMargin
11341
+ };
11342
+ }
11343
+ if (config.leftLabelOffset) {
11344
+ lineGraph.config.style.labelStyle.leftLabelOffset = config.leftLabelOffset;
11345
+ }
11318
11346
  lineGraph.scope = componentScope;
11319
11347
  return lineGraph;
11320
11348
  };