impaktapps-ui-builder 1.0.78-ActionBar.1 → 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" },
@@ -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,7 +11857,7 @@ const buildArray = (config2, componentScope2) => {
11859
11857
  if (config2.allExpanded) {
11860
11858
  array.config.main.allExpanded = config2.allExpanded === "YES" ? true : false;
11861
11859
  }
11862
- if (config2.disableActionBar) {
11860
+ if (config2.disableActions) {
11863
11861
  array.config.main.disableActions = config2.disableActions === "YES" ? true : false;
11864
11862
  }
11865
11863
  if (config2.style) {
@@ -12295,26 +12293,6 @@ const buildDeleteFileIcon = (config2, componentScope2) => {
12295
12293
  }
12296
12294
  return DeleteFileIcon;
12297
12295
  };
12298
- const UploadArrayUiSchema = {
12299
- type: "Control",
12300
- scope: "#/properties/uploadArray",
12301
- options: {
12302
- widget: "UploadArray"
12303
- },
12304
- layout: 12,
12305
- elements: [],
12306
- config: {
12307
- main: {}
12308
- }
12309
- };
12310
- const buildUploadArray = (config2, componentScope2) => {
12311
- const array = _.cloneDeep(UploadArrayUiSchema);
12312
- if (config2.style) {
12313
- array.config.style = JSON.parse(config2.style);
12314
- }
12315
- array.scope = componentScope2;
12316
- return array;
12317
- };
12318
12296
  let schema = {
12319
12297
  type: "object",
12320
12298
  properties: {},
@@ -12421,20 +12399,6 @@ const buildSchema = (config2, tableName, isArrayType) => {
12421
12399
  config2.elements.map((e, elemInd) => {
12422
12400
  buildSchema(e, config2.name, config2.type === "Array" ? true : false);
12423
12401
  });
12424
- } else if (config2.type == "UploadArray") {
12425
- if (!schema.properties[config2.name]) {
12426
- schema.properties[config2.name] = {
12427
- type: "array",
12428
- items: {
12429
- type: "object",
12430
- properties: {},
12431
- required: []
12432
- }
12433
- };
12434
- }
12435
- config2.elements.map((e, elemInd) => {
12436
- buildSchema(e, config2.name, config2.type === "UploadArray" ? true : false);
12437
- });
12438
12402
  } else {
12439
12403
  config2.elements.map((e, elemInd) => {
12440
12404
  buildSchema(e);
@@ -12510,9 +12474,6 @@ const buildUiSchema = (config2, store2) => {
12510
12474
  case "Array":
12511
12475
  elements = buildArray(config2, componentScope2);
12512
12476
  break;
12513
- case "UploadArray":
12514
- elements = buildUploadArray(config2, componentScope2);
12515
- break;
12516
12477
  case "Box":
12517
12478
  elements = buildLabel(config2, componentScope2);
12518
12479
  break;