@chamn/engine 0.5.0 → 0.5.1

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
@@ -20506,10 +20506,13 @@ class tce extends R.Component {
20506
20506
  });
20507
20507
  });
20508
20508
  Y(this, "onSearch", () => {
20509
- this.state.searchString.length || this.setState({
20510
- searchResultList: [],
20511
- searchMode: !1
20512
- });
20509
+ if (!this.state.searchString.length) {
20510
+ this.setState({
20511
+ searchResultList: [],
20512
+ searchMode: !1
20513
+ });
20514
+ return;
20515
+ }
20513
20516
  const n = Zle(this.state.componentsList, this.state.searchString);
20514
20517
  this.setState({
20515
20518
  searchResultList: n,
@@ -54173,7 +54176,7 @@ class U2e extends R.Component {
54173
54176
  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
54177
  }
54175
54178
  }
54176
- Y(U2e, "version", "0.5.0");
54179
+ Y(U2e, "version", "0.5.1");
54177
54180
  export {
54178
54181
  s6 as AdvancePanel,
54179
54182
  l6 as AdvancePanelConfig,