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

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.
@@ -7969,7 +7969,7 @@ const buildPropertiesSection = function(type) {
7969
7969
  uiSchema.elements = [
7970
7970
  getInputField("url", "Image Url"),
7971
7971
  getInputField("label", "Label"),
7972
- getInputField("value", "Value"),
7972
+ getInputField("cardValue", "Value"),
7973
7973
  getInputField("titleIcon", "Unicode of Icon for title"),
7974
7974
  getInputField("description", "Description"),
7975
7975
  emptyBox$1("cardEmpty", { xs: 6, sm: 6, md: 8, lg: 9 })
@@ -8059,7 +8059,7 @@ const buildPropertiesSection = function(type) {
8059
8059
  getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
8060
8060
  getInputField("defaultColumnSize", "Default Column Size"),
8061
8061
  ,
8062
- emptyBox$1("LazyLoadingTableEmpty3")
8062
+ emptyBox$1("LazyLoadingTableEmpty3", { xs: 0, sm: 0, md: 4, lg: 6 })
8063
8063
  ]),
8064
8064
  getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
8065
8065
  sizeHolder,
@@ -11669,7 +11669,7 @@ function Card(theme) {
11669
11669
  style: {
11670
11670
  color: "black",
11671
11671
  display: "flex",
11672
- fontSize: { xs: "22px", md: "30px" },
11672
+ fontSize: { xs: "22px", md: "27px" },
11673
11673
  fontWeight: "450",
11674
11674
  background: "inherit",
11675
11675
  justifyContent: "flex-start",
@@ -11724,9 +11724,14 @@ function Card(theme) {
11724
11724
  return uiSchema;
11725
11725
  }
11726
11726
  const buildCard = (config, componentScope, store2) => {
11727
+ var _a, _b, _c;
11727
11728
  const card = _.cloneDeep(Card(store2.theme.myTheme));
11728
11729
  if (config.style) {
11730
+ const parsedStyle = JSON.parse(config.style);
11729
11731
  card.config.wrapperStyle = JSON.parse(config.style);
11732
+ card.elements[1].config.style = { ...card.elements[1].config.style, ...(_a = parsedStyle.labelStyle) != null ? _a : {} };
11733
+ card.elements[3].config.style = { ...card.elements[3].config.style, ...(_b = parsedStyle.descriptionStyle) != null ? _b : {} };
11734
+ card.elements[2].config.style = { ...card.elements[2].config.style, ...(_c = parsedStyle.valueStyle) != null ? _c : {} };
11730
11735
  }
11731
11736
  card.elements[2].scope = `#/properties/${config.name}/properties/value`;
11732
11737
  card.elements[0].scope = `#/properties/${config.name}/properties/url`;
@@ -11744,8 +11749,8 @@ const buildCard = (config, componentScope, store2) => {
11744
11749
  if (config.description) {
11745
11750
  card.elements[3].config.main.heading = config.description;
11746
11751
  }
11747
- if (config.value) {
11748
- card.elements[2].config.main.heading = config.value;
11752
+ if (config.cardValue) {
11753
+ card.elements[2].config.main.heading = config.cardValue;
11749
11754
  }
11750
11755
  return card;
11751
11756
  };