impaktapps-ui-builder 1.0.86 → 1.0.87-test.0

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.
@@ -7915,9 +7915,9 @@ const buildPropertiesSection = function(type) {
7915
7915
  case "FileInput":
7916
7916
  uiSchema.elements = [
7917
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"])
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
  }
@@ -8938,6 +8938,7 @@ const EventSchema = {
8938
8938
  { title: "Start", const: "onStart" },
8939
8939
  { title: "Cell Render", const: "onCellRenderer" },
8940
8940
  { title: "Upload", const: "onUpload" },
8941
+ { title: "FileDelete", const: "onFileDelete" },
8941
8942
  { title: "Download", const: "onDownload" },
8942
8943
  { title: "Back", const: "onBack" },
8943
8944
  { title: "Next", const: "onNext" },
@@ -11946,14 +11947,14 @@ const buildFileInput = (config2, componentScope2) => {
11946
11947
  if (config2.variant) {
11947
11948
  box.config.main.variant = config2.variant;
11948
11949
  }
11949
- if (config2.disableUpload) {
11950
- box.config.main.disableUpload = config2.disableUpload === "YES" ? true : false;
11950
+ if (config2.hideUpload) {
11951
+ box.config.main.hideUpload = config2.hideUpload === "YES" ? true : false;
11951
11952
  }
11952
- if (config2.disableDownload) {
11953
- box.config.main.disableDownload = config2.disableDownload === "YES" ? true : false;
11953
+ if (config2.hideDownload) {
11954
+ box.config.main.hideDownload = config2.hideDownload === "YES" ? true : false;
11954
11955
  }
11955
- if (config2.disableDelete) {
11956
- box.config.main.disableDelete = config2.disableDelete === "YES" ? true : false;
11956
+ if (config2.hideDelete) {
11957
+ box.config.main.hideDelete = config2.hideDelete === "YES" ? true : false;
11957
11958
  }
11958
11959
  return box;
11959
11960
  };