@hpcc-js/phosphor 3.8.7 → 3.10.0
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 +8 -8
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var i = Object.defineProperty, __name = (e, t) => i(e, "name", {
|
|
|
23
23
|
enumerable: !(r = a(t, d)) || r.enumerable
|
|
24
24
|
});
|
|
25
25
|
return e;
|
|
26
|
-
}, __toCommonJS = (e) => s.call(e, "module.exports") ? e["module.exports"] : __copyProps(i({}, "__esModule", { value: !0 }), e), c = "@hpcc-js/phosphor", l = "3.
|
|
26
|
+
}, __toCommonJS = (e) => s.call(e, "module.exports") ? e["module.exports"] : __copyProps(i({}, "__esModule", { value: !0 }), e), c = "@hpcc-js/phosphor", l = "3.10.0", u = "3.35.0", d = /* @__PURE__ */ __exportAll({
|
|
27
27
|
ArrayExt: () => f,
|
|
28
28
|
StringExt: () => m,
|
|
29
29
|
chain: () => chain,
|
|
@@ -830,7 +830,7 @@ var y;
|
|
|
830
830
|
let i = t.get(e);
|
|
831
831
|
if (!i || i.length === 0) return;
|
|
832
832
|
let a = n.get(r);
|
|
833
|
-
if (
|
|
833
|
+
if (a && a.length !== 0) {
|
|
834
834
|
for (let t of a) t.signal && t.signal.sender === e && (t.signal = null);
|
|
835
835
|
scheduleCleanup(i), scheduleCleanup(a);
|
|
836
836
|
}
|
|
@@ -838,7 +838,7 @@ var y;
|
|
|
838
838
|
e.disconnectBetween = disconnectBetween;
|
|
839
839
|
function disconnectSender(e) {
|
|
840
840
|
let r = t.get(e);
|
|
841
|
-
if (
|
|
841
|
+
if (r && r.length !== 0) {
|
|
842
842
|
for (let e of r) {
|
|
843
843
|
if (!e.signal) continue;
|
|
844
844
|
let t = e.thisArg || e.slot;
|
|
@@ -850,7 +850,7 @@ var y;
|
|
|
850
850
|
e.disconnectSender = disconnectSender;
|
|
851
851
|
function disconnectReceiver(e) {
|
|
852
852
|
let r = n.get(e);
|
|
853
|
-
if (
|
|
853
|
+
if (r && r.length !== 0) {
|
|
854
854
|
for (let e of r) {
|
|
855
855
|
if (!e.signal) continue;
|
|
856
856
|
let n = e.signal.sender;
|
|
@@ -866,7 +866,7 @@ var y;
|
|
|
866
866
|
e.disconnectAll = disconnectAll;
|
|
867
867
|
function emit(e, n) {
|
|
868
868
|
let r = t.get(e.sender);
|
|
869
|
-
if (
|
|
869
|
+
if (r && r.length !== 0) for (let t = 0, i = r.length; t < i; ++t) {
|
|
870
870
|
let i = r[t];
|
|
871
871
|
i.signal === e && invokeSlot(i, n);
|
|
872
872
|
}
|
|
@@ -2017,7 +2017,7 @@ var A = class Drag {
|
|
|
2017
2017
|
}
|
|
2018
2018
|
_updateDragScroll(e) {
|
|
2019
2019
|
let t = j.findScrollTarget(e);
|
|
2020
|
-
|
|
2020
|
+
(this._scrollTarget || t) && (this._scrollTarget || setTimeout(this._onScrollFrame, 500), this._scrollTarget = t);
|
|
2021
2021
|
}
|
|
2022
2022
|
_updateCurrentTarget(e) {
|
|
2023
2023
|
let t = this._currentTarget, n = this._currentTarget, r = this._currentElement, i = j.findElementBehindBackdrop(e, this.document);
|
|
@@ -4517,7 +4517,7 @@ var W = class Menu extends F {
|
|
|
4517
4517
|
}
|
|
4518
4518
|
this._childIndex !== -1 && this._startCloseTimer(), this._cancelOpenTimer();
|
|
4519
4519
|
let n = this.activeItem;
|
|
4520
|
-
|
|
4520
|
+
n && n.type === "submenu" && n.submenu && this._startOpenTimer();
|
|
4521
4521
|
}
|
|
4522
4522
|
_evtPointerEnter(e) {
|
|
4523
4523
|
for (let e = this._parentMenu; e; e = e._parentMenu) e._cancelOpenTimer(), e._cancelCloseTimer(), e.activeIndex = e._childIndex;
|
|
@@ -5121,7 +5121,7 @@ var de = [
|
|
|
5121
5121
|
if (!t) return;
|
|
5122
5122
|
e.preventDefault(), e.stopPropagation();
|
|
5123
5123
|
let n = this.contentNode.children;
|
|
5124
|
-
if (
|
|
5124
|
+
if (t.dragActive || q.dragExceeded(t, e)) {
|
|
5125
5125
|
if (!t.dragActive) {
|
|
5126
5126
|
let e = t.tab.getBoundingClientRect();
|
|
5127
5127
|
this._orientation === "horizontal" ? (t.tabPos = t.tab.offsetLeft, t.tabSize = e.width, t.tabPressPos = t.pressX - e.left) : (t.tabPos = t.tab.offsetTop, t.tabSize = e.height, t.tabPressPos = t.pressY - e.top), t.tabPressOffset = {
|