impaktapps-ui-builder 1.0.147-test.16 → 1.0.147-test.17

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": "1.0.147-test.16",
3
+ "version": "1.0.147-test.17",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -48,6 +48,9 @@ const buildHorizontalBarGraph = (config:any,componentScope:string) => {
48
48
  if (config.disableLeftLabel) {
49
49
  horizontalBarGraph.config.main.disableLeftLabel = config.disableLeftLabel==="YES"? true: false;
50
50
  }
51
+ if (config.style) {
52
+ horizontalBarGraph.config.style = JSON.parse(config.style)
53
+ }
51
54
  return horizontalBarGraph
52
55
  }
53
56
 
@@ -47,6 +47,9 @@ export const buildLineGraph = (config, componentScope) => {
47
47
  if (config.pieArcColors) {
48
48
  lineGraph.config.style.lineStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
49
49
  }
50
+ if (config.style) {
51
+ lineGraph.config.style = JSON.parse(config.style)
52
+ }
50
53
  lineGraph.scope = componentScope;
51
54
  return lineGraph;
52
55
  }
@@ -27,5 +27,8 @@ export const buildPieGraph = (config, componentScope) => {
27
27
  if (config.pieArcColors) {
28
28
  pieGraph.config.style.pieStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
29
29
  }
30
+ if (config.style) {
31
+ pieGraph.config.style = JSON.parse(config.style)
32
+ }
30
33
  return pieGraph;
31
34
  }
@@ -45,6 +45,9 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
45
45
  if (config.disableLeftLabel) {
46
46
  barGraph.config.main.disableLeftLabel = config.disableLeftLabel==="YES"? true: false;
47
47
  }
48
+ if (config.style) {
49
+ barGraph.config.style = JSON.parse(config.style)
50
+ }
48
51
  barGraph.scope = componentScope;
49
52
  return barGraph;
50
53
  }
@@ -499,6 +499,7 @@ export const buildPropertiesSection = function (type: String) {
499
499
  { label: "Comfortable", value: "comfortable" },
500
500
  { label: "Spacious", value: "spacious" }
501
501
  ]),
502
+ emptyBox("emptyBoxTable", { xs: 6, sm: 6, md: 0, lg: 3 }),
502
503
 
503
504
  buildWrapper("Tree Table Properties", [
504
505
  getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),