impaktapps-ui-builder 0.0.93 → 0.0.95-offset.1

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.
@@ -7538,6 +7538,7 @@ const buildPropertiesSection = function(type) {
7538
7538
  getInputField("yAxisValue", "Y-AxisValue"),
7539
7539
  getInputField("xAxisValue", "X-AxisValue"),
7540
7540
  getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
7541
+ getInputField("leftMargin", "Left Margin"),
7541
7542
  emptyBox$1("GraphEmpty1", { xs: 0, sm: 6, md: 6, lg: 0 }),
7542
7543
  getArrayControl("legendLabels", "label"),
7543
7544
  getArrayControl("pieArcColors", "color")
@@ -9482,9 +9483,10 @@ var service = (funcParams) => {
9482
9483
  }
9483
9484
  const config = pageData == null ? void 0 : pageData.config;
9484
9485
  const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
9485
- new CustomEvent("pageNameChanged", {
9486
+ const event2 = new CustomEvent("pageNameChanged", {
9486
9487
  detail: { pageName: config.label }
9487
9488
  });
9489
+ window.dispatchEvent(event2);
9488
9490
  const theme = (_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
9489
9491
  uiSchema.elements.push(
9490
9492
  {
@@ -10318,6 +10320,15 @@ const buildHorizontalBarGraph = (config, componentScope) => {
10318
10320
  }
10319
10321
  };
10320
10322
  }
10323
+ if (config.leftMargin) {
10324
+ horizontalBarGraph.config.style = {
10325
+ labelStyle: {
10326
+ margin: {
10327
+ left: config.leftMargin
10328
+ }
10329
+ }
10330
+ };
10331
+ }
10321
10332
  if (config.bottomLabel) {
10322
10333
  horizontalBarGraph.config.main.bottomLabel = config.bottomLabel;
10323
10334
  }
@@ -10474,6 +10485,15 @@ const buildStackbarGraph = (config, componentScope) => {
10474
10485
  if (config.height) {
10475
10486
  barGraph.config.style.containerStyle.height = config.height;
10476
10487
  }
10488
+ if (config.leftMargin) {
10489
+ barGraph.config.style = {
10490
+ labelStyle: {
10491
+ margin: {
10492
+ left: config.leftMargin
10493
+ }
10494
+ }
10495
+ };
10496
+ }
10477
10497
  if (config.bottomLabel) {
10478
10498
  barGraph.config.main.bottomLabel = config.bottomLabel;
10479
10499
  }
@@ -11301,6 +11321,15 @@ const buildLineGraph = (config, componentScope) => {
11301
11321
  if (config.height) {
11302
11322
  lineGraph.config.style.containerStyle.height = config.height;
11303
11323
  }
11324
+ if (config.leftMargin) {
11325
+ lineGraph.config.style = {
11326
+ labelStyle: {
11327
+ margin: {
11328
+ left: config.leftMargin
11329
+ }
11330
+ }
11331
+ };
11332
+ }
11304
11333
  if (config.bottomLabel) {
11305
11334
  lineGraph.config.main.bottomLabel = config.bottomLabel;
11306
11335
  }