impaktapps-ui-builder 1.0.233 → 1.0.235
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 +8 -5
- 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/buildDate.ts +3 -1
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +2 -1
- package/src/impaktapps-ui-builder/builder/services/component.ts +1 -1
|
@@ -8330,8 +8330,9 @@ const buildPropertiesSection = function(type) {
|
|
|
8330
8330
|
getSelectField("toolTipPosition", "Tooltip Position"),
|
|
8331
8331
|
getInputField("chooseButtonLabel", "ChooseButton Label"),
|
|
8332
8332
|
getInputField("noFileAvailableMessage", "No Found Message"),
|
|
8333
|
-
getRadioInputField("
|
|
8334
|
-
getRadioInputField("externalUpload", "External Upload", ["YES", "NO"])
|
|
8333
|
+
getRadioInputField("useLabel", "Use Button", ["YES", "NO"]),
|
|
8334
|
+
getRadioInputField("externalUpload", "External Upload", ["YES", "NO"]),
|
|
8335
|
+
emptyBox$1("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
|
|
8335
8336
|
];
|
|
8336
8337
|
break;
|
|
8337
8338
|
case "Camera":
|
|
@@ -8872,7 +8873,7 @@ const sectionLabels = {
|
|
|
8872
8873
|
Date: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8873
8874
|
DateTime: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8874
8875
|
Image: ["Core", "Properties", "Events", "Style"],
|
|
8875
|
-
FileInput: ["Core", "
|
|
8876
|
+
FileInput: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8876
8877
|
Camera: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8877
8878
|
OTP_Input: ["Core", "Properties", "Events", "Style", "Validation"]
|
|
8878
8879
|
};
|
|
@@ -12160,7 +12161,9 @@ const buildDate = (config2, componentScope2) => {
|
|
|
12160
12161
|
const buildDateTime = (config2, componentScope2) => {
|
|
12161
12162
|
const dateTimeInputField = _.cloneDeep(DateTime);
|
|
12162
12163
|
dateTimeInputField.config.main.label = config2.label;
|
|
12163
|
-
dateTimeInputField.config.main.errorMessage
|
|
12164
|
+
if (dateTimeInputField.config.main.errorMessage) {
|
|
12165
|
+
dateTimeInputField.config.main.errorMessage = `${config2.name} is empty or invalid`;
|
|
12166
|
+
}
|
|
12164
12167
|
dateTimeInputField.scope = componentScope2;
|
|
12165
12168
|
if (config2.layout) {
|
|
12166
12169
|
dateTimeInputField.config.layout = createLayoutFormat(config2.layout);
|
|
@@ -12637,7 +12640,7 @@ const buildFileInput = (config2, componentScope2) => {
|
|
|
12637
12640
|
box.config.main.disableUpload = config2.disableUpload === "YES" ? true : false;
|
|
12638
12641
|
box.config.main.disableDownload = config2.disableDownload === "YES" ? true : false;
|
|
12639
12642
|
box.config.main.disableDelete = config2.disableDelete === "YES" ? true : false;
|
|
12640
|
-
box.config.main.
|
|
12643
|
+
box.config.main.useLabel = config2.useLabel === "YES" ? true : false;
|
|
12641
12644
|
box.config.main.description = config2.description;
|
|
12642
12645
|
box.config.main.toolTip = config2.toolTip;
|
|
12643
12646
|
box.config.main.chooseButtonLabel = config2.chooseButtonLabel;
|