impaktapps-ui-builder 1.0.144 → 1.0.146
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 -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 +6 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +4 -1
|
@@ -8113,7 +8113,10 @@ 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("description", "Enter description"),
|
|
8118
|
+
getInputField("errorMessage", "Error Message"),
|
|
8119
|
+
emptyBox$1("FileInputEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
|
|
8117
8120
|
];
|
|
8118
8121
|
break;
|
|
8119
8122
|
}
|
|
@@ -12281,6 +12284,12 @@ const buildFileInput = (config2, componentScope2) => {
|
|
|
12281
12284
|
if (config2.disableDelete) {
|
|
12282
12285
|
box.config.main.disableDelete = config2.disableDelete === "YES" ? true : false;
|
|
12283
12286
|
}
|
|
12287
|
+
if (config2.description) {
|
|
12288
|
+
box.config.main.description = config2.description;
|
|
12289
|
+
}
|
|
12290
|
+
if (config2.errorMessage) {
|
|
12291
|
+
box.config.main.errorMessage = config2.errorMessage;
|
|
12292
|
+
}
|
|
12284
12293
|
return box;
|
|
12285
12294
|
};
|
|
12286
12295
|
const Stepper = {
|