@chamn/engine 0.0.20 → 0.0.21

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.
package/dist/index.mjs CHANGED
@@ -6678,7 +6678,10 @@ class jB extends Q.Component {
6678
6678
  const i = this;
6679
6679
  let s = n;
6680
6680
  const l = (a = (o = r.material) == null ? void 0 : o.value.advanceCustom) == null ? void 0 : a.wrapComponent;
6681
- l && (s = l(n));
6681
+ l && (s = l(n, {
6682
+ node: r,
6683
+ ctx: window.__C_ENGINE_DESIGNER_PLUGIN_CTX__
6684
+ }));
6682
6685
  class c extends Q.Component {
6683
6686
  constructor() {
6684
6687
  super(...arguments), Z(this, "_DESIGN_BOX", !0), Z(this, "_NODE_MODEL", r), Z(this, "_NODE_ID", r.id), Z(this, "_UNIQUE_ID", `${r.id}_${On()}`), Z(this, "_STATUS");
@@ -11385,7 +11388,8 @@ class ND extends Q.Component {
11385
11388
  onNodeDraEnd: c,
11386
11389
  ...g,
11387
11390
  ghostView: p,
11388
- assets: h
11391
+ assets: h,
11392
+ pluginCtx: this.props.pluginCtx
11389
11393
  }), v && uh(v, document.body)]
11390
11394
  });
11391
11395
  }
@@ -24078,7 +24082,7 @@ class _B extends Q.Component {
24078
24082
  });
24079
24083
  }
24080
24084
  }
24081
- I(_B, "version", "0.0.20");
24085
+ I(_B, "version", "0.0.21");
24082
24086
  export {
24083
24087
  _B as Engine,
24084
24088
  AB as InnerComponentMeta,