impaktapps-ui-builder 1.0.94 → 1.0.95

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.
@@ -7916,7 +7916,10 @@ const buildPropertiesSection = function(type) {
7916
7916
  break;
7917
7917
  case "FileInput":
7918
7918
  uiSchema.elements = [
7919
- getRadioInputField("variant", "Variant", ["Outlined", "Standard"])
7919
+ getRadioInputField("variant", "Variant", ["Outlined", "Standard"]),
7920
+ getRadioInputField("disableUpload", "Disable Upload", ["YES", "NO"]),
7921
+ getRadioInputField("disableDelete", "Disable Delete", ["YES", "NO"]),
7922
+ getRadioInputField("disableDownload", "Disable Download", ["YES", "NO"])
7920
7923
  ];
7921
7924
  break;
7922
7925
  }
@@ -11952,6 +11955,15 @@ const buildFileInput = (config2, componentScope2) => {
11952
11955
  if (config2.variant) {
11953
11956
  box.config.main.variant = config2.variant;
11954
11957
  }
11958
+ if (config2.disableUpload) {
11959
+ box.config.main.disableUpload = config2.disableUpload === "YES" ? true : false;
11960
+ }
11961
+ if (config2.disableDownload) {
11962
+ box.config.main.disableDownload = config2.disableDownload === "YES" ? true : false;
11963
+ }
11964
+ if (config2.disableDelete) {
11965
+ box.config.main.disableDelete = config2.disableDelete === "YES" ? true : false;
11966
+ }
11955
11967
  return box;
11956
11968
  };
11957
11969
  const Stepper = {