impaktapps-ui-builder 0.0.101-alpha.38 → 0.0.101-alpha.39

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.
@@ -8452,11 +8452,33 @@ function refreshPage(type, store2) {
8452
8452
  }
8453
8453
  const currElemIndexWithBracket = path2.split("[")[1];
8454
8454
  const currElemIndex = parseInt(currElemIndexWithBracket.slice(0, -1));
8455
- console.log(currObj);
8456
8455
  return (_a2 = currObj == null ? void 0 : currObj["elements"]) == null ? void 0 : _a2[currElemIndex];
8457
8456
  }, currentConfig);
8458
- console.log("currentConfig", currentConfig);
8459
- console.log("parentObj", parentObj);
8457
+ if ((parentObj == null ? void 0 : parentObj.type) === "Table") {
8458
+ UiSchema.elements[0].elements[0].elements[3] = {
8459
+ type: "Control",
8460
+ scope: "#/properties/columnFormat",
8461
+ options: {
8462
+ widget: "SelectInputField"
8463
+ },
8464
+ config: {
8465
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8466
+ main: {
8467
+ label: "Column Format"
8468
+ }
8469
+ }
8470
+ };
8471
+ UiSchema.elements[0].elements[0].elements[4] = {
8472
+ type: "Control",
8473
+ scope: "#/properties/proc",
8474
+ config: {
8475
+ layout: { xs: 0, sm: 0, md: 8, lg: 0 }
8476
+ },
8477
+ options: {
8478
+ widget: "EmptyBox"
8479
+ }
8480
+ };
8481
+ }
8460
8482
  if (sessionStorage.getItem("copiedConfig")) {
8461
8483
  this.ElementPathSetter(UiSchema);
8462
8484
  }