@antv/g2 3.5.12 → 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 +1787 -354
- package/build/g2-core.js.map +1 -1
- package/build/g2-simple.js +1797 -384
- package/build/g2-simple.js.map +1 -1
- package/build/g2.js +1821 -456
- 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 +1 -3
- package/lib/chart/chart.js +1 -3
- package/lib/chart/controller/axis.js +1 -3
- package/lib/chart/controller/coord.js +1 -3
- package/lib/chart/controller/event.js +1 -3
- package/lib/chart/controller/guide.js +1 -3
- package/lib/chart/controller/legend.js +1 -3
- package/lib/chart/controller/scale.js +2 -4
- package/lib/chart/controller/tooltip.js +2 -4
- package/lib/chart/view.js +1 -3
- package/lib/component/guide/region-filter.js +1 -3
- package/lib/component/legend/tail.js +1 -3
- package/lib/component/tooltip/index.js +1 -3
- package/lib/facet/base.js +1 -3
- package/lib/facet/circle.js +1 -3
- package/lib/facet/list.js +1 -3
- package/lib/facet/matrix.js +1 -3
- package/lib/facet/mirror.js +1 -3
- package/lib/facet/rect.js +1 -3
- package/lib/facet/tree.js +1 -3
- package/lib/geom/area.js +2 -6
- package/lib/geom/base.js +1 -3
- package/lib/geom/edge.js +1 -3
- package/lib/geom/heatmap.js +1 -3
- package/lib/geom/interval.js +4 -12
- package/lib/geom/line.js +2 -6
- package/lib/geom/path.js +1 -3
- package/lib/geom/point.js +3 -9
- package/lib/geom/polygon.js +1 -3
- package/lib/geom/schema.js +2 -6
- package/lib/geom/venn.js +1 -3
- package/lib/geom/violin.js +2 -6
- package/lib/global.js +1 -1
- package/lib/interaction/base.js +1 -3
- package/lib/interaction/brush.js +1 -3
- package/lib/interaction/drag.js +1 -3
- package/lib/interaction/scroll-bar.js +1 -3
- package/lib/interaction/shape-select.js +1 -3
- package/lib/interaction/slider.js +1 -3
- package/lib/interaction/zoom.js +1 -3
- package/package.json +1 -1
- package/src/chart/controller/scale.js +1 -1
- package/src/chart/controller/tooltip.js +1 -1
- package/src/global.js +1 -1
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: {},
|
|
@@ -607,6 +607,59 @@ module.exports = {
|
|
|
607
607
|
/* 15 */
|
|
608
608
|
/***/ (function(module, exports, __webpack_require__) {
|
|
609
609
|
|
|
610
|
+
function _createSuper(Derived) {
|
|
611
|
+
return function () {
|
|
612
|
+
var Super = _getPrototypeOf(Derived),
|
|
613
|
+
result;
|
|
614
|
+
|
|
615
|
+
if (_isNativeReflectConstruct()) {
|
|
616
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
617
|
+
|
|
618
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
619
|
+
} else {
|
|
620
|
+
result = Super.apply(this, arguments);
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
return _possibleConstructorReturn(this, result);
|
|
624
|
+
};
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
function _possibleConstructorReturn(self, call) {
|
|
628
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
629
|
+
return call;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
return _assertThisInitialized(self);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
function _assertThisInitialized(self) {
|
|
636
|
+
if (self === void 0) {
|
|
637
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
return self;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
function _isNativeReflectConstruct() {
|
|
644
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
645
|
+
if (Reflect.construct.sham) return false;
|
|
646
|
+
if (typeof Proxy === "function") return true;
|
|
647
|
+
|
|
648
|
+
try {
|
|
649
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
650
|
+
return true;
|
|
651
|
+
} catch (e) {
|
|
652
|
+
return false;
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
function _getPrototypeOf(o) {
|
|
657
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
658
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
659
|
+
};
|
|
660
|
+
return _getPrototypeOf(o);
|
|
661
|
+
}
|
|
662
|
+
|
|
610
663
|
function _inheritsLoose(subClass, superClass) {
|
|
611
664
|
subClass.prototype = Object.create(superClass.prototype);
|
|
612
665
|
subClass.prototype.constructor = subClass;
|
|
@@ -621,11 +674,11 @@ var Component = __webpack_require__(32);
|
|
|
621
674
|
|
|
622
675
|
var KEYWORDS = ['min', 'max', 'median', 'start', 'end'];
|
|
623
676
|
|
|
624
|
-
var Guide =
|
|
625
|
-
/*#__PURE__*/
|
|
626
|
-
function (_Component) {
|
|
677
|
+
var Guide = /*#__PURE__*/function (_Component) {
|
|
627
678
|
_inheritsLoose(Guide, _Component);
|
|
628
679
|
|
|
680
|
+
var _super = _createSuper(Guide);
|
|
681
|
+
|
|
629
682
|
function Guide() {
|
|
630
683
|
return _Component.apply(this, arguments) || this;
|
|
631
684
|
}
|
|
@@ -834,9 +887,7 @@ var isObject = __webpack_require__(25);
|
|
|
834
887
|
|
|
835
888
|
var isNil = __webpack_require__(5);
|
|
836
889
|
|
|
837
|
-
var Scale =
|
|
838
|
-
/*#__PURE__*/
|
|
839
|
-
function () {
|
|
890
|
+
var Scale = /*#__PURE__*/function () {
|
|
840
891
|
var _proto = Scale.prototype;
|
|
841
892
|
|
|
842
893
|
_proto._initDefaultCfg = function _initDefaultCfg() {
|
|
@@ -1284,9 +1335,7 @@ function parseAdjusts(adjusts) {
|
|
|
1284
1335
|
*/
|
|
1285
1336
|
|
|
1286
1337
|
|
|
1287
|
-
var GeomBase =
|
|
1288
|
-
/*#__PURE__*/
|
|
1289
|
-
function (_Base) {
|
|
1338
|
+
var GeomBase = /*#__PURE__*/function (_Base) {
|
|
1290
1339
|
_inheritsLoose(GeomBase, _Base);
|
|
1291
1340
|
|
|
1292
1341
|
var _proto = GeomBase.prototype;
|
|
@@ -3125,9 +3174,7 @@ function toScaleString(scale, value) {
|
|
|
3125
3174
|
*/
|
|
3126
3175
|
|
|
3127
3176
|
|
|
3128
|
-
var AttributeBase =
|
|
3129
|
-
/*#__PURE__*/
|
|
3130
|
-
function () {
|
|
3177
|
+
var AttributeBase = /*#__PURE__*/function () {
|
|
3131
3178
|
function AttributeBase(cfg) {
|
|
3132
3179
|
var _this = this;
|
|
3133
3180
|
/**
|
|
@@ -3358,9 +3405,7 @@ module.exports = AttributeBase;
|
|
|
3358
3405
|
|
|
3359
3406
|
var mix = __webpack_require__(8);
|
|
3360
3407
|
|
|
3361
|
-
var Adjust =
|
|
3362
|
-
/*#__PURE__*/
|
|
3363
|
-
function () {
|
|
3408
|
+
var Adjust = /*#__PURE__*/function () {
|
|
3364
3409
|
var _proto = Adjust.prototype;
|
|
3365
3410
|
|
|
3366
3411
|
_proto._initDefaultCfg = function _initDefaultCfg() {
|
|
@@ -3390,6 +3435,59 @@ module.exports = Adjust;
|
|
|
3390
3435
|
/* 31 */
|
|
3391
3436
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3392
3437
|
|
|
3438
|
+
function _createSuper(Derived) {
|
|
3439
|
+
return function () {
|
|
3440
|
+
var Super = _getPrototypeOf(Derived),
|
|
3441
|
+
result;
|
|
3442
|
+
|
|
3443
|
+
if (_isNativeReflectConstruct()) {
|
|
3444
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
3445
|
+
|
|
3446
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
3447
|
+
} else {
|
|
3448
|
+
result = Super.apply(this, arguments);
|
|
3449
|
+
}
|
|
3450
|
+
|
|
3451
|
+
return _possibleConstructorReturn(this, result);
|
|
3452
|
+
};
|
|
3453
|
+
}
|
|
3454
|
+
|
|
3455
|
+
function _possibleConstructorReturn(self, call) {
|
|
3456
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
3457
|
+
return call;
|
|
3458
|
+
}
|
|
3459
|
+
|
|
3460
|
+
return _assertThisInitialized(self);
|
|
3461
|
+
}
|
|
3462
|
+
|
|
3463
|
+
function _assertThisInitialized(self) {
|
|
3464
|
+
if (self === void 0) {
|
|
3465
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3466
|
+
}
|
|
3467
|
+
|
|
3468
|
+
return self;
|
|
3469
|
+
}
|
|
3470
|
+
|
|
3471
|
+
function _isNativeReflectConstruct() {
|
|
3472
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
3473
|
+
if (Reflect.construct.sham) return false;
|
|
3474
|
+
if (typeof Proxy === "function") return true;
|
|
3475
|
+
|
|
3476
|
+
try {
|
|
3477
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
3478
|
+
return true;
|
|
3479
|
+
} catch (e) {
|
|
3480
|
+
return false;
|
|
3481
|
+
}
|
|
3482
|
+
}
|
|
3483
|
+
|
|
3484
|
+
function _getPrototypeOf(o) {
|
|
3485
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
3486
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
3487
|
+
};
|
|
3488
|
+
return _getPrototypeOf(o);
|
|
3489
|
+
}
|
|
3490
|
+
|
|
3393
3491
|
function _inheritsLoose(subClass, superClass) {
|
|
3394
3492
|
subClass.prototype = Object.create(superClass.prototype);
|
|
3395
3493
|
subClass.prototype.constructor = subClass;
|
|
@@ -3407,11 +3505,11 @@ var Label = __webpack_require__(153);
|
|
|
3407
3505
|
var _require = __webpack_require__(14),
|
|
3408
3506
|
FONT_FAMILY = _require.FONT_FAMILY;
|
|
3409
3507
|
|
|
3410
|
-
var Axis =
|
|
3411
|
-
/*#__PURE__*/
|
|
3412
|
-
function (_Component) {
|
|
3508
|
+
var Axis = /*#__PURE__*/function (_Component) {
|
|
3413
3509
|
_inheritsLoose(Axis, _Component);
|
|
3414
3510
|
|
|
3511
|
+
var _super = _createSuper(Axis);
|
|
3512
|
+
|
|
3415
3513
|
function Axis() {
|
|
3416
3514
|
return _Component.apply(this, arguments) || this;
|
|
3417
3515
|
}
|
|
@@ -4038,6 +4136,59 @@ module.exports = Axis;
|
|
|
4038
4136
|
/* 32 */
|
|
4039
4137
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4040
4138
|
|
|
4139
|
+
function _createSuper(Derived) {
|
|
4140
|
+
return function () {
|
|
4141
|
+
var Super = _getPrototypeOf(Derived),
|
|
4142
|
+
result;
|
|
4143
|
+
|
|
4144
|
+
if (_isNativeReflectConstruct()) {
|
|
4145
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
4146
|
+
|
|
4147
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
4148
|
+
} else {
|
|
4149
|
+
result = Super.apply(this, arguments);
|
|
4150
|
+
}
|
|
4151
|
+
|
|
4152
|
+
return _possibleConstructorReturn(this, result);
|
|
4153
|
+
};
|
|
4154
|
+
}
|
|
4155
|
+
|
|
4156
|
+
function _possibleConstructorReturn(self, call) {
|
|
4157
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
4158
|
+
return call;
|
|
4159
|
+
}
|
|
4160
|
+
|
|
4161
|
+
return _assertThisInitialized(self);
|
|
4162
|
+
}
|
|
4163
|
+
|
|
4164
|
+
function _assertThisInitialized(self) {
|
|
4165
|
+
if (self === void 0) {
|
|
4166
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4167
|
+
}
|
|
4168
|
+
|
|
4169
|
+
return self;
|
|
4170
|
+
}
|
|
4171
|
+
|
|
4172
|
+
function _isNativeReflectConstruct() {
|
|
4173
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
4174
|
+
if (Reflect.construct.sham) return false;
|
|
4175
|
+
if (typeof Proxy === "function") return true;
|
|
4176
|
+
|
|
4177
|
+
try {
|
|
4178
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
4179
|
+
return true;
|
|
4180
|
+
} catch (e) {
|
|
4181
|
+
return false;
|
|
4182
|
+
}
|
|
4183
|
+
}
|
|
4184
|
+
|
|
4185
|
+
function _getPrototypeOf(o) {
|
|
4186
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
4187
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
4188
|
+
};
|
|
4189
|
+
return _getPrototypeOf(o);
|
|
4190
|
+
}
|
|
4191
|
+
|
|
4041
4192
|
function _inheritsLoose(subClass, superClass) {
|
|
4042
4193
|
subClass.prototype = Object.create(superClass.prototype);
|
|
4043
4194
|
subClass.prototype.constructor = subClass;
|
|
@@ -4046,11 +4197,11 @@ function _inheritsLoose(subClass, superClass) {
|
|
|
4046
4197
|
|
|
4047
4198
|
var Base = __webpack_require__(67);
|
|
4048
4199
|
|
|
4049
|
-
var Component =
|
|
4050
|
-
/*#__PURE__*/
|
|
4051
|
-
function (_Base) {
|
|
4200
|
+
var Component = /*#__PURE__*/function (_Base) {
|
|
4052
4201
|
_inheritsLoose(Component, _Base);
|
|
4053
4202
|
|
|
4203
|
+
var _super = _createSuper(Component);
|
|
4204
|
+
|
|
4054
4205
|
function Component() {
|
|
4055
4206
|
return _Base.apply(this, arguments) || this;
|
|
4056
4207
|
}
|
|
@@ -4153,9 +4304,7 @@ var numberAuto = __webpack_require__(175);
|
|
|
4153
4304
|
*/
|
|
4154
4305
|
|
|
4155
4306
|
|
|
4156
|
-
var Linear =
|
|
4157
|
-
/*#__PURE__*/
|
|
4158
|
-
function (_Base) {
|
|
4307
|
+
var Linear = /*#__PURE__*/function (_Base) {
|
|
4159
4308
|
_inheritsLoose(Linear, _Base);
|
|
4160
4309
|
|
|
4161
4310
|
function Linear() {
|
|
@@ -5569,9 +5718,7 @@ var mix = __webpack_require__(8);
|
|
|
5569
5718
|
var mat3 = MatrixUtil.mat3;
|
|
5570
5719
|
var vec3 = MatrixUtil.vec3;
|
|
5571
5720
|
|
|
5572
|
-
var Coord =
|
|
5573
|
-
/*#__PURE__*/
|
|
5574
|
-
function () {
|
|
5721
|
+
var Coord = /*#__PURE__*/function () {
|
|
5575
5722
|
_createClass(Coord, [{
|
|
5576
5723
|
key: "getDefaultCfg",
|
|
5577
5724
|
|
|
@@ -9729,6 +9876,31 @@ module.exports = GeomLabels;
|
|
|
9729
9876
|
/* 67 */
|
|
9730
9877
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9731
9878
|
|
|
9879
|
+
function _createSuper(Derived) {
|
|
9880
|
+
return function () {
|
|
9881
|
+
var Super = _getPrototypeOf(Derived),
|
|
9882
|
+
result;
|
|
9883
|
+
|
|
9884
|
+
if (_isNativeReflectConstruct()) {
|
|
9885
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
9886
|
+
|
|
9887
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
9888
|
+
} else {
|
|
9889
|
+
result = Super.apply(this, arguments);
|
|
9890
|
+
}
|
|
9891
|
+
|
|
9892
|
+
return _possibleConstructorReturn(this, result);
|
|
9893
|
+
};
|
|
9894
|
+
}
|
|
9895
|
+
|
|
9896
|
+
function _possibleConstructorReturn(self, call) {
|
|
9897
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
9898
|
+
return call;
|
|
9899
|
+
}
|
|
9900
|
+
|
|
9901
|
+
return _assertThisInitialized(self);
|
|
9902
|
+
}
|
|
9903
|
+
|
|
9732
9904
|
function _assertThisInitialized(self) {
|
|
9733
9905
|
if (self === void 0) {
|
|
9734
9906
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -9737,6 +9909,26 @@ function _assertThisInitialized(self) {
|
|
|
9737
9909
|
return self;
|
|
9738
9910
|
}
|
|
9739
9911
|
|
|
9912
|
+
function _isNativeReflectConstruct() {
|
|
9913
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
9914
|
+
if (Reflect.construct.sham) return false;
|
|
9915
|
+
if (typeof Proxy === "function") return true;
|
|
9916
|
+
|
|
9917
|
+
try {
|
|
9918
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
9919
|
+
return true;
|
|
9920
|
+
} catch (e) {
|
|
9921
|
+
return false;
|
|
9922
|
+
}
|
|
9923
|
+
}
|
|
9924
|
+
|
|
9925
|
+
function _getPrototypeOf(o) {
|
|
9926
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
9927
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
9928
|
+
};
|
|
9929
|
+
return _getPrototypeOf(o);
|
|
9930
|
+
}
|
|
9931
|
+
|
|
9740
9932
|
function _inheritsLoose(subClass, superClass) {
|
|
9741
9933
|
subClass.prototype = Object.create(superClass.prototype);
|
|
9742
9934
|
subClass.prototype.constructor = subClass;
|
|
@@ -9752,11 +9944,11 @@ var EventEmitter = __webpack_require__(54);
|
|
|
9752
9944
|
|
|
9753
9945
|
var Util = __webpack_require__(3);
|
|
9754
9946
|
|
|
9755
|
-
var Base =
|
|
9756
|
-
/*#__PURE__*/
|
|
9757
|
-
function (_EventEmitter) {
|
|
9947
|
+
var Base = /*#__PURE__*/function (_EventEmitter) {
|
|
9758
9948
|
_inheritsLoose(Base, _EventEmitter);
|
|
9759
9949
|
|
|
9950
|
+
var _super = _createSuper(Base);
|
|
9951
|
+
|
|
9760
9952
|
var _proto = Base.prototype;
|
|
9761
9953
|
|
|
9762
9954
|
_proto.getDefaultCfg = function getDefaultCfg() {
|
|
@@ -9813,6 +10005,59 @@ module.exports = Base;
|
|
|
9813
10005
|
/* 68 */
|
|
9814
10006
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9815
10007
|
|
|
10008
|
+
function _createSuper(Derived) {
|
|
10009
|
+
return function () {
|
|
10010
|
+
var Super = _getPrototypeOf(Derived),
|
|
10011
|
+
result;
|
|
10012
|
+
|
|
10013
|
+
if (_isNativeReflectConstruct()) {
|
|
10014
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
10015
|
+
|
|
10016
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
10017
|
+
} else {
|
|
10018
|
+
result = Super.apply(this, arguments);
|
|
10019
|
+
}
|
|
10020
|
+
|
|
10021
|
+
return _possibleConstructorReturn(this, result);
|
|
10022
|
+
};
|
|
10023
|
+
}
|
|
10024
|
+
|
|
10025
|
+
function _possibleConstructorReturn(self, call) {
|
|
10026
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
10027
|
+
return call;
|
|
10028
|
+
}
|
|
10029
|
+
|
|
10030
|
+
return _assertThisInitialized(self);
|
|
10031
|
+
}
|
|
10032
|
+
|
|
10033
|
+
function _assertThisInitialized(self) {
|
|
10034
|
+
if (self === void 0) {
|
|
10035
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
10036
|
+
}
|
|
10037
|
+
|
|
10038
|
+
return self;
|
|
10039
|
+
}
|
|
10040
|
+
|
|
10041
|
+
function _isNativeReflectConstruct() {
|
|
10042
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
10043
|
+
if (Reflect.construct.sham) return false;
|
|
10044
|
+
if (typeof Proxy === "function") return true;
|
|
10045
|
+
|
|
10046
|
+
try {
|
|
10047
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
10048
|
+
return true;
|
|
10049
|
+
} catch (e) {
|
|
10050
|
+
return false;
|
|
10051
|
+
}
|
|
10052
|
+
}
|
|
10053
|
+
|
|
10054
|
+
function _getPrototypeOf(o) {
|
|
10055
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
10056
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
10057
|
+
};
|
|
10058
|
+
return _getPrototypeOf(o);
|
|
10059
|
+
}
|
|
10060
|
+
|
|
9816
10061
|
function _inheritsLoose(subClass, superClass) {
|
|
9817
10062
|
subClass.prototype = Object.create(superClass.prototype);
|
|
9818
10063
|
subClass.prototype.constructor = subClass;
|
|
@@ -9837,11 +10082,11 @@ var TRIGGER_WIDTH = 8;
|
|
|
9837
10082
|
var Event = Util.Event;
|
|
9838
10083
|
var Group = Util.Group;
|
|
9839
10084
|
|
|
9840
|
-
var Continuous =
|
|
9841
|
-
/*#__PURE__*/
|
|
9842
|
-
function (_Legend) {
|
|
10085
|
+
var Continuous = /*#__PURE__*/function (_Legend) {
|
|
9843
10086
|
_inheritsLoose(Continuous, _Legend);
|
|
9844
10087
|
|
|
10088
|
+
var _super = _createSuper(Continuous);
|
|
10089
|
+
|
|
9845
10090
|
function Continuous() {
|
|
9846
10091
|
return _Legend.apply(this, arguments) || this;
|
|
9847
10092
|
}
|
|
@@ -10350,6 +10595,59 @@ module.exports = Continuous;
|
|
|
10350
10595
|
/* 69 */
|
|
10351
10596
|
/***/ (function(module, exports, __webpack_require__) {
|
|
10352
10597
|
|
|
10598
|
+
function _createSuper(Derived) {
|
|
10599
|
+
return function () {
|
|
10600
|
+
var Super = _getPrototypeOf(Derived),
|
|
10601
|
+
result;
|
|
10602
|
+
|
|
10603
|
+
if (_isNativeReflectConstruct()) {
|
|
10604
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
10605
|
+
|
|
10606
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
10607
|
+
} else {
|
|
10608
|
+
result = Super.apply(this, arguments);
|
|
10609
|
+
}
|
|
10610
|
+
|
|
10611
|
+
return _possibleConstructorReturn(this, result);
|
|
10612
|
+
};
|
|
10613
|
+
}
|
|
10614
|
+
|
|
10615
|
+
function _possibleConstructorReturn(self, call) {
|
|
10616
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
10617
|
+
return call;
|
|
10618
|
+
}
|
|
10619
|
+
|
|
10620
|
+
return _assertThisInitialized(self);
|
|
10621
|
+
}
|
|
10622
|
+
|
|
10623
|
+
function _assertThisInitialized(self) {
|
|
10624
|
+
if (self === void 0) {
|
|
10625
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
10626
|
+
}
|
|
10627
|
+
|
|
10628
|
+
return self;
|
|
10629
|
+
}
|
|
10630
|
+
|
|
10631
|
+
function _isNativeReflectConstruct() {
|
|
10632
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
10633
|
+
if (Reflect.construct.sham) return false;
|
|
10634
|
+
if (typeof Proxy === "function") return true;
|
|
10635
|
+
|
|
10636
|
+
try {
|
|
10637
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
10638
|
+
return true;
|
|
10639
|
+
} catch (e) {
|
|
10640
|
+
return false;
|
|
10641
|
+
}
|
|
10642
|
+
}
|
|
10643
|
+
|
|
10644
|
+
function _getPrototypeOf(o) {
|
|
10645
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
10646
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
10647
|
+
};
|
|
10648
|
+
return _getPrototypeOf(o);
|
|
10649
|
+
}
|
|
10650
|
+
|
|
10353
10651
|
function _inheritsLoose(subClass, superClass) {
|
|
10354
10652
|
subClass.prototype = Object.create(superClass.prototype);
|
|
10355
10653
|
subClass.prototype.constructor = subClass;
|
|
@@ -10360,11 +10658,11 @@ var Component = __webpack_require__(67);
|
|
|
10360
10658
|
|
|
10361
10659
|
var Util = __webpack_require__(3);
|
|
10362
10660
|
|
|
10363
|
-
var Tooltip =
|
|
10364
|
-
/*#__PURE__*/
|
|
10365
|
-
function (_Component) {
|
|
10661
|
+
var Tooltip = /*#__PURE__*/function (_Component) {
|
|
10366
10662
|
_inheritsLoose(Tooltip, _Component);
|
|
10367
10663
|
|
|
10664
|
+
var _super = _createSuper(Tooltip);
|
|
10665
|
+
|
|
10368
10666
|
function Tooltip() {
|
|
10369
10667
|
return _Component.apply(this, arguments) || this;
|
|
10370
10668
|
}
|
|
@@ -10849,9 +11147,7 @@ var isNumber = __webpack_require__(9);
|
|
|
10849
11147
|
|
|
10850
11148
|
var isString = __webpack_require__(10);
|
|
10851
11149
|
|
|
10852
|
-
var Category =
|
|
10853
|
-
/*#__PURE__*/
|
|
10854
|
-
function (_Base) {
|
|
11150
|
+
var Category = /*#__PURE__*/function (_Base) {
|
|
10855
11151
|
_inheritsLoose(Category, _Base);
|
|
10856
11152
|
|
|
10857
11153
|
function Category() {
|
|
@@ -16075,9 +16371,7 @@ function isEqualArray(arr1, arr2) {
|
|
|
16075
16371
|
*/
|
|
16076
16372
|
|
|
16077
16373
|
|
|
16078
|
-
var Chart =
|
|
16079
|
-
/*#__PURE__*/
|
|
16080
|
-
function (_View) {
|
|
16374
|
+
var Chart = /*#__PURE__*/function (_View) {
|
|
16081
16375
|
_inheritsLoose(Chart, _View);
|
|
16082
16376
|
|
|
16083
16377
|
function Chart() {
|
|
@@ -16846,9 +17140,7 @@ var EventEmitter = __webpack_require__(54);
|
|
|
16846
17140
|
|
|
16847
17141
|
var Util = __webpack_require__(0);
|
|
16848
17142
|
|
|
16849
|
-
var Base =
|
|
16850
|
-
/*#__PURE__*/
|
|
16851
|
-
function (_EventEmitter) {
|
|
17143
|
+
var Base = /*#__PURE__*/function (_EventEmitter) {
|
|
16852
17144
|
_inheritsLoose(Base, _EventEmitter);
|
|
16853
17145
|
|
|
16854
17146
|
var _proto = Base.prototype;
|
|
@@ -17830,29 +18122,18 @@ module.exports = Theme;
|
|
|
17830
18122
|
/* 152 */
|
|
17831
18123
|
/***/ (function(module, exports, __webpack_require__) {
|
|
17832
18124
|
|
|
17833
|
-
function _inheritsLoose(subClass, superClass) {
|
|
17834
|
-
subClass.prototype = Object.create(superClass.prototype);
|
|
17835
|
-
subClass.prototype.constructor = subClass;
|
|
17836
|
-
subClass.__proto__ = superClass;
|
|
17837
|
-
}
|
|
17838
|
-
|
|
17839
18125
|
var _require = __webpack_require__(20),
|
|
17840
18126
|
Group = _require.Group;
|
|
17841
18127
|
|
|
17842
18128
|
var Util = __webpack_require__(3);
|
|
17843
18129
|
|
|
17844
|
-
var Grid =
|
|
17845
|
-
|
|
17846
|
-
|
|
17847
|
-
_inheritsLoose(Grid, _Group);
|
|
17848
|
-
|
|
17849
|
-
function Grid() {
|
|
17850
|
-
return _Group.apply(this, arguments) || this;
|
|
17851
|
-
}
|
|
17852
|
-
|
|
17853
|
-
var _proto = Grid.prototype;
|
|
18130
|
+
var Grid = function Grid(cfg) {
|
|
18131
|
+
Grid.superclass.constructor.call(this, cfg);
|
|
18132
|
+
};
|
|
17854
18133
|
|
|
17855
|
-
|
|
18134
|
+
Util.extend(Grid, Group);
|
|
18135
|
+
Util.augment(Grid, {
|
|
18136
|
+
getDefaultCfg: function getDefaultCfg() {
|
|
17856
18137
|
// const cfg = super.getDefaultCfg();
|
|
17857
18138
|
return {
|
|
17858
18139
|
zIndex: 1,
|
|
@@ -17911,15 +18192,13 @@ function (_Group) {
|
|
|
17911
18192
|
lineDash: [0, 0]
|
|
17912
18193
|
}
|
|
17913
18194
|
};
|
|
17914
|
-
}
|
|
17915
|
-
|
|
17916
|
-
|
|
17917
|
-
_Group.prototype._renderUI.call(this);
|
|
18195
|
+
},
|
|
18196
|
+
_renderUI: function _renderUI() {
|
|
18197
|
+
Grid.superclass._renderUI.call(this);
|
|
17918
18198
|
|
|
17919
18199
|
this._drawLines();
|
|
17920
|
-
}
|
|
17921
|
-
|
|
17922
|
-
_proto._drawLines = function _drawLines() {
|
|
18200
|
+
},
|
|
18201
|
+
_drawLines: function _drawLines() {
|
|
17923
18202
|
var self = this;
|
|
17924
18203
|
var lineStyle = self.get('lineStyle');
|
|
17925
18204
|
var items = self.get('items');
|
|
@@ -17929,9 +18208,8 @@ function (_Group) {
|
|
|
17929
18208
|
|
|
17930
18209
|
self._drawGridLines(items, lineStyle);
|
|
17931
18210
|
}
|
|
17932
|
-
}
|
|
17933
|
-
|
|
17934
|
-
_proto._precessItems = function _precessItems(items) {
|
|
18211
|
+
},
|
|
18212
|
+
_precessItems: function _precessItems(items) {
|
|
17935
18213
|
var self = this;
|
|
17936
18214
|
var preItem;
|
|
17937
18215
|
Util.each(items, function (item, index) {
|
|
@@ -17941,9 +18219,8 @@ function (_Group) {
|
|
|
17941
18219
|
|
|
17942
18220
|
preItem = item;
|
|
17943
18221
|
});
|
|
17944
|
-
}
|
|
17945
|
-
|
|
17946
|
-
_proto._drawGridLines = function _drawGridLines(items, lineStyle) {
|
|
18222
|
+
},
|
|
18223
|
+
_drawGridLines: function _drawGridLines(items, lineStyle) {
|
|
17947
18224
|
var self = this;
|
|
17948
18225
|
var type = this.get('type');
|
|
17949
18226
|
var gridLine;
|
|
@@ -18033,9 +18310,8 @@ function (_Group) {
|
|
|
18033
18310
|
self.get('appendInfo') && gridLine.setSilent('appendInfo', self.get('appendInfo'));
|
|
18034
18311
|
});
|
|
18035
18312
|
}
|
|
18036
|
-
}
|
|
18037
|
-
|
|
18038
|
-
_proto._drawZeroLine = function _drawZeroLine(type, idx) {
|
|
18313
|
+
},
|
|
18314
|
+
_drawZeroLine: function _drawZeroLine(type, idx) {
|
|
18039
18315
|
var self = this;
|
|
18040
18316
|
var tickValues = self.get('tickValues');
|
|
18041
18317
|
|
|
@@ -18046,9 +18322,8 @@ function (_Group) {
|
|
|
18046
18322
|
}
|
|
18047
18323
|
|
|
18048
18324
|
return false;
|
|
18049
|
-
}
|
|
18050
|
-
|
|
18051
|
-
_proto._drawAlternativeBg = function _drawAlternativeBg(item, preItem, index) {
|
|
18325
|
+
},
|
|
18326
|
+
_drawAlternativeBg: function _drawAlternativeBg(item, preItem, index) {
|
|
18052
18327
|
var self = this;
|
|
18053
18328
|
var alternateColor = self.get('alternateColor');
|
|
18054
18329
|
var attrs;
|
|
@@ -18077,9 +18352,8 @@ function (_Group) {
|
|
|
18077
18352
|
shape._id = item._id && item._id.replace('grid', 'grid-rect');
|
|
18078
18353
|
shape.set('coord', self.get('coord'));
|
|
18079
18354
|
self.get('appendInfo') && shape.setSilent('appendInfo', self.get('appendInfo'));
|
|
18080
|
-
}
|
|
18081
|
-
|
|
18082
|
-
_proto._getBackItem = function _getBackItem(start, end, bgColor) {
|
|
18355
|
+
},
|
|
18356
|
+
_getBackItem: function _getBackItem(start, end, bgColor) {
|
|
18083
18357
|
var path = [];
|
|
18084
18358
|
var type = this.get('type');
|
|
18085
18359
|
|
|
@@ -18131,17 +18405,67 @@ function (_Group) {
|
|
|
18131
18405
|
fill: bgColor,
|
|
18132
18406
|
path: path
|
|
18133
18407
|
};
|
|
18134
|
-
}
|
|
18135
|
-
|
|
18136
|
-
return Grid;
|
|
18137
|
-
}(Group);
|
|
18138
|
-
|
|
18408
|
+
}
|
|
18409
|
+
});
|
|
18139
18410
|
module.exports = Grid;
|
|
18140
18411
|
|
|
18141
18412
|
/***/ }),
|
|
18142
18413
|
/* 153 */
|
|
18143
18414
|
/***/ (function(module, exports, __webpack_require__) {
|
|
18144
18415
|
|
|
18416
|
+
function _createSuper(Derived) {
|
|
18417
|
+
return function () {
|
|
18418
|
+
var Super = _getPrototypeOf(Derived),
|
|
18419
|
+
result;
|
|
18420
|
+
|
|
18421
|
+
if (_isNativeReflectConstruct()) {
|
|
18422
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
18423
|
+
|
|
18424
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
18425
|
+
} else {
|
|
18426
|
+
result = Super.apply(this, arguments);
|
|
18427
|
+
}
|
|
18428
|
+
|
|
18429
|
+
return _possibleConstructorReturn(this, result);
|
|
18430
|
+
};
|
|
18431
|
+
}
|
|
18432
|
+
|
|
18433
|
+
function _possibleConstructorReturn(self, call) {
|
|
18434
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
18435
|
+
return call;
|
|
18436
|
+
}
|
|
18437
|
+
|
|
18438
|
+
return _assertThisInitialized(self);
|
|
18439
|
+
}
|
|
18440
|
+
|
|
18441
|
+
function _assertThisInitialized(self) {
|
|
18442
|
+
if (self === void 0) {
|
|
18443
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
18444
|
+
}
|
|
18445
|
+
|
|
18446
|
+
return self;
|
|
18447
|
+
}
|
|
18448
|
+
|
|
18449
|
+
function _isNativeReflectConstruct() {
|
|
18450
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
18451
|
+
if (Reflect.construct.sham) return false;
|
|
18452
|
+
if (typeof Proxy === "function") return true;
|
|
18453
|
+
|
|
18454
|
+
try {
|
|
18455
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
18456
|
+
return true;
|
|
18457
|
+
} catch (e) {
|
|
18458
|
+
return false;
|
|
18459
|
+
}
|
|
18460
|
+
}
|
|
18461
|
+
|
|
18462
|
+
function _getPrototypeOf(o) {
|
|
18463
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
18464
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
18465
|
+
};
|
|
18466
|
+
return _getPrototypeOf(o);
|
|
18467
|
+
}
|
|
18468
|
+
|
|
18145
18469
|
function _inheritsLoose(subClass, superClass) {
|
|
18146
18470
|
subClass.prototype = Object.create(superClass.prototype);
|
|
18147
18471
|
subClass.prototype.constructor = subClass;
|
|
@@ -18166,11 +18490,11 @@ var LAYOUTS = {
|
|
|
18166
18490
|
treemap: bboxAdjust
|
|
18167
18491
|
};
|
|
18168
18492
|
|
|
18169
|
-
var Label =
|
|
18170
|
-
/*#__PURE__*/
|
|
18171
|
-
function (_Component) {
|
|
18493
|
+
var Label = /*#__PURE__*/function (_Component) {
|
|
18172
18494
|
_inheritsLoose(Label, _Component);
|
|
18173
18495
|
|
|
18496
|
+
var _super = _createSuper(Label);
|
|
18497
|
+
|
|
18174
18498
|
function Label() {
|
|
18175
18499
|
return _Component.apply(this, arguments) || this;
|
|
18176
18500
|
}
|
|
@@ -18714,9 +19038,7 @@ module.exports = Label;
|
|
|
18714
19038
|
/* 154 */
|
|
18715
19039
|
/***/ (function(module, exports) {
|
|
18716
19040
|
|
|
18717
|
-
var Greedy =
|
|
18718
|
-
/*#__PURE__*/
|
|
18719
|
-
function () {
|
|
19041
|
+
var Greedy = /*#__PURE__*/function () {
|
|
18720
19042
|
function Greedy() {
|
|
18721
19043
|
this.bitmap = [];
|
|
18722
19044
|
}
|
|
@@ -18808,6 +19130,59 @@ module.exports = {
|
|
|
18808
19130
|
/* 156 */
|
|
18809
19131
|
/***/ (function(module, exports, __webpack_require__) {
|
|
18810
19132
|
|
|
19133
|
+
function _createSuper(Derived) {
|
|
19134
|
+
return function () {
|
|
19135
|
+
var Super = _getPrototypeOf(Derived),
|
|
19136
|
+
result;
|
|
19137
|
+
|
|
19138
|
+
if (_isNativeReflectConstruct()) {
|
|
19139
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
19140
|
+
|
|
19141
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
19142
|
+
} else {
|
|
19143
|
+
result = Super.apply(this, arguments);
|
|
19144
|
+
}
|
|
19145
|
+
|
|
19146
|
+
return _possibleConstructorReturn(this, result);
|
|
19147
|
+
};
|
|
19148
|
+
}
|
|
19149
|
+
|
|
19150
|
+
function _possibleConstructorReturn(self, call) {
|
|
19151
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
19152
|
+
return call;
|
|
19153
|
+
}
|
|
19154
|
+
|
|
19155
|
+
return _assertThisInitialized(self);
|
|
19156
|
+
}
|
|
19157
|
+
|
|
19158
|
+
function _assertThisInitialized(self) {
|
|
19159
|
+
if (self === void 0) {
|
|
19160
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
19161
|
+
}
|
|
19162
|
+
|
|
19163
|
+
return self;
|
|
19164
|
+
}
|
|
19165
|
+
|
|
19166
|
+
function _isNativeReflectConstruct() {
|
|
19167
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
19168
|
+
if (Reflect.construct.sham) return false;
|
|
19169
|
+
if (typeof Proxy === "function") return true;
|
|
19170
|
+
|
|
19171
|
+
try {
|
|
19172
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
19173
|
+
return true;
|
|
19174
|
+
} catch (e) {
|
|
19175
|
+
return false;
|
|
19176
|
+
}
|
|
19177
|
+
}
|
|
19178
|
+
|
|
19179
|
+
function _getPrototypeOf(o) {
|
|
19180
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
19181
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
19182
|
+
};
|
|
19183
|
+
return _getPrototypeOf(o);
|
|
19184
|
+
}
|
|
19185
|
+
|
|
18811
19186
|
function _inheritsLoose(subClass, superClass) {
|
|
18812
19187
|
subClass.prototype = Object.create(superClass.prototype);
|
|
18813
19188
|
subClass.prototype.constructor = subClass;
|
|
@@ -18844,11 +19219,11 @@ function findShapeByName(group, name) {
|
|
|
18844
19219
|
});
|
|
18845
19220
|
}
|
|
18846
19221
|
|
|
18847
|
-
var Category =
|
|
18848
|
-
/*#__PURE__*/
|
|
18849
|
-
function (_Legend) {
|
|
19222
|
+
var Category = /*#__PURE__*/function (_Legend) {
|
|
18850
19223
|
_inheritsLoose(Category, _Legend);
|
|
18851
19224
|
|
|
19225
|
+
var _super = _createSuper(Category);
|
|
19226
|
+
|
|
18852
19227
|
function Category() {
|
|
18853
19228
|
return _Legend.apply(this, arguments) || this;
|
|
18854
19229
|
}
|
|
@@ -19496,6 +19871,59 @@ module.exports = Category;
|
|
|
19496
19871
|
/* 157 */
|
|
19497
19872
|
/***/ (function(module, exports, __webpack_require__) {
|
|
19498
19873
|
|
|
19874
|
+
function _createSuper(Derived) {
|
|
19875
|
+
return function () {
|
|
19876
|
+
var Super = _getPrototypeOf(Derived),
|
|
19877
|
+
result;
|
|
19878
|
+
|
|
19879
|
+
if (_isNativeReflectConstruct()) {
|
|
19880
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
19881
|
+
|
|
19882
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
19883
|
+
} else {
|
|
19884
|
+
result = Super.apply(this, arguments);
|
|
19885
|
+
}
|
|
19886
|
+
|
|
19887
|
+
return _possibleConstructorReturn(this, result);
|
|
19888
|
+
};
|
|
19889
|
+
}
|
|
19890
|
+
|
|
19891
|
+
function _possibleConstructorReturn(self, call) {
|
|
19892
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
19893
|
+
return call;
|
|
19894
|
+
}
|
|
19895
|
+
|
|
19896
|
+
return _assertThisInitialized(self);
|
|
19897
|
+
}
|
|
19898
|
+
|
|
19899
|
+
function _assertThisInitialized(self) {
|
|
19900
|
+
if (self === void 0) {
|
|
19901
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
19902
|
+
}
|
|
19903
|
+
|
|
19904
|
+
return self;
|
|
19905
|
+
}
|
|
19906
|
+
|
|
19907
|
+
function _isNativeReflectConstruct() {
|
|
19908
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
19909
|
+
if (Reflect.construct.sham) return false;
|
|
19910
|
+
if (typeof Proxy === "function") return true;
|
|
19911
|
+
|
|
19912
|
+
try {
|
|
19913
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
19914
|
+
return true;
|
|
19915
|
+
} catch (e) {
|
|
19916
|
+
return false;
|
|
19917
|
+
}
|
|
19918
|
+
}
|
|
19919
|
+
|
|
19920
|
+
function _getPrototypeOf(o) {
|
|
19921
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
19922
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
19923
|
+
};
|
|
19924
|
+
return _getPrototypeOf(o);
|
|
19925
|
+
}
|
|
19926
|
+
|
|
19499
19927
|
function _inheritsLoose(subClass, superClass) {
|
|
19500
19928
|
subClass.prototype = Object.create(superClass.prototype);
|
|
19501
19929
|
subClass.prototype.constructor = subClass;
|
|
@@ -19509,11 +19937,11 @@ var Component = __webpack_require__(32);
|
|
|
19509
19937
|
var _require = __webpack_require__(14),
|
|
19510
19938
|
FONT_FAMILY = _require.FONT_FAMILY;
|
|
19511
19939
|
|
|
19512
|
-
var Legend =
|
|
19513
|
-
/*#__PURE__*/
|
|
19514
|
-
function (_Component) {
|
|
19940
|
+
var Legend = /*#__PURE__*/function (_Component) {
|
|
19515
19941
|
_inheritsLoose(Legend, _Component);
|
|
19516
19942
|
|
|
19943
|
+
var _super = _createSuper(Legend);
|
|
19944
|
+
|
|
19517
19945
|
var _proto = Legend.prototype;
|
|
19518
19946
|
|
|
19519
19947
|
_proto.getDefaultCfg = function getDefaultCfg() {
|
|
@@ -19729,6 +20157,59 @@ module.exports = Legend;
|
|
|
19729
20157
|
/* 158 */
|
|
19730
20158
|
/***/ (function(module, exports, __webpack_require__) {
|
|
19731
20159
|
|
|
20160
|
+
function _createSuper(Derived) {
|
|
20161
|
+
return function () {
|
|
20162
|
+
var Super = _getPrototypeOf(Derived),
|
|
20163
|
+
result;
|
|
20164
|
+
|
|
20165
|
+
if (_isNativeReflectConstruct()) {
|
|
20166
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
20167
|
+
|
|
20168
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
20169
|
+
} else {
|
|
20170
|
+
result = Super.apply(this, arguments);
|
|
20171
|
+
}
|
|
20172
|
+
|
|
20173
|
+
return _possibleConstructorReturn(this, result);
|
|
20174
|
+
};
|
|
20175
|
+
}
|
|
20176
|
+
|
|
20177
|
+
function _possibleConstructorReturn(self, call) {
|
|
20178
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
20179
|
+
return call;
|
|
20180
|
+
}
|
|
20181
|
+
|
|
20182
|
+
return _assertThisInitialized(self);
|
|
20183
|
+
}
|
|
20184
|
+
|
|
20185
|
+
function _assertThisInitialized(self) {
|
|
20186
|
+
if (self === void 0) {
|
|
20187
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
20188
|
+
}
|
|
20189
|
+
|
|
20190
|
+
return self;
|
|
20191
|
+
}
|
|
20192
|
+
|
|
20193
|
+
function _isNativeReflectConstruct() {
|
|
20194
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
20195
|
+
if (Reflect.construct.sham) return false;
|
|
20196
|
+
if (typeof Proxy === "function") return true;
|
|
20197
|
+
|
|
20198
|
+
try {
|
|
20199
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
20200
|
+
return true;
|
|
20201
|
+
} catch (e) {
|
|
20202
|
+
return false;
|
|
20203
|
+
}
|
|
20204
|
+
}
|
|
20205
|
+
|
|
20206
|
+
function _getPrototypeOf(o) {
|
|
20207
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
20208
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
20209
|
+
};
|
|
20210
|
+
return _getPrototypeOf(o);
|
|
20211
|
+
}
|
|
20212
|
+
|
|
19732
20213
|
function _inheritsLoose(subClass, superClass) {
|
|
19733
20214
|
subClass.prototype = Object.create(superClass.prototype);
|
|
19734
20215
|
subClass.prototype.constructor = subClass;
|
|
@@ -19791,11 +20272,11 @@ function findItem(items, refer) {
|
|
|
19791
20272
|
return rst;
|
|
19792
20273
|
}
|
|
19793
20274
|
|
|
19794
|
-
var CatHtml =
|
|
19795
|
-
/*#__PURE__*/
|
|
19796
|
-
function (_Category) {
|
|
20275
|
+
var CatHtml = /*#__PURE__*/function (_Category) {
|
|
19797
20276
|
_inheritsLoose(CatHtml, _Category);
|
|
19798
20277
|
|
|
20278
|
+
var _super = _createSuper(CatHtml);
|
|
20279
|
+
|
|
19799
20280
|
function CatHtml() {
|
|
19800
20281
|
return _Category.apply(this, arguments) || this;
|
|
19801
20282
|
}
|
|
@@ -20381,6 +20862,59 @@ module.exports = CatHtml;
|
|
|
20381
20862
|
/* 159 */
|
|
20382
20863
|
/***/ (function(module, exports, __webpack_require__) {
|
|
20383
20864
|
|
|
20865
|
+
function _createSuper(Derived) {
|
|
20866
|
+
return function () {
|
|
20867
|
+
var Super = _getPrototypeOf(Derived),
|
|
20868
|
+
result;
|
|
20869
|
+
|
|
20870
|
+
if (_isNativeReflectConstruct()) {
|
|
20871
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
20872
|
+
|
|
20873
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
20874
|
+
} else {
|
|
20875
|
+
result = Super.apply(this, arguments);
|
|
20876
|
+
}
|
|
20877
|
+
|
|
20878
|
+
return _possibleConstructorReturn(this, result);
|
|
20879
|
+
};
|
|
20880
|
+
}
|
|
20881
|
+
|
|
20882
|
+
function _possibleConstructorReturn(self, call) {
|
|
20883
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
20884
|
+
return call;
|
|
20885
|
+
}
|
|
20886
|
+
|
|
20887
|
+
return _assertThisInitialized(self);
|
|
20888
|
+
}
|
|
20889
|
+
|
|
20890
|
+
function _assertThisInitialized(self) {
|
|
20891
|
+
if (self === void 0) {
|
|
20892
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
20893
|
+
}
|
|
20894
|
+
|
|
20895
|
+
return self;
|
|
20896
|
+
}
|
|
20897
|
+
|
|
20898
|
+
function _isNativeReflectConstruct() {
|
|
20899
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
20900
|
+
if (Reflect.construct.sham) return false;
|
|
20901
|
+
if (typeof Proxy === "function") return true;
|
|
20902
|
+
|
|
20903
|
+
try {
|
|
20904
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
20905
|
+
return true;
|
|
20906
|
+
} catch (e) {
|
|
20907
|
+
return false;
|
|
20908
|
+
}
|
|
20909
|
+
}
|
|
20910
|
+
|
|
20911
|
+
function _getPrototypeOf(o) {
|
|
20912
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
20913
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
20914
|
+
};
|
|
20915
|
+
return _getPrototypeOf(o);
|
|
20916
|
+
}
|
|
20917
|
+
|
|
20384
20918
|
function _inheritsLoose(subClass, superClass) {
|
|
20385
20919
|
subClass.prototype = Object.create(superClass.prototype);
|
|
20386
20920
|
subClass.prototype.constructor = subClass;
|
|
@@ -20391,11 +20925,11 @@ var Component = __webpack_require__(32);
|
|
|
20391
20925
|
|
|
20392
20926
|
var Util = __webpack_require__(3);
|
|
20393
20927
|
|
|
20394
|
-
var Crosshair =
|
|
20395
|
-
/*#__PURE__*/
|
|
20396
|
-
function (_Component) {
|
|
20928
|
+
var Crosshair = /*#__PURE__*/function (_Component) {
|
|
20397
20929
|
_inheritsLoose(Crosshair, _Component);
|
|
20398
20930
|
|
|
20931
|
+
var _super = _createSuper(Crosshair);
|
|
20932
|
+
|
|
20399
20933
|
var _proto = Crosshair.prototype;
|
|
20400
20934
|
|
|
20401
20935
|
_proto.getDefaultCfg = function getDefaultCfg() {
|
|
@@ -20808,6 +21342,31 @@ module.exports = MarkerGroupMixin;
|
|
|
20808
21342
|
/* 162 */
|
|
20809
21343
|
/***/ (function(module, exports, __webpack_require__) {
|
|
20810
21344
|
|
|
21345
|
+
function _createSuper(Derived) {
|
|
21346
|
+
return function () {
|
|
21347
|
+
var Super = _getPrototypeOf(Derived),
|
|
21348
|
+
result;
|
|
21349
|
+
|
|
21350
|
+
if (_isNativeReflectConstruct()) {
|
|
21351
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
21352
|
+
|
|
21353
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
21354
|
+
} else {
|
|
21355
|
+
result = Super.apply(this, arguments);
|
|
21356
|
+
}
|
|
21357
|
+
|
|
21358
|
+
return _possibleConstructorReturn(this, result);
|
|
21359
|
+
};
|
|
21360
|
+
}
|
|
21361
|
+
|
|
21362
|
+
function _possibleConstructorReturn(self, call) {
|
|
21363
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
21364
|
+
return call;
|
|
21365
|
+
}
|
|
21366
|
+
|
|
21367
|
+
return _assertThisInitialized(self);
|
|
21368
|
+
}
|
|
21369
|
+
|
|
20811
21370
|
function _assertThisInitialized(self) {
|
|
20812
21371
|
if (self === void 0) {
|
|
20813
21372
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -20816,6 +21375,26 @@ function _assertThisInitialized(self) {
|
|
|
20816
21375
|
return self;
|
|
20817
21376
|
}
|
|
20818
21377
|
|
|
21378
|
+
function _isNativeReflectConstruct() {
|
|
21379
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
21380
|
+
if (Reflect.construct.sham) return false;
|
|
21381
|
+
if (typeof Proxy === "function") return true;
|
|
21382
|
+
|
|
21383
|
+
try {
|
|
21384
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
21385
|
+
return true;
|
|
21386
|
+
} catch (e) {
|
|
21387
|
+
return false;
|
|
21388
|
+
}
|
|
21389
|
+
}
|
|
21390
|
+
|
|
21391
|
+
function _getPrototypeOf(o) {
|
|
21392
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
21393
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
21394
|
+
};
|
|
21395
|
+
return _getPrototypeOf(o);
|
|
21396
|
+
}
|
|
21397
|
+
|
|
20819
21398
|
function _inheritsLoose(subClass, superClass) {
|
|
20820
21399
|
subClass.prototype = Object.create(superClass.prototype);
|
|
20821
21400
|
subClass.prototype.constructor = subClass;
|
|
@@ -20840,11 +21419,11 @@ var _require = __webpack_require__(14),
|
|
|
20840
21419
|
var DomUtil = Util.DomUtil;
|
|
20841
21420
|
var MatrixUtil = Util.MatrixUtil;
|
|
20842
21421
|
|
|
20843
|
-
var CanvasTooltip =
|
|
20844
|
-
/*#__PURE__*/
|
|
20845
|
-
function (_Tooltip) {
|
|
21422
|
+
var CanvasTooltip = /*#__PURE__*/function (_Tooltip) {
|
|
20846
21423
|
_inheritsLoose(CanvasTooltip, _Tooltip);
|
|
20847
21424
|
|
|
21425
|
+
var _super = _createSuper(CanvasTooltip);
|
|
21426
|
+
|
|
20848
21427
|
var _proto = CanvasTooltip.prototype;
|
|
20849
21428
|
|
|
20850
21429
|
_proto.getDefaultCfg = function getDefaultCfg() {
|
|
@@ -21712,8 +22291,8 @@ var AutoUtil = __webpack_require__(76);
|
|
|
21712
22291
|
|
|
21713
22292
|
var MIN_COUNT = 5;
|
|
21714
22293
|
var MAX_COUNT = 7;
|
|
21715
|
-
var SNAP_COUNT_ARRAY = [
|
|
21716
|
-
var SNAP_ARRAY = [
|
|
22294
|
+
var SNAP_COUNT_ARRAY = [1, 1.2, 1.5, 1.6, 2, 2.2, 2.4, 2.5, 3, 4, 5, 6, 7.5, 8, 10];
|
|
22295
|
+
var SNAP_ARRAY = [1, 2, 4, 5, 10];
|
|
21717
22296
|
var EPS = 1e-12;
|
|
21718
22297
|
|
|
21719
22298
|
module.exports = function (info) {
|
|
@@ -21780,7 +22359,7 @@ module.exports = function (info) {
|
|
|
21780
22359
|
} // 不确定tick的个数时,使得tick偏小
|
|
21781
22360
|
|
|
21782
22361
|
|
|
21783
|
-
interval = AutoUtil.snapFactorTo((max - min) / (count - 1), snapArray
|
|
22362
|
+
interval = AutoUtil.snapFactorTo((max - min) / (count - 1), snapArray);
|
|
21784
22363
|
}
|
|
21785
22364
|
} // interval should not be less than minTickInterval
|
|
21786
22365
|
|
|
@@ -21796,8 +22375,16 @@ module.exports = function (info) {
|
|
|
21796
22375
|
min = Math.max(AutoUtil.snapMultiple(min, interval, 'floor'), minLimit); // 向下逼近
|
|
21797
22376
|
|
|
21798
22377
|
count = Math.round((max - min) / interval);
|
|
21799
|
-
min = AutoUtil.fixedBase(min, interval);
|
|
22378
|
+
min = AutoUtil.fixedBase(min, interval); // 当min为负数的时候,fixedBase后,min可能会大于minLimit,导致最终产出的tick是大于minLimit的,所以必须进行修正
|
|
22379
|
+
|
|
21800
22380
|
max = AutoUtil.fixedBase(max, interval);
|
|
22381
|
+
var prevMin = null;
|
|
22382
|
+
|
|
22383
|
+
while (min > minLimit && minLimit > -Infinity && (prevMin === null || min < prevMin)) {
|
|
22384
|
+
// 保证计算出来的刻度最小值 min, 不大于数据最小值 min
|
|
22385
|
+
prevMin = min;
|
|
22386
|
+
min = AutoUtil.fixedBase(min - interval, interval);
|
|
22387
|
+
}
|
|
21801
22388
|
} else {
|
|
21802
22389
|
avgCount = parseInt(avgCount, 10); // 取整
|
|
21803
22390
|
|
|
@@ -21824,7 +22411,7 @@ module.exports = function (info) {
|
|
|
21824
22411
|
var prevMinTick = null; // 如果减去intervl, fixBase后,新的minTick没有小于之前的值,就退出,防止死循环
|
|
21825
22412
|
|
|
21826
22413
|
while (minTick > min && (prevMinTick === null || minTick < prevMinTick)) {
|
|
21827
|
-
// 保证计算出来的刻度最小值 minTick
|
|
22414
|
+
// 保证计算出来的刻度最小值 minTick 不大于数据最小值 min
|
|
21828
22415
|
prevMinTick = minTick;
|
|
21829
22416
|
minTick = AutoUtil.fixedBase(minTick - interval, interval); // 防止超常浮点数计算问题
|
|
21830
22417
|
}
|
|
@@ -21872,9 +22459,7 @@ var Base = __webpack_require__(18);
|
|
|
21872
22459
|
|
|
21873
22460
|
var isNumber = __webpack_require__(9);
|
|
21874
22461
|
|
|
21875
|
-
var Identity =
|
|
21876
|
-
/*#__PURE__*/
|
|
21877
|
-
function (_Base) {
|
|
22462
|
+
var Identity = /*#__PURE__*/function (_Base) {
|
|
21878
22463
|
_inheritsLoose(Identity, _Base);
|
|
21879
22464
|
|
|
21880
22465
|
function Identity() {
|
|
@@ -21966,9 +22551,7 @@ var TimeUtil = __webpack_require__(71);
|
|
|
21966
22551
|
*/
|
|
21967
22552
|
|
|
21968
22553
|
|
|
21969
|
-
var Time =
|
|
21970
|
-
/*#__PURE__*/
|
|
21971
|
-
function (_Linear) {
|
|
22554
|
+
var Time = /*#__PURE__*/function (_Linear) {
|
|
21972
22555
|
_inheritsLoose(Time, _Linear);
|
|
21973
22556
|
|
|
21974
22557
|
function Time() {
|
|
@@ -22317,9 +22900,7 @@ var isString = __webpack_require__(10);
|
|
|
22317
22900
|
*/
|
|
22318
22901
|
|
|
22319
22902
|
|
|
22320
|
-
var TimeCategory =
|
|
22321
|
-
/*#__PURE__*/
|
|
22322
|
-
function (_Category) {
|
|
22903
|
+
var TimeCategory = /*#__PURE__*/function (_Category) {
|
|
22323
22904
|
_inheritsLoose(TimeCategory, _Category);
|
|
22324
22905
|
|
|
22325
22906
|
function TimeCategory() {
|
|
@@ -22525,9 +23106,7 @@ function log(a, b) {
|
|
|
22525
23106
|
*/
|
|
22526
23107
|
|
|
22527
23108
|
|
|
22528
|
-
var Log =
|
|
22529
|
-
/*#__PURE__*/
|
|
22530
|
-
function (_Linear) {
|
|
23109
|
+
var Log = /*#__PURE__*/function (_Linear) {
|
|
22531
23110
|
_inheritsLoose(Log, _Linear);
|
|
22532
23111
|
|
|
22533
23112
|
function Log() {
|
|
@@ -22728,9 +23307,7 @@ function calBase(a, b) {
|
|
|
22728
23307
|
*/
|
|
22729
23308
|
|
|
22730
23309
|
|
|
22731
|
-
var Pow =
|
|
22732
|
-
/*#__PURE__*/
|
|
22733
|
-
function (_Linear) {
|
|
23310
|
+
var Pow = /*#__PURE__*/function (_Linear) {
|
|
22734
23311
|
_inheritsLoose(Pow, _Linear);
|
|
22735
23312
|
|
|
22736
23313
|
function Pow() {
|
|
@@ -27752,9 +28329,7 @@ var renderUtil = __webpack_require__(220);
|
|
|
27752
28329
|
|
|
27753
28330
|
var SHAPE_ATTRS = ['fillStyle', 'font', 'globalAlpha', 'lineCap', 'lineWidth', 'lineJoin', 'miterLimit', 'shadowBlur', 'shadowColor', 'shadowOffsetX', 'shadowOffsetY', 'strokeStyle', 'textAlign', 'textBaseline', 'lineDash', 'lineDashOffset'];
|
|
27754
28331
|
|
|
27755
|
-
var Painter =
|
|
27756
|
-
/*#__PURE__*/
|
|
27757
|
-
function () {
|
|
28332
|
+
var Painter = /*#__PURE__*/function () {
|
|
27758
28333
|
function Painter(dom) {
|
|
27759
28334
|
if (!dom) {
|
|
27760
28335
|
return null;
|
|
@@ -28218,9 +28793,7 @@ var ANCHOR_MAP = {
|
|
|
28218
28793
|
end: 'end'
|
|
28219
28794
|
};
|
|
28220
28795
|
|
|
28221
|
-
var Painter =
|
|
28222
|
-
/*#__PURE__*/
|
|
28223
|
-
function () {
|
|
28796
|
+
var Painter = /*#__PURE__*/function () {
|
|
28224
28797
|
function Painter(dom) {
|
|
28225
28798
|
if (!dom) {
|
|
28226
28799
|
return null;
|
|
@@ -28960,9 +29533,7 @@ var Clip = __webpack_require__(227);
|
|
|
28960
29533
|
|
|
28961
29534
|
var Pattern = __webpack_require__(228);
|
|
28962
29535
|
|
|
28963
|
-
var Defs =
|
|
28964
|
-
/*#__PURE__*/
|
|
28965
|
-
function () {
|
|
29536
|
+
var Defs = /*#__PURE__*/function () {
|
|
28966
29537
|
function Defs(canvas) {
|
|
28967
29538
|
var el = document.createElementNS('http://www.w3.org/2000/svg', 'defs');
|
|
28968
29539
|
var id = Util.uniqueId('defs_');
|
|
@@ -29163,9 +29734,7 @@ function parseRadialGradient(color, self) {
|
|
|
29163
29734
|
self.innerHTML = addStop(steps);
|
|
29164
29735
|
}
|
|
29165
29736
|
|
|
29166
|
-
var Gradient =
|
|
29167
|
-
/*#__PURE__*/
|
|
29168
|
-
function () {
|
|
29737
|
+
var Gradient = /*#__PURE__*/function () {
|
|
29169
29738
|
function Gradient(cfg) {
|
|
29170
29739
|
var el = null;
|
|
29171
29740
|
var id = Util.uniqueId('gradient_');
|
|
@@ -29219,9 +29788,7 @@ var SHADOW_DIMENSION = {
|
|
|
29219
29788
|
height: '200%'
|
|
29220
29789
|
};
|
|
29221
29790
|
|
|
29222
|
-
var Shadow =
|
|
29223
|
-
/*#__PURE__*/
|
|
29224
|
-
function () {
|
|
29791
|
+
var Shadow = /*#__PURE__*/function () {
|
|
29225
29792
|
function Shadow(cfg) {
|
|
29226
29793
|
this.type = 'filter';
|
|
29227
29794
|
var el = document.createElementNS('http://www.w3.org/2000/svg', 'filter'); // expand the filter region to fill in shadows
|
|
@@ -29285,9 +29852,7 @@ module.exports = Shadow;
|
|
|
29285
29852
|
*/
|
|
29286
29853
|
var Util = __webpack_require__(1);
|
|
29287
29854
|
|
|
29288
|
-
var Arrow =
|
|
29289
|
-
/*#__PURE__*/
|
|
29290
|
-
function () {
|
|
29855
|
+
var Arrow = /*#__PURE__*/function () {
|
|
29291
29856
|
function Arrow(attrs, type) {
|
|
29292
29857
|
var el = document.createElementNS('http://www.w3.org/2000/svg', 'marker');
|
|
29293
29858
|
var id = Util.uniqueId('marker_');
|
|
@@ -29369,9 +29934,7 @@ module.exports = Arrow;
|
|
|
29369
29934
|
*/
|
|
29370
29935
|
var Util = __webpack_require__(1);
|
|
29371
29936
|
|
|
29372
|
-
var Clip =
|
|
29373
|
-
/*#__PURE__*/
|
|
29374
|
-
function () {
|
|
29937
|
+
var Clip = /*#__PURE__*/function () {
|
|
29375
29938
|
function Clip(cfg) {
|
|
29376
29939
|
this.type = 'clip';
|
|
29377
29940
|
var el = document.createElementNS('http://www.w3.org/2000/svg', 'clipPath');
|
|
@@ -29412,9 +29975,7 @@ var Util = __webpack_require__(1);
|
|
|
29412
29975
|
|
|
29413
29976
|
var regexPR = /^p\s*\(\s*([axyn])\s*\)\s*(.*)/i;
|
|
29414
29977
|
|
|
29415
|
-
var Pattern =
|
|
29416
|
-
/*#__PURE__*/
|
|
29417
|
-
function () {
|
|
29978
|
+
var Pattern = /*#__PURE__*/function () {
|
|
29418
29979
|
function Pattern(cfg) {
|
|
29419
29980
|
var el = document.createElementNS('http://www.w3.org/2000/svg', 'pattern');
|
|
29420
29981
|
el.setAttribute('patternUnits', 'userSpaceOnUse');
|
|
@@ -32249,9 +32810,7 @@ Util.each(Geom, function (geomConstructor, className) {
|
|
|
32249
32810
|
* @class View
|
|
32250
32811
|
*/
|
|
32251
32812
|
|
|
32252
|
-
var View =
|
|
32253
|
-
/*#__PURE__*/
|
|
32254
|
-
function (_Base) {
|
|
32813
|
+
var View = /*#__PURE__*/function (_Base) {
|
|
32255
32814
|
_inheritsLoose(View, _Base);
|
|
32256
32815
|
|
|
32257
32816
|
var _proto = View.prototype;
|
|
@@ -33428,9 +33987,7 @@ var each = __webpack_require__(2);
|
|
|
33428
33987
|
|
|
33429
33988
|
var Base = __webpack_require__(29);
|
|
33430
33989
|
|
|
33431
|
-
var Position =
|
|
33432
|
-
/*#__PURE__*/
|
|
33433
|
-
function (_Base) {
|
|
33990
|
+
var Position = /*#__PURE__*/function (_Base) {
|
|
33434
33991
|
_inheritsLoose(Position, _Base);
|
|
33435
33992
|
|
|
33436
33993
|
function Position(cfg) {
|
|
@@ -33548,9 +34105,7 @@ var ColorUtil = __webpack_require__(148);
|
|
|
33548
34105
|
|
|
33549
34106
|
var Base = __webpack_require__(29);
|
|
33550
34107
|
|
|
33551
|
-
var Color =
|
|
33552
|
-
/*#__PURE__*/
|
|
33553
|
-
function (_Base) {
|
|
34108
|
+
var Color = /*#__PURE__*/function (_Base) {
|
|
33554
34109
|
_inheritsLoose(Color, _Base);
|
|
33555
34110
|
|
|
33556
34111
|
function Color(cfg) {
|
|
@@ -33603,9 +34158,7 @@ function _inheritsLoose(subClass, superClass) {
|
|
|
33603
34158
|
|
|
33604
34159
|
var Base = __webpack_require__(29);
|
|
33605
34160
|
|
|
33606
|
-
var Shape =
|
|
33607
|
-
/*#__PURE__*/
|
|
33608
|
-
function (_Base) {
|
|
34161
|
+
var Shape = /*#__PURE__*/function (_Base) {
|
|
33609
34162
|
_inheritsLoose(Shape, _Base);
|
|
33610
34163
|
|
|
33611
34164
|
function Shape(cfg) {
|
|
@@ -33647,9 +34200,7 @@ function _inheritsLoose(subClass, superClass) {
|
|
|
33647
34200
|
|
|
33648
34201
|
var Base = __webpack_require__(29);
|
|
33649
34202
|
|
|
33650
|
-
var Size =
|
|
33651
|
-
/*#__PURE__*/
|
|
33652
|
-
function (_Base) {
|
|
34203
|
+
var Size = /*#__PURE__*/function (_Base) {
|
|
33653
34204
|
_inheritsLoose(Size, _Base);
|
|
33654
34205
|
|
|
33655
34206
|
function Size(cfg) {
|
|
@@ -33679,9 +34230,7 @@ function _inheritsLoose(subClass, superClass) {
|
|
|
33679
34230
|
|
|
33680
34231
|
var Base = __webpack_require__(29);
|
|
33681
34232
|
|
|
33682
|
-
var Opacity =
|
|
33683
|
-
/*#__PURE__*/
|
|
33684
|
-
function (_Base) {
|
|
34233
|
+
var Opacity = /*#__PURE__*/function (_Base) {
|
|
33685
34234
|
_inheritsLoose(Opacity, _Base);
|
|
33686
34235
|
|
|
33687
34236
|
function Opacity(cfg) {
|
|
@@ -33744,9 +34293,7 @@ var each = __webpack_require__(2);
|
|
|
33744
34293
|
var MARGIN_RATIO = 1 / 2;
|
|
33745
34294
|
var DODGE_RATIO = 1 / 2;
|
|
33746
34295
|
|
|
33747
|
-
var Dodge =
|
|
33748
|
-
/*#__PURE__*/
|
|
33749
|
-
function (_Adjust) {
|
|
34296
|
+
var Dodge = /*#__PURE__*/function (_Adjust) {
|
|
33750
34297
|
_inheritsLoose(Dodge, _Adjust);
|
|
33751
34298
|
|
|
33752
34299
|
function Dodge() {
|
|
@@ -33821,9 +34368,7 @@ var isNil = __webpack_require__(5);
|
|
|
33821
34368
|
|
|
33822
34369
|
var Adjust = __webpack_require__(30);
|
|
33823
34370
|
|
|
33824
|
-
var Stack =
|
|
33825
|
-
/*#__PURE__*/
|
|
33826
|
-
function (_Adjust) {
|
|
34371
|
+
var Stack = /*#__PURE__*/function (_Adjust) {
|
|
33827
34372
|
_inheritsLoose(Stack, _Adjust);
|
|
33828
34373
|
|
|
33829
34374
|
function Stack() {
|
|
@@ -34056,9 +34601,7 @@ var Adjust = __webpack_require__(30);
|
|
|
34056
34601
|
|
|
34057
34602
|
var AdjustMixin = __webpack_require__(149);
|
|
34058
34603
|
|
|
34059
|
-
var Jitter =
|
|
34060
|
-
/*#__PURE__*/
|
|
34061
|
-
function (_Adjust) {
|
|
34604
|
+
var Jitter = /*#__PURE__*/function (_Adjust) {
|
|
34062
34605
|
_inheritsLoose(Jitter, _Adjust);
|
|
34063
34606
|
|
|
34064
34607
|
function Jitter() {
|
|
@@ -34144,9 +34687,7 @@ var ArrayUtil = {
|
|
|
34144
34687
|
|
|
34145
34688
|
var Adjust = __webpack_require__(30);
|
|
34146
34689
|
|
|
34147
|
-
var Symmetric =
|
|
34148
|
-
/*#__PURE__*/
|
|
34149
|
-
function (_Adjust) {
|
|
34690
|
+
var Symmetric = /*#__PURE__*/function (_Adjust) {
|
|
34150
34691
|
_inheritsLoose(Symmetric, _Adjust);
|
|
34151
34692
|
|
|
34152
34693
|
function Symmetric() {
|
|
@@ -34728,6 +35269,59 @@ module.exports = function bboxAdjust(labels, shapes) {
|
|
|
34728
35269
|
/* 312 */
|
|
34729
35270
|
/***/ (function(module, exports, __webpack_require__) {
|
|
34730
35271
|
|
|
35272
|
+
function _createSuper(Derived) {
|
|
35273
|
+
return function () {
|
|
35274
|
+
var Super = _getPrototypeOf(Derived),
|
|
35275
|
+
result;
|
|
35276
|
+
|
|
35277
|
+
if (_isNativeReflectConstruct()) {
|
|
35278
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
35279
|
+
|
|
35280
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
35281
|
+
} else {
|
|
35282
|
+
result = Super.apply(this, arguments);
|
|
35283
|
+
}
|
|
35284
|
+
|
|
35285
|
+
return _possibleConstructorReturn(this, result);
|
|
35286
|
+
};
|
|
35287
|
+
}
|
|
35288
|
+
|
|
35289
|
+
function _possibleConstructorReturn(self, call) {
|
|
35290
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
35291
|
+
return call;
|
|
35292
|
+
}
|
|
35293
|
+
|
|
35294
|
+
return _assertThisInitialized(self);
|
|
35295
|
+
}
|
|
35296
|
+
|
|
35297
|
+
function _assertThisInitialized(self) {
|
|
35298
|
+
if (self === void 0) {
|
|
35299
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
35300
|
+
}
|
|
35301
|
+
|
|
35302
|
+
return self;
|
|
35303
|
+
}
|
|
35304
|
+
|
|
35305
|
+
function _isNativeReflectConstruct() {
|
|
35306
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
35307
|
+
if (Reflect.construct.sham) return false;
|
|
35308
|
+
if (typeof Proxy === "function") return true;
|
|
35309
|
+
|
|
35310
|
+
try {
|
|
35311
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
35312
|
+
return true;
|
|
35313
|
+
} catch (e) {
|
|
35314
|
+
return false;
|
|
35315
|
+
}
|
|
35316
|
+
}
|
|
35317
|
+
|
|
35318
|
+
function _getPrototypeOf(o) {
|
|
35319
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
35320
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
35321
|
+
};
|
|
35322
|
+
return _getPrototypeOf(o);
|
|
35323
|
+
}
|
|
35324
|
+
|
|
34731
35325
|
function _inheritsLoose(subClass, superClass) {
|
|
34732
35326
|
subClass.prototype = Object.create(superClass.prototype);
|
|
34733
35327
|
subClass.prototype.constructor = subClass;
|
|
@@ -34740,11 +35334,11 @@ var Base = __webpack_require__(31);
|
|
|
34740
35334
|
|
|
34741
35335
|
var vec2 = Util.MatrixUtil.vec2;
|
|
34742
35336
|
|
|
34743
|
-
var Circle =
|
|
34744
|
-
/*#__PURE__*/
|
|
34745
|
-
function (_Base) {
|
|
35337
|
+
var Circle = /*#__PURE__*/function (_Base) {
|
|
34746
35338
|
_inheritsLoose(Circle, _Base);
|
|
34747
35339
|
|
|
35340
|
+
var _super = _createSuper(Circle);
|
|
35341
|
+
|
|
34748
35342
|
function Circle() {
|
|
34749
35343
|
return _Base.apply(this, arguments) || this;
|
|
34750
35344
|
}
|
|
@@ -34969,6 +35563,59 @@ module.exports = Circle;
|
|
|
34969
35563
|
/* 313 */
|
|
34970
35564
|
/***/ (function(module, exports, __webpack_require__) {
|
|
34971
35565
|
|
|
35566
|
+
function _createSuper(Derived) {
|
|
35567
|
+
return function () {
|
|
35568
|
+
var Super = _getPrototypeOf(Derived),
|
|
35569
|
+
result;
|
|
35570
|
+
|
|
35571
|
+
if (_isNativeReflectConstruct()) {
|
|
35572
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
35573
|
+
|
|
35574
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
35575
|
+
} else {
|
|
35576
|
+
result = Super.apply(this, arguments);
|
|
35577
|
+
}
|
|
35578
|
+
|
|
35579
|
+
return _possibleConstructorReturn(this, result);
|
|
35580
|
+
};
|
|
35581
|
+
}
|
|
35582
|
+
|
|
35583
|
+
function _possibleConstructorReturn(self, call) {
|
|
35584
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
35585
|
+
return call;
|
|
35586
|
+
}
|
|
35587
|
+
|
|
35588
|
+
return _assertThisInitialized(self);
|
|
35589
|
+
}
|
|
35590
|
+
|
|
35591
|
+
function _assertThisInitialized(self) {
|
|
35592
|
+
if (self === void 0) {
|
|
35593
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
35594
|
+
}
|
|
35595
|
+
|
|
35596
|
+
return self;
|
|
35597
|
+
}
|
|
35598
|
+
|
|
35599
|
+
function _isNativeReflectConstruct() {
|
|
35600
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
35601
|
+
if (Reflect.construct.sham) return false;
|
|
35602
|
+
if (typeof Proxy === "function") return true;
|
|
35603
|
+
|
|
35604
|
+
try {
|
|
35605
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
35606
|
+
return true;
|
|
35607
|
+
} catch (e) {
|
|
35608
|
+
return false;
|
|
35609
|
+
}
|
|
35610
|
+
}
|
|
35611
|
+
|
|
35612
|
+
function _getPrototypeOf(o) {
|
|
35613
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
35614
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
35615
|
+
};
|
|
35616
|
+
return _getPrototypeOf(o);
|
|
35617
|
+
}
|
|
35618
|
+
|
|
34972
35619
|
function _inheritsLoose(subClass, superClass) {
|
|
34973
35620
|
subClass.prototype = Object.create(superClass.prototype);
|
|
34974
35621
|
subClass.prototype.constructor = subClass;
|
|
@@ -34983,11 +35630,11 @@ var MatrixUtil = Util.MatrixUtil,
|
|
|
34983
35630
|
PathUtil = Util.PathUtil;
|
|
34984
35631
|
var vec2 = MatrixUtil.vec2;
|
|
34985
35632
|
|
|
34986
|
-
var Helix =
|
|
34987
|
-
/*#__PURE__*/
|
|
34988
|
-
function (_Base) {
|
|
35633
|
+
var Helix = /*#__PURE__*/function (_Base) {
|
|
34989
35634
|
_inheritsLoose(Helix, _Base);
|
|
34990
35635
|
|
|
35636
|
+
var _super = _createSuper(Helix);
|
|
35637
|
+
|
|
34991
35638
|
function Helix() {
|
|
34992
35639
|
return _Base.apply(this, arguments) || this;
|
|
34993
35640
|
}
|
|
@@ -35092,6 +35739,59 @@ module.exports = Helix;
|
|
|
35092
35739
|
/* 314 */
|
|
35093
35740
|
/***/ (function(module, exports, __webpack_require__) {
|
|
35094
35741
|
|
|
35742
|
+
function _createSuper(Derived) {
|
|
35743
|
+
return function () {
|
|
35744
|
+
var Super = _getPrototypeOf(Derived),
|
|
35745
|
+
result;
|
|
35746
|
+
|
|
35747
|
+
if (_isNativeReflectConstruct()) {
|
|
35748
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
35749
|
+
|
|
35750
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
35751
|
+
} else {
|
|
35752
|
+
result = Super.apply(this, arguments);
|
|
35753
|
+
}
|
|
35754
|
+
|
|
35755
|
+
return _possibleConstructorReturn(this, result);
|
|
35756
|
+
};
|
|
35757
|
+
}
|
|
35758
|
+
|
|
35759
|
+
function _possibleConstructorReturn(self, call) {
|
|
35760
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
35761
|
+
return call;
|
|
35762
|
+
}
|
|
35763
|
+
|
|
35764
|
+
return _assertThisInitialized(self);
|
|
35765
|
+
}
|
|
35766
|
+
|
|
35767
|
+
function _assertThisInitialized(self) {
|
|
35768
|
+
if (self === void 0) {
|
|
35769
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
35770
|
+
}
|
|
35771
|
+
|
|
35772
|
+
return self;
|
|
35773
|
+
}
|
|
35774
|
+
|
|
35775
|
+
function _isNativeReflectConstruct() {
|
|
35776
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
35777
|
+
if (Reflect.construct.sham) return false;
|
|
35778
|
+
if (typeof Proxy === "function") return true;
|
|
35779
|
+
|
|
35780
|
+
try {
|
|
35781
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
35782
|
+
return true;
|
|
35783
|
+
} catch (e) {
|
|
35784
|
+
return false;
|
|
35785
|
+
}
|
|
35786
|
+
}
|
|
35787
|
+
|
|
35788
|
+
function _getPrototypeOf(o) {
|
|
35789
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
35790
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
35791
|
+
};
|
|
35792
|
+
return _getPrototypeOf(o);
|
|
35793
|
+
}
|
|
35794
|
+
|
|
35095
35795
|
function _inheritsLoose(subClass, superClass) {
|
|
35096
35796
|
subClass.prototype = Object.create(superClass.prototype);
|
|
35097
35797
|
subClass.prototype.constructor = subClass;
|
|
@@ -35105,11 +35805,11 @@ var Util = __webpack_require__(3);
|
|
|
35105
35805
|
var MatrixUtil = Util.MatrixUtil;
|
|
35106
35806
|
var vec2 = MatrixUtil.vec2;
|
|
35107
35807
|
|
|
35108
|
-
var Line =
|
|
35109
|
-
/*#__PURE__*/
|
|
35110
|
-
function (_Base) {
|
|
35808
|
+
var Line = /*#__PURE__*/function (_Base) {
|
|
35111
35809
|
_inheritsLoose(Line, _Base);
|
|
35112
35810
|
|
|
35811
|
+
var _super = _createSuper(Line);
|
|
35812
|
+
|
|
35113
35813
|
function Line() {
|
|
35114
35814
|
return _Base.apply(this, arguments) || this;
|
|
35115
35815
|
}
|
|
@@ -35409,6 +36109,59 @@ module.exports = Line;
|
|
|
35409
36109
|
/* 315 */
|
|
35410
36110
|
/***/ (function(module, exports, __webpack_require__) {
|
|
35411
36111
|
|
|
36112
|
+
function _createSuper(Derived) {
|
|
36113
|
+
return function () {
|
|
36114
|
+
var Super = _getPrototypeOf(Derived),
|
|
36115
|
+
result;
|
|
36116
|
+
|
|
36117
|
+
if (_isNativeReflectConstruct()) {
|
|
36118
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
36119
|
+
|
|
36120
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
36121
|
+
} else {
|
|
36122
|
+
result = Super.apply(this, arguments);
|
|
36123
|
+
}
|
|
36124
|
+
|
|
36125
|
+
return _possibleConstructorReturn(this, result);
|
|
36126
|
+
};
|
|
36127
|
+
}
|
|
36128
|
+
|
|
36129
|
+
function _possibleConstructorReturn(self, call) {
|
|
36130
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
36131
|
+
return call;
|
|
36132
|
+
}
|
|
36133
|
+
|
|
36134
|
+
return _assertThisInitialized(self);
|
|
36135
|
+
}
|
|
36136
|
+
|
|
36137
|
+
function _assertThisInitialized(self) {
|
|
36138
|
+
if (self === void 0) {
|
|
36139
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
36140
|
+
}
|
|
36141
|
+
|
|
36142
|
+
return self;
|
|
36143
|
+
}
|
|
36144
|
+
|
|
36145
|
+
function _isNativeReflectConstruct() {
|
|
36146
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
36147
|
+
if (Reflect.construct.sham) return false;
|
|
36148
|
+
if (typeof Proxy === "function") return true;
|
|
36149
|
+
|
|
36150
|
+
try {
|
|
36151
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
36152
|
+
return true;
|
|
36153
|
+
} catch (e) {
|
|
36154
|
+
return false;
|
|
36155
|
+
}
|
|
36156
|
+
}
|
|
36157
|
+
|
|
36158
|
+
function _getPrototypeOf(o) {
|
|
36159
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
36160
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
36161
|
+
};
|
|
36162
|
+
return _getPrototypeOf(o);
|
|
36163
|
+
}
|
|
36164
|
+
|
|
35412
36165
|
function _inheritsLoose(subClass, superClass) {
|
|
35413
36166
|
subClass.prototype = Object.create(superClass.prototype);
|
|
35414
36167
|
subClass.prototype.constructor = subClass;
|
|
@@ -35423,11 +36176,11 @@ var MatrixUtil = Util.MatrixUtil,
|
|
|
35423
36176
|
PathUtil = Util.PathUtil;
|
|
35424
36177
|
var vec2 = MatrixUtil.vec2;
|
|
35425
36178
|
|
|
35426
|
-
var Polyline =
|
|
35427
|
-
/*#__PURE__*/
|
|
35428
|
-
function (_Base) {
|
|
36179
|
+
var Polyline = /*#__PURE__*/function (_Base) {
|
|
35429
36180
|
_inheritsLoose(Polyline, _Base);
|
|
35430
36181
|
|
|
36182
|
+
var _super = _createSuper(Polyline);
|
|
36183
|
+
|
|
35431
36184
|
function Polyline() {
|
|
35432
36185
|
return _Base.apply(this, arguments) || this;
|
|
35433
36186
|
}
|
|
@@ -35523,6 +36276,59 @@ module.exports = {
|
|
|
35523
36276
|
/* 317 */
|
|
35524
36277
|
/***/ (function(module, exports, __webpack_require__) {
|
|
35525
36278
|
|
|
36279
|
+
function _createSuper(Derived) {
|
|
36280
|
+
return function () {
|
|
36281
|
+
var Super = _getPrototypeOf(Derived),
|
|
36282
|
+
result;
|
|
36283
|
+
|
|
36284
|
+
if (_isNativeReflectConstruct()) {
|
|
36285
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
36286
|
+
|
|
36287
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
36288
|
+
} else {
|
|
36289
|
+
result = Super.apply(this, arguments);
|
|
36290
|
+
}
|
|
36291
|
+
|
|
36292
|
+
return _possibleConstructorReturn(this, result);
|
|
36293
|
+
};
|
|
36294
|
+
}
|
|
36295
|
+
|
|
36296
|
+
function _possibleConstructorReturn(self, call) {
|
|
36297
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
36298
|
+
return call;
|
|
36299
|
+
}
|
|
36300
|
+
|
|
36301
|
+
return _assertThisInitialized(self);
|
|
36302
|
+
}
|
|
36303
|
+
|
|
36304
|
+
function _assertThisInitialized(self) {
|
|
36305
|
+
if (self === void 0) {
|
|
36306
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
36307
|
+
}
|
|
36308
|
+
|
|
36309
|
+
return self;
|
|
36310
|
+
}
|
|
36311
|
+
|
|
36312
|
+
function _isNativeReflectConstruct() {
|
|
36313
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
36314
|
+
if (Reflect.construct.sham) return false;
|
|
36315
|
+
if (typeof Proxy === "function") return true;
|
|
36316
|
+
|
|
36317
|
+
try {
|
|
36318
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
36319
|
+
return true;
|
|
36320
|
+
} catch (e) {
|
|
36321
|
+
return false;
|
|
36322
|
+
}
|
|
36323
|
+
}
|
|
36324
|
+
|
|
36325
|
+
function _getPrototypeOf(o) {
|
|
36326
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
36327
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
36328
|
+
};
|
|
36329
|
+
return _getPrototypeOf(o);
|
|
36330
|
+
}
|
|
36331
|
+
|
|
35526
36332
|
function _inheritsLoose(subClass, superClass) {
|
|
35527
36333
|
subClass.prototype = Object.create(superClass.prototype);
|
|
35528
36334
|
subClass.prototype.constructor = subClass;
|
|
@@ -35560,11 +36366,11 @@ function calculateAngle(point, center) {
|
|
|
35560
36366
|
return deg;
|
|
35561
36367
|
}
|
|
35562
36368
|
|
|
35563
|
-
var Arc =
|
|
35564
|
-
/*#__PURE__*/
|
|
35565
|
-
function (_Guide) {
|
|
36369
|
+
var Arc = /*#__PURE__*/function (_Guide) {
|
|
35566
36370
|
_inheritsLoose(Arc, _Guide);
|
|
35567
36371
|
|
|
36372
|
+
var _super = _createSuper(Arc);
|
|
36373
|
+
|
|
35568
36374
|
function Arc() {
|
|
35569
36375
|
return _Guide.apply(this, arguments) || this;
|
|
35570
36376
|
}
|
|
@@ -35652,6 +36458,59 @@ module.exports = Arc;
|
|
|
35652
36458
|
/* 318 */
|
|
35653
36459
|
/***/ (function(module, exports, __webpack_require__) {
|
|
35654
36460
|
|
|
36461
|
+
function _createSuper(Derived) {
|
|
36462
|
+
return function () {
|
|
36463
|
+
var Super = _getPrototypeOf(Derived),
|
|
36464
|
+
result;
|
|
36465
|
+
|
|
36466
|
+
if (_isNativeReflectConstruct()) {
|
|
36467
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
36468
|
+
|
|
36469
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
36470
|
+
} else {
|
|
36471
|
+
result = Super.apply(this, arguments);
|
|
36472
|
+
}
|
|
36473
|
+
|
|
36474
|
+
return _possibleConstructorReturn(this, result);
|
|
36475
|
+
};
|
|
36476
|
+
}
|
|
36477
|
+
|
|
36478
|
+
function _possibleConstructorReturn(self, call) {
|
|
36479
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
36480
|
+
return call;
|
|
36481
|
+
}
|
|
36482
|
+
|
|
36483
|
+
return _assertThisInitialized(self);
|
|
36484
|
+
}
|
|
36485
|
+
|
|
36486
|
+
function _assertThisInitialized(self) {
|
|
36487
|
+
if (self === void 0) {
|
|
36488
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
36489
|
+
}
|
|
36490
|
+
|
|
36491
|
+
return self;
|
|
36492
|
+
}
|
|
36493
|
+
|
|
36494
|
+
function _isNativeReflectConstruct() {
|
|
36495
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
36496
|
+
if (Reflect.construct.sham) return false;
|
|
36497
|
+
if (typeof Proxy === "function") return true;
|
|
36498
|
+
|
|
36499
|
+
try {
|
|
36500
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
36501
|
+
return true;
|
|
36502
|
+
} catch (e) {
|
|
36503
|
+
return false;
|
|
36504
|
+
}
|
|
36505
|
+
}
|
|
36506
|
+
|
|
36507
|
+
function _getPrototypeOf(o) {
|
|
36508
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
36509
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
36510
|
+
};
|
|
36511
|
+
return _getPrototypeOf(o);
|
|
36512
|
+
}
|
|
36513
|
+
|
|
35655
36514
|
function _inheritsLoose(subClass, superClass) {
|
|
35656
36515
|
subClass.prototype = Object.create(superClass.prototype);
|
|
35657
36516
|
subClass.prototype.constructor = subClass;
|
|
@@ -35662,11 +36521,11 @@ var Util = __webpack_require__(3);
|
|
|
35662
36521
|
|
|
35663
36522
|
var Guide = __webpack_require__(15);
|
|
35664
36523
|
|
|
35665
|
-
var DataMarker =
|
|
35666
|
-
/*#__PURE__*/
|
|
35667
|
-
function (_Guide) {
|
|
36524
|
+
var DataMarker = /*#__PURE__*/function (_Guide) {
|
|
35668
36525
|
_inheritsLoose(DataMarker, _Guide);
|
|
35669
36526
|
|
|
36527
|
+
var _super = _createSuper(DataMarker);
|
|
36528
|
+
|
|
35670
36529
|
function DataMarker() {
|
|
35671
36530
|
return _Guide.apply(this, arguments) || this;
|
|
35672
36531
|
}
|
|
@@ -35874,6 +36733,59 @@ module.exports = DataMarker;
|
|
|
35874
36733
|
/* 319 */
|
|
35875
36734
|
/***/ (function(module, exports, __webpack_require__) {
|
|
35876
36735
|
|
|
36736
|
+
function _createSuper(Derived) {
|
|
36737
|
+
return function () {
|
|
36738
|
+
var Super = _getPrototypeOf(Derived),
|
|
36739
|
+
result;
|
|
36740
|
+
|
|
36741
|
+
if (_isNativeReflectConstruct()) {
|
|
36742
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
36743
|
+
|
|
36744
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
36745
|
+
} else {
|
|
36746
|
+
result = Super.apply(this, arguments);
|
|
36747
|
+
}
|
|
36748
|
+
|
|
36749
|
+
return _possibleConstructorReturn(this, result);
|
|
36750
|
+
};
|
|
36751
|
+
}
|
|
36752
|
+
|
|
36753
|
+
function _possibleConstructorReturn(self, call) {
|
|
36754
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
36755
|
+
return call;
|
|
36756
|
+
}
|
|
36757
|
+
|
|
36758
|
+
return _assertThisInitialized(self);
|
|
36759
|
+
}
|
|
36760
|
+
|
|
36761
|
+
function _assertThisInitialized(self) {
|
|
36762
|
+
if (self === void 0) {
|
|
36763
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
36764
|
+
}
|
|
36765
|
+
|
|
36766
|
+
return self;
|
|
36767
|
+
}
|
|
36768
|
+
|
|
36769
|
+
function _isNativeReflectConstruct() {
|
|
36770
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
36771
|
+
if (Reflect.construct.sham) return false;
|
|
36772
|
+
if (typeof Proxy === "function") return true;
|
|
36773
|
+
|
|
36774
|
+
try {
|
|
36775
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
36776
|
+
return true;
|
|
36777
|
+
} catch (e) {
|
|
36778
|
+
return false;
|
|
36779
|
+
}
|
|
36780
|
+
}
|
|
36781
|
+
|
|
36782
|
+
function _getPrototypeOf(o) {
|
|
36783
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
36784
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
36785
|
+
};
|
|
36786
|
+
return _getPrototypeOf(o);
|
|
36787
|
+
}
|
|
36788
|
+
|
|
35877
36789
|
function _inheritsLoose(subClass, superClass) {
|
|
35878
36790
|
subClass.prototype = Object.create(superClass.prototype);
|
|
35879
36791
|
subClass.prototype.constructor = subClass;
|
|
@@ -35886,11 +36798,11 @@ var Helper = __webpack_require__(155);
|
|
|
35886
36798
|
|
|
35887
36799
|
var Guide = __webpack_require__(15);
|
|
35888
36800
|
|
|
35889
|
-
var DataRegion =
|
|
35890
|
-
/*#__PURE__*/
|
|
35891
|
-
function (_Guide) {
|
|
36801
|
+
var DataRegion = /*#__PURE__*/function (_Guide) {
|
|
35892
36802
|
_inheritsLoose(DataRegion, _Guide);
|
|
35893
36803
|
|
|
36804
|
+
var _super = _createSuper(DataRegion);
|
|
36805
|
+
|
|
35894
36806
|
function DataRegion() {
|
|
35895
36807
|
return _Guide.apply(this, arguments) || this;
|
|
35896
36808
|
}
|
|
@@ -36032,6 +36944,59 @@ module.exports = DataRegion;
|
|
|
36032
36944
|
/* 320 */
|
|
36033
36945
|
/***/ (function(module, exports, __webpack_require__) {
|
|
36034
36946
|
|
|
36947
|
+
function _createSuper(Derived) {
|
|
36948
|
+
return function () {
|
|
36949
|
+
var Super = _getPrototypeOf(Derived),
|
|
36950
|
+
result;
|
|
36951
|
+
|
|
36952
|
+
if (_isNativeReflectConstruct()) {
|
|
36953
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
36954
|
+
|
|
36955
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
36956
|
+
} else {
|
|
36957
|
+
result = Super.apply(this, arguments);
|
|
36958
|
+
}
|
|
36959
|
+
|
|
36960
|
+
return _possibleConstructorReturn(this, result);
|
|
36961
|
+
};
|
|
36962
|
+
}
|
|
36963
|
+
|
|
36964
|
+
function _possibleConstructorReturn(self, call) {
|
|
36965
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
36966
|
+
return call;
|
|
36967
|
+
}
|
|
36968
|
+
|
|
36969
|
+
return _assertThisInitialized(self);
|
|
36970
|
+
}
|
|
36971
|
+
|
|
36972
|
+
function _assertThisInitialized(self) {
|
|
36973
|
+
if (self === void 0) {
|
|
36974
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
36975
|
+
}
|
|
36976
|
+
|
|
36977
|
+
return self;
|
|
36978
|
+
}
|
|
36979
|
+
|
|
36980
|
+
function _isNativeReflectConstruct() {
|
|
36981
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
36982
|
+
if (Reflect.construct.sham) return false;
|
|
36983
|
+
if (typeof Proxy === "function") return true;
|
|
36984
|
+
|
|
36985
|
+
try {
|
|
36986
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
36987
|
+
return true;
|
|
36988
|
+
} catch (e) {
|
|
36989
|
+
return false;
|
|
36990
|
+
}
|
|
36991
|
+
}
|
|
36992
|
+
|
|
36993
|
+
function _getPrototypeOf(o) {
|
|
36994
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
36995
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
36996
|
+
};
|
|
36997
|
+
return _getPrototypeOf(o);
|
|
36998
|
+
}
|
|
36999
|
+
|
|
36035
37000
|
function _inheritsLoose(subClass, superClass) {
|
|
36036
37001
|
subClass.prototype = Object.create(superClass.prototype);
|
|
36037
37002
|
subClass.prototype.constructor = subClass;
|
|
@@ -36044,11 +37009,11 @@ var DomUtil = Util.DomUtil;
|
|
|
36044
37009
|
|
|
36045
37010
|
var Guide = __webpack_require__(15);
|
|
36046
37011
|
|
|
36047
|
-
var Html =
|
|
36048
|
-
/*#__PURE__*/
|
|
36049
|
-
function (_Guide) {
|
|
37012
|
+
var Html = /*#__PURE__*/function (_Guide) {
|
|
36050
37013
|
_inheritsLoose(Html, _Guide);
|
|
36051
37014
|
|
|
37015
|
+
var _super = _createSuper(Html);
|
|
37016
|
+
|
|
36052
37017
|
function Html() {
|
|
36053
37018
|
return _Guide.apply(this, arguments) || this;
|
|
36054
37019
|
}
|
|
@@ -36210,6 +37175,59 @@ module.exports = Html;
|
|
|
36210
37175
|
/* 321 */
|
|
36211
37176
|
/***/ (function(module, exports, __webpack_require__) {
|
|
36212
37177
|
|
|
37178
|
+
function _createSuper(Derived) {
|
|
37179
|
+
return function () {
|
|
37180
|
+
var Super = _getPrototypeOf(Derived),
|
|
37181
|
+
result;
|
|
37182
|
+
|
|
37183
|
+
if (_isNativeReflectConstruct()) {
|
|
37184
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
37185
|
+
|
|
37186
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
37187
|
+
} else {
|
|
37188
|
+
result = Super.apply(this, arguments);
|
|
37189
|
+
}
|
|
37190
|
+
|
|
37191
|
+
return _possibleConstructorReturn(this, result);
|
|
37192
|
+
};
|
|
37193
|
+
}
|
|
37194
|
+
|
|
37195
|
+
function _possibleConstructorReturn(self, call) {
|
|
37196
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
37197
|
+
return call;
|
|
37198
|
+
}
|
|
37199
|
+
|
|
37200
|
+
return _assertThisInitialized(self);
|
|
37201
|
+
}
|
|
37202
|
+
|
|
37203
|
+
function _assertThisInitialized(self) {
|
|
37204
|
+
if (self === void 0) {
|
|
37205
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
37206
|
+
}
|
|
37207
|
+
|
|
37208
|
+
return self;
|
|
37209
|
+
}
|
|
37210
|
+
|
|
37211
|
+
function _isNativeReflectConstruct() {
|
|
37212
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
37213
|
+
if (Reflect.construct.sham) return false;
|
|
37214
|
+
if (typeof Proxy === "function") return true;
|
|
37215
|
+
|
|
37216
|
+
try {
|
|
37217
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
37218
|
+
return true;
|
|
37219
|
+
} catch (e) {
|
|
37220
|
+
return false;
|
|
37221
|
+
}
|
|
37222
|
+
}
|
|
37223
|
+
|
|
37224
|
+
function _getPrototypeOf(o) {
|
|
37225
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
37226
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
37227
|
+
};
|
|
37228
|
+
return _getPrototypeOf(o);
|
|
37229
|
+
}
|
|
37230
|
+
|
|
36213
37231
|
function _inheritsLoose(subClass, superClass) {
|
|
36214
37232
|
subClass.prototype = Object.create(superClass.prototype);
|
|
36215
37233
|
subClass.prototype.constructor = subClass;
|
|
@@ -36220,11 +37238,11 @@ var Util = __webpack_require__(3);
|
|
|
36220
37238
|
|
|
36221
37239
|
var Guide = __webpack_require__(15);
|
|
36222
37240
|
|
|
36223
|
-
var Image =
|
|
36224
|
-
/*#__PURE__*/
|
|
36225
|
-
function (_Guide) {
|
|
37241
|
+
var Image = /*#__PURE__*/function (_Guide) {
|
|
36226
37242
|
_inheritsLoose(Image, _Guide);
|
|
36227
37243
|
|
|
37244
|
+
var _super = _createSuper(Image);
|
|
37245
|
+
|
|
36228
37246
|
function Image() {
|
|
36229
37247
|
return _Guide.apply(this, arguments) || this;
|
|
36230
37248
|
}
|
|
@@ -36326,6 +37344,59 @@ module.exports = Image;
|
|
|
36326
37344
|
/* 322 */
|
|
36327
37345
|
/***/ (function(module, exports, __webpack_require__) {
|
|
36328
37346
|
|
|
37347
|
+
function _createSuper(Derived) {
|
|
37348
|
+
return function () {
|
|
37349
|
+
var Super = _getPrototypeOf(Derived),
|
|
37350
|
+
result;
|
|
37351
|
+
|
|
37352
|
+
if (_isNativeReflectConstruct()) {
|
|
37353
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
37354
|
+
|
|
37355
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
37356
|
+
} else {
|
|
37357
|
+
result = Super.apply(this, arguments);
|
|
37358
|
+
}
|
|
37359
|
+
|
|
37360
|
+
return _possibleConstructorReturn(this, result);
|
|
37361
|
+
};
|
|
37362
|
+
}
|
|
37363
|
+
|
|
37364
|
+
function _possibleConstructorReturn(self, call) {
|
|
37365
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
37366
|
+
return call;
|
|
37367
|
+
}
|
|
37368
|
+
|
|
37369
|
+
return _assertThisInitialized(self);
|
|
37370
|
+
}
|
|
37371
|
+
|
|
37372
|
+
function _assertThisInitialized(self) {
|
|
37373
|
+
if (self === void 0) {
|
|
37374
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
37375
|
+
}
|
|
37376
|
+
|
|
37377
|
+
return self;
|
|
37378
|
+
}
|
|
37379
|
+
|
|
37380
|
+
function _isNativeReflectConstruct() {
|
|
37381
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
37382
|
+
if (Reflect.construct.sham) return false;
|
|
37383
|
+
if (typeof Proxy === "function") return true;
|
|
37384
|
+
|
|
37385
|
+
try {
|
|
37386
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
37387
|
+
return true;
|
|
37388
|
+
} catch (e) {
|
|
37389
|
+
return false;
|
|
37390
|
+
}
|
|
37391
|
+
}
|
|
37392
|
+
|
|
37393
|
+
function _getPrototypeOf(o) {
|
|
37394
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
37395
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
37396
|
+
};
|
|
37397
|
+
return _getPrototypeOf(o);
|
|
37398
|
+
}
|
|
37399
|
+
|
|
36329
37400
|
function _inheritsLoose(subClass, superClass) {
|
|
36330
37401
|
subClass.prototype = Object.create(superClass.prototype);
|
|
36331
37402
|
subClass.prototype.constructor = subClass;
|
|
@@ -36341,11 +37412,11 @@ var vec2 = Util.MatrixUtil.vec2;
|
|
|
36341
37412
|
var _require = __webpack_require__(14),
|
|
36342
37413
|
FONT_FAMILY = _require.FONT_FAMILY;
|
|
36343
37414
|
|
|
36344
|
-
var Line =
|
|
36345
|
-
/*#__PURE__*/
|
|
36346
|
-
function (_Guide) {
|
|
37415
|
+
var Line = /*#__PURE__*/function (_Guide) {
|
|
36347
37416
|
_inheritsLoose(Line, _Guide);
|
|
36348
37417
|
|
|
37418
|
+
var _super = _createSuper(Line);
|
|
37419
|
+
|
|
36349
37420
|
function Line() {
|
|
36350
37421
|
return _Guide.apply(this, arguments) || this;
|
|
36351
37422
|
}
|
|
@@ -36505,6 +37576,59 @@ module.exports = Line;
|
|
|
36505
37576
|
/* 323 */
|
|
36506
37577
|
/***/ (function(module, exports, __webpack_require__) {
|
|
36507
37578
|
|
|
37579
|
+
function _createSuper(Derived) {
|
|
37580
|
+
return function () {
|
|
37581
|
+
var Super = _getPrototypeOf(Derived),
|
|
37582
|
+
result;
|
|
37583
|
+
|
|
37584
|
+
if (_isNativeReflectConstruct()) {
|
|
37585
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
37586
|
+
|
|
37587
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
37588
|
+
} else {
|
|
37589
|
+
result = Super.apply(this, arguments);
|
|
37590
|
+
}
|
|
37591
|
+
|
|
37592
|
+
return _possibleConstructorReturn(this, result);
|
|
37593
|
+
};
|
|
37594
|
+
}
|
|
37595
|
+
|
|
37596
|
+
function _possibleConstructorReturn(self, call) {
|
|
37597
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
37598
|
+
return call;
|
|
37599
|
+
}
|
|
37600
|
+
|
|
37601
|
+
return _assertThisInitialized(self);
|
|
37602
|
+
}
|
|
37603
|
+
|
|
37604
|
+
function _assertThisInitialized(self) {
|
|
37605
|
+
if (self === void 0) {
|
|
37606
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
37607
|
+
}
|
|
37608
|
+
|
|
37609
|
+
return self;
|
|
37610
|
+
}
|
|
37611
|
+
|
|
37612
|
+
function _isNativeReflectConstruct() {
|
|
37613
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
37614
|
+
if (Reflect.construct.sham) return false;
|
|
37615
|
+
if (typeof Proxy === "function") return true;
|
|
37616
|
+
|
|
37617
|
+
try {
|
|
37618
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
37619
|
+
return true;
|
|
37620
|
+
} catch (e) {
|
|
37621
|
+
return false;
|
|
37622
|
+
}
|
|
37623
|
+
}
|
|
37624
|
+
|
|
37625
|
+
function _getPrototypeOf(o) {
|
|
37626
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
37627
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
37628
|
+
};
|
|
37629
|
+
return _getPrototypeOf(o);
|
|
37630
|
+
}
|
|
37631
|
+
|
|
36508
37632
|
function _inheritsLoose(subClass, superClass) {
|
|
36509
37633
|
subClass.prototype = Object.create(superClass.prototype);
|
|
36510
37634
|
subClass.prototype.constructor = subClass;
|
|
@@ -36515,11 +37639,11 @@ var Util = __webpack_require__(3);
|
|
|
36515
37639
|
|
|
36516
37640
|
var Guide = __webpack_require__(15);
|
|
36517
37641
|
|
|
36518
|
-
var Region =
|
|
36519
|
-
/*#__PURE__*/
|
|
36520
|
-
function (_Guide) {
|
|
37642
|
+
var Region = /*#__PURE__*/function (_Guide) {
|
|
36521
37643
|
_inheritsLoose(Region, _Guide);
|
|
36522
37644
|
|
|
37645
|
+
var _super = _createSuper(Region);
|
|
37646
|
+
|
|
36523
37647
|
function Region() {
|
|
36524
37648
|
return _Guide.apply(this, arguments) || this;
|
|
36525
37649
|
}
|
|
@@ -36586,6 +37710,59 @@ module.exports = Region;
|
|
|
36586
37710
|
/* 324 */
|
|
36587
37711
|
/***/ (function(module, exports, __webpack_require__) {
|
|
36588
37712
|
|
|
37713
|
+
function _createSuper(Derived) {
|
|
37714
|
+
return function () {
|
|
37715
|
+
var Super = _getPrototypeOf(Derived),
|
|
37716
|
+
result;
|
|
37717
|
+
|
|
37718
|
+
if (_isNativeReflectConstruct()) {
|
|
37719
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
37720
|
+
|
|
37721
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
37722
|
+
} else {
|
|
37723
|
+
result = Super.apply(this, arguments);
|
|
37724
|
+
}
|
|
37725
|
+
|
|
37726
|
+
return _possibleConstructorReturn(this, result);
|
|
37727
|
+
};
|
|
37728
|
+
}
|
|
37729
|
+
|
|
37730
|
+
function _possibleConstructorReturn(self, call) {
|
|
37731
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
37732
|
+
return call;
|
|
37733
|
+
}
|
|
37734
|
+
|
|
37735
|
+
return _assertThisInitialized(self);
|
|
37736
|
+
}
|
|
37737
|
+
|
|
37738
|
+
function _assertThisInitialized(self) {
|
|
37739
|
+
if (self === void 0) {
|
|
37740
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
37741
|
+
}
|
|
37742
|
+
|
|
37743
|
+
return self;
|
|
37744
|
+
}
|
|
37745
|
+
|
|
37746
|
+
function _isNativeReflectConstruct() {
|
|
37747
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
37748
|
+
if (Reflect.construct.sham) return false;
|
|
37749
|
+
if (typeof Proxy === "function") return true;
|
|
37750
|
+
|
|
37751
|
+
try {
|
|
37752
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
37753
|
+
return true;
|
|
37754
|
+
} catch (e) {
|
|
37755
|
+
return false;
|
|
37756
|
+
}
|
|
37757
|
+
}
|
|
37758
|
+
|
|
37759
|
+
function _getPrototypeOf(o) {
|
|
37760
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
37761
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
37762
|
+
};
|
|
37763
|
+
return _getPrototypeOf(o);
|
|
37764
|
+
}
|
|
37765
|
+
|
|
36589
37766
|
function _inheritsLoose(subClass, superClass) {
|
|
36590
37767
|
subClass.prototype = Object.create(superClass.prototype);
|
|
36591
37768
|
subClass.prototype.constructor = subClass;
|
|
@@ -36596,11 +37773,11 @@ var Util = __webpack_require__(3);
|
|
|
36596
37773
|
|
|
36597
37774
|
var Guide = __webpack_require__(15);
|
|
36598
37775
|
|
|
36599
|
-
var Text =
|
|
36600
|
-
/*#__PURE__*/
|
|
36601
|
-
function (_Guide) {
|
|
37776
|
+
var Text = /*#__PURE__*/function (_Guide) {
|
|
36602
37777
|
_inheritsLoose(Text, _Guide);
|
|
36603
37778
|
|
|
37779
|
+
var _super = _createSuper(Text);
|
|
37780
|
+
|
|
36604
37781
|
function Text() {
|
|
36605
37782
|
return _Guide.apply(this, arguments) || this;
|
|
36606
37783
|
}
|
|
@@ -36731,6 +37908,59 @@ module.exports = {
|
|
|
36731
37908
|
/* 327 */
|
|
36732
37909
|
/***/ (function(module, exports, __webpack_require__) {
|
|
36733
37910
|
|
|
37911
|
+
function _createSuper(Derived) {
|
|
37912
|
+
return function () {
|
|
37913
|
+
var Super = _getPrototypeOf(Derived),
|
|
37914
|
+
result;
|
|
37915
|
+
|
|
37916
|
+
if (_isNativeReflectConstruct()) {
|
|
37917
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
37918
|
+
|
|
37919
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
37920
|
+
} else {
|
|
37921
|
+
result = Super.apply(this, arguments);
|
|
37922
|
+
}
|
|
37923
|
+
|
|
37924
|
+
return _possibleConstructorReturn(this, result);
|
|
37925
|
+
};
|
|
37926
|
+
}
|
|
37927
|
+
|
|
37928
|
+
function _possibleConstructorReturn(self, call) {
|
|
37929
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
37930
|
+
return call;
|
|
37931
|
+
}
|
|
37932
|
+
|
|
37933
|
+
return _assertThisInitialized(self);
|
|
37934
|
+
}
|
|
37935
|
+
|
|
37936
|
+
function _assertThisInitialized(self) {
|
|
37937
|
+
if (self === void 0) {
|
|
37938
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
37939
|
+
}
|
|
37940
|
+
|
|
37941
|
+
return self;
|
|
37942
|
+
}
|
|
37943
|
+
|
|
37944
|
+
function _isNativeReflectConstruct() {
|
|
37945
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
37946
|
+
if (Reflect.construct.sham) return false;
|
|
37947
|
+
if (typeof Proxy === "function") return true;
|
|
37948
|
+
|
|
37949
|
+
try {
|
|
37950
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
37951
|
+
return true;
|
|
37952
|
+
} catch (e) {
|
|
37953
|
+
return false;
|
|
37954
|
+
}
|
|
37955
|
+
}
|
|
37956
|
+
|
|
37957
|
+
function _getPrototypeOf(o) {
|
|
37958
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
37959
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
37960
|
+
};
|
|
37961
|
+
return _getPrototypeOf(o);
|
|
37962
|
+
}
|
|
37963
|
+
|
|
36734
37964
|
function _inheritsLoose(subClass, superClass) {
|
|
36735
37965
|
subClass.prototype = Object.create(superClass.prototype);
|
|
36736
37966
|
subClass.prototype.constructor = subClass;
|
|
@@ -36756,11 +37986,11 @@ function findNodeByClass(node, className) {
|
|
|
36756
37986
|
return node.getElementsByClassName(className)[0];
|
|
36757
37987
|
}
|
|
36758
37988
|
|
|
36759
|
-
var CatPageHtml =
|
|
36760
|
-
/*#__PURE__*/
|
|
36761
|
-
function (_CatHtml) {
|
|
37989
|
+
var CatPageHtml = /*#__PURE__*/function (_CatHtml) {
|
|
36762
37990
|
_inheritsLoose(CatPageHtml, _CatHtml);
|
|
36763
37991
|
|
|
37992
|
+
var _super = _createSuper(CatPageHtml);
|
|
37993
|
+
|
|
36764
37994
|
function CatPageHtml() {
|
|
36765
37995
|
return _CatHtml.apply(this, arguments) || this;
|
|
36766
37996
|
}
|
|
@@ -37010,6 +38240,59 @@ module.exports = CatPageHtml;
|
|
|
37010
38240
|
/* 328 */
|
|
37011
38241
|
/***/ (function(module, exports, __webpack_require__) {
|
|
37012
38242
|
|
|
38243
|
+
function _createSuper(Derived) {
|
|
38244
|
+
return function () {
|
|
38245
|
+
var Super = _getPrototypeOf(Derived),
|
|
38246
|
+
result;
|
|
38247
|
+
|
|
38248
|
+
if (_isNativeReflectConstruct()) {
|
|
38249
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
38250
|
+
|
|
38251
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
38252
|
+
} else {
|
|
38253
|
+
result = Super.apply(this, arguments);
|
|
38254
|
+
}
|
|
38255
|
+
|
|
38256
|
+
return _possibleConstructorReturn(this, result);
|
|
38257
|
+
};
|
|
38258
|
+
}
|
|
38259
|
+
|
|
38260
|
+
function _possibleConstructorReturn(self, call) {
|
|
38261
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
38262
|
+
return call;
|
|
38263
|
+
}
|
|
38264
|
+
|
|
38265
|
+
return _assertThisInitialized(self);
|
|
38266
|
+
}
|
|
38267
|
+
|
|
38268
|
+
function _assertThisInitialized(self) {
|
|
38269
|
+
if (self === void 0) {
|
|
38270
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
38271
|
+
}
|
|
38272
|
+
|
|
38273
|
+
return self;
|
|
38274
|
+
}
|
|
38275
|
+
|
|
38276
|
+
function _isNativeReflectConstruct() {
|
|
38277
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
38278
|
+
if (Reflect.construct.sham) return false;
|
|
38279
|
+
if (typeof Proxy === "function") return true;
|
|
38280
|
+
|
|
38281
|
+
try {
|
|
38282
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
38283
|
+
return true;
|
|
38284
|
+
} catch (e) {
|
|
38285
|
+
return false;
|
|
38286
|
+
}
|
|
38287
|
+
}
|
|
38288
|
+
|
|
38289
|
+
function _getPrototypeOf(o) {
|
|
38290
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
38291
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
38292
|
+
};
|
|
38293
|
+
return _getPrototypeOf(o);
|
|
38294
|
+
}
|
|
38295
|
+
|
|
37013
38296
|
function _inheritsLoose(subClass, superClass) {
|
|
37014
38297
|
subClass.prototype = Object.create(superClass.prototype);
|
|
37015
38298
|
subClass.prototype.constructor = subClass;
|
|
@@ -37029,11 +38312,11 @@ var Util = __webpack_require__(3);
|
|
|
37029
38312
|
|
|
37030
38313
|
var Continuous = __webpack_require__(68);
|
|
37031
38314
|
|
|
37032
|
-
var Color =
|
|
37033
|
-
/*#__PURE__*/
|
|
37034
|
-
function (_Continuous) {
|
|
38315
|
+
var Color = /*#__PURE__*/function (_Continuous) {
|
|
37035
38316
|
_inheritsLoose(Color, _Continuous);
|
|
37036
38317
|
|
|
38318
|
+
var _super = _createSuper(Color);
|
|
38319
|
+
|
|
37037
38320
|
function Color() {
|
|
37038
38321
|
return _Continuous.apply(this, arguments) || this;
|
|
37039
38322
|
}
|
|
@@ -37232,34 +38515,22 @@ module.exports = Color;
|
|
|
37232
38515
|
/* 329 */
|
|
37233
38516
|
/***/ (function(module, exports, __webpack_require__) {
|
|
37234
38517
|
|
|
37235
|
-
function _inheritsLoose(subClass, superClass) {
|
|
37236
|
-
subClass.prototype = Object.create(superClass.prototype);
|
|
37237
|
-
subClass.prototype.constructor = subClass;
|
|
37238
|
-
subClass.__proto__ = superClass;
|
|
37239
|
-
}
|
|
37240
38518
|
/**
|
|
37241
38519
|
* @fileOverview The class of slider
|
|
37242
38520
|
* @author sima.zhang
|
|
37243
38521
|
*/
|
|
37244
|
-
|
|
37245
|
-
|
|
37246
38522
|
var Util = __webpack_require__(3);
|
|
37247
38523
|
|
|
37248
38524
|
var DomUtil = Util.DomUtil;
|
|
37249
38525
|
var Group = Util.Group;
|
|
37250
38526
|
|
|
37251
|
-
var Slider =
|
|
37252
|
-
|
|
37253
|
-
|
|
37254
|
-
_inheritsLoose(Slider, _Group);
|
|
37255
|
-
|
|
37256
|
-
function Slider() {
|
|
37257
|
-
return _Group.apply(this, arguments) || this;
|
|
37258
|
-
}
|
|
37259
|
-
|
|
37260
|
-
var _proto = Slider.prototype;
|
|
38527
|
+
var Slider = function Slider(cfg) {
|
|
38528
|
+
Slider.superclass.constructor.call(this, cfg);
|
|
38529
|
+
};
|
|
37261
38530
|
|
|
37262
|
-
|
|
38531
|
+
Util.extend(Slider, Group);
|
|
38532
|
+
Util.augment(Slider, {
|
|
38533
|
+
getDefaultCfg: function getDefaultCfg() {
|
|
37263
38534
|
return {
|
|
37264
38535
|
/**
|
|
37265
38536
|
* 范围
|
|
@@ -37338,10 +38609,9 @@ function (_Group) {
|
|
|
37338
38609
|
*/
|
|
37339
38610
|
pageY: null
|
|
37340
38611
|
};
|
|
37341
|
-
}
|
|
37342
|
-
|
|
37343
|
-
|
|
37344
|
-
_proto._beforeRenderUI = function _beforeRenderUI() {
|
|
38612
|
+
},
|
|
38613
|
+
// arrange the zindex and cursors of each element
|
|
38614
|
+
_beforeRenderUI: function _beforeRenderUI() {
|
|
37345
38615
|
var layout = this.get('layout');
|
|
37346
38616
|
var backgroundElement = this.get('backgroundElement');
|
|
37347
38617
|
var minHandleElement = this.get('minHandleElement');
|
|
@@ -37360,18 +38630,16 @@ function (_Group) {
|
|
|
37360
38630
|
minHandleElement.attr('cursor', trigerCursor);
|
|
37361
38631
|
maxHandleElement.attr('cursor', trigerCursor);
|
|
37362
38632
|
this.sort();
|
|
37363
|
-
}
|
|
37364
|
-
|
|
37365
|
-
|
|
37366
|
-
_proto._renderUI = function _renderUI() {
|
|
38633
|
+
},
|
|
38634
|
+
// rendering
|
|
38635
|
+
_renderUI: function _renderUI() {
|
|
37367
38636
|
if (this.get('layout') === 'horizontal') {
|
|
37368
38637
|
this._renderHorizontal();
|
|
37369
38638
|
} else {
|
|
37370
38639
|
this._renderVertical();
|
|
37371
38640
|
}
|
|
37372
|
-
}
|
|
37373
|
-
|
|
37374
|
-
_proto._transform = function _transform(layout) {
|
|
38641
|
+
},
|
|
38642
|
+
_transform: function _transform(layout) {
|
|
37375
38643
|
var range = this.get('range');
|
|
37376
38644
|
var minRatio = range[0] / 100;
|
|
37377
38645
|
var maxRatio = range[1] / 100;
|
|
@@ -37402,22 +38670,18 @@ function (_Group) {
|
|
|
37402
38670
|
minHandleElement.translate(1, (1 - minRatio) * height);
|
|
37403
38671
|
maxHandleElement.translate(1, (1 - maxRatio) * height);
|
|
37404
38672
|
}
|
|
37405
|
-
}
|
|
37406
|
-
|
|
37407
|
-
_proto._renderHorizontal = function _renderHorizontal() {
|
|
38673
|
+
},
|
|
38674
|
+
_renderHorizontal: function _renderHorizontal() {
|
|
37408
38675
|
this._transform('horizontal');
|
|
37409
|
-
}
|
|
37410
|
-
|
|
37411
|
-
_proto._renderVertical = function _renderVertical() {
|
|
38676
|
+
},
|
|
38677
|
+
_renderVertical: function _renderVertical() {
|
|
37412
38678
|
this._transform('vertical');
|
|
37413
|
-
}
|
|
37414
|
-
|
|
37415
|
-
_proto._bindUI = function _bindUI() {
|
|
38679
|
+
},
|
|
38680
|
+
_bindUI: function _bindUI() {
|
|
37416
38681
|
this.on('mousedown', Util.wrapBehavior(this, '_onMouseDown'));
|
|
37417
|
-
}
|
|
37418
|
-
|
|
37419
|
-
|
|
37420
|
-
_proto._isElement = function _isElement(target, name) {
|
|
38682
|
+
},
|
|
38683
|
+
// if the target matches name
|
|
38684
|
+
_isElement: function _isElement(target, name) {
|
|
37421
38685
|
var element = this.get(name);
|
|
37422
38686
|
|
|
37423
38687
|
if (target === element) {
|
|
@@ -37430,18 +38694,16 @@ function (_Group) {
|
|
|
37430
38694
|
}
|
|
37431
38695
|
|
|
37432
38696
|
return false;
|
|
37433
|
-
}
|
|
38697
|
+
},
|
|
38698
|
+
// get the result range after adding diff to range
|
|
37434
38699
|
// insure that the result out of the interval [0, 100]
|
|
37435
|
-
|
|
37436
|
-
|
|
37437
|
-
_proto._getRange = function _getRange(diff, range) {
|
|
38700
|
+
_getRange: function _getRange(diff, range) {
|
|
37438
38701
|
var rst = diff + range;
|
|
37439
38702
|
rst = rst > 100 ? 100 : rst;
|
|
37440
38703
|
rst = rst < 0 ? 0 : rst;
|
|
37441
38704
|
return rst;
|
|
37442
|
-
}
|
|
37443
|
-
|
|
37444
|
-
_proto._updateStatus = function _updateStatus(dim, ev) {
|
|
38705
|
+
},
|
|
38706
|
+
_updateStatus: function _updateStatus(dim, ev) {
|
|
37445
38707
|
var totalLength = dim === 'x' ? this.get('width') : this.get('height');
|
|
37446
38708
|
dim = Util.upperFirst(dim);
|
|
37447
38709
|
var range = this.get('range');
|
|
@@ -37497,10 +38759,9 @@ function (_Group) {
|
|
|
37497
38759
|
this.get('canvas').draw(); // need delete
|
|
37498
38760
|
|
|
37499
38761
|
return;
|
|
37500
|
-
}
|
|
37501
|
-
|
|
37502
|
-
|
|
37503
|
-
_proto._onMouseDown = function _onMouseDown(ev) {
|
|
38762
|
+
},
|
|
38763
|
+
// the listener of mouse down
|
|
38764
|
+
_onMouseDown: function _onMouseDown(ev) {
|
|
37504
38765
|
var currentTarget = ev.currentTarget;
|
|
37505
38766
|
var originEvent = ev.event;
|
|
37506
38767
|
var range = this.get('range');
|
|
@@ -37513,18 +38774,16 @@ function (_Group) {
|
|
|
37513
38774
|
this.set('rangeStash', [range[0], range[1]]);
|
|
37514
38775
|
|
|
37515
38776
|
this._bindCanvasEvents();
|
|
37516
|
-
}
|
|
37517
|
-
|
|
37518
|
-
_proto._bindCanvasEvents = function _bindCanvasEvents() {
|
|
38777
|
+
},
|
|
38778
|
+
_bindCanvasEvents: function _bindCanvasEvents() {
|
|
37519
38779
|
var containerDOM = this.get('canvas').get('containerDOM'); // this.on('mousemove', Util.wrapBehavior(this, '_onCanvasMouseMove'));
|
|
37520
38780
|
|
|
37521
38781
|
this.onMouseMoveListener = DomUtil.addEventListener(containerDOM, 'mousemove', Util.wrapBehavior(this, '_onCanvasMouseMove'));
|
|
37522
38782
|
this.onMouseUpListener = DomUtil.addEventListener(containerDOM, 'mouseup', Util.wrapBehavior(this, '_onCanvasMouseUp'));
|
|
37523
38783
|
this.onMouseLeaveListener = DomUtil.addEventListener(containerDOM, 'mouseleave', Util.wrapBehavior(this, '_onCanvasMouseUp'));
|
|
37524
|
-
}
|
|
37525
|
-
|
|
37526
|
-
|
|
37527
|
-
_proto._onCanvasMouseMove = function _onCanvasMouseMove(ev) {
|
|
38784
|
+
},
|
|
38785
|
+
// listener of mouse click and move = drag
|
|
38786
|
+
_onCanvasMouseMove: function _onCanvasMouseMove(ev) {
|
|
37528
38787
|
if (!this._mouseOutArea(ev)) {
|
|
37529
38788
|
var layout = this.get('layout');
|
|
37530
38789
|
|
|
@@ -37534,21 +38793,18 @@ function (_Group) {
|
|
|
37534
38793
|
this._updateStatus('y', ev);
|
|
37535
38794
|
}
|
|
37536
38795
|
}
|
|
37537
|
-
}
|
|
37538
|
-
|
|
37539
|
-
|
|
37540
|
-
_proto._onCanvasMouseUp = function _onCanvasMouseUp() {
|
|
38796
|
+
},
|
|
38797
|
+
// listener of mouse up
|
|
38798
|
+
_onCanvasMouseUp: function _onCanvasMouseUp() {
|
|
37541
38799
|
this._removeDocumentEvents();
|
|
37542
|
-
}
|
|
37543
|
-
|
|
37544
|
-
|
|
37545
|
-
_proto._removeDocumentEvents = function _removeDocumentEvents() {
|
|
38800
|
+
},
|
|
38801
|
+
// remove listeners
|
|
38802
|
+
_removeDocumentEvents: function _removeDocumentEvents() {
|
|
37546
38803
|
this.onMouseMoveListener.remove();
|
|
37547
38804
|
this.onMouseUpListener.remove();
|
|
37548
|
-
}
|
|
37549
|
-
|
|
37550
|
-
|
|
37551
|
-
_proto._mouseOutArea = function _mouseOutArea(ev) {
|
|
38805
|
+
},
|
|
38806
|
+
// if the mouse is out of the area
|
|
38807
|
+
_mouseOutArea: function _mouseOutArea(ev) {
|
|
37552
38808
|
var el = this.get('canvas').get('el');
|
|
37553
38809
|
var el_bbox = el.getBoundingClientRect();
|
|
37554
38810
|
var parent = this.get('parent');
|
|
@@ -37565,17 +38821,67 @@ function (_Group) {
|
|
|
37565
38821
|
}
|
|
37566
38822
|
|
|
37567
38823
|
return false;
|
|
37568
|
-
}
|
|
37569
|
-
|
|
37570
|
-
return Slider;
|
|
37571
|
-
}(Group);
|
|
37572
|
-
|
|
38824
|
+
}
|
|
38825
|
+
});
|
|
37573
38826
|
module.exports = Slider;
|
|
37574
38827
|
|
|
37575
38828
|
/***/ }),
|
|
37576
38829
|
/* 330 */
|
|
37577
38830
|
/***/ (function(module, exports, __webpack_require__) {
|
|
37578
38831
|
|
|
38832
|
+
function _createSuper(Derived) {
|
|
38833
|
+
return function () {
|
|
38834
|
+
var Super = _getPrototypeOf(Derived),
|
|
38835
|
+
result;
|
|
38836
|
+
|
|
38837
|
+
if (_isNativeReflectConstruct()) {
|
|
38838
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
38839
|
+
|
|
38840
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
38841
|
+
} else {
|
|
38842
|
+
result = Super.apply(this, arguments);
|
|
38843
|
+
}
|
|
38844
|
+
|
|
38845
|
+
return _possibleConstructorReturn(this, result);
|
|
38846
|
+
};
|
|
38847
|
+
}
|
|
38848
|
+
|
|
38849
|
+
function _possibleConstructorReturn(self, call) {
|
|
38850
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
38851
|
+
return call;
|
|
38852
|
+
}
|
|
38853
|
+
|
|
38854
|
+
return _assertThisInitialized(self);
|
|
38855
|
+
}
|
|
38856
|
+
|
|
38857
|
+
function _assertThisInitialized(self) {
|
|
38858
|
+
if (self === void 0) {
|
|
38859
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
38860
|
+
}
|
|
38861
|
+
|
|
38862
|
+
return self;
|
|
38863
|
+
}
|
|
38864
|
+
|
|
38865
|
+
function _isNativeReflectConstruct() {
|
|
38866
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
38867
|
+
if (Reflect.construct.sham) return false;
|
|
38868
|
+
if (typeof Proxy === "function") return true;
|
|
38869
|
+
|
|
38870
|
+
try {
|
|
38871
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
38872
|
+
return true;
|
|
38873
|
+
} catch (e) {
|
|
38874
|
+
return false;
|
|
38875
|
+
}
|
|
38876
|
+
}
|
|
38877
|
+
|
|
38878
|
+
function _getPrototypeOf(o) {
|
|
38879
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
38880
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
38881
|
+
};
|
|
38882
|
+
return _getPrototypeOf(o);
|
|
38883
|
+
}
|
|
38884
|
+
|
|
37579
38885
|
function _inheritsLoose(subClass, superClass) {
|
|
37580
38886
|
subClass.prototype = Object.create(superClass.prototype);
|
|
37581
38887
|
subClass.prototype.constructor = subClass;
|
|
@@ -37591,11 +38897,11 @@ var Util = __webpack_require__(3);
|
|
|
37591
38897
|
|
|
37592
38898
|
var Continuous = __webpack_require__(68);
|
|
37593
38899
|
|
|
37594
|
-
var Size =
|
|
37595
|
-
/*#__PURE__*/
|
|
37596
|
-
function (_Continuous) {
|
|
38900
|
+
var Size = /*#__PURE__*/function (_Continuous) {
|
|
37597
38901
|
_inheritsLoose(Size, _Continuous);
|
|
37598
38902
|
|
|
38903
|
+
var _super = _createSuper(Size);
|
|
38904
|
+
|
|
37599
38905
|
function Size() {
|
|
37600
38906
|
return _Continuous.apply(this, arguments) || this;
|
|
37601
38907
|
}
|
|
@@ -37727,6 +39033,59 @@ module.exports = Size;
|
|
|
37727
39033
|
/* 331 */
|
|
37728
39034
|
/***/ (function(module, exports, __webpack_require__) {
|
|
37729
39035
|
|
|
39036
|
+
function _createSuper(Derived) {
|
|
39037
|
+
return function () {
|
|
39038
|
+
var Super = _getPrototypeOf(Derived),
|
|
39039
|
+
result;
|
|
39040
|
+
|
|
39041
|
+
if (_isNativeReflectConstruct()) {
|
|
39042
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
39043
|
+
|
|
39044
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
39045
|
+
} else {
|
|
39046
|
+
result = Super.apply(this, arguments);
|
|
39047
|
+
}
|
|
39048
|
+
|
|
39049
|
+
return _possibleConstructorReturn(this, result);
|
|
39050
|
+
};
|
|
39051
|
+
}
|
|
39052
|
+
|
|
39053
|
+
function _possibleConstructorReturn(self, call) {
|
|
39054
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
39055
|
+
return call;
|
|
39056
|
+
}
|
|
39057
|
+
|
|
39058
|
+
return _assertThisInitialized(self);
|
|
39059
|
+
}
|
|
39060
|
+
|
|
39061
|
+
function _assertThisInitialized(self) {
|
|
39062
|
+
if (self === void 0) {
|
|
39063
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
39064
|
+
}
|
|
39065
|
+
|
|
39066
|
+
return self;
|
|
39067
|
+
}
|
|
39068
|
+
|
|
39069
|
+
function _isNativeReflectConstruct() {
|
|
39070
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
39071
|
+
if (Reflect.construct.sham) return false;
|
|
39072
|
+
if (typeof Proxy === "function") return true;
|
|
39073
|
+
|
|
39074
|
+
try {
|
|
39075
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
39076
|
+
return true;
|
|
39077
|
+
} catch (e) {
|
|
39078
|
+
return false;
|
|
39079
|
+
}
|
|
39080
|
+
}
|
|
39081
|
+
|
|
39082
|
+
function _getPrototypeOf(o) {
|
|
39083
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
39084
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
39085
|
+
};
|
|
39086
|
+
return _getPrototypeOf(o);
|
|
39087
|
+
}
|
|
39088
|
+
|
|
37730
39089
|
function _inheritsLoose(subClass, superClass) {
|
|
37731
39090
|
subClass.prototype = Object.create(superClass.prototype);
|
|
37732
39091
|
subClass.prototype.constructor = subClass;
|
|
@@ -37749,11 +39108,11 @@ var CIRCLE_GAP = 16;
|
|
|
37749
39108
|
var MAX_SIZE = 16;
|
|
37750
39109
|
var MIN_SIZE = 5;
|
|
37751
39110
|
|
|
37752
|
-
var CircleSize =
|
|
37753
|
-
/*#__PURE__*/
|
|
37754
|
-
function (_Continuous) {
|
|
39111
|
+
var CircleSize = /*#__PURE__*/function (_Continuous) {
|
|
37755
39112
|
_inheritsLoose(CircleSize, _Continuous);
|
|
37756
39113
|
|
|
39114
|
+
var _super = _createSuper(CircleSize);
|
|
39115
|
+
|
|
37757
39116
|
function CircleSize() {
|
|
37758
39117
|
return _Continuous.apply(this, arguments) || this;
|
|
37759
39118
|
}
|
|
@@ -38084,6 +39443,31 @@ function _extends() {
|
|
|
38084
39443
|
return _extends.apply(this, arguments);
|
|
38085
39444
|
}
|
|
38086
39445
|
|
|
39446
|
+
function _createSuper(Derived) {
|
|
39447
|
+
return function () {
|
|
39448
|
+
var Super = _getPrototypeOf(Derived),
|
|
39449
|
+
result;
|
|
39450
|
+
|
|
39451
|
+
if (_isNativeReflectConstruct()) {
|
|
39452
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
39453
|
+
|
|
39454
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
39455
|
+
} else {
|
|
39456
|
+
result = Super.apply(this, arguments);
|
|
39457
|
+
}
|
|
39458
|
+
|
|
39459
|
+
return _possibleConstructorReturn(this, result);
|
|
39460
|
+
};
|
|
39461
|
+
}
|
|
39462
|
+
|
|
39463
|
+
function _possibleConstructorReturn(self, call) {
|
|
39464
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
39465
|
+
return call;
|
|
39466
|
+
}
|
|
39467
|
+
|
|
39468
|
+
return _assertThisInitialized(self);
|
|
39469
|
+
}
|
|
39470
|
+
|
|
38087
39471
|
function _assertThisInitialized(self) {
|
|
38088
39472
|
if (self === void 0) {
|
|
38089
39473
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -38092,6 +39476,26 @@ function _assertThisInitialized(self) {
|
|
|
38092
39476
|
return self;
|
|
38093
39477
|
}
|
|
38094
39478
|
|
|
39479
|
+
function _isNativeReflectConstruct() {
|
|
39480
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
39481
|
+
if (Reflect.construct.sham) return false;
|
|
39482
|
+
if (typeof Proxy === "function") return true;
|
|
39483
|
+
|
|
39484
|
+
try {
|
|
39485
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
39486
|
+
return true;
|
|
39487
|
+
} catch (e) {
|
|
39488
|
+
return false;
|
|
39489
|
+
}
|
|
39490
|
+
}
|
|
39491
|
+
|
|
39492
|
+
function _getPrototypeOf(o) {
|
|
39493
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
39494
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
39495
|
+
};
|
|
39496
|
+
return _getPrototypeOf(o);
|
|
39497
|
+
}
|
|
39498
|
+
|
|
38095
39499
|
function _inheritsLoose(subClass, superClass) {
|
|
38096
39500
|
subClass.prototype = Object.create(superClass.prototype);
|
|
38097
39501
|
subClass.prototype.constructor = subClass;
|
|
@@ -38136,11 +39540,11 @@ function mergeStyles(styles, cfg) {
|
|
|
38136
39540
|
return styles;
|
|
38137
39541
|
}
|
|
38138
39542
|
|
|
38139
|
-
var HtmlTooltip =
|
|
38140
|
-
/*#__PURE__*/
|
|
38141
|
-
function (_Tooltip) {
|
|
39543
|
+
var HtmlTooltip = /*#__PURE__*/function (_Tooltip) {
|
|
38142
39544
|
_inheritsLoose(HtmlTooltip, _Tooltip);
|
|
38143
39545
|
|
|
39546
|
+
var _super = _createSuper(HtmlTooltip);
|
|
39547
|
+
|
|
38144
39548
|
var _proto = HtmlTooltip.prototype;
|
|
38145
39549
|
|
|
38146
39550
|
_proto.getDefaultCfg = function getDefaultCfg() {
|
|
@@ -38547,6 +39951,59 @@ module.exports = TooltipTheme;
|
|
|
38547
39951
|
/* 335 */
|
|
38548
39952
|
/***/ (function(module, exports, __webpack_require__) {
|
|
38549
39953
|
|
|
39954
|
+
function _createSuper(Derived) {
|
|
39955
|
+
return function () {
|
|
39956
|
+
var Super = _getPrototypeOf(Derived),
|
|
39957
|
+
result;
|
|
39958
|
+
|
|
39959
|
+
if (_isNativeReflectConstruct()) {
|
|
39960
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
39961
|
+
|
|
39962
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
39963
|
+
} else {
|
|
39964
|
+
result = Super.apply(this, arguments);
|
|
39965
|
+
}
|
|
39966
|
+
|
|
39967
|
+
return _possibleConstructorReturn(this, result);
|
|
39968
|
+
};
|
|
39969
|
+
}
|
|
39970
|
+
|
|
39971
|
+
function _possibleConstructorReturn(self, call) {
|
|
39972
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
39973
|
+
return call;
|
|
39974
|
+
}
|
|
39975
|
+
|
|
39976
|
+
return _assertThisInitialized(self);
|
|
39977
|
+
}
|
|
39978
|
+
|
|
39979
|
+
function _assertThisInitialized(self) {
|
|
39980
|
+
if (self === void 0) {
|
|
39981
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
39982
|
+
}
|
|
39983
|
+
|
|
39984
|
+
return self;
|
|
39985
|
+
}
|
|
39986
|
+
|
|
39987
|
+
function _isNativeReflectConstruct() {
|
|
39988
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
39989
|
+
if (Reflect.construct.sham) return false;
|
|
39990
|
+
if (typeof Proxy === "function") return true;
|
|
39991
|
+
|
|
39992
|
+
try {
|
|
39993
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
39994
|
+
return true;
|
|
39995
|
+
} catch (e) {
|
|
39996
|
+
return false;
|
|
39997
|
+
}
|
|
39998
|
+
}
|
|
39999
|
+
|
|
40000
|
+
function _getPrototypeOf(o) {
|
|
40001
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
40002
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
40003
|
+
};
|
|
40004
|
+
return _getPrototypeOf(o);
|
|
40005
|
+
}
|
|
40006
|
+
|
|
38550
40007
|
function _inheritsLoose(subClass, superClass) {
|
|
38551
40008
|
subClass.prototype = Object.create(superClass.prototype);
|
|
38552
40009
|
subClass.prototype.constructor = subClass;
|
|
@@ -38563,11 +40020,11 @@ var _require = __webpack_require__(14),
|
|
|
38563
40020
|
var DomUtil = Util.DomUtil;
|
|
38564
40021
|
var MatrixUtil = Util.MatrixUtil;
|
|
38565
40022
|
|
|
38566
|
-
var MiniTooltip =
|
|
38567
|
-
/*#__PURE__*/
|
|
38568
|
-
function (_CanvasTooltip) {
|
|
40023
|
+
var MiniTooltip = /*#__PURE__*/function (_CanvasTooltip) {
|
|
38569
40024
|
_inheritsLoose(MiniTooltip, _CanvasTooltip);
|
|
38570
40025
|
|
|
40026
|
+
var _super = _createSuper(MiniTooltip);
|
|
40027
|
+
|
|
38571
40028
|
function MiniTooltip() {
|
|
38572
40029
|
return _CanvasTooltip.apply(this, arguments) || this;
|
|
38573
40030
|
}
|
|
@@ -40455,16 +41912,14 @@ var Scale = __webpack_require__(74);
|
|
|
40455
41912
|
|
|
40456
41913
|
var Util = __webpack_require__(0);
|
|
40457
41914
|
|
|
40458
|
-
var dateRegex = /^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]
|
|
41915
|
+
var dateRegex = /^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;
|
|
40459
41916
|
var TYPES = {
|
|
40460
41917
|
LINEAR: 'linear',
|
|
40461
41918
|
CAT: 'cat',
|
|
40462
41919
|
TIME: 'time'
|
|
40463
41920
|
};
|
|
40464
41921
|
|
|
40465
|
-
var ScaleController =
|
|
40466
|
-
/*#__PURE__*/
|
|
40467
|
-
function () {
|
|
41922
|
+
var ScaleController = /*#__PURE__*/function () {
|
|
40468
41923
|
function ScaleController(cfg) {
|
|
40469
41924
|
// defs 列定义
|
|
40470
41925
|
this.defs = {};
|
|
@@ -40595,9 +42050,7 @@ var Util = __webpack_require__(0);
|
|
|
40595
42050
|
|
|
40596
42051
|
var Coord = __webpack_require__(345);
|
|
40597
42052
|
|
|
40598
|
-
var CoordController =
|
|
40599
|
-
/*#__PURE__*/
|
|
40600
|
-
function () {
|
|
42053
|
+
var CoordController = /*#__PURE__*/function () {
|
|
40601
42054
|
function CoordController(option) {
|
|
40602
42055
|
this.type = 'rect';
|
|
40603
42056
|
this.actions = [];
|
|
@@ -40851,9 +42304,7 @@ var mix = __webpack_require__(8);
|
|
|
40851
42304
|
|
|
40852
42305
|
var Base = __webpack_require__(44);
|
|
40853
42306
|
|
|
40854
|
-
var Cartesian =
|
|
40855
|
-
/*#__PURE__*/
|
|
40856
|
-
function (_Base) {
|
|
42307
|
+
var Cartesian = /*#__PURE__*/function (_Base) {
|
|
40857
42308
|
_inherits(Cartesian, _Base);
|
|
40858
42309
|
|
|
40859
42310
|
_createClass(Cartesian, [{
|
|
@@ -41089,9 +42540,7 @@ var mat3 = MatrixUtil.mat3;
|
|
|
41089
42540
|
var vec2 = MatrixUtil.vec2;
|
|
41090
42541
|
var vec3 = MatrixUtil.vec3;
|
|
41091
42542
|
|
|
41092
|
-
var Polar =
|
|
41093
|
-
/*#__PURE__*/
|
|
41094
|
-
function (_Base) {
|
|
42543
|
+
var Polar = /*#__PURE__*/function (_Base) {
|
|
41095
42544
|
_inherits(Polar, _Base);
|
|
41096
42545
|
|
|
41097
42546
|
_createClass(Polar, [{
|
|
@@ -41404,9 +42853,7 @@ var Base = __webpack_require__(44);
|
|
|
41404
42853
|
|
|
41405
42854
|
var vec2 = MatrixUtil.vec2;
|
|
41406
42855
|
|
|
41407
|
-
var Helix =
|
|
41408
|
-
/*#__PURE__*/
|
|
41409
|
-
function (_Base) {
|
|
42856
|
+
var Helix = /*#__PURE__*/function (_Base) {
|
|
41410
42857
|
_inherits(Helix, _Base);
|
|
41411
42858
|
|
|
41412
42859
|
_createClass(Helix, [{
|
|
@@ -41635,9 +43082,7 @@ function getDefaultValueFromPosition(position, val) {
|
|
|
41635
43082
|
return val;
|
|
41636
43083
|
}
|
|
41637
43084
|
|
|
41638
|
-
var AxisController =
|
|
41639
|
-
/*#__PURE__*/
|
|
41640
|
-
function () {
|
|
43085
|
+
var AxisController = /*#__PURE__*/function () {
|
|
41641
43086
|
function AxisController(cfg) {
|
|
41642
43087
|
this.visible = true;
|
|
41643
43088
|
this.canvas = null;
|
|
@@ -42132,9 +43577,7 @@ var Util = __webpack_require__(0);
|
|
|
42132
43577
|
|
|
42133
43578
|
var Guide = __webpack_require__(351);
|
|
42134
43579
|
|
|
42135
|
-
var GuideController =
|
|
42136
|
-
/*#__PURE__*/
|
|
42137
|
-
function () {
|
|
43580
|
+
var GuideController = /*#__PURE__*/function () {
|
|
42138
43581
|
function GuideController(cfg) {
|
|
42139
43582
|
this.guides = [];
|
|
42140
43583
|
this.options = [];
|
|
@@ -42358,9 +43801,7 @@ var Guide = __webpack_require__(15);
|
|
|
42358
43801
|
var _require = __webpack_require__(20),
|
|
42359
43802
|
Path = _require.Path;
|
|
42360
43803
|
|
|
42361
|
-
var RegionFilter =
|
|
42362
|
-
/*#__PURE__*/
|
|
42363
|
-
function (_Guide) {
|
|
43804
|
+
var RegionFilter = /*#__PURE__*/function (_Guide) {
|
|
42364
43805
|
_inheritsLoose(RegionFilter, _Guide);
|
|
42365
43806
|
|
|
42366
43807
|
function RegionFilter() {
|
|
@@ -42546,9 +43987,7 @@ function findGeom(geoms, value) {
|
|
|
42546
43987
|
return rst;
|
|
42547
43988
|
}
|
|
42548
43989
|
|
|
42549
|
-
var LegendController =
|
|
42550
|
-
/*#__PURE__*/
|
|
42551
|
-
function () {
|
|
43990
|
+
var LegendController = /*#__PURE__*/function () {
|
|
42552
43991
|
function LegendController(cfg) {
|
|
42553
43992
|
var self = this;
|
|
42554
43993
|
self.options = {};
|
|
@@ -43533,9 +44972,7 @@ var Global = __webpack_require__(7);
|
|
|
43533
44972
|
var Legend = Components.Legend;
|
|
43534
44973
|
var Category = Legend.Category;
|
|
43535
44974
|
|
|
43536
|
-
var Tail =
|
|
43537
|
-
/*#__PURE__*/
|
|
43538
|
-
function (_Category) {
|
|
44975
|
+
var Tail = /*#__PURE__*/function (_Category) {
|
|
43539
44976
|
_inheritsLoose(Tail, _Category);
|
|
43540
44977
|
|
|
43541
44978
|
function Tail() {
|
|
@@ -43828,7 +45265,7 @@ var MatrixUtil = Util.MatrixUtil;
|
|
|
43828
45265
|
var Vector2 = MatrixUtil.vec2;
|
|
43829
45266
|
var TYPE_SHOW_MARKERS = ['line', 'area', 'path', 'areaStack']; // 默认展示 tooltip marker 的几何图形
|
|
43830
45267
|
|
|
43831
|
-
var TYPE_SHOW_CROSSHAIRS = ['line', 'area']; // 默认展示十字瞄准线的几何图形
|
|
45268
|
+
var TYPE_SHOW_CROSSHAIRS = ['line', 'area', 'point']; // 默认展示十字瞄准线的几何图形
|
|
43832
45269
|
// TODO FIXME this is HARD CODING
|
|
43833
45270
|
|
|
43834
45271
|
var IGNORE_TOOLTIP_ITEM_PROPERTIES = ['marker', 'showMarker'];
|
|
@@ -43904,9 +45341,7 @@ function _uniqItems(items) {
|
|
|
43904
45341
|
return tmp;
|
|
43905
45342
|
}
|
|
43906
45343
|
|
|
43907
|
-
var TooltipController =
|
|
43908
|
-
/*#__PURE__*/
|
|
43909
|
-
function () {
|
|
45344
|
+
var TooltipController = /*#__PURE__*/function () {
|
|
43910
45345
|
function TooltipController(cfg) {
|
|
43911
45346
|
Util.assign(this, cfg);
|
|
43912
45347
|
this.timeStamp = 0; // tooltip 锁定不能移动
|
|
@@ -44475,9 +45910,7 @@ function registerData(eventObj) {
|
|
|
44475
45910
|
}
|
|
44476
45911
|
}
|
|
44477
45912
|
|
|
44478
|
-
var EventController =
|
|
44479
|
-
/*#__PURE__*/
|
|
44480
|
-
function () {
|
|
45913
|
+
var EventController = /*#__PURE__*/function () {
|
|
44481
45914
|
function EventController(cfg) {
|
|
44482
45915
|
this.view = null;
|
|
44483
45916
|
this.canvas = null;
|