@hpcc-js/phosphor 3.7.2 → 3.8.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 +139 -85
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +2 -2
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +4 -4
- package/src/BasePanel.ts +87 -0
- package/src/DockPanel.ts +125 -65
- package/src/SplitPanel.ts +82 -32
- package/src/TabPanel.ts +43 -52
- package/src/WidgetAdapter.css +2 -1
- package/types/BasePanel.d.ts +28 -0
- package/types/DockPanel.d.ts +19 -10
- package/types/SplitPanel.d.ts +17 -10
- package/types/TabPanel.d.ts +17 -9
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.
|
|
19
|
+
}, __toCommonJS = (e) => s.call(e, "module.exports") ? e["module.exports"] : __copyProps(i({}, "__esModule", { value: !0 }), e), c = "@hpcc-js/phosphor", l = "3.8.0", u = "3.27.0", d = /* @__PURE__ */ __exportAll({
|
|
20
20
|
ArrayExt: () => f,
|
|
21
21
|
StringExt: () => m,
|
|
22
22
|
chain: () => chain,
|
|
@@ -7401,6 +7401,40 @@ var WidgetAdapter = class extends F {
|
|
|
7401
7401
|
return !0;
|
|
7402
7402
|
}
|
|
7403
7403
|
}
|
|
7404
|
+
}, BasePanel = class extends e {
|
|
7405
|
+
constructor() {
|
|
7406
|
+
super(), this._tag = "div", O.installMessageHook(this, this);
|
|
7407
|
+
}
|
|
7408
|
+
getWidget(e) {
|
|
7409
|
+
if (e instanceof WidgetAdapter) return e.widget;
|
|
7410
|
+
}
|
|
7411
|
+
getWidgetAdapter(e) {
|
|
7412
|
+
let t = null;
|
|
7413
|
+
return this._content.some((n) => n.widget === e ? (t = n, !0) : !1), t;
|
|
7414
|
+
}
|
|
7415
|
+
_prevActive;
|
|
7416
|
+
active() {
|
|
7417
|
+
return this._prevActive;
|
|
7418
|
+
}
|
|
7419
|
+
_lazyLayoutChanged = t.debounce(async () => {
|
|
7420
|
+
this.layoutChanged();
|
|
7421
|
+
}, 1e3);
|
|
7422
|
+
processMessage(e) {
|
|
7423
|
+
switch (e.type) {
|
|
7424
|
+
case Q.WAActivateRequest.type:
|
|
7425
|
+
let t = e.wa, n = t.widget;
|
|
7426
|
+
this._prevActive !== n && (this._prevActive = n, this.childActivation(n, t));
|
|
7427
|
+
break;
|
|
7428
|
+
case Q.WALayoutChanged.type:
|
|
7429
|
+
this._lazyLayoutChanged();
|
|
7430
|
+
break;
|
|
7431
|
+
}
|
|
7432
|
+
}
|
|
7433
|
+
messageHook(e, t) {
|
|
7434
|
+
return e === this && this.processMessage(t), !0;
|
|
7435
|
+
}
|
|
7436
|
+
childActivation(e, t) {}
|
|
7437
|
+
layoutChanged() {}
|
|
7404
7438
|
}, PRenderer = class extends fe.Renderer {
|
|
7405
7439
|
_owner;
|
|
7406
7440
|
constructor() {
|
|
@@ -7465,21 +7499,65 @@ var WidgetAdapter = class extends F {
|
|
|
7465
7499
|
restoreLayout(e) {
|
|
7466
7500
|
return super.restoreLayout({ main: this.serializeAreaConfig(e.main, !0) });
|
|
7467
7501
|
}
|
|
7468
|
-
}, DockPanel = class extends
|
|
7502
|
+
}, DockPanel = class extends BasePanel {
|
|
7469
7503
|
_dock = new PDockPanel({ mode: "multiple-document" });
|
|
7504
|
+
_content = this._dock.content();
|
|
7470
7505
|
constructor() {
|
|
7471
|
-
super(), this.
|
|
7472
|
-
}
|
|
7473
|
-
getWidgetAdapter(e) {
|
|
7474
|
-
let t = null;
|
|
7475
|
-
return this._dock.content().some((n) => n.widget === e ? (t = n, !0) : !1), t;
|
|
7506
|
+
super(), this._dock.id = "p" + this.id();
|
|
7476
7507
|
}
|
|
7508
|
+
_pendingDefaults = /* @__PURE__ */ new Map();
|
|
7477
7509
|
addWidget(e, t, n = "split-right", r, i, a = 8) {
|
|
7478
|
-
let o = {
|
|
7479
|
-
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
|
|
7510
|
+
let { title: o = "", location: s = "split-right", refWidget: c, closable: l, padding: u = 8, minSize: d, defaultSize: f } = typeof t == "string" ? {
|
|
7511
|
+
title: t,
|
|
7512
|
+
location: n,
|
|
7513
|
+
refWidget: r,
|
|
7514
|
+
closable: i,
|
|
7515
|
+
padding: a
|
|
7516
|
+
} : t, p = {
|
|
7517
|
+
mode: s,
|
|
7518
|
+
ref: this.getWidgetAdapter(c)
|
|
7519
|
+
}, m = new WidgetAdapter(this, e, {}, l);
|
|
7520
|
+
if (m.title.label = o, m.padding = u, d != null) {
|
|
7521
|
+
let e = m.node.style;
|
|
7522
|
+
s === "split-left" || s === "split-right" ? e.minWidth = `${d}px` : e.minHeight = `${d}px`;
|
|
7523
|
+
}
|
|
7524
|
+
return this._dock.addWidget(m, p), this._dock.appendContent(m), this._dock.tabsMovable = !0, f != null && this._pendingDefaults.set(m, { defaultSize: f }), this;
|
|
7525
|
+
}
|
|
7526
|
+
_applyPendingDefaults() {
|
|
7527
|
+
if (this._pendingDefaults.size === 0) return;
|
|
7528
|
+
let e = this._dock.saveLayout();
|
|
7529
|
+
if (!e.main) {
|
|
7530
|
+
this._pendingDefaults.clear();
|
|
7531
|
+
return;
|
|
7532
|
+
}
|
|
7533
|
+
let t = /* @__PURE__ */ new Map();
|
|
7534
|
+
for (let [e, n] of this._pendingDefaults) t.set(e.widget.id(), n);
|
|
7535
|
+
this._pendingDefaults.clear();
|
|
7536
|
+
let n = this.width(), r = this.height(), applySizes = (e, n, r) => {
|
|
7537
|
+
if (!e || e.type !== "split-area") return;
|
|
7538
|
+
let i = e.orientation === "horizontal", a = i ? n : r, o = e.children.length, s = 0, c = 0, l = e.children.map((e, n) => {
|
|
7539
|
+
if (e.type === "tab-area") for (let n of e.widgets) {
|
|
7540
|
+
let e = t.get(n?.__id);
|
|
7541
|
+
if (e) {
|
|
7542
|
+
let t = e.defaultSize;
|
|
7543
|
+
if (t != null) return s += t, t;
|
|
7544
|
+
}
|
|
7545
|
+
}
|
|
7546
|
+
return c++, null;
|
|
7547
|
+
});
|
|
7548
|
+
if (c < o) {
|
|
7549
|
+
let t = Math.max(0, a - s), n = c > 0 ? t / c : 0;
|
|
7550
|
+
e.sizes = l.map((e) => e ?? n);
|
|
7551
|
+
}
|
|
7552
|
+
for (let t = 0; t < e.children.length; t++) {
|
|
7553
|
+
let a = e.children[t];
|
|
7554
|
+
if (a.type === "split-area") {
|
|
7555
|
+
let o = e.sizes[t] / (e.sizes.reduce((e, t) => e + t, 0) || 1);
|
|
7556
|
+
applySizes(a, i ? n * o : n, i ? r : r * o);
|
|
7557
|
+
}
|
|
7558
|
+
}
|
|
7559
|
+
};
|
|
7560
|
+
applySizes(e.main, n, r), this._dock.restoreLayout(e);
|
|
7483
7561
|
}
|
|
7484
7562
|
removeWidget(e) {
|
|
7485
7563
|
let t = this.getWidgetAdapter(e);
|
|
@@ -7501,13 +7579,12 @@ var WidgetAdapter = class extends F {
|
|
|
7501
7579
|
layoutObj(e) {
|
|
7502
7580
|
return this._layoutObj = e, this;
|
|
7503
7581
|
}
|
|
7504
|
-
_pPlaceholder;
|
|
7505
7582
|
enter(e, t) {
|
|
7506
|
-
super.enter(e, t),
|
|
7583
|
+
super.enter(e, t), F.attach(this._dock, e);
|
|
7507
7584
|
}
|
|
7508
7585
|
_prevHideSingleTabs;
|
|
7509
7586
|
update(e, t) {
|
|
7510
|
-
super.update(e, t),
|
|
7587
|
+
super.update(e, t), t.select(".lm-Widget").style("width", this.width() + "px").style("height", this.height() + "px"), this.widgets().forEach((e) => e.render());
|
|
7511
7588
|
}
|
|
7512
7589
|
exit(e, t) {
|
|
7513
7590
|
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);
|
|
@@ -7515,7 +7592,7 @@ var WidgetAdapter = class extends F {
|
|
|
7515
7592
|
render(e) {
|
|
7516
7593
|
let t = this;
|
|
7517
7594
|
return this._layoutObj !== null && (this.layout(this._layoutObj), this.layoutObj(null)), super.render((n) => {
|
|
7518
|
-
this._dock.content().watchRendered(this, e), this._dock.update(), setTimeout(() => {
|
|
7595
|
+
this._applyPendingDefaults(), this._dock.content().watchRendered(this, e), this._dock.update(), setTimeout(() => {
|
|
7519
7596
|
let e = this.element().selectAll(".lm-Widget.lm-TabBar.lm-DockPanel-tabBar"), n = !1;
|
|
7520
7597
|
e.each(function() {
|
|
7521
7598
|
let e = r(this), i = e.node().childNodes[0].childNodes.length, a = t.hideSingleTabs() && i === 1;
|
|
@@ -7527,46 +7604,27 @@ var WidgetAdapter = class extends F {
|
|
|
7527
7604
|
refit() {
|
|
7528
7605
|
this._dock.fit();
|
|
7529
7606
|
}
|
|
7530
|
-
messageHook(e, t) {
|
|
7531
|
-
return e === this && this.processMessage(t), !0;
|
|
7532
|
-
}
|
|
7533
|
-
_lazyLayoutChanged = t.debounce(async () => {
|
|
7534
|
-
this.layoutChanged();
|
|
7535
|
-
}, 1e3);
|
|
7536
|
-
_prevActive;
|
|
7537
|
-
processMessage(e) {
|
|
7538
|
-
switch (e.type) {
|
|
7539
|
-
case Q.WAActivateRequest.type:
|
|
7540
|
-
let t = e.wa, n = t.widget;
|
|
7541
|
-
this._prevActive !== n && (this._prevActive = n, this.childActivation(n, t));
|
|
7542
|
-
break;
|
|
7543
|
-
case Q.WALayoutChanged.type:
|
|
7544
|
-
this._lazyLayoutChanged();
|
|
7545
|
-
break;
|
|
7546
|
-
}
|
|
7547
|
-
}
|
|
7548
|
-
active() {
|
|
7549
|
-
return this._prevActive;
|
|
7550
|
-
}
|
|
7551
7607
|
childActivation(e, t) {}
|
|
7552
7608
|
layoutChanged() {}
|
|
7553
7609
|
};
|
|
7554
7610
|
DockPanel.prototype._class += " phosphor_DockPanel", DockPanel.prototype.publish("hideSingleTabs", !1, "boolean");
|
|
7555
7611
|
//#endregion
|
|
7556
7612
|
//#region src/SplitPanel.ts
|
|
7557
|
-
var SplitPanel = class extends
|
|
7613
|
+
var SplitPanel = class extends BasePanel {
|
|
7614
|
+
_orientation;
|
|
7558
7615
|
_split;
|
|
7559
|
-
|
|
7616
|
+
_content = $.create();
|
|
7560
7617
|
constructor(e = "vertical") {
|
|
7561
|
-
super(), this._split = new SplitPanel$1({ orientation: e }), this.
|
|
7562
|
-
}
|
|
7563
|
-
getWidgetAdapter(e) {
|
|
7564
|
-
let t = null;
|
|
7565
|
-
return this.content.some((n) => n.widget === e ? (t = n, !0) : !1), t;
|
|
7618
|
+
super(), this._orientation = e, this._split = new SplitPanel$1({ orientation: e }), this._split.id = "p" + this.id();
|
|
7566
7619
|
}
|
|
7567
|
-
|
|
7568
|
-
|
|
7569
|
-
|
|
7620
|
+
_pendingDefaults = /* @__PURE__ */ new Map();
|
|
7621
|
+
addWidget(e, t) {
|
|
7622
|
+
let n = t || {}, r = new WidgetAdapter(this, e);
|
|
7623
|
+
if (r.padding = n.padding ?? 0, n.minSize != null || n.maxSize != null) {
|
|
7624
|
+
let e = r.node.style;
|
|
7625
|
+
n.minSize != null && (this._orientation === "horizontal" ? e.minWidth = `${n.minSize}px` : e.minHeight = `${n.minSize}px`), n.maxSize != null && (this._orientation === "horizontal" ? e.maxWidth = `${n.maxSize}px` : e.maxHeight = `${n.maxSize}px`);
|
|
7626
|
+
}
|
|
7627
|
+
return this._split.addWidget(r), this._content.push(r), n.defaultSize != null && this._pendingDefaults.set(this._content.length - 1, { defaultSize: n.defaultSize }), this;
|
|
7570
7628
|
}
|
|
7571
7629
|
relativeSizes(e) {
|
|
7572
7630
|
return arguments.length ? (this._split.setRelativeSizes(e), this) : this._split.relativeSizes();
|
|
@@ -7582,46 +7640,53 @@ var SplitPanel = class extends e {
|
|
|
7582
7640
|
}
|
|
7583
7641
|
render(e) {
|
|
7584
7642
|
return super.render((t) => {
|
|
7585
|
-
this.
|
|
7643
|
+
this._applyPendingDefaults(), this._content.watchRendered(this, e), this._split.update();
|
|
7586
7644
|
});
|
|
7587
7645
|
}
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
|
|
7646
|
+
_applyPendingDefaults() {
|
|
7647
|
+
if (this._pendingDefaults.size === 0) return;
|
|
7648
|
+
let e = this._orientation === "horizontal" ? this.width() : this.height(), t = this._content.length, n = 0, r = 0, i = [];
|
|
7649
|
+
for (let e = 0; e < t; e++) {
|
|
7650
|
+
let t = this._pendingDefaults.get(e);
|
|
7651
|
+
if (t) {
|
|
7652
|
+
let e = t.defaultSize;
|
|
7653
|
+
if (e != null) {
|
|
7654
|
+
i.push(e), n += e;
|
|
7655
|
+
continue;
|
|
7656
|
+
}
|
|
7657
|
+
}
|
|
7658
|
+
i.push(null), r++;
|
|
7595
7659
|
}
|
|
7660
|
+
this._pendingDefaults.clear();
|
|
7661
|
+
let a = Math.max(0, e - n), o = r > 0 ? a / r : 0, s = i.map((e) => e ?? o);
|
|
7662
|
+
this._split.setRelativeSizes(s);
|
|
7596
7663
|
}
|
|
7597
|
-
childActivation(e) {}
|
|
7664
|
+
childActivation(e, t) {}
|
|
7665
|
+
layoutChanged() {}
|
|
7598
7666
|
};
|
|
7599
7667
|
SplitPanel.prototype._class += " phosphor_SplitPanel";
|
|
7600
7668
|
//#endregion
|
|
7601
7669
|
//#region src/TabPanel.ts
|
|
7602
|
-
var TabPanel = class extends
|
|
7670
|
+
var TabPanel = class extends BasePanel {
|
|
7603
7671
|
_tab = new TabPanel$1({ tabPlacement: "top" });
|
|
7604
|
-
|
|
7672
|
+
_content = $.create();
|
|
7605
7673
|
constructor() {
|
|
7606
|
-
super(), this.
|
|
7607
|
-
}
|
|
7608
|
-
getWidget(e) {
|
|
7609
|
-
if (e instanceof WidgetAdapter) return e.widget;
|
|
7610
|
-
}
|
|
7611
|
-
getWidgetAdapter(e) {
|
|
7612
|
-
let t = null;
|
|
7613
|
-
return this.content.some((n) => n.widget === e ? (t = n, !0) : !1), t;
|
|
7674
|
+
super(), this._tab.id = "p" + this.id();
|
|
7614
7675
|
}
|
|
7615
7676
|
addWidget(e, t, n = {}) {
|
|
7677
|
+
let { title: r = "", ext: i = {}, padding: a = 8 } = typeof t == "string" ? {
|
|
7678
|
+
title: t,
|
|
7679
|
+
ext: n
|
|
7680
|
+
} : t;
|
|
7616
7681
|
this._prevActive ||= e;
|
|
7617
|
-
let
|
|
7618
|
-
return
|
|
7682
|
+
let o = new WidgetAdapter(this, e, void 0, void 0, i);
|
|
7683
|
+
return o.title.label = r, o.padding = a, this._tab.addWidget(o), this._content.push(o), this;
|
|
7619
7684
|
}
|
|
7620
7685
|
removeWidget(e) {
|
|
7621
7686
|
let t = this.getWidgetAdapter(e);
|
|
7622
7687
|
if (t) {
|
|
7623
|
-
let n = this.
|
|
7624
|
-
n >= 0 && this.
|
|
7688
|
+
let n = this._content.indexOf(t);
|
|
7689
|
+
n >= 0 && this._content.splice(n, 1), e.target(null), t.dispose();
|
|
7625
7690
|
}
|
|
7626
7691
|
return this;
|
|
7627
7692
|
}
|
|
@@ -7636,29 +7701,18 @@ var TabPanel = class extends e {
|
|
|
7636
7701
|
}
|
|
7637
7702
|
render(e) {
|
|
7638
7703
|
return super.render((t) => {
|
|
7639
|
-
this.
|
|
7704
|
+
this._content.watchRendered(this, e), this._tab.update();
|
|
7640
7705
|
});
|
|
7641
7706
|
}
|
|
7642
|
-
messageHook(e, t) {
|
|
7643
|
-
return e === this && this.processMessage(t), !0;
|
|
7644
|
-
}
|
|
7645
|
-
_prevActive;
|
|
7646
|
-
processMessage(e) {
|
|
7647
|
-
switch (e.type) {
|
|
7648
|
-
case "wa-activate-request":
|
|
7649
|
-
let t = e.wa.widget;
|
|
7650
|
-
this._prevActive !== t && (this._prevActive = t, this.childActivation(t));
|
|
7651
|
-
break;
|
|
7652
|
-
}
|
|
7653
|
-
}
|
|
7654
|
-
childActivation(e) {}
|
|
7655
7707
|
active(e) {
|
|
7656
7708
|
return arguments.length ? (this._tab.currentWidget = this.getWidgetAdapter(e), this) : this.getWidget(this._tab.currentWidget);
|
|
7657
7709
|
}
|
|
7710
|
+
childActivation(e, t) {}
|
|
7711
|
+
layoutChanged() {}
|
|
7658
7712
|
};
|
|
7659
7713
|
TabPanel.prototype._class += " phosphor_TabPanel";
|
|
7660
7714
|
//#endregion
|
|
7661
7715
|
export { u as BUILD_VERSION, le as CommandPalette, T as CommandRegistry, ContextMenu, DockPanel, Q as Msg, c as PKG_NAME, l as PKG_VERSION, SplitPanel, TabPanel, WidgetAdapter, $ as WidgetAdapterArray };
|
|
7662
7716
|
|
|
7663
7717
|
//# sourceMappingURL=index.js.map
|
|
7664
|
-
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.lm-Widget{box-sizing:border-box;position:relative}.lm-Widget.lm-mod-hidden{display:none!important}.lm-CommandPalette{-webkit-user-select:none;user-select:none;flex-direction:column;display:flex}.lm-CommandPalette-search{flex:none}.lm-CommandPalette-content{flex:auto;min-height:0;margin:0;padding:0;list-style-type:none;overflow:auto}.lm-CommandPalette-header{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.lm-CommandPalette-item{flex-direction:row;display:flex}.lm-CommandPalette-itemIcon{flex:none}.lm-CommandPalette-itemContent{flex:auto;overflow:hidden}.lm-CommandPalette-itemShortcut{flex:none}.lm-CommandPalette-itemLabel{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.lm-close-icon{z-index:1;vertical-align:middle;cursor:pointer;background-color:#0000;border:1px solid #0000;outline:0;margin:auto;padding:7px 0;display:none;position:absolute;top:0;bottom:0;right:3%}.lm-close-icon:after{content:"X";text-align:center;color:#000;cursor:pointer;width:15px;height:15px;font-size:12px;font-weight:400;display:block}.lm-DockPanel,.lm-DockPanel-widget{z-index:0}.lm-DockPanel-tabBar{z-index:1}.lm-DockPanel-handle{z-index:2}.lm-DockPanel-handle.lm-mod-hidden{display:none!important}.lm-DockPanel-handle:after{content:"";width:100%;height:100%;position:absolute;top:0;left:0}.lm-DockPanel-handle[data-orientation=horizontal]{cursor:ew-resize}.lm-DockPanel-handle[data-orientation=vertical]{cursor:ns-resize}.lm-DockPanel-handle[data-orientation=horizontal]:after{min-width:8px;left:50%;transform:translate(-50%)}.lm-DockPanel-handle[data-orientation=vertical]:after{min-height:8px;top:50%;transform:translateY(-50%)}.lm-DockPanel-overlay{z-index:3;box-sizing:border-box;pointer-events:none}.lm-DockPanel-overlay.lm-mod-hidden{display:none!important}.lm-Menu{z-index:10000;white-space:nowrap;-webkit-user-select:none;user-select:none;outline:none;position:absolute;top:0;left:0;overflow:hidden auto}.lm-Menu-content{margin:0;padding:0;list-style-type:none;display:table}.lm-Menu-item{display:table-row}.lm-Menu-item.lm-mod-hidden,.lm-Menu-item.lm-mod-collapsed{display:none!important}.lm-Menu-itemIcon,.lm-Menu-itemSubmenuIcon{text-align:center;display:table-cell}.lm-Menu-itemLabel{text-align:left;display:table-cell}.lm-Menu-itemShortcut{text-align:right;display:table-cell}.lm-MenuBar{-webkit-user-select:none;user-select:none;outline:none}.lm-MenuBar-content{flex-direction:row;margin:0;padding:0;list-style-type:none;display:flex}.lm-MenuBar-item{box-sizing:border-box}.lm-MenuBar-itemIcon,.lm-MenuBar-itemLabel{display:inline-block}.lm-ScrollBar{-webkit-user-select:none;user-select:none;display:flex}.lm-ScrollBar[data-orientation=horizontal]{flex-direction:row}.lm-ScrollBar[data-orientation=vertical]{flex-direction:column}.lm-ScrollBar-button{box-sizing:border-box;flex:none}.lm-ScrollBar-track{box-sizing:border-box;flex:auto;position:relative;overflow:hidden}.lm-ScrollBar-thumb{box-sizing:border-box;position:absolute}.lm-SplitPanel-child{z-index:0}.lm-SplitPanel-handle{z-index:1}.lm-SplitPanel-handle.lm-mod-hidden{display:none!important}.lm-SplitPanel-handle:after{content:"";width:100%;height:100%;position:absolute;top:0;left:0}.lm-SplitPanel[data-orientation=horizontal]>.lm-SplitPanel-handle{cursor:ew-resize}.lm-SplitPanel[data-orientation=vertical]>.lm-SplitPanel-handle{cursor:ns-resize}.lm-SplitPanel[data-orientation=horizontal]>.lm-SplitPanel-handle:after{min-width:8px;left:50%;transform:translate(-50%)}.lm-SplitPanel[data-orientation=vertical]>.lm-SplitPanel-handle:after{min-height:8px;top:50%;transform:translateY(-50%)}.lm-TabBar{-webkit-user-select:none;user-select:none;display:flex}.lm-TabBar[data-orientation=horizontal]{flex-direction:row;align-items:flex-end}.lm-TabBar[data-orientation=vertical]{flex-direction:column;align-items:flex-end}.lm-TabBar-content{flex:auto;margin:0;padding:0;list-style-type:none;display:flex}.lm-TabBar[data-orientation=horizontal]>.lm-TabBar-content{flex-direction:row}.lm-TabBar[data-orientation=vertical]>.lm-TabBar-content{flex-direction:column}.lm-TabBar-tab{box-sizing:border-box;touch-action:none;flex-direction:row;display:flex;overflow:hidden}.lm-TabBar-tabIcon,.lm-TabBar-tabCloseIcon{flex:none}.lm-TabBar-tabLabel{white-space:nowrap;flex:auto;overflow:hidden}.lm-TabBar-tabInput{-webkit-user-select:all;user-select:all;box-sizing:border-box;width:100%}.lm-TabBar-tab.lm-mod-hidden,.lm-TabBar-addButton.lm-mod-hidden{display:none!important}.lm-TabBar.lm-mod-dragging .lm-TabBar-tab{position:relative}.lm-TabBar.lm-mod-dragging[data-orientation=horizontal] .lm-TabBar-tab{transition:left .15s;left:0}.lm-TabBar.lm-mod-dragging[data-orientation=vertical] .lm-TabBar-tab{transition:top .15s;top:0}.lm-TabBar.lm-mod-dragging .lm-TabBar-tab.lm-mod-dragging{transition:none}.lm-TabBar.lm-mod-unfreezing .lm-TabBar-tab{transition:width .15s,flex-basis .15s}.lm-TabBar-tabLabel .lm-TabBar-tabInput{-webkit-user-select:all;user-select:all;box-sizing:border-box;background:inherit;width:100%}.lm-TabPanel-tabBar{z-index:1}.lm-TabPanel-stackedPanel{z-index:0}.phosphor_WidgetAdapter{background:#fff;border-bottom:1px solid silver;border-left:1px solid silver;border-right:1px solid silver;min-width:64px;min-height:64px}.phosphor_WidgetAdapter.lm-DockPanel-widget{border-top:none;box-shadow:0 -1px #0003,1px 1px 2px #0003}.
|
|
7718
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.lm-Widget{box-sizing:border-box;position:relative}.lm-Widget.lm-mod-hidden{display:none!important}.lm-CommandPalette{-webkit-user-select:none;user-select:none;flex-direction:column;display:flex}.lm-CommandPalette-search{flex:none}.lm-CommandPalette-content{flex:auto;min-height:0;margin:0;padding:0;list-style-type:none;overflow:auto}.lm-CommandPalette-header{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.lm-CommandPalette-item{flex-direction:row;display:flex}.lm-CommandPalette-itemIcon{flex:none}.lm-CommandPalette-itemContent{flex:auto;overflow:hidden}.lm-CommandPalette-itemShortcut{flex:none}.lm-CommandPalette-itemLabel{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.lm-close-icon{z-index:1;vertical-align:middle;cursor:pointer;background-color:#0000;border:1px solid #0000;outline:0;margin:auto;padding:7px 0;display:none;position:absolute;top:0;bottom:0;right:3%}.lm-close-icon:after{content:"X";text-align:center;color:#000;cursor:pointer;width:15px;height:15px;font-size:12px;font-weight:400;display:block}.lm-DockPanel,.lm-DockPanel-widget{z-index:0}.lm-DockPanel-tabBar{z-index:1}.lm-DockPanel-handle{z-index:2}.lm-DockPanel-handle.lm-mod-hidden{display:none!important}.lm-DockPanel-handle:after{content:"";width:100%;height:100%;position:absolute;top:0;left:0}.lm-DockPanel-handle[data-orientation=horizontal]{cursor:ew-resize}.lm-DockPanel-handle[data-orientation=vertical]{cursor:ns-resize}.lm-DockPanel-handle[data-orientation=horizontal]:after{min-width:8px;left:50%;transform:translate(-50%)}.lm-DockPanel-handle[data-orientation=vertical]:after{min-height:8px;top:50%;transform:translateY(-50%)}.lm-DockPanel-overlay{z-index:3;box-sizing:border-box;pointer-events:none}.lm-DockPanel-overlay.lm-mod-hidden{display:none!important}.lm-Menu{z-index:10000;white-space:nowrap;-webkit-user-select:none;user-select:none;outline:none;position:absolute;top:0;left:0;overflow:hidden auto}.lm-Menu-content{margin:0;padding:0;list-style-type:none;display:table}.lm-Menu-item{display:table-row}.lm-Menu-item.lm-mod-hidden,.lm-Menu-item.lm-mod-collapsed{display:none!important}.lm-Menu-itemIcon,.lm-Menu-itemSubmenuIcon{text-align:center;display:table-cell}.lm-Menu-itemLabel{text-align:left;display:table-cell}.lm-Menu-itemShortcut{text-align:right;display:table-cell}.lm-MenuBar{-webkit-user-select:none;user-select:none;outline:none}.lm-MenuBar-content{flex-direction:row;margin:0;padding:0;list-style-type:none;display:flex}.lm-MenuBar-item{box-sizing:border-box}.lm-MenuBar-itemIcon,.lm-MenuBar-itemLabel{display:inline-block}.lm-ScrollBar{-webkit-user-select:none;user-select:none;display:flex}.lm-ScrollBar[data-orientation=horizontal]{flex-direction:row}.lm-ScrollBar[data-orientation=vertical]{flex-direction:column}.lm-ScrollBar-button{box-sizing:border-box;flex:none}.lm-ScrollBar-track{box-sizing:border-box;flex:auto;position:relative;overflow:hidden}.lm-ScrollBar-thumb{box-sizing:border-box;position:absolute}.lm-SplitPanel-child{z-index:0}.lm-SplitPanel-handle{z-index:1}.lm-SplitPanel-handle.lm-mod-hidden{display:none!important}.lm-SplitPanel-handle:after{content:"";width:100%;height:100%;position:absolute;top:0;left:0}.lm-SplitPanel[data-orientation=horizontal]>.lm-SplitPanel-handle{cursor:ew-resize}.lm-SplitPanel[data-orientation=vertical]>.lm-SplitPanel-handle{cursor:ns-resize}.lm-SplitPanel[data-orientation=horizontal]>.lm-SplitPanel-handle:after{min-width:8px;left:50%;transform:translate(-50%)}.lm-SplitPanel[data-orientation=vertical]>.lm-SplitPanel-handle:after{min-height:8px;top:50%;transform:translateY(-50%)}.lm-TabBar{-webkit-user-select:none;user-select:none;display:flex}.lm-TabBar[data-orientation=horizontal]{flex-direction:row;align-items:flex-end}.lm-TabBar[data-orientation=vertical]{flex-direction:column;align-items:flex-end}.lm-TabBar-content{flex:auto;margin:0;padding:0;list-style-type:none;display:flex}.lm-TabBar[data-orientation=horizontal]>.lm-TabBar-content{flex-direction:row}.lm-TabBar[data-orientation=vertical]>.lm-TabBar-content{flex-direction:column}.lm-TabBar-tab{box-sizing:border-box;touch-action:none;flex-direction:row;display:flex;overflow:hidden}.lm-TabBar-tabIcon,.lm-TabBar-tabCloseIcon{flex:none}.lm-TabBar-tabLabel{white-space:nowrap;flex:auto;overflow:hidden}.lm-TabBar-tabInput{-webkit-user-select:all;user-select:all;box-sizing:border-box;width:100%}.lm-TabBar-tab.lm-mod-hidden,.lm-TabBar-addButton.lm-mod-hidden{display:none!important}.lm-TabBar.lm-mod-dragging .lm-TabBar-tab{position:relative}.lm-TabBar.lm-mod-dragging[data-orientation=horizontal] .lm-TabBar-tab{transition:left .15s;left:0}.lm-TabBar.lm-mod-dragging[data-orientation=vertical] .lm-TabBar-tab{transition:top .15s;top:0}.lm-TabBar.lm-mod-dragging .lm-TabBar-tab.lm-mod-dragging{transition:none}.lm-TabBar.lm-mod-unfreezing .lm-TabBar-tab{transition:width .15s,flex-basis .15s}.lm-TabBar-tabLabel .lm-TabBar-tabInput{-webkit-user-select:all;user-select:all;box-sizing:border-box;background:inherit;width:100%}.lm-TabPanel-tabBar{z-index:1}.lm-TabPanel-stackedPanel{z-index:0}.phosphor_WidgetAdapter{background:#fff;border-bottom:1px solid silver;border-left:1px solid silver;border-right:1px solid silver;min-width:64px;min-height:64px}.phosphor_WidgetAdapter.lm-DockPanel-widget,.phosphor_WidgetAdapter.lm-SplitPanel-child{border-top:none;box-shadow:0 -1px #0003,1px 1px 2px #0003}.lm-DockPanel-overlay{background:#fff9;border:1px dashed #000;transition-property:top,left,right,bottom;transition-duration:.15s;transition-timing-function:ease}.lm-TabBar{min-height:24px;max-height:24px}.lm-TabBar-content{align-items:flex-end;min-width:0;min-height:0}.lm-TabPanel-tabBar .lm-TabBar-content{border-bottom:1px solid silver}.lm-TabBar-tab{background:#e5e5e5;border:1px solid silver;border-bottom:none;flex:0 125px;min-width:35px;min-height:20px;max-height:20px;margin-left:-1px;padding:0 10px;font:12px/20px Helvetica,Arial,sans-serif}.lm-TabBar-tab.lm-mod-current{background:#fff}.lm-TabBar-tab:hover:not(.lm-mod-current){background:#f0f0f0}.lm-TabBar-tab:first-child{margin-left:0}.lm-TabBar-tab.lm-mod-current{min-height:23px;max-height:23px;transform:translateY(1px)}.lm-TabBar-tabIcon,.lm-TabBar-tabLabel,.lm-TabBar-tabCloseIcon{display:inline-block}.lm-TabBar-tab.lm-mod-closable>.lm-TabBar-tabCloseIcon{margin-left:4px}.lm-TabBar-tab.lm-mod-closable>.lm-TabBar-tabCloseIcon:before{content:"";font-family:FontAwesome}.lm-TabBar-tab.lm-mod-drag-image{border:none;min-width:125px;min-height:23px;max-height:23px;transform:translate(-40%)translateY(-58%);box-shadow:1px 1px 2px #0000004d}.lm-Widget.lm-TabBar.lm-DockPanel-tabBar.hide{min-height:1px!important;max-height:1px!important}.lm-Widget.lm-TabBar.lm-DockPanel-tabBar.hide .lm-TabBar-tab.lm-mod-current{display:none}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
|