impaktapps-ui-builder 1.0.143 → 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 +7 -2
- 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 +4 -2
|
@@ -7943,7 +7943,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7943
7943
|
getInputField("nameKey", "Key for Name"),
|
|
7944
7944
|
getInputField("imageKey", "Key for Image"),
|
|
7945
7945
|
getInputField("scoreKey", "Key for comparing parameter"),
|
|
7946
|
-
getRadioInputField("isScoreAmount", "Is
|
|
7946
|
+
getRadioInputField("isScoreAmount", "Is Score an Amount Type", ["YES", "No"]),
|
|
7947
7947
|
emptyBox$1("LeaderBoardEmpty1", { xs: 6, sm: 6, md: 0, lg: 3 })
|
|
7948
7948
|
];
|
|
7949
7949
|
break;
|
|
@@ -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 = {
|