impaktapps-ui-builder 1.0.87 → 1.0.88

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.87",
3
+ "version": "1.0.88",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -34,14 +34,14 @@ const FileInput = {
34
34
  if (config.variant) {
35
35
  box.config.main.variant = config.variant
36
36
  }
37
- if(config.disableUpload){
38
- box.config.main.disableUpload = config.disableUpload === "YES" ? true : false;
37
+ if(config.hideUpload){
38
+ box.config.main.hideUpload = config.hideUpload === "YES" ? true : false;
39
39
  }
40
- if(config.disableDownload){
41
- box.config.main.disableDownload = config.disableDownload === "YES" ? true : false;
40
+ if(config.hideDownload){
41
+ box.config.main.hideDownload = config.hideDownload === "YES" ? true : false;
42
42
  }
43
- if(config.disableDelete){
44
- box.config.main.disableDelete = config.disableDelete === "YES" ? true : false;
43
+ if(config.hideDelete){
44
+ box.config.main.hideDelete = config.hideDelete === "YES" ? true : false;
45
45
  }
46
46
  return box;
47
47
  }
@@ -554,10 +554,10 @@ export const buildPropertiesSection = function (type: String) {
554
554
  break;
555
555
  case "FileInput":
556
556
  uiSchema.elements = [
557
- getRadioInputField("variant", "Variant", ["Input", "Button"]),
558
- getRadioInputField("disableUpload", "Disable Upload", ["YES", "NO"]),
559
- getRadioInputField("disableDelete", "Disable Delete", ["YES", "NO"]),
560
- getRadioInputField("disableDownload", "Disable Download", ["YES", "NO"])
557
+ getRadioInputField("variant", "Variant", ["Outlined", "Flat"]),
558
+ getRadioInputField("hideUpload", "Hide Upload", ["YES", "NO"]),
559
+ getRadioInputField("hideDelete", "Hide Delete", ["YES", "NO"]),
560
+ getRadioInputField("hideDownload", "Hide Download", ["YES", "NO"])
561
561
  ]
562
562
  break;
563
563
  }