impaktapps-ui-builder 1.0.139 → 1.0.141

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.
@@ -7943,7 +7943,8 @@ const buildPropertiesSection = function(type) {
7943
7943
  getInputField("nameKey", "Key for Name"),
7944
7944
  getInputField("imageKey", "Key for Image"),
7945
7945
  getInputField("scoreKey", "Key for comparing parameter"),
7946
- emptyBox$1("LeaderBoardEmpty1", { xs: 6, sm: 6, md: 0, lg: 0 })
7946
+ getRadioInputField("isScoreAmount", "Is score an Amount", ["YES", "No"]),
7947
+ emptyBox$1("LeaderBoardEmpty1", { xs: 6, sm: 6, md: 0, lg: 3 })
7947
7948
  ];
7948
7949
  break;
7949
7950
  case "CardSlider":
@@ -10787,6 +10788,9 @@ const buildLeaderBoard = (config2) => {
10787
10788
  if (config2.scoreKey) {
10788
10789
  LeaderBoard.config.main.scoreKey = config2.scoreKey;
10789
10790
  }
10791
+ if (config2.isScoreAmount) {
10792
+ LeaderBoard.config.main.isScoreAmount = config2.isScoreAmount === "YES" ? true : false;
10793
+ }
10790
10794
  if (config2.layout) {
10791
10795
  LeaderBoard.config.layout = createLayoutFormat(config2.layout, config2.type);
10792
10796
  }