@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/CHANGELOG.md
CHANGED
package/build/g2-core.js
CHANGED
|
@@ -463,7 +463,7 @@ var Util = __webpack_require__(0);
|
|
|
463
463
|
var Theme = __webpack_require__(150);
|
|
464
464
|
|
|
465
465
|
var Global = {
|
|
466
|
-
version: '3.5.
|
|
466
|
+
version: '3.5.15',
|
|
467
467
|
renderer: 'canvas',
|
|
468
468
|
// trackable: false,
|
|
469
469
|
trackingInfo: {},
|
|
@@ -1281,16 +1281,8 @@ module.exports = {
|
|
|
1281
1281
|
/* 21 */
|
|
1282
1282
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1283
1283
|
|
|
1284
|
-
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); }; }
|
|
1285
|
-
|
|
1286
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1287
|
-
|
|
1288
1284
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1289
1285
|
|
|
1290
|
-
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; } }
|
|
1291
|
-
|
|
1292
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1293
|
-
|
|
1294
1286
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
1295
1287
|
|
|
1296
1288
|
/**
|
|
@@ -1346,8 +1338,6 @@ function parseAdjusts(adjusts) {
|
|
|
1346
1338
|
var GeomBase = /*#__PURE__*/function (_Base) {
|
|
1347
1339
|
_inheritsLoose(GeomBase, _Base);
|
|
1348
1340
|
|
|
1349
|
-
var _super = _createSuper(GeomBase);
|
|
1350
|
-
|
|
1351
1341
|
var _proto = GeomBase.prototype;
|
|
1352
1342
|
|
|
1353
1343
|
/**
|
|
@@ -16327,16 +16317,6 @@ module.exports = groupBy;
|
|
|
16327
16317
|
/* 146 */
|
|
16328
16318
|
/***/ (function(module, exports, __webpack_require__) {
|
|
16329
16319
|
|
|
16330
|
-
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); }; }
|
|
16331
|
-
|
|
16332
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
16333
|
-
|
|
16334
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
16335
|
-
|
|
16336
|
-
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; } }
|
|
16337
|
-
|
|
16338
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
16339
|
-
|
|
16340
16320
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
16341
16321
|
|
|
16342
16322
|
/**
|
|
@@ -16394,8 +16374,6 @@ function isEqualArray(arr1, arr2) {
|
|
|
16394
16374
|
var Chart = /*#__PURE__*/function (_View) {
|
|
16395
16375
|
_inheritsLoose(Chart, _View);
|
|
16396
16376
|
|
|
16397
|
-
var _super = _createSuper(Chart);
|
|
16398
|
-
|
|
16399
16377
|
function Chart() {
|
|
16400
16378
|
return _View.apply(this, arguments) || this;
|
|
16401
16379
|
}
|
|
@@ -17152,16 +17130,6 @@ module.exports = Chart;
|
|
|
17152
17130
|
/* 147 */
|
|
17153
17131
|
/***/ (function(module, exports, __webpack_require__) {
|
|
17154
17132
|
|
|
17155
|
-
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); }; }
|
|
17156
|
-
|
|
17157
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
17158
|
-
|
|
17159
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
17160
|
-
|
|
17161
|
-
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; } }
|
|
17162
|
-
|
|
17163
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
17164
|
-
|
|
17165
17133
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
17166
17134
|
|
|
17167
17135
|
/**
|
|
@@ -17175,8 +17143,6 @@ var Util = __webpack_require__(0);
|
|
|
17175
17143
|
var Base = /*#__PURE__*/function (_EventEmitter) {
|
|
17176
17144
|
_inheritsLoose(Base, _EventEmitter);
|
|
17177
17145
|
|
|
17178
|
-
var _super = _createSuper(Base);
|
|
17179
|
-
|
|
17180
17146
|
var _proto = Base.prototype;
|
|
17181
17147
|
|
|
17182
17148
|
_proto.getDefaultCfg = function getDefaultCfg() {
|
|
@@ -32770,16 +32736,8 @@ module.exports = {
|
|
|
32770
32736
|
/* 293 */
|
|
32771
32737
|
/***/ (function(module, exports, __webpack_require__) {
|
|
32772
32738
|
|
|
32773
|
-
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); }; }
|
|
32774
|
-
|
|
32775
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
32776
|
-
|
|
32777
32739
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
32778
32740
|
|
|
32779
|
-
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; } }
|
|
32780
|
-
|
|
32781
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
32782
|
-
|
|
32783
32741
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
32784
32742
|
|
|
32785
32743
|
/**
|
|
@@ -32855,8 +32813,6 @@ Util.each(Geom, function (geomConstructor, className) {
|
|
|
32855
32813
|
var View = /*#__PURE__*/function (_Base) {
|
|
32856
32814
|
_inheritsLoose(View, _Base);
|
|
32857
32815
|
|
|
32858
|
-
var _super = _createSuper(View);
|
|
32859
|
-
|
|
32860
32816
|
var _proto = View.prototype;
|
|
32861
32817
|
|
|
32862
32818
|
/**
|
|
@@ -43836,16 +43792,6 @@ module.exports = Guide;
|
|
|
43836
43792
|
/* 352 */
|
|
43837
43793
|
/***/ (function(module, exports, __webpack_require__) {
|
|
43838
43794
|
|
|
43839
|
-
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); }; }
|
|
43840
|
-
|
|
43841
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
43842
|
-
|
|
43843
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
43844
|
-
|
|
43845
|
-
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; } }
|
|
43846
|
-
|
|
43847
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
43848
|
-
|
|
43849
43795
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
43850
43796
|
|
|
43851
43797
|
var Util = __webpack_require__(0);
|
|
@@ -43858,8 +43804,6 @@ var _require = __webpack_require__(20),
|
|
|
43858
43804
|
var RegionFilter = /*#__PURE__*/function (_Guide) {
|
|
43859
43805
|
_inheritsLoose(RegionFilter, _Guide);
|
|
43860
43806
|
|
|
43861
|
-
var _super = _createSuper(RegionFilter);
|
|
43862
|
-
|
|
43863
43807
|
function RegionFilter() {
|
|
43864
43808
|
return _Guide.apply(this, arguments) || this;
|
|
43865
43809
|
}
|
|
@@ -45012,16 +44956,6 @@ module.exports = LegendController;
|
|
|
45012
44956
|
/* 354 */
|
|
45013
44957
|
/***/ (function(module, exports, __webpack_require__) {
|
|
45014
44958
|
|
|
45015
|
-
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); }; }
|
|
45016
|
-
|
|
45017
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
45018
|
-
|
|
45019
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
45020
|
-
|
|
45021
|
-
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; } }
|
|
45022
|
-
|
|
45023
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
45024
|
-
|
|
45025
44959
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
45026
44960
|
|
|
45027
44961
|
/**
|
|
@@ -45041,8 +44975,6 @@ var Category = Legend.Category;
|
|
|
45041
44975
|
var Tail = /*#__PURE__*/function (_Category) {
|
|
45042
44976
|
_inheritsLoose(Tail, _Category);
|
|
45043
44977
|
|
|
45044
|
-
var _super = _createSuper(Tail);
|
|
45045
|
-
|
|
45046
44978
|
function Tail() {
|
|
45047
44979
|
return _Category.apply(this, arguments) || this;
|
|
45048
44980
|
}
|
|
@@ -45333,7 +45265,7 @@ var MatrixUtil = Util.MatrixUtil;
|
|
|
45333
45265
|
var Vector2 = MatrixUtil.vec2;
|
|
45334
45266
|
var TYPE_SHOW_MARKERS = ['line', 'area', 'path', 'areaStack']; // 默认展示 tooltip marker 的几何图形
|
|
45335
45267
|
|
|
45336
|
-
var TYPE_SHOW_CROSSHAIRS = ['line', 'area']; // 默认展示十字瞄准线的几何图形
|
|
45268
|
+
var TYPE_SHOW_CROSSHAIRS = ['line', 'area', 'point']; // 默认展示十字瞄准线的几何图形
|
|
45337
45269
|
// TODO FIXME this is HARD CODING
|
|
45338
45270
|
|
|
45339
45271
|
var IGNORE_TOOLTIP_ITEM_PROPERTIES = ['marker', 'showMarker'];
|