@hpcc-js/phosphor 3.2.0 → 3.2.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 +1 -5
- 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/DockPanel.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -390,13 +390,9 @@ var MapIterator = (
|
|
|
390
390
|
})(Private$s || (Private$s = {}));
|
|
391
391
|
function reduce(object, fn, initial) {
|
|
392
392
|
var index = 0, it = iter(object), first = it.next();
|
|
393
|
-
if (first === void 0 && initial === void 0)
|
|
394
|
-
throw new TypeError("Reduce of empty iterable with no initial value.");
|
|
395
393
|
if (first === void 0)
|
|
396
394
|
return initial;
|
|
397
395
|
var second = it.next();
|
|
398
|
-
if (second === void 0 && initial === void 0)
|
|
399
|
-
return first;
|
|
400
396
|
if (second === void 0)
|
|
401
397
|
return fn(initial, first, index++);
|
|
402
398
|
var accumulator;
|
|
@@ -9883,7 +9879,7 @@ class DockPanel extends HTMLWidget {
|
|
|
9883
9879
|
super.enter(domNode, element), this._pPlaceholder = element.append("div"), Widget.attach(this._dock, this._pPlaceholder.node());
|
|
9884
9880
|
}
|
|
9885
9881
|
update(domNode, element) {
|
|
9886
|
-
super.update(domNode, element), this._pPlaceholder.style("width", this.width() + "px").style("height", this.height() + "px").style("overflow", "
|
|
9882
|
+
super.update(domNode, element), this._pPlaceholder.style("width", this.width() + "px").style("height", this.height() + "px").style("overflow", "hidden"), element.select(".p-Widget").style("width", this._pPlaceholder.node().clientWidth + "px").style("height", this.height() + "px"), this.widgets().forEach((w) => w.render());
|
|
9887
9883
|
}
|
|
9888
9884
|
exit(domNode, element) {
|
|
9889
9885
|
[...this.widgets()].forEach((w) => this.removeWidget(w)), Widget.detach(this._dock), super.exit(domNode, element);
|