@antv/component 0.3.7-beta.2 → 0.3.9
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/build/component.js +543 -318
- package/build/component.js.map +1 -1
- package/dist/component.min.js +1 -1
- package/lib/axis/base.js +13 -3
- package/lib/axis/circle.js +13 -3
- package/lib/axis/grid.js +23 -40
- package/lib/axis/helix.js +13 -3
- package/lib/axis/line.js +13 -3
- package/lib/axis/polyline.js +13 -3
- package/lib/base.js +11 -3
- package/lib/component.js +13 -3
- package/lib/guide/arc.js +13 -3
- package/lib/guide/base.js +13 -3
- package/lib/guide/data-marker.js +13 -3
- package/lib/guide/data-region.js +13 -3
- package/lib/guide/html.js +13 -3
- package/lib/guide/image.js +13 -3
- package/lib/guide/line.js +13 -3
- package/lib/guide/region.js +13 -3
- package/lib/guide/text.js +13 -3
- package/lib/label/base.js +13 -3
- package/lib/label/utils/greedy.js +1 -3
- package/lib/label/utils/simulate-anneal.js +13 -3
- package/lib/legend/base.js +13 -3
- package/lib/legend/cat-html.js +13 -3
- package/lib/legend/cat-page-html.js +13 -3
- package/lib/legend/category.js +13 -3
- package/lib/legend/color.js +13 -3
- package/lib/legend/continuous.js +13 -3
- package/lib/legend/size-circle.js +13 -3
- package/lib/legend/size.js +13 -3
- package/lib/legend/slider.js +47 -72
- package/lib/tooltip/base.js +13 -3
- package/lib/tooltip/canvas.js +11 -3
- package/lib/tooltip/crosshair.js +13 -3
- package/lib/tooltip/html.js +11 -4
- package/lib/tooltip/mini.js +13 -3
- package/lib/tooltip/mixin/marker-group.js +14 -10
- package/package.json +1 -1
- package/src/axis/grid.js +15 -10
- package/src/legend/slider.js +22 -18
- package/src/tooltip/html.js +0 -1
- package/src/tooltip/mixin/marker-group.js +13 -10
package/lib/axis/base.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Component = require('../component');
|
|
@@ -11,11 +21,11 @@ var Label = require('../label/base');
|
|
|
11
21
|
var _require = require('../const'),
|
|
12
22
|
FONT_FAMILY = _require.FONT_FAMILY;
|
|
13
23
|
|
|
14
|
-
var Axis =
|
|
15
|
-
/*#__PURE__*/
|
|
16
|
-
function (_Component) {
|
|
24
|
+
var Axis = /*#__PURE__*/function (_Component) {
|
|
17
25
|
_inheritsLoose(Axis, _Component);
|
|
18
26
|
|
|
27
|
+
var _super = _createSuper(Axis);
|
|
28
|
+
|
|
19
29
|
function Axis() {
|
|
20
30
|
return _Component.apply(this, arguments) || this;
|
|
21
31
|
}
|
package/lib/axis/circle.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Util = require('../util');
|
|
@@ -6,11 +16,11 @@ var Base = require('./base');
|
|
|
6
16
|
|
|
7
17
|
var vec2 = Util.MatrixUtil.vec2;
|
|
8
18
|
|
|
9
|
-
var Circle =
|
|
10
|
-
/*#__PURE__*/
|
|
11
|
-
function (_Base) {
|
|
19
|
+
var Circle = /*#__PURE__*/function (_Base) {
|
|
12
20
|
_inheritsLoose(Circle, _Base);
|
|
13
21
|
|
|
22
|
+
var _super = _createSuper(Circle);
|
|
23
|
+
|
|
14
24
|
function Circle() {
|
|
15
25
|
return _Base.apply(this, arguments) || this;
|
|
16
26
|
}
|
package/lib/axis/grid.js
CHANGED
|
@@ -1,22 +1,15 @@
|
|
|
1
|
-
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
|
-
|
|
3
1
|
var _require = require('@antv/g/lib'),
|
|
4
2
|
Group = _require.Group;
|
|
5
3
|
|
|
6
4
|
var Util = require('../util');
|
|
7
5
|
|
|
8
|
-
var Grid =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_inheritsLoose(Grid, _Group);
|
|
12
|
-
|
|
13
|
-
function Grid() {
|
|
14
|
-
return _Group.apply(this, arguments) || this;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
var _proto = Grid.prototype;
|
|
6
|
+
var Grid = function Grid(cfg) {
|
|
7
|
+
Grid.superclass.constructor.call(this, cfg);
|
|
8
|
+
};
|
|
18
9
|
|
|
19
|
-
|
|
10
|
+
Util.extend(Grid, Group);
|
|
11
|
+
Util.augment(Grid, {
|
|
12
|
+
getDefaultCfg: function getDefaultCfg() {
|
|
20
13
|
// const cfg = super.getDefaultCfg();
|
|
21
14
|
return {
|
|
22
15
|
zIndex: 1,
|
|
@@ -75,15 +68,13 @@ function (_Group) {
|
|
|
75
68
|
lineDash: [0, 0]
|
|
76
69
|
}
|
|
77
70
|
};
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
_Group.prototype._renderUI.call(this);
|
|
71
|
+
},
|
|
72
|
+
_renderUI: function _renderUI() {
|
|
73
|
+
Grid.superclass._renderUI.call(this);
|
|
82
74
|
|
|
83
75
|
this._drawLines();
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
_proto._drawLines = function _drawLines() {
|
|
76
|
+
},
|
|
77
|
+
_drawLines: function _drawLines() {
|
|
87
78
|
var self = this;
|
|
88
79
|
var lineStyle = self.get('lineStyle');
|
|
89
80
|
var items = self.get('items');
|
|
@@ -93,9 +84,8 @@ function (_Group) {
|
|
|
93
84
|
|
|
94
85
|
self._drawGridLines(items, lineStyle);
|
|
95
86
|
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
_proto._precessItems = function _precessItems(items) {
|
|
87
|
+
},
|
|
88
|
+
_precessItems: function _precessItems(items) {
|
|
99
89
|
var self = this;
|
|
100
90
|
var preItem;
|
|
101
91
|
Util.each(items, function (item, index) {
|
|
@@ -105,9 +95,8 @@ function (_Group) {
|
|
|
105
95
|
|
|
106
96
|
preItem = item;
|
|
107
97
|
});
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
_proto._drawGridLines = function _drawGridLines(items, lineStyle) {
|
|
98
|
+
},
|
|
99
|
+
_drawGridLines: function _drawGridLines(items, lineStyle) {
|
|
111
100
|
var self = this;
|
|
112
101
|
var type = this.get('type');
|
|
113
102
|
var gridLine;
|
|
@@ -197,9 +186,8 @@ function (_Group) {
|
|
|
197
186
|
self.get('appendInfo') && gridLine.setSilent('appendInfo', self.get('appendInfo'));
|
|
198
187
|
});
|
|
199
188
|
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
_proto._drawZeroLine = function _drawZeroLine(type, idx) {
|
|
189
|
+
},
|
|
190
|
+
_drawZeroLine: function _drawZeroLine(type, idx) {
|
|
203
191
|
var self = this;
|
|
204
192
|
var tickValues = self.get('tickValues');
|
|
205
193
|
|
|
@@ -210,9 +198,8 @@ function (_Group) {
|
|
|
210
198
|
}
|
|
211
199
|
|
|
212
200
|
return false;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
_proto._drawAlternativeBg = function _drawAlternativeBg(item, preItem, index) {
|
|
201
|
+
},
|
|
202
|
+
_drawAlternativeBg: function _drawAlternativeBg(item, preItem, index) {
|
|
216
203
|
var self = this;
|
|
217
204
|
var alternateColor = self.get('alternateColor');
|
|
218
205
|
var attrs;
|
|
@@ -241,9 +228,8 @@ function (_Group) {
|
|
|
241
228
|
shape._id = item._id && item._id.replace('grid', 'grid-rect');
|
|
242
229
|
shape.set('coord', self.get('coord'));
|
|
243
230
|
self.get('appendInfo') && shape.setSilent('appendInfo', self.get('appendInfo'));
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
_proto._getBackItem = function _getBackItem(start, end, bgColor) {
|
|
231
|
+
},
|
|
232
|
+
_getBackItem: function _getBackItem(start, end, bgColor) {
|
|
247
233
|
var path = [];
|
|
248
234
|
var type = this.get('type');
|
|
249
235
|
|
|
@@ -295,9 +281,6 @@ function (_Group) {
|
|
|
295
281
|
fill: bgColor,
|
|
296
282
|
path: path
|
|
297
283
|
};
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
return Grid;
|
|
301
|
-
}(Group);
|
|
302
|
-
|
|
284
|
+
}
|
|
285
|
+
});
|
|
303
286
|
module.exports = Grid;
|
package/lib/axis/helix.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Util = require('../util');
|
|
@@ -8,11 +18,11 @@ var MatrixUtil = Util.MatrixUtil,
|
|
|
8
18
|
PathUtil = Util.PathUtil;
|
|
9
19
|
var vec2 = MatrixUtil.vec2;
|
|
10
20
|
|
|
11
|
-
var Helix =
|
|
12
|
-
/*#__PURE__*/
|
|
13
|
-
function (_Base) {
|
|
21
|
+
var Helix = /*#__PURE__*/function (_Base) {
|
|
14
22
|
_inheritsLoose(Helix, _Base);
|
|
15
23
|
|
|
24
|
+
var _super = _createSuper(Helix);
|
|
25
|
+
|
|
16
26
|
function Helix() {
|
|
17
27
|
return _Base.apply(this, arguments) || this;
|
|
18
28
|
}
|
package/lib/axis/line.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Base = require('./base');
|
|
@@ -7,11 +17,11 @@ var Util = require('../util');
|
|
|
7
17
|
var MatrixUtil = Util.MatrixUtil;
|
|
8
18
|
var vec2 = MatrixUtil.vec2;
|
|
9
19
|
|
|
10
|
-
var Line =
|
|
11
|
-
/*#__PURE__*/
|
|
12
|
-
function (_Base) {
|
|
20
|
+
var Line = /*#__PURE__*/function (_Base) {
|
|
13
21
|
_inheritsLoose(Line, _Base);
|
|
14
22
|
|
|
23
|
+
var _super = _createSuper(Line);
|
|
24
|
+
|
|
15
25
|
function Line() {
|
|
16
26
|
return _Base.apply(this, arguments) || this;
|
|
17
27
|
}
|
package/lib/axis/polyline.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Util = require('../util');
|
|
@@ -8,11 +18,11 @@ var MatrixUtil = Util.MatrixUtil,
|
|
|
8
18
|
PathUtil = Util.PathUtil;
|
|
9
19
|
var vec2 = MatrixUtil.vec2;
|
|
10
20
|
|
|
11
|
-
var Polyline =
|
|
12
|
-
/*#__PURE__*/
|
|
13
|
-
function (_Base) {
|
|
21
|
+
var Polyline = /*#__PURE__*/function (_Base) {
|
|
14
22
|
_inheritsLoose(Polyline, _Base);
|
|
15
23
|
|
|
24
|
+
var _super = _createSuper(Polyline);
|
|
25
|
+
|
|
16
26
|
function Polyline() {
|
|
17
27
|
return _Base.apply(this, arguments) || this;
|
|
18
28
|
}
|
package/lib/base.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
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
|
+
|
|
1
5
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
2
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
|
+
|
|
3
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
4
12
|
|
|
5
13
|
/**
|
|
@@ -10,11 +18,11 @@ var EventEmitter = require('wolfy87-eventemitter');
|
|
|
10
18
|
|
|
11
19
|
var Util = require('./util');
|
|
12
20
|
|
|
13
|
-
var Base =
|
|
14
|
-
/*#__PURE__*/
|
|
15
|
-
function (_EventEmitter) {
|
|
21
|
+
var Base = /*#__PURE__*/function (_EventEmitter) {
|
|
16
22
|
_inheritsLoose(Base, _EventEmitter);
|
|
17
23
|
|
|
24
|
+
var _super = _createSuper(Base);
|
|
25
|
+
|
|
18
26
|
var _proto = Base.prototype;
|
|
19
27
|
|
|
20
28
|
_proto.getDefaultCfg = function getDefaultCfg() {
|
package/lib/component.js
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Base = require('./base');
|
|
4
14
|
|
|
5
|
-
var Component =
|
|
6
|
-
/*#__PURE__*/
|
|
7
|
-
function (_Base) {
|
|
15
|
+
var Component = /*#__PURE__*/function (_Base) {
|
|
8
16
|
_inheritsLoose(Component, _Base);
|
|
9
17
|
|
|
18
|
+
var _super = _createSuper(Component);
|
|
19
|
+
|
|
10
20
|
function Component() {
|
|
11
21
|
return _Base.apply(this, arguments) || this;
|
|
12
22
|
}
|
package/lib/guide/arc.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Util = require('../util');
|
|
@@ -31,11 +41,11 @@ function calculateAngle(point, center) {
|
|
|
31
41
|
return deg;
|
|
32
42
|
}
|
|
33
43
|
|
|
34
|
-
var Arc =
|
|
35
|
-
/*#__PURE__*/
|
|
36
|
-
function (_Guide) {
|
|
44
|
+
var Arc = /*#__PURE__*/function (_Guide) {
|
|
37
45
|
_inheritsLoose(Arc, _Guide);
|
|
38
46
|
|
|
47
|
+
var _super = _createSuper(Arc);
|
|
48
|
+
|
|
39
49
|
function Arc() {
|
|
40
50
|
return _Guide.apply(this, arguments) || this;
|
|
41
51
|
}
|
package/lib/guide/base.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Util = require('../util');
|
|
@@ -8,11 +18,11 @@ var Component = require('../component');
|
|
|
8
18
|
|
|
9
19
|
var KEYWORDS = ['min', 'max', 'median', 'start', 'end'];
|
|
10
20
|
|
|
11
|
-
var Guide =
|
|
12
|
-
/*#__PURE__*/
|
|
13
|
-
function (_Component) {
|
|
21
|
+
var Guide = /*#__PURE__*/function (_Component) {
|
|
14
22
|
_inheritsLoose(Guide, _Component);
|
|
15
23
|
|
|
24
|
+
var _super = _createSuper(Guide);
|
|
25
|
+
|
|
16
26
|
function Guide() {
|
|
17
27
|
return _Component.apply(this, arguments) || this;
|
|
18
28
|
}
|
package/lib/guide/data-marker.js
CHANGED
|
@@ -1,14 +1,24 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Util = require('../util');
|
|
4
14
|
|
|
5
15
|
var Guide = require('./base');
|
|
6
16
|
|
|
7
|
-
var DataMarker =
|
|
8
|
-
/*#__PURE__*/
|
|
9
|
-
function (_Guide) {
|
|
17
|
+
var DataMarker = /*#__PURE__*/function (_Guide) {
|
|
10
18
|
_inheritsLoose(DataMarker, _Guide);
|
|
11
19
|
|
|
20
|
+
var _super = _createSuper(DataMarker);
|
|
21
|
+
|
|
12
22
|
function DataMarker() {
|
|
13
23
|
return _Guide.apply(this, arguments) || this;
|
|
14
24
|
}
|
package/lib/guide/data-region.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Util = require('../util');
|
|
@@ -6,11 +16,11 @@ var Helper = require('./util/helper');
|
|
|
6
16
|
|
|
7
17
|
var Guide = require('./base');
|
|
8
18
|
|
|
9
|
-
var DataRegion =
|
|
10
|
-
/*#__PURE__*/
|
|
11
|
-
function (_Guide) {
|
|
19
|
+
var DataRegion = /*#__PURE__*/function (_Guide) {
|
|
12
20
|
_inheritsLoose(DataRegion, _Guide);
|
|
13
21
|
|
|
22
|
+
var _super = _createSuper(DataRegion);
|
|
23
|
+
|
|
14
24
|
function DataRegion() {
|
|
15
25
|
return _Guide.apply(this, arguments) || this;
|
|
16
26
|
}
|
package/lib/guide/html.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Util = require('../util');
|
|
@@ -6,11 +16,11 @@ var DomUtil = Util.DomUtil;
|
|
|
6
16
|
|
|
7
17
|
var Guide = require('./base');
|
|
8
18
|
|
|
9
|
-
var Html =
|
|
10
|
-
/*#__PURE__*/
|
|
11
|
-
function (_Guide) {
|
|
19
|
+
var Html = /*#__PURE__*/function (_Guide) {
|
|
12
20
|
_inheritsLoose(Html, _Guide);
|
|
13
21
|
|
|
22
|
+
var _super = _createSuper(Html);
|
|
23
|
+
|
|
14
24
|
function Html() {
|
|
15
25
|
return _Guide.apply(this, arguments) || this;
|
|
16
26
|
}
|
package/lib/guide/image.js
CHANGED
|
@@ -1,14 +1,24 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Util = require('../util');
|
|
4
14
|
|
|
5
15
|
var Guide = require('./base');
|
|
6
16
|
|
|
7
|
-
var Image =
|
|
8
|
-
/*#__PURE__*/
|
|
9
|
-
function (_Guide) {
|
|
17
|
+
var Image = /*#__PURE__*/function (_Guide) {
|
|
10
18
|
_inheritsLoose(Image, _Guide);
|
|
11
19
|
|
|
20
|
+
var _super = _createSuper(Image);
|
|
21
|
+
|
|
12
22
|
function Image() {
|
|
13
23
|
return _Guide.apply(this, arguments) || this;
|
|
14
24
|
}
|
package/lib/guide/line.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Util = require('../util');
|
|
@@ -9,11 +19,11 @@ var vec2 = Util.MatrixUtil.vec2;
|
|
|
9
19
|
var _require = require('../const'),
|
|
10
20
|
FONT_FAMILY = _require.FONT_FAMILY;
|
|
11
21
|
|
|
12
|
-
var Line =
|
|
13
|
-
/*#__PURE__*/
|
|
14
|
-
function (_Guide) {
|
|
22
|
+
var Line = /*#__PURE__*/function (_Guide) {
|
|
15
23
|
_inheritsLoose(Line, _Guide);
|
|
16
24
|
|
|
25
|
+
var _super = _createSuper(Line);
|
|
26
|
+
|
|
17
27
|
function Line() {
|
|
18
28
|
return _Guide.apply(this, arguments) || this;
|
|
19
29
|
}
|
package/lib/guide/region.js
CHANGED
|
@@ -1,14 +1,24 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Util = require('../util');
|
|
4
14
|
|
|
5
15
|
var Guide = require('./base');
|
|
6
16
|
|
|
7
|
-
var Region =
|
|
8
|
-
/*#__PURE__*/
|
|
9
|
-
function (_Guide) {
|
|
17
|
+
var Region = /*#__PURE__*/function (_Guide) {
|
|
10
18
|
_inheritsLoose(Region, _Guide);
|
|
11
19
|
|
|
20
|
+
var _super = _createSuper(Region);
|
|
21
|
+
|
|
12
22
|
function Region() {
|
|
13
23
|
return _Guide.apply(this, arguments) || this;
|
|
14
24
|
}
|
package/lib/guide/text.js
CHANGED
|
@@ -1,14 +1,24 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Util = require('../util');
|
|
4
14
|
|
|
5
15
|
var Guide = require('./base');
|
|
6
16
|
|
|
7
|
-
var Text =
|
|
8
|
-
/*#__PURE__*/
|
|
9
|
-
function (_Guide) {
|
|
17
|
+
var Text = /*#__PURE__*/function (_Guide) {
|
|
10
18
|
_inheritsLoose(Text, _Guide);
|
|
11
19
|
|
|
20
|
+
var _super = _createSuper(Text);
|
|
21
|
+
|
|
12
22
|
function Text() {
|
|
13
23
|
return _Guide.apply(this, arguments) || this;
|
|
14
24
|
}
|
package/lib/label/base.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
|
|
1
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
2
12
|
|
|
3
13
|
var Util = require('../util');
|
|
@@ -18,11 +28,11 @@ var LAYOUTS = {
|
|
|
18
28
|
treemap: bboxAdjust
|
|
19
29
|
};
|
|
20
30
|
|
|
21
|
-
var Label =
|
|
22
|
-
/*#__PURE__*/
|
|
23
|
-
function (_Component) {
|
|
31
|
+
var Label = /*#__PURE__*/function (_Component) {
|
|
24
32
|
_inheritsLoose(Label, _Component);
|
|
25
33
|
|
|
34
|
+
var _super = _createSuper(Label);
|
|
35
|
+
|
|
26
36
|
function Label() {
|
|
27
37
|
return _Component.apply(this, arguments) || this;
|
|
28
38
|
}
|