impaktapps-ui-builder 1.0.389 → 1.0.390

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.
@@ -6281,7 +6281,8 @@ const ComponentSchema = {
6281
6281
  { title: "Upload", const: "UploadFile" },
6282
6282
  { title: "Tree ", const: "TreeMap" },
6283
6283
  { title: "Thought of the day", const: "Thought" },
6284
- { title: "PDF", const: "PdfViewer" }
6284
+ { title: "PDF", const: "PdfViewer" },
6285
+ { title: "Dual Wrapper", const: "DualWrapper" }
6285
6286
  ]
6286
6287
  },
6287
6288
  elementType: {
@@ -8301,10 +8302,6 @@ const buildPropertiesSection = function(type) {
8301
8302
  break;
8302
8303
  case "PdfViewer":
8303
8304
  uiSchema.elements = [
8304
- getInputField("title", "title"),
8305
- getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
8306
- getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
8307
- getSelectField("maxWidth", "Max Width"),
8308
8305
  getInputField("scale", "Zoom"),
8309
8306
  emptyBox$1("PdfViewer", { xs: 6, sm: 6, md: 8, lg: 9 })
8310
8307
  ];
@@ -8885,6 +8882,7 @@ const sectionLabels = {
8885
8882
  PopUp: ["Core", "Components", "Properties", "Events", "Style"],
8886
8883
  PopOver: ["Core", "Components", "Properties", "Style"],
8887
8884
  PdfViewer: ["Core", "Components", "Properties", "Style"],
8885
+ DualWrapper: ["Core", "Components", "Style"],
8888
8886
  Stepper: ["Core", "Components", "Properties", "Events", "Style"],
8889
8887
  DataGrid: ["Core", "Components", "Properties", "Events", "Style"],
8890
8888
  InputSlider: ["Core", "Properties", "Events", "Style", "Validation"],
@@ -13226,10 +13224,6 @@ var pdfViewer = {
13226
13224
  const buildPdfViewer = (config2, componentScope2) => {
13227
13225
  const PdfViewer = _.cloneDeep(pdfViewer);
13228
13226
  PdfViewer.scope = componentScope2;
13229
- PdfViewer.config.main.title = config2.label;
13230
- PdfViewer.config.main.fullScreen = config2.fullScreen === "YES" ? true : false;
13231
- PdfViewer.config.main.fullWidth = config2.fullWidth === "YES" ? true : false;
13232
- PdfViewer.config.main.maxWidth = config2.maxWidth || false;
13233
13227
  PdfViewer.config.main.scale = config2.scale;
13234
13228
  if (config2.layout) {
13235
13229
  PdfViewer.config.layout = createLayoutFormat(config2.layout);
@@ -13239,6 +13233,28 @@ const buildPdfViewer = (config2, componentScope2) => {
13239
13233
  }
13240
13234
  return PdfViewer;
13241
13235
  };
13236
+ var DualWrapper = {
13237
+ type: "Control",
13238
+ scope: "#/properties/dualWrapperPath",
13239
+ options: {
13240
+ widget: "DualWrapper"
13241
+ },
13242
+ config: {
13243
+ layout: { xs: 12, sm: 12, md: 12, lg: 12 },
13244
+ main: {}
13245
+ }
13246
+ };
13247
+ const buildDualWrapper = (config2, componentScope2, store2) => {
13248
+ const dualWrapper = _.cloneDeep(DualWrapper);
13249
+ dualWrapper.scope = componentScope2;
13250
+ if (config2.style) {
13251
+ dualWrapper.config.style = JSON.parse(config2.style);
13252
+ }
13253
+ if (config2.layout) {
13254
+ dualWrapper.config.layout = createLayoutFormat(config2.layout);
13255
+ }
13256
+ return dualWrapper;
13257
+ };
13242
13258
  let schema = {
13243
13259
  type: "object",
13244
13260
  properties: {},
@@ -13472,6 +13488,9 @@ const buildUiSchema = (config2, store2) => {
13472
13488
  case "PdfViewer":
13473
13489
  elements = buildPdfViewer(config2, componentScope2);
13474
13490
  break;
13491
+ case "DualWrapper":
13492
+ elements = buildDualWrapper(config2, componentScope2);
13493
+ break;
13475
13494
  default:
13476
13495
  schema = {
13477
13496
  type: "object",