impaktapps-ui-builder 1.0.144 → 1.0.146

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.144",
3
+ "version": "1.0.146",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -43,5 +43,11 @@ const FileInput = {
43
43
  if (config.disableDelete) {
44
44
  box.config.main.disableDelete = config.disableDelete === "YES" ? true : false;
45
45
  }
46
+ if(config.description){
47
+ box.config.main.description = config.description;
48
+ }
49
+ if (config.errorMessage) {
50
+ box.config.main.errorMessage = config.errorMessage;
51
+ }
46
52
  return box;
47
53
  }
@@ -577,7 +577,10 @@ 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("description", "Enter description"),
582
+ getInputField("errorMessage", "Error Message"),
583
+ emptyBox("FileInputEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
581
584
  ]
582
585
  break;
583
586
  }