impaktapps-ui-builder 1.0.77-test.2 → 1.0.77-test.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.
@@ -8397,7 +8397,7 @@ const sectionLabels = {
8397
8397
  SpeedoMeter: ["Core", "Properties", "Events", "Style", "Validation"],
8398
8398
  card: ["Core", "Properties", "Events", "Style", "Validation"],
8399
8399
  UploadFile: ["Core", "Events", "Style", "Validation"],
8400
- UploadFileIcon: ["Core", "Events", "Style"],
8400
+ UploadFileIcon: ["Core", "Events", "Style", "Validation"],
8401
8401
  DeleteFileIcon: ["Core", "Events", "Style"],
8402
8402
  Graph: ["Core", "Properties", "Events", "Style", "Validation"],
8403
8403
  DownloadFile: ["Core", "Events", "Style", "Validation"],
@@ -12418,6 +12418,20 @@ const buildSchema = (config2, tableName, isArrayType) => {
12418
12418
  config2.elements.map((e, elemInd) => {
12419
12419
  buildSchema(e, config2.name, config2.type === "Array" ? true : false);
12420
12420
  });
12421
+ } else if (config2.type == "UploadArray") {
12422
+ if (!schema.properties[config2.name]) {
12423
+ schema.properties[config2.name] = {
12424
+ type: "array",
12425
+ items: {
12426
+ type: "object",
12427
+ properties: {},
12428
+ required: []
12429
+ }
12430
+ };
12431
+ }
12432
+ config2.elements.map((e, elemInd) => {
12433
+ buildSchema(e, config2.name, config2.type === "UploadArray" ? true : false);
12434
+ });
12421
12435
  } else {
12422
12436
  config2.elements.map((e, elemInd) => {
12423
12437
  buildSchema(e);