impaktapps-ui-builder 0.0.101-alpha.90 → 0.0.101-alpha.92

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.
@@ -8747,8 +8747,13 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8747
8747
  return parentPath ? `${parentPath}.events[${rowId}]` : `events[${rowId}]`;
8748
8748
  },
8749
8749
  ElementPathSetter: function(uiSchema, copiedFormData) {
8750
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
8750
8751
  const formData = copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
8751
- uiSchema.elements[1].elements[0].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Path: ${formData.name}`;
8752
+ if ((_f = (_e = (_d = (_c = (_b = (_a = uiSchema == null ? void 0 : uiSchema.elements) == null ? void 0 : _a[1]) == null ? void 0 : _b.elements) == null ? void 0 : _c[0]) == null ? void 0 : _d.config) == null ? void 0 : _e.main) == null ? void 0 : _f.headerIcons) {
8753
+ uiSchema.elements[1].elements[0].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Path: ${formData.name}`;
8754
+ } else if ((_l = (_k = (_j = (_i = (_h = (_g = uiSchema == null ? void 0 : uiSchema.elements) == null ? void 0 : _g[1]) == null ? void 0 : _h.elements) == null ? void 0 : _i[1]) == null ? void 0 : _j.config) == null ? void 0 : _k.main) == null ? void 0 : _l.headerIcons) {
8755
+ uiSchema.elements[1].elements[1].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Path: ${formData.name}`;
8756
+ }
8752
8757
  }
8753
8758
  };
8754
8759
  };
@@ -9780,7 +9785,6 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9780
9785
  });
9781
9786
  });
9782
9787
  }
9783
- console.log("pathArray>>", pathArray);
9784
9788
  schema2.properties.pageName.path = pathArray;
9785
9789
  store22.setSchema(schema2);
9786
9790
  store22.setUiSchema(uiSchema);
@@ -9817,7 +9821,6 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9817
9821
  });
9818
9822
  });
9819
9823
  }
9820
- console.log("pathArray>>", pathArray);
9821
9824
  schema2.properties.pageName.path = _.cloneDeep(pathArray);
9822
9825
  return schema2;
9823
9826
  },