impaktapps-ui-builder 1.0.71-alpha.2 → 1.0.71-alpha.4
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 -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/buildImage.ts +4 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -0
|
@@ -7901,7 +7901,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7901
7901
|
break;
|
|
7902
7902
|
case "Image":
|
|
7903
7903
|
uiSchema.elements = [
|
|
7904
|
-
getInputField("imageUrl", "Image URL")
|
|
7904
|
+
getInputField("imageUrl", "Image URL"),
|
|
7905
|
+
getInputField("height", "Image Height")
|
|
7905
7906
|
];
|
|
7906
7907
|
break;
|
|
7907
7908
|
}
|
|
@@ -12192,11 +12193,11 @@ const buildHorizontalLayout = (config2, componentScope2) => {
|
|
|
12192
12193
|
const imageUiSchema = {
|
|
12193
12194
|
type: "Control",
|
|
12194
12195
|
scope: "#/properties/Logo",
|
|
12195
|
-
layout: 3,
|
|
12196
12196
|
options: {
|
|
12197
12197
|
widget: "Image"
|
|
12198
12198
|
},
|
|
12199
12199
|
config: {
|
|
12200
|
+
layout: 3,
|
|
12200
12201
|
main: {
|
|
12201
12202
|
url: ""
|
|
12202
12203
|
},
|
|
@@ -12213,6 +12214,9 @@ const buildImage = (config2, componentScope2) => {
|
|
|
12213
12214
|
if (config2.style) {
|
|
12214
12215
|
image.config.style = JSON.parse(config2.style);
|
|
12215
12216
|
}
|
|
12217
|
+
if (config2.height) {
|
|
12218
|
+
image.config.style.imageStyle = { ...image.config.style.imageStyle, height: config2.height };
|
|
12219
|
+
}
|
|
12216
12220
|
return image;
|
|
12217
12221
|
};
|
|
12218
12222
|
let schema = {
|