impaktapps-ui-builder 1.0.153 → 1.0.155

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.
@@ -7734,7 +7734,7 @@ sizeHolder.elements[1] = {
7734
7734
  }
7735
7735
  };
7736
7736
  sizeHolder.elements[2] = emptyBox$1("sizeHolderempty");
7737
- const getInputField = (scope, label) => {
7737
+ const getInputField = (scope, label, type) => {
7738
7738
  return {
7739
7739
  type: "Control",
7740
7740
  scope: `#/properties/${scope}`,
@@ -7744,7 +7744,8 @@ const getInputField = (scope, label) => {
7744
7744
  config: {
7745
7745
  layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7746
7746
  main: {
7747
- label
7747
+ label,
7748
+ type
7748
7749
  }
7749
7750
  }
7750
7751
  };
@@ -7991,6 +7992,13 @@ const buildPropertiesSection = function(type) {
7991
7992
  emptyBox$1("BoxEmpty1", { xs: 6, sm: 6, md: 4, lg: 8 })
7992
7993
  ];
7993
7994
  break;
7995
+ case "SegmentChart":
7996
+ uiSchema.elements = [
7997
+ getInputField("height", "Height", "number"),
7998
+ emptyBox$1("BoxEmpty1", { xs: 6, sm: 6, md: 4, lg: 8 }),
7999
+ getArrayControl("pieArcColors", "color", "Color")
8000
+ ];
8001
+ break;
7994
8002
  case "Graph":
7995
8003
  uiSchema.elements = [
7996
8004
  getInputField("height", "Height"),
@@ -8594,23 +8602,24 @@ function okHandler(store2) {
8594
8602
  const sectionLabels = {
8595
8603
  Select: ["Core", "Properties", "Value", "Events", "Style", "Validation"],
8596
8604
  MultipleSelect: ["Core", "Properties", "Value", "Events", "Style", "Validation"],
8597
- Table: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
8598
- LeaderBoard: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
8599
- WrapperSection: ["Core", "Components", "Properties", "Style", "Validation"],
8600
- HorizontalLayout: ["Core", "Components", "Properties", "Style", "Validation"],
8605
+ Table: ["Core", "Components", "Properties", "Events", "Style"],
8606
+ LeaderBoard: ["Core", "Components", "Properties", "Events", "Style"],
8607
+ WrapperSection: ["Core", "Components", "Properties", "Style"],
8608
+ HorizontalLayout: ["Core", "Components", "Properties", "Style"],
8601
8609
  TabSection: ["Core", "Components", "Properties", "Style", "Validation"],
8602
- SpeedoMeter: ["Core", "Properties", "Events", "Style", "Validation"],
8610
+ SpeedoMeter: ["Core", "Properties", "Events", "Style"],
8603
8611
  card: ["Core", "Properties", "Events", "Style", "Validation"],
8604
8612
  UploadFile: ["Core", "Events", "Style", "Validation"],
8605
8613
  Graph: ["Core", "Properties", "Events", "Style", "Validation"],
8606
8614
  DownloadFile: ["Core", "Events", "Style", "Validation"],
8607
8615
  Box: ["Core", "Properties", "Events", "Style", "Validation"],
8608
8616
  Properties: ["Core", "Properties", "Events", "Style", "Validation"],
8609
- ProgressBarCard: ["Core", "Properties", "Events", "Style", "Validation"],
8610
- RankCard: ["Core", "Properties", "Events", "Style", "Validation"],
8617
+ ProgressBarCard: ["Core", "Properties", "Events", "Style"],
8618
+ ProgressBar: ["Core", "Properties", "Events", "Style"],
8619
+ RankCard: ["Core", "Properties", "Events", "Style"],
8611
8620
  Slider: ["Core", "Components", "Events", "Style", "Validation"],
8612
- Timer: ["Core", "Events", "Style", "Validation"],
8613
- Rank: ["Core", "Events", "Style", "Validation"],
8621
+ Timer: ["Core", "Events", "Style"],
8622
+ Rank: ["Core", "Events", "Style"],
8614
8623
  Button: ["Core", "Properties", "Events", "Style", "Validation"],
8615
8624
  Array: ["Core", "Components", "Properties", "Events", "Validation"],
8616
8625
  Radio: ["Core", "Properties", "Events", "Style", "Validation"],
@@ -8622,7 +8631,7 @@ const sectionLabels = {
8622
8631
  InputSlider: ["Core", "Properties", "Events", "Style", "Validation"],
8623
8632
  TreeMap: ["Core", "Components", "Properties", "Events", "Style"],
8624
8633
  ColumnGroup: ["Core", "Components"],
8625
- Thought: ["Core", "Properties", "Events", "Style", "Validation"],
8634
+ Thought: ["Core", "Properties", "Events", "Style"],
8626
8635
  Date: ["Core", "Properties", "Events", "Style", "Validation"],
8627
8636
  DateTime: ["Core", "Properties", "Events", "Style", "Validation"],
8628
8637
  Image: ["Core", "Properties", "Style"],
@@ -12571,6 +12580,9 @@ const buildSegmentChart = (config2, componentScope2) => {
12571
12580
  if (config2.pieArcColors) {
12572
12581
  segment.config.main.colorRange = flatObjectValueInArray(config2.pieArcColors);
12573
12582
  }
12583
+ if (config2.height) {
12584
+ segment.config.main.height = Number(config2.height);
12585
+ }
12574
12586
  if (config2.style) {
12575
12587
  segment.config.style = JSON.parse(config2.style);
12576
12588
  }