impaktapps-ui-builder 0.0.97-alpha.14 → 0.0.97-alpha.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.97-alpha.14",
3
+ "version": "0.0.97-alpha.16",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -34,7 +34,7 @@ export const buildLineGraph = (config, componentScope) => {
34
34
  lineGraph.config.main.leftLabel = config.leftLabel;
35
35
  }
36
36
  if (config.legendHide) {
37
- lineGraph.config.main.legendAvailabe = config.legendHide==="YES"?false:true;
37
+ lineGraph.config.main.legendAvailable = config.legendHide==="YES"?false:true;
38
38
  }
39
39
  if (config.bottomAxisAngle) {
40
40
  lineGraph.config.main.bottomAxisAngle = config.bottomAxisAngle==="YES"?true:false;
@@ -46,15 +46,6 @@ export const buildLineGraph = (config, componentScope) => {
46
46
  if (config.pieArcColors) {
47
47
  lineGraph.config.style.lineStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
48
48
  }
49
- if (config.leftLabelMargin) {
50
- lineGraph.config.style.labelStyle.margin = {
51
- left: config.leftLabelMargin,
52
- };
53
- }
54
- if (config.leftLabelOffset) {
55
- lineGraph.config.style.labelStyle.leftLabelOffset =
56
- config.leftLabelOffset;
57
- }
58
49
  lineGraph.scope = componentScope;
59
50
  return lineGraph;
60
51
  }
@@ -16,7 +16,7 @@ export const buildPieGraph = (config, componentScope) => {
16
16
 
17
17
  }
18
18
  if (config.legendHide) {
19
- pieGraph.config.main.legendAvailabe = config.legendHide === "YES" ? false : true;
19
+ pieGraph.config.main.legendAvailable = config.legendHide === "YES" ? false : true;
20
20
  }
21
21
  pieGraph.scope = componentScope;
22
22
  pieGraph.config.main.header = config.heading;
@@ -44,15 +44,6 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
44
44
  if (config.leftLabel) {
45
45
  barGraph.config.main.leftLabel = config.leftLabel;
46
46
  }
47
- if (config.leftLabelMargin) {
48
- barGraph.config.style.labelStyle.margin = {
49
- left: config.leftLabelMargin,
50
- };
51
- }
52
- if (config.leftLabelOffset) {
53
- barGraph.config.style.labelStyle.leftLabelOffset =
54
- config.leftLabelOffset;
55
- }
56
47
  barGraph.scope = componentScope;
57
48
  return barGraph;
58
49
  }
@@ -407,8 +407,6 @@ export const buildPropertiesSection = function (type: String) {
407
407
  ]),
408
408
  getInputField("leftLabel", "Left Label"),
409
409
  getInputField("bottomLabel", "Bottom Label"),
410
- getInputField("leftLabelMargin", "Left Label Margin"),
411
- getInputField("leftLabelOffset", "Left Label Offset"),
412
410
  emptyBox("GraphEmpty1", {xs: 6, sm: 0, md: 0, lg: 0 }),
413
411
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
414
412
  getInputField("yAxisValue", "Y-AxisValue"),