@chamn/engine 0.5.0 → 0.5.2

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.js CHANGED
@@ -15139,7 +15139,8 @@ let Dt = class Bb {
15139
15139
  configure: a,
15140
15140
  props: i,
15141
15141
  children: o,
15142
- condition: r.condition
15142
+ condition: r.condition,
15143
+ extra: this.data.extra
15143
15144
  };
15144
15145
  return t === "design" && delete u.id, u = y1(u), u;
15145
15146
  }
@@ -15245,7 +15246,8 @@ class fc {
15245
15246
  ...r,
15246
15247
  props: i,
15247
15248
  children: o.filter((l) => l),
15248
- condition: r.condition
15249
+ condition: r.condition,
15250
+ extra: this.data.extra
15249
15251
  };
15250
15252
  let s = t$(a, ["id"]);
15251
15253
  return s = y1(s), s;
@@ -15591,7 +15593,8 @@ let dk = class f$ {
15591
15593
  componentsTree: y1(r),
15592
15594
  componentsMeta: a,
15593
15595
  thirdLibs: this.data.thirdLibs,
15594
- assets: []
15596
+ assets: [],
15597
+ extra: this.data.extra
15595
15598
  };
15596
15599
  return (n = this.data.thirdLibs) == null || n.forEach((l) => {
15597
15600
  const c = i.find((u) => l.package === u.package);
@@ -20506,10 +20509,13 @@ class tce extends R.Component {
20506
20509
  });
20507
20510
  });
20508
20511
  Y(this, "onSearch", () => {
20509
- this.state.searchString.length || this.setState({
20510
- searchResultList: [],
20511
- searchMode: !1
20512
- });
20512
+ if (!this.state.searchString.length) {
20513
+ this.setState({
20514
+ searchResultList: [],
20515
+ searchMode: !1
20516
+ });
20517
+ return;
20518
+ }
20513
20519
  const n = Zle(this.state.componentsList, this.state.searchString);
20514
20520
  this.setState({
20515
20521
  searchResultList: n,
@@ -54173,7 +54179,7 @@ class U2e extends R.Component {
54173
54179
  return /* @__PURE__ */ x.jsx("div", { className: Be([Bse.engineContainer, this.props.className]), style: this.props.style, children: /* @__PURE__ */ x.jsx(zse, { ref: this.workbenchRef, emitter: this.emitter, ...this.workbenchConfig }) });
54174
54180
  }
54175
54181
  }
54176
- Y(U2e, "version", "0.5.0");
54182
+ Y(U2e, "version", "0.5.2");
54177
54183
  export {
54178
54184
  s6 as AdvancePanel,
54179
54185
  l6 as AdvancePanelConfig,