@hpcc-js/phosphor 3.7.1 → 3.7.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
@@ -16,7 +16,7 @@ var i = Object.defineProperty, __name = (e, t) => i(e, "name", {
16
16
  enumerable: !(r = a(t, d)) || r.enumerable
17
17
  });
18
18
  return e;
19
- }, __toCommonJS = (e) => s.call(e, "module.exports") ? e["module.exports"] : __copyProps(i({}, "__esModule", { value: !0 }), e), c = "@hpcc-js/phosphor", l = "3.7.1", u = "3.26.1", d = /* @__PURE__ */ __exportAll({
19
+ }, __toCommonJS = (e) => s.call(e, "module.exports") ? e["module.exports"] : __copyProps(i({}, "__esModule", { value: !0 }), e), c = "@hpcc-js/phosphor", l = "3.7.2", u = "3.26.2", d = /* @__PURE__ */ __exportAll({
20
20
  ArrayExt: () => f,
21
21
  StringExt: () => m,
22
22
  chain: () => chain,
@@ -7510,7 +7510,7 @@ var WidgetAdapter = class extends F {
7510
7510
  super.update(e, t), this._pPlaceholder.style("width", this.width() + "px").style("height", this.height() + "px").style("overflow", "hidden"), t.select(".lm-Widget").style("width", this._pPlaceholder.node().clientWidth + "px").style("height", this.height() + "px"), this.widgets().forEach((e) => e.render());
7511
7511
  }
7512
7512
  exit(e, t) {
7513
- [...this.widgets()].forEach((e) => this.removeWidget(e)), F.detach(this._dock), super.exit(e, t);
7513
+ this._dock.isAttached && (this._dock.node.isConnected ? F.detach(this._dock) : O.sendMessage(this._dock, F.Msg.AfterDetach)), [...this.widgets()].forEach((e) => this.removeWidget(e)), super.exit(e, t);
7514
7514
  }
7515
7515
  render(e) {
7516
7516
  let t = this;