impaktapps-ui-builder 1.0.78 → 1.0.79

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.
@@ -6222,7 +6222,6 @@ const ComponentSchema = {
6222
6222
  oneOf: [
6223
6223
  { title: "Masked Aadhar Card", const: "AadharcardText" },
6224
6224
  { title: "Array", const: "Array" },
6225
- { title: "Upload Array", const: "UploadArray" },
6226
6225
  { title: "Button", const: "Button" },
6227
6226
  { title: "Data Card", const: "card" },
6228
6227
  { title: "Check Box", const: "CheckBox" },
@@ -7661,9 +7660,9 @@ const buildPropertiesSection = function(type) {
7661
7660
  case "Array":
7662
7661
  uiSchema.elements = [
7663
7662
  getRadioInputField("allExpanded", "Initial Expand", ["YES", "NO"]),
7663
+ getRadioInputField("disableActions", "Disable Actions", ["YES", "NO"]),
7664
7664
  getInputField("childElementLabel", "Child Element Label"),
7665
- emptyBox$1("empty1", { xs: 12, sm: 6, md: 4, lg: 3 }),
7666
- emptyBox$1("empty2", { xs: 0, sm: 0, md: 4, lg: 3 })
7665
+ emptyBox$1("empty1", { xs: 12, sm: 6, md: 4, lg: 3 })
7667
7666
  ];
7668
7667
  break;
7669
7668
  case "TreeMap":
@@ -8410,7 +8409,6 @@ const sectionLabels = {
8410
8409
  Rank: ["Core", "Events", "Style", "Validation"],
8411
8410
  Button: ["Core", "Properties", "Events", "Style", "Validation"],
8412
8411
  Array: ["Core", "Components", "Properties", "Validation"],
8413
- UploadArray: ["Core", "Components", "Validation"],
8414
8412
  Radio: ["Core", "Properties", "Events", "Style", "Validation"],
8415
8413
  Text: ["Core", "Properties", "Events", "Style", "Validation"],
8416
8414
  TextArea: ["Core", "Properties", "Events", "Style", "Validation"],
@@ -11859,6 +11857,9 @@ const buildArray = (config2, componentScope2) => {
11859
11857
  if (config2.allExpanded) {
11860
11858
  array.config.main.allExpanded = config2.allExpanded === "YES" ? true : false;
11861
11859
  }
11860
+ if (config2.disableActions) {
11861
+ array.config.main.disableActions = config2.disableActions === "YES" ? true : false;
11862
+ }
11862
11863
  if (config2.style) {
11863
11864
  array.config.style = JSON.parse(config2.style);
11864
11865
  }
@@ -12292,26 +12293,6 @@ const buildDeleteFileIcon = (config2, componentScope2) => {
12292
12293
  }
12293
12294
  return DeleteFileIcon;
12294
12295
  };
12295
- const UploadArrayUiSchema = {
12296
- type: "Control",
12297
- scope: "#/properties/uploadArray",
12298
- options: {
12299
- widget: "UploadArray"
12300
- },
12301
- layout: 12,
12302
- elements: [],
12303
- config: {
12304
- main: {}
12305
- }
12306
- };
12307
- const buildUploadArray = (config2, componentScope2) => {
12308
- const array = _.cloneDeep(UploadArrayUiSchema);
12309
- if (config2.style) {
12310
- array.config.style = JSON.parse(config2.style);
12311
- }
12312
- array.scope = componentScope2;
12313
- return array;
12314
- };
12315
12296
  let schema = {
12316
12297
  type: "object",
12317
12298
  properties: {},
@@ -12418,20 +12399,6 @@ const buildSchema = (config2, tableName, isArrayType) => {
12418
12399
  config2.elements.map((e, elemInd) => {
12419
12400
  buildSchema(e, config2.name, config2.type === "Array" ? true : false);
12420
12401
  });
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
- });
12435
12402
  } else {
12436
12403
  config2.elements.map((e, elemInd) => {
12437
12404
  buildSchema(e);
@@ -12507,9 +12474,6 @@ const buildUiSchema = (config2, store2) => {
12507
12474
  case "Array":
12508
12475
  elements = buildArray(config2, componentScope2);
12509
12476
  break;
12510
- case "UploadArray":
12511
- elements = buildUploadArray(config2, componentScope2);
12512
- break;
12513
12477
  case "Box":
12514
12478
  elements = buildLabel(config2, componentScope2);
12515
12479
  break;