impaktapps-ui-builder 1.0.150 → 1.0.152

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.
@@ -7962,7 +7962,7 @@ const buildPropertiesSection = function(type) {
7962
7962
  getInputField("bottomLabel_2", "Second BottomLabel"),
7963
7963
  getInputField("bottomLabel_3", "Third BottomLabel"),
7964
7964
  getInputField("size", "Size"),
7965
- getSelectField("variant", "Variant"),
7965
+ getSelectField("orientation", "Variant"),
7966
7966
  getArrayControl("pieArcColors", "color", "Color")
7967
7967
  ];
7968
7968
  break;
@@ -10844,7 +10844,7 @@ const buildProgressBar = (config2, componentScope2) => {
10844
10844
  if (config2.layout) {
10845
10845
  ProgressBar.config.layout = config2.layout;
10846
10846
  }
10847
- ProgressBar.config.main.variant = config2.variant;
10847
+ ProgressBar.config.main.variant = config2.orientation;
10848
10848
  ProgressBar.config.main.heading = config2.label;
10849
10849
  if (config2.pieArcColors) {
10850
10850
  ProgressBar.config.main.colorRange = flatObjectValueInArray(config2.pieArcColors);
@@ -11450,6 +11450,9 @@ const buildTable = (config2, componentScope2) => {
11450
11450
  if (config2.initialDensity) {
11451
11451
  table.config.main.initialDensity = config2.initialDensity;
11452
11452
  }
11453
+ if (config2.layout) {
11454
+ table.config.layout = createLayoutFormat(config2.layout);
11455
+ }
11453
11456
  return table;
11454
11457
  };
11455
11458
  const Box = {
@@ -11592,7 +11595,7 @@ function Card(theme) {
11592
11595
  elements: [
11593
11596
  {
11594
11597
  type: "Control",
11595
- scope: "#/properties/programType",
11598
+ scope: "#/properties/initilCardScope",
11596
11599
  config: {
11597
11600
  main: {
11598
11601
  url: "https://www.svgrepo.com/show/500606/loading.svg"
@@ -11622,7 +11625,7 @@ function Card(theme) {
11622
11625
  },
11623
11626
  {
11624
11627
  type: "Control",
11625
- scope: "#/properties/programType",
11628
+ scope: "#/properties/initilCardScope",
11626
11629
  config: {
11627
11630
  main: {
11628
11631
  heading: "Total Earnings"
@@ -11653,7 +11656,7 @@ function Card(theme) {
11653
11656
  },
11654
11657
  {
11655
11658
  type: "Control",
11656
- scope: "#/properties/programType",
11659
+ scope: "#/properties/initilCardScope",
11657
11660
  config: {
11658
11661
  main: {
11659
11662
  heading: "5000.00"
@@ -11686,7 +11689,7 @@ function Card(theme) {
11686
11689
  },
11687
11690
  {
11688
11691
  type: "Control",
11689
- scope: "#/properties/programType",
11692
+ scope: "#/properties/initilCardScope",
11690
11693
  config: {
11691
11694
  main: {
11692
11695
  heading: "Increased from last month"
@@ -11722,9 +11725,10 @@ const buildCard = (config, componentScope, store) => {
11722
11725
  if (config.style) {
11723
11726
  card.config.wrapperStyle = JSON.parse(config.style);
11724
11727
  }
11725
- card.elements[0].elements[0].elements[0].elements[1].scope = `#/properties/${config.name}/properties/value`;
11726
- card.elements[1].scope = `#/properties/${config.name}/properties/url`;
11727
- card.elements[0].elements[0].elements[1].scope = `#/properties/${config.name}/properties/description`;
11728
+ card.elements[0].scope = `#/properties/${config.name}/properties/url`;
11729
+ card.elements[1].scope = `#/properties/${config.name}/properties/label`;
11730
+ card.elements[2].scope = `#/properties/${config.name}/properties/value`;
11731
+ card.elements[3].scope = `#/properties/${config.name}/properties/description`;
11728
11732
  if (config.layout) {
11729
11733
  card.config.layout = createLayoutFormat(config.layout);
11730
11734
  }
@@ -11733,13 +11737,13 @@ const buildCard = (config, componentScope, store) => {
11733
11737
  card.elements[0].elements[0].elements[0].elements[1].config.style.left = "24px";
11734
11738
  }
11735
11739
  if (config.label) {
11736
- card.elements[0].elements[0].elements[0].elements[1].config.main.heading = config.label;
11740
+ card.elements[1].config.main.heading = config.label;
11737
11741
  }
11738
11742
  if (config.url) {
11739
- card.elements[1].config.main.url = config.url;
11743
+ card.elements[0].config.main.url = config.url;
11740
11744
  }
11741
11745
  if (config.description) {
11742
- card.elements[0].elements[0].elements[1].config.main.heading = config.description;
11746
+ card.elements[3].config.main.heading = config.description;
11743
11747
  }
11744
11748
  return card;
11745
11749
  };