@hpcc-js/phosphor 2.20.0 → 2.20.1
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.es6.js +3 -10
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +3 -10
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/package.json +3 -3
- package/src/DockPanel.ts +1 -1
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.es6.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { select, Widget as Widget$1, Utility, HTMLWidget } from '@hpcc-js/common';
|
|
2
2
|
|
|
3
3
|
var PKG_NAME = "@hpcc-js/phosphor";
|
|
4
|
-
var PKG_VERSION = "2.20.
|
|
5
|
-
var BUILD_VERSION = "2.
|
|
4
|
+
var PKG_VERSION = "2.20.1";
|
|
5
|
+
var BUILD_VERSION = "2.108.1";
|
|
6
6
|
|
|
7
7
|
// Copyright (c) Jupyter Development Team.
|
|
8
8
|
// Distributed under the terms of the Modified BSD License.
|
|
@@ -2036,10 +2036,6 @@ function reduce(object, fn, initial) {
|
|
|
2036
2036
|
var index = 0;
|
|
2037
2037
|
var it = iter(object);
|
|
2038
2038
|
var first = it.next();
|
|
2039
|
-
// An empty iterator and no initial value is an error.
|
|
2040
|
-
if (first === undefined && initial === undefined) {
|
|
2041
|
-
throw new TypeError('Reduce of empty iterable with no initial value.');
|
|
2042
|
-
}
|
|
2043
2039
|
// If the iterator is empty, return the initial value.
|
|
2044
2040
|
if (first === undefined) {
|
|
2045
2041
|
return initial;
|
|
@@ -2047,9 +2043,6 @@ function reduce(object, fn, initial) {
|
|
|
2047
2043
|
// If the iterator has a single item and no initial value, the
|
|
2048
2044
|
// reducer is not invoked and the first item is the return value.
|
|
2049
2045
|
var second = it.next();
|
|
2050
|
-
if (second === undefined && initial === undefined) {
|
|
2051
|
-
return first;
|
|
2052
|
-
}
|
|
2053
2046
|
// If iterator has a single item and an initial value is provided,
|
|
2054
2047
|
// the reducer is invoked and that result is the return value.
|
|
2055
2048
|
if (second === undefined) {
|
|
@@ -26555,7 +26548,7 @@ var DockPanel = /** @class */ (function (_super) {
|
|
|
26555
26548
|
this._pPlaceholder
|
|
26556
26549
|
.style("width", this.width() + "px")
|
|
26557
26550
|
.style("height", this.height() + "px")
|
|
26558
|
-
.style("overflow", "
|
|
26551
|
+
.style("overflow", "hidden");
|
|
26559
26552
|
element.select(".p-Widget")
|
|
26560
26553
|
.style("width", this._pPlaceholder.node().clientWidth + "px")
|
|
26561
26554
|
.style("height", this.height() + "px");
|