impaktapps-ui-builder 1.0.410 → 1.0.412

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.
@@ -7817,7 +7817,7 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
7817
7817
  ]
7818
7818
  };
7819
7819
  };
7820
- const getArrayControlMultiField = (parentScope, firstFieldScope, secondFieldScope, firstFieldLabel, secondFieldLabel, arrayLabel) => {
7820
+ const getArrayControlMultiField = (parentScope, firstFieldScope, secondFieldScope, firstFieldLabel, secondFieldLabel) => {
7821
7821
  return {
7822
7822
  type: "Control",
7823
7823
  scope: `#/properties/${parentScope}`,
@@ -7826,9 +7826,7 @@ const getArrayControlMultiField = (parentScope, firstFieldScope, secondFieldScop
7826
7826
  },
7827
7827
  config: {
7828
7828
  layout: 12,
7829
- main: {
7830
- label: arrayLabel
7831
- },
7829
+ main: {},
7832
7830
  style: {
7833
7831
  marginLeft: "-24px",
7834
7832
  marginBottom: "24px !important",
@@ -8200,17 +8198,18 @@ const buildPropertiesSection = function(type) {
8200
8198
  emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
8201
8199
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
8202
8200
  getRadioInputField("legendDirection", "Legend Direction", ["Row", "Column"]),
8203
- getInputField("yAxisValue", "Y-AxisKey"),
8204
- getInputField("xAxisValue", "X-AxisKey"),
8201
+ getInputField("yAxisValue", "Y-AxisValue"),
8202
+ getInputField("xAxisValue", "X-AxisValue"),
8205
8203
  getSelectField("xAxisType", "X-AxisType"),
8206
8204
  getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
8207
8205
  getInputField("leftMargin", "Left Margin"),
8208
- getInputField("xAxisLabelMinWidth", "X Axis Label Width"),
8209
8206
  getInputField("yAxisTickCount", "Y Axis TickCount"),
8210
8207
  getSelectField("xAxisFormatType", "X Axis Format Type"),
8211
- emptyBox$1("GraphEmpty1", { xs: 0, sm: 0, md: 4, lg: 6 }),
8212
- getArrayControlMultiField("legendLabels", "key", "value", "Key", "Label", "Configure Bar Labels"),
8213
- getArrayControlMultiField("pieArcColors", "key", "value", "Key", "Color", "Configure Bar Colors")
8208
+ getInputField("growthRateKey", "Growth Rate Key (StackBarLineGraph)"),
8209
+ getInputField("tooltipUnit", "Tooltip Unit"),
8210
+ emptyBox$1("GraphEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 }),
8211
+ getArrayControlMultiField("legendLabels", "key", "value", "Key", "Label"),
8212
+ getArrayControlMultiField("pieArcColors", "key", "value", "Key", "Color")
8214
8213
  ];
8215
8214
  break;
8216
8215
  case "WrapperSection":
@@ -13033,9 +13032,6 @@ const buildAreaGraph = (config2, componentScope2) => {
13033
13032
  if (config2.xAxisFormatType) {
13034
13033
  AreaGraph.config.main.xAxisFormatType = config2.xAxisFormatType;
13035
13034
  }
13036
- if (config2.xAxisLabelMinWidth) {
13037
- AreaGraph.config.main.xAxisLabelMinWidth = config2.xAxisLabelMinWidth;
13038
- }
13039
13035
  if (config2.yAxisTickCount) {
13040
13036
  AreaGraph.config.main.yAxisTickCount = config2.yAxisTickCount;
13041
13037
  }
@@ -13089,9 +13085,6 @@ const buildStackBarLineGraph = (config2, componentScope2) => {
13089
13085
  if (config2.pieArcColors) {
13090
13086
  StackBarLineGraph.config.style.colorMap = createKeyValueMap(config2.pieArcColors);
13091
13087
  }
13092
- if (config2.xAxisLabelMinWidth) {
13093
- StackBarLineGraph.config.main.xAxisLabelMinWidth = config2.xAxisLabelMinWidth;
13094
- }
13095
13088
  if (config2.yAxisTickCount) {
13096
13089
  StackBarLineGraph.config.main.yAxisTickCount = config2.yAxisTickCount;
13097
13090
  }
@@ -13113,6 +13106,12 @@ const buildStackBarLineGraph = (config2, componentScope2) => {
13113
13106
  if (config2.disableLeftLabel) {
13114
13107
  StackBarLineGraph.config.main.disableLeftLabel = config2.disableLeftLabel === "YES" ? true : false;
13115
13108
  }
13109
+ if (config2.growthRateKey) {
13110
+ StackBarLineGraph.config.main.growthRateKey = config2.growthRateKey;
13111
+ }
13112
+ if (config2.tooltipUnit) {
13113
+ StackBarLineGraph.config.main.tooltipUnit = config2.tooltipUnit;
13114
+ }
13116
13115
  if (config2.leftMargin) {
13117
13116
  StackBarLineGraph.config.style.labelStyle.margin = {
13118
13117
  left: config2.leftMargin