impaktapps-ui-builder 1.0.143 → 1.0.145

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.143",
3
+ "version": "1.0.145",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -43,5 +43,8 @@ const FileInput = {
43
43
  if (config.disableDelete) {
44
44
  box.config.main.disableDelete = config.disableDelete === "YES" ? true : false;
45
45
  }
46
+ if (config.errorMessage) {
47
+ box.config.main.errorMessage = config.errorMessage;
48
+ }
46
49
  return box;
47
50
  }
@@ -374,7 +374,7 @@ export const buildPropertiesSection = function (type: String) {
374
374
  getInputField("nameKey", "Key for Name"),
375
375
  getInputField("imageKey", "Key for Image"),
376
376
  getInputField("scoreKey", "Key for comparing parameter"),
377
- getRadioInputField("isScoreAmount", "Is score an Amount", ["YES", "No"]),
377
+ getRadioInputField("isScoreAmount", "Is Score an Amount Type", ["YES", "No"]),
378
378
  emptyBox("LeaderBoardEmpty1", { xs: 6, sm: 6, md: 0, lg: 3 })
379
379
  ];
380
380
  break;
@@ -577,7 +577,9 @@ export const buildPropertiesSection = function (type: String) {
577
577
  getRadioInputField("variant", "Variant", ["Outlined", "Standard"]),
578
578
  getRadioInputField("disableUpload", "Disable Upload", ["YES", "NO"]),
579
579
  getRadioInputField("disableDelete", "Disable Delete", ["YES", "NO"]),
580
- getRadioInputField("disableDownload", "Disable Download", ["YES", "NO"])
580
+ getRadioInputField("disableDownload", "Disable Download", ["YES", "NO"]),
581
+ getInputField("errorMessage", "Error Message"),
582
+ emptyBox("FileInputEmpty", { xs: 6, sm: 6, md: 8, lg: 9 })
581
583
  ]
582
584
  break;
583
585
  }