impaktapps-ui-builder 1.0.93 → 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.
- package/dist/impaktapps-ui-builder.es.js +10 -7
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +38 -37
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +4 -1
|
@@ -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,14 +11955,14 @@ const buildFileInput = (config2, componentScope2) => {
|
|
|
11952
11955
|
if (config2.variant) {
|
|
11953
11956
|
box.config.main.variant = config2.variant;
|
|
11954
11957
|
}
|
|
11955
|
-
if (config2.
|
|
11956
|
-
box.config.main.
|
|
11958
|
+
if (config2.disableUpload) {
|
|
11959
|
+
box.config.main.disableUpload = config2.disableUpload === "YES" ? true : false;
|
|
11957
11960
|
}
|
|
11958
|
-
if (config2.
|
|
11959
|
-
box.config.main.
|
|
11961
|
+
if (config2.disableDownload) {
|
|
11962
|
+
box.config.main.disableDownload = config2.disableDownload === "YES" ? true : false;
|
|
11960
11963
|
}
|
|
11961
|
-
if (config2.
|
|
11962
|
-
box.config.main.
|
|
11964
|
+
if (config2.disableDelete) {
|
|
11965
|
+
box.config.main.disableDelete = config2.disableDelete === "YES" ? true : false;
|
|
11963
11966
|
}
|
|
11964
11967
|
return box;
|
|
11965
11968
|
};
|