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.
- package/dist/impaktapps-ui-builder.es.js +10 -9
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +6 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +3 -3
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +1 -0
|
@@ -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("
|
|
7919
|
-
getRadioInputField("
|
|
7920
|
-
getRadioInputField("
|
|
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.
|
|
11950
|
-
box.config.main.
|
|
11950
|
+
if (config2.hideUpload) {
|
|
11951
|
+
box.config.main.hideUpload = config2.hideUpload === "YES" ? true : false;
|
|
11951
11952
|
}
|
|
11952
|
-
if (config2.
|
|
11953
|
-
box.config.main.
|
|
11953
|
+
if (config2.hideDownload) {
|
|
11954
|
+
box.config.main.hideDownload = config2.hideDownload === "YES" ? true : false;
|
|
11954
11955
|
}
|
|
11955
|
-
if (config2.
|
|
11956
|
-
box.config.main.
|
|
11956
|
+
if (config2.hideDelete) {
|
|
11957
|
+
box.config.main.hideDelete = config2.hideDelete === "YES" ? true : false;
|
|
11957
11958
|
}
|
|
11958
11959
|
return box;
|
|
11959
11960
|
};
|