@netless/appliance-plugin 1.1.22-beta.4 → 1.1.22-beta.6

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.
@@ -1142,7 +1142,7 @@ function og(o) {
1142
1142
  return tg(o, ig | ng);
1143
1143
  }
1144
1144
  var rg = og;
1145
- const oi = /* @__PURE__ */ xi(rg), fo = "1.1.22-beta.4", sg = "@netless/appliance-plugin", Nn = typeof OffscreenCanvas == "function" ? "worker" : "mainThread";
1145
+ const oi = /* @__PURE__ */ xi(rg), fo = "1.1.22-beta.6", sg = "@netless/appliance-plugin", Nn = typeof OffscreenCanvas == "function" ? "worker" : "mainThread";
1146
1146
  if (typeof window < "u") {
1147
1147
  let o = window.__netlessUA || "";
1148
1148
  o += ` ${sg}@${fo}`, window.__netlessUA = o;
@@ -4755,7 +4755,7 @@ class $f extends Hf {
4755
4755
  "set font faces in main thread success"
4756
4756
  );
4757
4757
  });
4758
- const { MainThreadManagerImpl: e } = await import("./index-D-DKJlcZ.mjs");
4758
+ const { MainThreadManagerImpl: e } = await import("./index-Bq3eRRqK.mjs");
4759
4759
  this.mainThread = new e(this);
4760
4760
  }
4761
4761
  async on() {
@@ -4816,7 +4816,7 @@ class $f extends Hf {
4816
4816
  this.reRenders.set(this.subWorkerDrawCount, c);
4817
4817
  } else this.reRenders.size && this.clearReRenders(this.subWorkerDrawCount);
4818
4818
  }
4819
- a.length && (console.log("msg---layer--sub-render", a), this.viewContainerManager.render(a));
4819
+ a.length && this.viewContainerManager.render(a);
4820
4820
  }
4821
4821
  }), this.control.hasExtendFontFaces) {
4822
4822
  const e = this.control.extendFontFaces, t = [], n = [];
@@ -8241,7 +8241,7 @@ class vo {
8241
8241
  }
8242
8242
  });
8243
8243
  y(this, "keydown", (i) => {
8244
- console.log("keydown===>", i), this.control.hotkeyManager.colloctHotkey(i);
8244
+ this.control.hotkeyManager.colloctHotkey(i);
8245
8245
  });
8246
8246
  this.control = i, this.internalMsgEmitter = e;
8247
8247
  const n = {
@@ -10624,7 +10624,7 @@ const fp = (o) => {
10624
10624
  }
10625
10625
  }
10626
10626
  function Me(B) {
10627
- if (B.cancelable && B.preventDefault(), B.stopPropagation(), B.stopImmediatePropagation(), E.current) {
10627
+ if (B.cancelable && B.preventDefault(), B.stopPropagation(), B.nativeEvent.stopImmediatePropagation(), E.current) {
10628
10628
  const Q = (B.clipboardData || window.clipboardData).getData("text"), X = window == null ? void 0 : window.getSelection();
10629
10629
  if (!(X != null && X.rangeCount)) return;
10630
10630
  if (Q && X && X.anchorNode) {
@@ -12633,7 +12633,7 @@ class Fe extends At {
12633
12633
  ), n.callbacks.on(
12634
12634
  "onCameraUpdated",
12635
12635
  this.onAppViewCameraUpdated.bind(this, t)
12636
- ), n.callbacks.on("onActiveHotkey", this.onActiveHotkeyChange.bind(this)), console.log("onActiveHotkey===>0000"), this.tmpFocusedViewId === t) {
12636
+ ), n.callbacks.on("onActiveHotkey", this.onActiveHotkeyChange.bind(this)), this.tmpFocusedViewId === t) {
12637
12637
  const f = this.control.worker.getLocalWorkViewId();
12638
12638
  f && f !== t ? this.setFocuedViewId(f) : this.setFocuedViewId(t), this.tmpFocusedViewId = void 0;
12639
12639
  }
@@ -12785,7 +12785,7 @@ class Fe extends At {
12785
12785
  });
12786
12786
  }
12787
12787
  onActiveHotkeyChange(e) {
12788
- console.log("onActiveHotkey===>1111"), this.control.hotkeyManager.onActiveHotkey(e);
12788
+ this.control.hotkeyManager.onActiveHotkey(e);
12789
12789
  }
12790
12790
  }
12791
12791
  class rt extends je {