template-designer 0.3.3 → 0.3.4

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.
@@ -7908,10 +7908,10 @@ function ZF() {
7908
7908
  function kF(e, A) {
7909
7909
  const t = JSON.parse(JSON.stringify(e.value));
7910
7910
  return t.forEach((n) => {
7911
- var a, o;
7911
+ var a;
7912
7912
  if (n.type === "image" && ((a = n.props) != null && a.ImageSrc)) {
7913
- const i = n.props.ImageSrc;
7914
- typeof i == "object" && ((o = i.uploadResult) != null && o.url ? n.props.ImageSrc = i.uploadResult.url : i.fileSrc && (n.props.ImageSrc = i.fileSrc));
7913
+ const o = n.props.ImageSrc;
7914
+ typeof o == "object" && (o != null && o.uploadResult ? n.props.ImageSrc = o.uploadResult : o.fileSrc && (n.props.ImageSrc = o.fileSrc));
7915
7915
  }
7916
7916
  }), {
7917
7917
  ...A,