impaktapps-ui-builder 1.0.87 → 1.0.89

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.
@@ -7914,10 +7914,10 @@ const buildPropertiesSection = function(type) {
7914
7914
  break;
7915
7915
  case "FileInput":
7916
7916
  uiSchema.elements = [
7917
- getRadioInputField("variant", "Variant", ["Input", "Button"]),
7918
- getRadioInputField("disableUpload", "Disable Upload", ["YES", "NO"]),
7919
- getRadioInputField("disableDelete", "Disable Delete", ["YES", "NO"]),
7920
- getRadioInputField("disableDownload", "Disable Download", ["YES", "NO"])
7917
+ getRadioInputField("variant", "Variant", ["Outlined", "Flat"]),
7918
+ getRadioInputField("hideUpload", "Hide Upload", ["YES", "NO"]),
7919
+ getRadioInputField("hideDelete", "Hide Delete", ["YES", "NO"]),
7920
+ getRadioInputField("hideDownload", "Hide Download", ["YES", "NO"])
7921
7921
  ];
7922
7922
  break;
7923
7923
  }
@@ -11947,14 +11947,14 @@ const buildFileInput = (config2, componentScope2) => {
11947
11947
  if (config2.variant) {
11948
11948
  box.config.main.variant = config2.variant;
11949
11949
  }
11950
- if (config2.disableUpload) {
11951
- box.config.main.disableUpload = config2.disableUpload === "YES" ? true : false;
11950
+ if (config2.hideUpload) {
11951
+ box.config.main.hideUpload = config2.hideUpload === "YES" ? true : false;
11952
11952
  }
11953
- if (config2.disableDownload) {
11954
- box.config.main.disableDownload = config2.disableDownload === "YES" ? true : false;
11953
+ if (config2.hideDownload) {
11954
+ box.config.main.hideDownload = config2.hideDownload === "YES" ? true : false;
11955
11955
  }
11956
- if (config2.disableDelete) {
11957
- box.config.main.disableDelete = config2.disableDelete === "YES" ? true : false;
11956
+ if (config2.hideDelete) {
11957
+ box.config.main.hideDelete = config2.hideDelete === "YES" ? true : false;
11958
11958
  }
11959
11959
  return box;
11960
11960
  };