impaktapps-ui-builder 1.0.144 → 1.0.145
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 +6 -1
- 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 +3 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +3 -1
|
@@ -8113,7 +8113,9 @@ const buildPropertiesSection = function(type) {
|
|
|
8113
8113
|
getRadioInputField("variant", "Variant", ["Outlined", "Standard"]),
|
|
8114
8114
|
getRadioInputField("disableUpload", "Disable Upload", ["YES", "NO"]),
|
|
8115
8115
|
getRadioInputField("disableDelete", "Disable Delete", ["YES", "NO"]),
|
|
8116
|
-
getRadioInputField("disableDownload", "Disable Download", ["YES", "NO"])
|
|
8116
|
+
getRadioInputField("disableDownload", "Disable Download", ["YES", "NO"]),
|
|
8117
|
+
getInputField("errorMessage", "Error Message"),
|
|
8118
|
+
emptyBox$1("FileInputEmpty", { xs: 6, sm: 6, md: 8, lg: 9 })
|
|
8117
8119
|
];
|
|
8118
8120
|
break;
|
|
8119
8121
|
}
|
|
@@ -12281,6 +12283,9 @@ const buildFileInput = (config2, componentScope2) => {
|
|
|
12281
12283
|
if (config2.disableDelete) {
|
|
12282
12284
|
box.config.main.disableDelete = config2.disableDelete === "YES" ? true : false;
|
|
12283
12285
|
}
|
|
12286
|
+
if (config2.errorMessage) {
|
|
12287
|
+
box.config.main.errorMessage = config2.errorMessage;
|
|
12288
|
+
}
|
|
12284
12289
|
return box;
|
|
12285
12290
|
};
|
|
12286
12291
|
const Stepper = {
|