impaktapps-ui-builder 1.0.76 → 1.0.77-test.1

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.
@@ -7797,6 +7797,12 @@ const buildPropertiesSection = function(type) {
7797
7797
  emptyBox$1("ButtonEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 })
7798
7798
  ];
7799
7799
  break;
7800
+ case "Box":
7801
+ uiSchema.elements = [
7802
+ getSelectField("iconName", "Icon Name"),
7803
+ emptyBox$1("BoxEmpty1", { xs: 6, sm: 6, md: 4, lg: 8 })
7804
+ ];
7805
+ break;
7800
7806
  case "Graph":
7801
7807
  uiSchema.elements = [
7802
7808
  getInputField("height", "Height"),
@@ -8394,7 +8400,7 @@ const sectionLabels = {
8394
8400
  DeleteFileIcon: ["Core", "Events", "Style"],
8395
8401
  Graph: ["Core", "Properties", "Events", "Style", "Validation"],
8396
8402
  DownloadFile: ["Core", "Events", "Style", "Validation"],
8397
- Box: ["Core", "Events", "Style", "Validation"],
8403
+ Box: ["Core", "Properties", "Events", "Style", "Validation"],
8398
8404
  Properties: ["Core", "Properties", "Events", "Style", "Validation"],
8399
8405
  ProgressBarCard: ["Core", "Properties", "Events", "Style", "Validation"],
8400
8406
  RankCard: ["Core", "Properties", "Events", "Style", "Validation"],
@@ -8403,6 +8409,7 @@ const sectionLabels = {
8403
8409
  Rank: ["Core", "Events", "Style", "Validation"],
8404
8410
  Button: ["Core", "Properties", "Events", "Style", "Validation"],
8405
8411
  Array: ["Core", "Components", "Properties", "Validation"],
8412
+ UploadArray: ["Core", "Components", "Validation"],
8406
8413
  Radio: ["Core", "Properties", "Events", "Style", "Validation"],
8407
8414
  Text: ["Core", "Properties", "Events", "Style", "Validation"],
8408
8415
  TextArea: ["Core", "Properties", "Events", "Style", "Validation"],
@@ -11146,7 +11153,9 @@ const Box = {
11146
11153
  },
11147
11154
  config: {
11148
11155
  layout: { xs: 6, sm: 6, md: 4, lg: 3 },
11149
- main: {},
11156
+ main: {
11157
+ iconName: ""
11158
+ },
11150
11159
  style: {}
11151
11160
  }
11152
11161
  };
@@ -11157,6 +11166,9 @@ const buildLabel = (config2, componentScope2) => {
11157
11166
  if (config2.layout) {
11158
11167
  box.config.layout = createLayoutFormat(config2.layout);
11159
11168
  }
11169
+ if (config2.iconName) {
11170
+ box.config.main.iconName = config2.iconName;
11171
+ }
11160
11172
  if (config2.style) {
11161
11173
  box.config.style = JSON.parse(config2.style);
11162
11174
  }
@@ -12279,6 +12291,26 @@ const buildDeleteFileIcon = (config2, componentScope2) => {
12279
12291
  }
12280
12292
  return DeleteFileIcon;
12281
12293
  };
12294
+ const UploadArrayUiSchema = {
12295
+ type: "Control",
12296
+ scope: "#/properties/uploadArray",
12297
+ options: {
12298
+ widget: "UploadArray"
12299
+ },
12300
+ layout: 12,
12301
+ elements: [],
12302
+ config: {
12303
+ main: {}
12304
+ }
12305
+ };
12306
+ const buildUploadArray = (config2, componentScope2) => {
12307
+ const array = _.cloneDeep(UploadArrayUiSchema);
12308
+ if (config2.style) {
12309
+ array.config.style = JSON.parse(config2.style);
12310
+ }
12311
+ array.scope = componentScope2;
12312
+ return array;
12313
+ };
12282
12314
  let schema = {
12283
12315
  type: "object",
12284
12316
  properties: {},
@@ -12460,6 +12492,9 @@ const buildUiSchema = (config2, store2) => {
12460
12492
  case "Array":
12461
12493
  elements = buildArray(config2, componentScope2);
12462
12494
  break;
12495
+ case "UploadArray":
12496
+ elements = buildUploadArray(config2, componentScope2);
12497
+ break;
12463
12498
  case "Box":
12464
12499
  elements = buildLabel(config2, componentScope2);
12465
12500
  break;