impaktapps-ui-builder 1.0.301 → 1.0.303
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 +13 -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/buildPdfViewer.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +10 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +9 -0
|
@@ -6363,6 +6363,15 @@ const ComponentSchema = {
|
|
|
6363
6363
|
{ title: "Right", const: "right" }
|
|
6364
6364
|
]
|
|
6365
6365
|
},
|
|
6366
|
+
maxWidth: {
|
|
6367
|
+
oneOf: [
|
|
6368
|
+
{ title: "Extra Small", const: "xs" },
|
|
6369
|
+
{ title: "Small", const: "sm" },
|
|
6370
|
+
{ title: "Medium", const: "md" },
|
|
6371
|
+
{ title: "Large", const: "lg" },
|
|
6372
|
+
{ title: "Extra Large", const: "xl" }
|
|
6373
|
+
]
|
|
6374
|
+
},
|
|
6366
6375
|
toolTipPosition: {
|
|
6367
6376
|
oneOf: [
|
|
6368
6377
|
{ title: "Top", const: "top" },
|
|
@@ -8295,7 +8304,9 @@ const buildPropertiesSection = function(type) {
|
|
|
8295
8304
|
getInputField("title", "title"),
|
|
8296
8305
|
getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
|
|
8297
8306
|
getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
|
|
8298
|
-
|
|
8307
|
+
getSelectField("maxWidth", "Max Width"),
|
|
8308
|
+
getInputField("scale", "Zoom"),
|
|
8309
|
+
emptyBox$1("PdfViewer", { xs: 6, sm: 6, md: 8, lg: 9 })
|
|
8299
8310
|
];
|
|
8300
8311
|
break;
|
|
8301
8312
|
case "Date":
|
|
@@ -13196,6 +13207,7 @@ const buildPdfViewer = (config2, componentScope2) => {
|
|
|
13196
13207
|
PdfViewer.config.main.fullScreen = config2.fullScreen === "YES" ? true : false;
|
|
13197
13208
|
PdfViewer.config.main.fullWidth = config2.fullWidth === "YES" ? true : false;
|
|
13198
13209
|
PdfViewer.config.main.maxWidth = config2.maxWidth || false;
|
|
13210
|
+
PdfViewer.config.main.scale = config2.scale;
|
|
13199
13211
|
if (config2.layout) {
|
|
13200
13212
|
PdfViewer.config.layout = createLayoutFormat(config2.layout);
|
|
13201
13213
|
}
|