@antv/g2 3.5.14 → 3.5.15
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/CHANGELOG.md +7 -0
- package/build/g2-core.js +2 -70
- package/build/g2-core.js.map +1 -1
- package/build/g2-simple.js +2 -126
- package/build/g2-simple.js.map +1 -1
- package/build/g2.js +2 -346
- package/build/g2.js.map +1 -1
- package/dist/g2-core.min.js +1 -1
- package/dist/g2-simple.min.js +1 -1
- package/dist/g2.min.js +1 -1
- package/lib/base.js +0 -12
- package/lib/chart/chart.js +0 -12
- package/lib/chart/controller/tooltip.js +1 -1
- package/lib/chart/view.js +0 -10
- package/lib/component/guide/region-filter.js +0 -12
- package/lib/component/legend/tail.js +0 -12
- package/lib/component/tooltip/index.js +0 -12
- package/lib/facet/circle.js +0 -12
- package/lib/facet/list.js +0 -12
- package/lib/facet/matrix.js +0 -12
- package/lib/facet/mirror.js +0 -12
- package/lib/facet/rect.js +0 -12
- package/lib/facet/tree.js +0 -12
- package/lib/geom/area.js +0 -12
- package/lib/geom/base.js +0 -10
- package/lib/geom/edge.js +0 -12
- package/lib/geom/heatmap.js +0 -12
- package/lib/geom/interval.js +0 -16
- package/lib/geom/line.js +0 -14
- package/lib/geom/path.js +0 -10
- package/lib/geom/point.js +0 -16
- package/lib/geom/polygon.js +0 -12
- package/lib/geom/schema.js +0 -12
- package/lib/geom/venn.js +0 -12
- package/lib/geom/violin.js +0 -12
- package/lib/global.js +1 -1
- package/lib/interaction/brush.js +0 -10
- package/lib/interaction/drag.js +0 -10
- package/lib/interaction/scroll-bar.js +0 -12
- package/lib/interaction/shape-select.js +0 -12
- package/lib/interaction/slider.js +0 -10
- package/lib/interaction/zoom.js +0 -10
- package/package.json +1 -1
- package/src/chart/controller/tooltip.js +1 -1
- package/src/global.js +1 -1
package/lib/base.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -21,8 +11,6 @@ var Util = require('./util');
|
|
|
21
11
|
var Base = /*#__PURE__*/function (_EventEmitter) {
|
|
22
12
|
_inheritsLoose(Base, _EventEmitter);
|
|
23
13
|
|
|
24
|
-
var _super = _createSuper(Base);
|
|
25
|
-
|
|
26
14
|
var _proto = Base.prototype;
|
|
27
15
|
|
|
28
16
|
_proto.getDefaultCfg = function getDefaultCfg() {
|
package/lib/chart/chart.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -65,8 +55,6 @@ function isEqualArray(arr1, arr2) {
|
|
|
65
55
|
var Chart = /*#__PURE__*/function (_View) {
|
|
66
56
|
_inheritsLoose(Chart, _View);
|
|
67
57
|
|
|
68
|
-
var _super = _createSuper(Chart);
|
|
69
|
-
|
|
70
58
|
function Chart() {
|
|
71
59
|
return _View.apply(this, arguments) || this;
|
|
72
60
|
}
|
|
@@ -15,7 +15,7 @@ var MatrixUtil = Util.MatrixUtil;
|
|
|
15
15
|
var Vector2 = MatrixUtil.vec2;
|
|
16
16
|
var TYPE_SHOW_MARKERS = ['line', 'area', 'path', 'areaStack']; // 默认展示 tooltip marker 的几何图形
|
|
17
17
|
|
|
18
|
-
var TYPE_SHOW_CROSSHAIRS = ['line', 'area']; // 默认展示十字瞄准线的几何图形
|
|
18
|
+
var TYPE_SHOW_CROSSHAIRS = ['line', 'area', 'point']; // 默认展示十字瞄准线的几何图形
|
|
19
19
|
// TODO FIXME this is HARD CODING
|
|
20
20
|
|
|
21
21
|
var IGNORE_TOOLTIP_ITEM_PROPERTIES = ['marker', 'showMarker'];
|
package/lib/chart/view.js
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
1
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
2
|
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
3
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
4
|
|
|
13
5
|
/**
|
|
@@ -83,8 +75,6 @@ Util.each(Geom, function (geomConstructor, className) {
|
|
|
83
75
|
var View = /*#__PURE__*/function (_Base) {
|
|
84
76
|
_inheritsLoose(View, _Base);
|
|
85
77
|
|
|
86
|
-
var _super = _createSuper(View);
|
|
87
|
-
|
|
88
78
|
var _proto = View.prototype;
|
|
89
79
|
|
|
90
80
|
/**
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
var Util = require('../../util');
|
|
@@ -20,8 +10,6 @@ var _require = require('@antv/g/lib'),
|
|
|
20
10
|
var RegionFilter = /*#__PURE__*/function (_Guide) {
|
|
21
11
|
_inheritsLoose(RegionFilter, _Guide);
|
|
22
12
|
|
|
23
|
-
var _super = _createSuper(RegionFilter);
|
|
24
|
-
|
|
25
13
|
function RegionFilter() {
|
|
26
14
|
return _Guide.apply(this, arguments) || this;
|
|
27
15
|
}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -27,8 +17,6 @@ var Category = Legend.Category;
|
|
|
27
17
|
var Tail = /*#__PURE__*/function (_Category) {
|
|
28
18
|
_inheritsLoose(Tail, _Category);
|
|
29
19
|
|
|
30
|
-
var _super = _createSuper(Tail);
|
|
31
|
-
|
|
32
20
|
function Tail() {
|
|
33
21
|
return _Category.apply(this, arguments) || this;
|
|
34
22
|
}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -130,8 +120,6 @@ function confineTooltipPosition(x, y, el, plotRange, onlyHorizontal) {
|
|
|
130
120
|
var Tooltip = /*#__PURE__*/function (_Base) {
|
|
131
121
|
_inheritsLoose(Tooltip, _Base);
|
|
132
122
|
|
|
133
|
-
var _super = _createSuper(Tooltip);
|
|
134
|
-
|
|
135
123
|
var _proto = Tooltip.prototype;
|
|
136
124
|
|
|
137
125
|
_proto.getDefaultCfg = function getDefaultCfg() {
|
package/lib/facet/circle.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -26,8 +16,6 @@ function getPoint(center, r, angle) {
|
|
|
26
16
|
var Circle = /*#__PURE__*/function (_Base) {
|
|
27
17
|
_inheritsLoose(Circle, _Base);
|
|
28
18
|
|
|
29
|
-
var _super = _createSuper(Circle);
|
|
30
|
-
|
|
31
19
|
function Circle() {
|
|
32
20
|
return _Base.apply(this, arguments) || this;
|
|
33
21
|
}
|
package/lib/facet/list.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -23,8 +13,6 @@ var Base = require('./base');
|
|
|
23
13
|
var List = /*#__PURE__*/function (_Base) {
|
|
24
14
|
_inheritsLoose(List, _Base);
|
|
25
15
|
|
|
26
|
-
var _super = _createSuper(List);
|
|
27
|
-
|
|
28
16
|
function List() {
|
|
29
17
|
return _Base.apply(this, arguments) || this;
|
|
30
18
|
}
|
package/lib/facet/matrix.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -19,8 +9,6 @@ var Rect = require('./rect');
|
|
|
19
9
|
var Matrix = /*#__PURE__*/function (_Rect) {
|
|
20
10
|
_inheritsLoose(Matrix, _Rect);
|
|
21
11
|
|
|
22
|
-
var _super = _createSuper(Matrix);
|
|
23
|
-
|
|
24
12
|
function Matrix() {
|
|
25
13
|
return _Rect.apply(this, arguments) || this;
|
|
26
14
|
}
|
package/lib/facet/mirror.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -19,8 +9,6 @@ var List = require('./list');
|
|
|
19
9
|
var Mirror = /*#__PURE__*/function (_List) {
|
|
20
10
|
_inheritsLoose(Mirror, _List);
|
|
21
11
|
|
|
22
|
-
var _super = _createSuper(Mirror);
|
|
23
|
-
|
|
24
12
|
function Mirror() {
|
|
25
13
|
return _List.apply(this, arguments) || this;
|
|
26
14
|
}
|
package/lib/facet/rect.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -36,8 +26,6 @@ var Base = require('./base');
|
|
|
36
26
|
var Rect = /*#__PURE__*/function (_Base) {
|
|
37
27
|
_inheritsLoose(Rect, _Base);
|
|
38
28
|
|
|
39
|
-
var _super = _createSuper(Rect);
|
|
40
|
-
|
|
41
29
|
function Rect() {
|
|
42
30
|
return _Base.apply(this, arguments) || this;
|
|
43
31
|
}
|
package/lib/facet/tree.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -23,8 +13,6 @@ var assign = Util.assign;
|
|
|
23
13
|
var Tree = /*#__PURE__*/function (_Base) {
|
|
24
14
|
_inheritsLoose(Tree, _Base);
|
|
25
15
|
|
|
26
|
-
var _super = _createSuper(Tree);
|
|
27
|
-
|
|
28
16
|
function Tree() {
|
|
29
17
|
return _Base.apply(this, arguments) || this;
|
|
30
18
|
}
|
package/lib/geom/area.js
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
1
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
2
|
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
3
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
4
|
|
|
13
5
|
/**
|
|
@@ -25,8 +17,6 @@ require('./shape/area');
|
|
|
25
17
|
var Area = /*#__PURE__*/function (_GeomBase) {
|
|
26
18
|
_inheritsLoose(Area, _GeomBase);
|
|
27
19
|
|
|
28
|
-
var _super = _createSuper(Area);
|
|
29
|
-
|
|
30
20
|
var _proto = Area.prototype;
|
|
31
21
|
|
|
32
22
|
/**
|
|
@@ -79,8 +69,6 @@ var Area = /*#__PURE__*/function (_GeomBase) {
|
|
|
79
69
|
var AreaStack = /*#__PURE__*/function (_Area) {
|
|
80
70
|
_inheritsLoose(AreaStack, _Area);
|
|
81
71
|
|
|
82
|
-
var _super2 = _createSuper(AreaStack);
|
|
83
|
-
|
|
84
72
|
function AreaStack() {
|
|
85
73
|
return _Area.apply(this, arguments) || this;
|
|
86
74
|
}
|
package/lib/geom/base.js
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
1
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
2
|
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
3
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
4
|
|
|
13
5
|
/**
|
|
@@ -63,8 +55,6 @@ function parseAdjusts(adjusts) {
|
|
|
63
55
|
var GeomBase = /*#__PURE__*/function (_Base) {
|
|
64
56
|
_inheritsLoose(GeomBase, _Base);
|
|
65
57
|
|
|
66
|
-
var _super = _createSuper(GeomBase);
|
|
67
|
-
|
|
68
58
|
var _proto = GeomBase.prototype;
|
|
69
59
|
|
|
70
60
|
/**
|
package/lib/geom/edge.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -21,8 +11,6 @@ require('./shape/edge');
|
|
|
21
11
|
var Edge = /*#__PURE__*/function (_GeomBase) {
|
|
22
12
|
_inheritsLoose(Edge, _GeomBase);
|
|
23
13
|
|
|
24
|
-
var _super = _createSuper(Edge);
|
|
25
|
-
|
|
26
14
|
function Edge() {
|
|
27
15
|
return _GeomBase.apply(this, arguments) || this;
|
|
28
16
|
}
|
package/lib/geom/heatmap.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -33,8 +23,6 @@ var HEATMAP_SIZE = 'heatmapSize';
|
|
|
33
23
|
var Heatmap = /*#__PURE__*/function (_GeomBase) {
|
|
34
24
|
_inheritsLoose(Heatmap, _GeomBase);
|
|
35
25
|
|
|
36
|
-
var _super = _createSuper(Heatmap);
|
|
37
|
-
|
|
38
26
|
function Heatmap() {
|
|
39
27
|
return _GeomBase.apply(this, arguments) || this;
|
|
40
28
|
}
|
package/lib/geom/interval.js
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
1
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
2
|
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
3
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
4
|
|
|
13
5
|
/**
|
|
@@ -25,8 +17,6 @@ require('./shape/interval');
|
|
|
25
17
|
var Interval = /*#__PURE__*/function (_GeomBase) {
|
|
26
18
|
_inheritsLoose(Interval, _GeomBase);
|
|
27
19
|
|
|
28
|
-
var _super = _createSuper(Interval);
|
|
29
|
-
|
|
30
20
|
var _proto = Interval.prototype;
|
|
31
21
|
|
|
32
22
|
/**
|
|
@@ -70,8 +60,6 @@ var Interval = /*#__PURE__*/function (_GeomBase) {
|
|
|
70
60
|
var IntervalStack = /*#__PURE__*/function (_Interval) {
|
|
71
61
|
_inheritsLoose(IntervalStack, _Interval);
|
|
72
62
|
|
|
73
|
-
var _super2 = _createSuper(IntervalStack);
|
|
74
|
-
|
|
75
63
|
function IntervalStack() {
|
|
76
64
|
return _Interval.apply(this, arguments) || this;
|
|
77
65
|
}
|
|
@@ -94,8 +82,6 @@ var IntervalStack = /*#__PURE__*/function (_Interval) {
|
|
|
94
82
|
var IntervalDodge = /*#__PURE__*/function (_Interval2) {
|
|
95
83
|
_inheritsLoose(IntervalDodge, _Interval2);
|
|
96
84
|
|
|
97
|
-
var _super3 = _createSuper(IntervalDodge);
|
|
98
|
-
|
|
99
85
|
function IntervalDodge() {
|
|
100
86
|
return _Interval2.apply(this, arguments) || this;
|
|
101
87
|
}
|
|
@@ -118,8 +104,6 @@ var IntervalDodge = /*#__PURE__*/function (_Interval2) {
|
|
|
118
104
|
var IntervalSymmetric = /*#__PURE__*/function (_Interval3) {
|
|
119
105
|
_inheritsLoose(IntervalSymmetric, _Interval3);
|
|
120
106
|
|
|
121
|
-
var _super4 = _createSuper(IntervalSymmetric);
|
|
122
|
-
|
|
123
107
|
function IntervalSymmetric() {
|
|
124
108
|
return _Interval3.apply(this, arguments) || this;
|
|
125
109
|
}
|
package/lib/geom/line.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -23,8 +13,6 @@ require('./shape/line');
|
|
|
23
13
|
var Line = /*#__PURE__*/function (_Path) {
|
|
24
14
|
_inheritsLoose(Line, _Path);
|
|
25
15
|
|
|
26
|
-
var _super = _createSuper(Line);
|
|
27
|
-
|
|
28
16
|
function Line() {
|
|
29
17
|
return _Path.apply(this, arguments) || this;
|
|
30
18
|
}
|
|
@@ -50,8 +38,6 @@ var Line = /*#__PURE__*/function (_Path) {
|
|
|
50
38
|
var LineStack = /*#__PURE__*/function (_Line) {
|
|
51
39
|
_inheritsLoose(LineStack, _Line);
|
|
52
40
|
|
|
53
|
-
var _super2 = _createSuper(LineStack);
|
|
54
|
-
|
|
55
41
|
function LineStack() {
|
|
56
42
|
return _Line.apply(this, arguments) || this;
|
|
57
43
|
}
|
package/lib/geom/path.js
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
1
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
2
|
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
3
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
4
|
|
|
13
5
|
/**
|
|
@@ -23,8 +15,6 @@ var Util = require('../util');
|
|
|
23
15
|
var Path = /*#__PURE__*/function (_GeomBase) {
|
|
24
16
|
_inheritsLoose(Path, _GeomBase);
|
|
25
17
|
|
|
26
|
-
var _super = _createSuper(Path);
|
|
27
|
-
|
|
28
18
|
var _proto = Path.prototype;
|
|
29
19
|
|
|
30
20
|
/**
|
package/lib/geom/point.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -23,8 +13,6 @@ require('./shape/point');
|
|
|
23
13
|
var Point = /*#__PURE__*/function (_GeomBase) {
|
|
24
14
|
_inheritsLoose(Point, _GeomBase);
|
|
25
15
|
|
|
26
|
-
var _super = _createSuper(Point);
|
|
27
|
-
|
|
28
16
|
function Point() {
|
|
29
17
|
return _GeomBase.apply(this, arguments) || this;
|
|
30
18
|
}
|
|
@@ -77,8 +65,6 @@ var Point = /*#__PURE__*/function (_GeomBase) {
|
|
|
77
65
|
var PointJitter = /*#__PURE__*/function (_Point) {
|
|
78
66
|
_inheritsLoose(PointJitter, _Point);
|
|
79
67
|
|
|
80
|
-
var _super2 = _createSuper(PointJitter);
|
|
81
|
-
|
|
82
68
|
function PointJitter() {
|
|
83
69
|
return _Point.apply(this, arguments) || this;
|
|
84
70
|
}
|
|
@@ -101,8 +87,6 @@ var PointJitter = /*#__PURE__*/function (_Point) {
|
|
|
101
87
|
var PointStack = /*#__PURE__*/function (_Point2) {
|
|
102
88
|
_inheritsLoose(PointStack, _Point2);
|
|
103
89
|
|
|
104
|
-
var _super3 = _createSuper(PointStack);
|
|
105
|
-
|
|
106
90
|
function PointStack() {
|
|
107
91
|
return _Point2.apply(this, arguments) || this;
|
|
108
92
|
}
|
package/lib/geom/polygon.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -23,8 +13,6 @@ require('./shape/polygon');
|
|
|
23
13
|
var Polygon = /*#__PURE__*/function (_GeomBase) {
|
|
24
14
|
_inheritsLoose(Polygon, _GeomBase);
|
|
25
15
|
|
|
26
|
-
var _super = _createSuper(Polygon);
|
|
27
|
-
|
|
28
16
|
function Polygon() {
|
|
29
17
|
return _GeomBase.apply(this, arguments) || this;
|
|
30
18
|
}
|
package/lib/geom/schema.js
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
1
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
2
|
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
3
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
4
|
|
|
13
5
|
/**
|
|
@@ -25,8 +17,6 @@ require('./shape/schema');
|
|
|
25
17
|
var Schema = /*#__PURE__*/function (_GeomBase) {
|
|
26
18
|
_inheritsLoose(Schema, _GeomBase);
|
|
27
19
|
|
|
28
|
-
var _super = _createSuper(Schema);
|
|
29
|
-
|
|
30
20
|
var _proto = Schema.prototype;
|
|
31
21
|
|
|
32
22
|
/**
|
|
@@ -70,8 +60,6 @@ var Schema = /*#__PURE__*/function (_GeomBase) {
|
|
|
70
60
|
var SchemaDodge = /*#__PURE__*/function (_Schema) {
|
|
71
61
|
_inheritsLoose(SchemaDodge, _Schema);
|
|
72
62
|
|
|
73
|
-
var _super2 = _createSuper(SchemaDodge);
|
|
74
|
-
|
|
75
63
|
function SchemaDodge() {
|
|
76
64
|
return _Schema.apply(this, arguments) || this;
|
|
77
65
|
}
|
package/lib/geom/venn.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2
|
-
|
|
3
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
4
|
-
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
8
|
-
|
|
9
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10
|
-
|
|
11
1
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
12
2
|
|
|
13
3
|
/**
|
|
@@ -30,8 +20,6 @@ require('./shape/venn');
|
|
|
30
20
|
var Venn = /*#__PURE__*/function (_GeomBase) {
|
|
31
21
|
_inheritsLoose(Venn, _GeomBase);
|
|
32
22
|
|
|
33
|
-
var _super = _createSuper(Venn);
|
|
34
|
-
|
|
35
23
|
function Venn() {
|
|
36
24
|
return _GeomBase.apply(this, arguments) || this;
|
|
37
25
|
}
|