@qqt-product/system 8.0.1 → 8.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +235 -205
- package/dist/index.umd.js +26 -26
- package/dist/lib/components/QUsageList/src/useConfigData.d.ts +30 -4
- package/package.json +9 -9
package/dist/index.es.js
CHANGED
|
@@ -15558,7 +15558,7 @@ function J3(r) {
|
|
|
15558
15558
|
function Ay(r, e, t, a) {
|
|
15559
15559
|
r.addEventListener(e, t, a);
|
|
15560
15560
|
}
|
|
15561
|
-
function
|
|
15561
|
+
function e9(r, e, t, a) {
|
|
15562
15562
|
r.removeEventListener(e, t, a);
|
|
15563
15563
|
}
|
|
15564
15564
|
var zn = function(r) {
|
|
@@ -15567,7 +15567,7 @@ var zn = function(r) {
|
|
|
15567
15567
|
function bC(r) {
|
|
15568
15568
|
return r.which === 2 || r.which === 3;
|
|
15569
15569
|
}
|
|
15570
|
-
var
|
|
15570
|
+
var t9 = function() {
|
|
15571
15571
|
function r() {
|
|
15572
15572
|
this._track = [];
|
|
15573
15573
|
}
|
|
@@ -15602,7 +15602,7 @@ function CC(r) {
|
|
|
15602
15602
|
var e = r[1][0] - r[0][0], t = r[1][1] - r[0][1];
|
|
15603
15603
|
return Math.sqrt(e * e + t * t);
|
|
15604
15604
|
}
|
|
15605
|
-
function
|
|
15605
|
+
function r9(r) {
|
|
15606
15606
|
return [
|
|
15607
15607
|
(r[0][0] + r[1][0]) / 2,
|
|
15608
15608
|
(r[0][1] + r[1][1]) / 2
|
|
@@ -15616,7 +15616,7 @@ var $v = {
|
|
|
15616
15616
|
if (n && n.length > 1 && a && a.length > 1) {
|
|
15617
15617
|
var i = CC(a) / CC(n);
|
|
15618
15618
|
!isFinite(i) && (i = 1), e.pinchScale = i;
|
|
15619
|
-
var o =
|
|
15619
|
+
var o = r9(a);
|
|
15620
15620
|
return e.pinchX = o[0], e.pinchY = o[1], {
|
|
15621
15621
|
type: "pinch",
|
|
15622
15622
|
target: r[0].target,
|
|
@@ -15654,11 +15654,11 @@ function Cl(r, e) {
|
|
|
15654
15654
|
var t = e[0], a = e[2], n = e[4], i = e[1], o = e[3], u = e[5], l = t * o - i * a;
|
|
15655
15655
|
return l ? (l = 1 / l, r[0] = o * l, r[1] = -i * l, r[2] = -a * l, r[3] = t * l, r[4] = (a * u - o * n) * l, r[5] = (i * n - t * u) * l, r) : null;
|
|
15656
15656
|
}
|
|
15657
|
-
function
|
|
15657
|
+
function a9(r) {
|
|
15658
15658
|
var e = _a();
|
|
15659
15659
|
return L1(e, r), e;
|
|
15660
15660
|
}
|
|
15661
|
-
var
|
|
15661
|
+
var n9 = function() {
|
|
15662
15662
|
function r(e, t) {
|
|
15663
15663
|
this.x = e || 0, this.y = t || 0;
|
|
15664
15664
|
}
|
|
@@ -15727,8 +15727,8 @@ var nN = function() {
|
|
|
15727
15727
|
e.x = i * t.x + n * a.x, e.y = i * t.y + n * a.y;
|
|
15728
15728
|
}, r;
|
|
15729
15729
|
}();
|
|
15730
|
-
const Oe =
|
|
15731
|
-
var _f = Math.min, bf = Math.max, Wi = new Oe(), qi = new Oe(), Yi = new Oe(), ji = new Oe(), Gl = new Oe(), $l = new Oe(),
|
|
15730
|
+
const Oe = n9;
|
|
15731
|
+
var _f = Math.min, bf = Math.max, Wi = new Oe(), qi = new Oe(), Yi = new Oe(), ji = new Oe(), Gl = new Oe(), $l = new Oe(), i9 = function() {
|
|
15732
15732
|
function r(e, t, a, n) {
|
|
15733
15733
|
a < 0 && (e = e + a, a = -a), n < 0 && (t = t + n, n = -n), this.x = e, this.y = t, this.width = a, this.height = n;
|
|
15734
15734
|
}
|
|
@@ -15787,9 +15787,9 @@ var _f = Math.min, bf = Math.max, Wi = new Oe(), qi = new Oe(), Yi = new Oe(), j
|
|
|
15787
15787
|
e.width = l - e.x, e.height = s - e.y;
|
|
15788
15788
|
}, r;
|
|
15789
15789
|
}();
|
|
15790
|
-
const Ge =
|
|
15790
|
+
const Ge = i9;
|
|
15791
15791
|
var oA = "silent";
|
|
15792
|
-
function
|
|
15792
|
+
function o9(r, e, t) {
|
|
15793
15793
|
return {
|
|
15794
15794
|
type: r,
|
|
15795
15795
|
event: t,
|
|
@@ -15805,13 +15805,13 @@ function oN(r, e, t) {
|
|
|
15805
15805
|
wheelDelta: t.zrDelta,
|
|
15806
15806
|
zrByTouch: t.zrByTouch,
|
|
15807
15807
|
which: t.which,
|
|
15808
|
-
stop:
|
|
15808
|
+
stop: u9
|
|
15809
15809
|
};
|
|
15810
15810
|
}
|
|
15811
|
-
function
|
|
15811
|
+
function u9() {
|
|
15812
15812
|
zn(this.event);
|
|
15813
15813
|
}
|
|
15814
|
-
var
|
|
15814
|
+
var l9 = function(r) {
|
|
15815
15815
|
U(e, r);
|
|
15816
15816
|
function e() {
|
|
15817
15817
|
var t = r !== null && r.apply(this, arguments) || this;
|
|
@@ -15825,7 +15825,7 @@ var lN = function(r) {
|
|
|
15825
15825
|
this.x = e, this.y = t;
|
|
15826
15826
|
}
|
|
15827
15827
|
return r;
|
|
15828
|
-
}(),
|
|
15828
|
+
}(), s9 = [
|
|
15829
15829
|
"click",
|
|
15830
15830
|
"dblclick",
|
|
15831
15831
|
"mousewheel",
|
|
@@ -15838,10 +15838,10 @@ var lN = function(r) {
|
|
|
15838
15838
|
U(e, r);
|
|
15839
15839
|
function e(t, a, n, i, o) {
|
|
15840
15840
|
var u = r.call(this) || this;
|
|
15841
|
-
return u._hovered = new Hl(0, 0), u.storage = t, u.painter = a, u.painterRoot = i, u._pointerSize = o, n = n || new
|
|
15841
|
+
return u._hovered = new Hl(0, 0), u.storage = t, u.painter = a, u.painterRoot = i, u._pointerSize = o, n = n || new l9(), u.proxy = null, u.setHandlerProxy(n), u._draggingMgr = new H3(u), u;
|
|
15842
15842
|
}
|
|
15843
15843
|
return e.prototype.setHandlerProxy = function(t) {
|
|
15844
|
-
this.proxy && this.proxy.dispose(), t && (F(
|
|
15844
|
+
this.proxy && this.proxy.dispose(), t && (F(s9, function(a) {
|
|
15845
15845
|
t.on && t.on(a, this[a], this);
|
|
15846
15846
|
}, this), t.handler = this), this.proxy = t;
|
|
15847
15847
|
}, e.prototype.mousemove = function(t) {
|
|
@@ -15866,7 +15866,7 @@ var lN = function(r) {
|
|
|
15866
15866
|
t = t || {};
|
|
15867
15867
|
var i = t.target;
|
|
15868
15868
|
if (!(i && i.silent)) {
|
|
15869
|
-
for (var o = "on" + a, u =
|
|
15869
|
+
for (var o = "on" + a, u = o9(a, t, n); i && (i[o] && (u.cancelBubble = !!i[o].call(i, u)), i.trigger(a, u), i = i.__hostTarget ? i.__hostTarget : i.parent, !u.cancelBubble); )
|
|
15870
15870
|
;
|
|
15871
15871
|
u.cancelBubble || (this.trigger(a, u), this.painter && this.painter.eachOtherLayer && this.painter.eachOtherLayer(function(l) {
|
|
15872
15872
|
typeof l[o] == "function" && l[o].call(l, u), l.trigger && l.trigger(a, u);
|
|
@@ -15889,7 +15889,7 @@ var lN = function(r) {
|
|
|
15889
15889
|
}
|
|
15890
15890
|
return o;
|
|
15891
15891
|
}, e.prototype.processGesture = function(t, a) {
|
|
15892
|
-
this._gestureMgr || (this._gestureMgr = new
|
|
15892
|
+
this._gestureMgr || (this._gestureMgr = new t9());
|
|
15893
15893
|
var n = this._gestureMgr;
|
|
15894
15894
|
a === "start" && n.clear();
|
|
15895
15895
|
var i = n.recognize(t, this.findHover(t.zrX, t.zrY, null).target, this.proxy.dom);
|
|
@@ -15916,7 +15916,7 @@ F(["click", "mousedown", "mouseup", "mousewheel", "dblclick", "contextmenu"], fu
|
|
|
15916
15916
|
this.dispatchToElement(i, r, e);
|
|
15917
15917
|
};
|
|
15918
15918
|
});
|
|
15919
|
-
function
|
|
15919
|
+
function c9(r, e, t) {
|
|
15920
15920
|
if (r[r.rectHover ? "rectContain" : "contain"](e, t)) {
|
|
15921
15921
|
for (var a = r, n = void 0, i = !1; a; ) {
|
|
15922
15922
|
if (a.ignoreClip && (i = !0), !i) {
|
|
@@ -15935,7 +15935,7 @@ function cN(r, e, t) {
|
|
|
15935
15935
|
function SC(r, e, t, a, n) {
|
|
15936
15936
|
for (var i = r.length - 1; i >= 0; i--) {
|
|
15937
15937
|
var o = r[i], u = void 0;
|
|
15938
|
-
if (o !== n && !o.ignore && (u =
|
|
15938
|
+
if (o !== n && !o.ignore && (u = c9(o, t, a)) && (!e.topTarget && (e.topTarget = o), u !== oA)) {
|
|
15939
15939
|
e.target = o;
|
|
15940
15940
|
break;
|
|
15941
15941
|
}
|
|
@@ -15945,9 +15945,9 @@ function lA(r, e, t) {
|
|
|
15945
15945
|
var a = r.painter;
|
|
15946
15946
|
return e < 0 || e > a.getWidth() || t < 0 || t > a.getHeight();
|
|
15947
15947
|
}
|
|
15948
|
-
const
|
|
15948
|
+
const f9 = uA;
|
|
15949
15949
|
var sA = 32, Ul = 7;
|
|
15950
|
-
function
|
|
15950
|
+
function d9(r) {
|
|
15951
15951
|
for (var e = 0; r >= sA; )
|
|
15952
15952
|
e |= r & 1, r >>= 1;
|
|
15953
15953
|
return r + e;
|
|
@@ -15959,13 +15959,13 @@ function wC(r, e, t, a) {
|
|
|
15959
15959
|
if (a(r[n++], r[e]) < 0) {
|
|
15960
15960
|
for (; n < t && a(r[n], r[n - 1]) < 0; )
|
|
15961
15961
|
n++;
|
|
15962
|
-
|
|
15962
|
+
p9(r, e, n);
|
|
15963
15963
|
} else
|
|
15964
15964
|
for (; n < t && a(r[n], r[n - 1]) >= 0; )
|
|
15965
15965
|
n++;
|
|
15966
15966
|
return n - e;
|
|
15967
15967
|
}
|
|
15968
|
-
function
|
|
15968
|
+
function p9(r, e, t) {
|
|
15969
15969
|
for (t--; e < t; ) {
|
|
15970
15970
|
var a = r[e];
|
|
15971
15971
|
r[e++] = r[t], r[t--] = a;
|
|
@@ -16029,7 +16029,7 @@ function Wv(r, e, t, a, n, i) {
|
|
|
16029
16029
|
}
|
|
16030
16030
|
return l;
|
|
16031
16031
|
}
|
|
16032
|
-
function
|
|
16032
|
+
function h9(r, e) {
|
|
16033
16033
|
var t = Ul, a, n, i = 0;
|
|
16034
16034
|
r.length;
|
|
16035
16035
|
var o = [];
|
|
@@ -16220,7 +16220,7 @@ function Ld(r, e, t, a) {
|
|
|
16220
16220
|
i = wC(r, t, a, e), DC(r, t, a, t + i, e);
|
|
16221
16221
|
return;
|
|
16222
16222
|
}
|
|
16223
|
-
var o =
|
|
16223
|
+
var o = h9(r, e), u = d9(n);
|
|
16224
16224
|
do {
|
|
16225
16225
|
if (i = wC(r, t, a, e), i < u) {
|
|
16226
16226
|
var l = n;
|
|
@@ -16238,7 +16238,7 @@ function qv() {
|
|
|
16238
16238
|
function xC(r, e) {
|
|
16239
16239
|
return r.zlevel === e.zlevel ? r.z === e.z ? r.z2 - e.z2 : r.z - e.z : r.zlevel - e.zlevel;
|
|
16240
16240
|
}
|
|
16241
|
-
var
|
|
16241
|
+
var v9 = function() {
|
|
16242
16242
|
function r() {
|
|
16243
16243
|
this._roots = [], this._displayList = [], this._displayListLen = 0, this.displayableSortFunc = xC;
|
|
16244
16244
|
}
|
|
@@ -16300,7 +16300,7 @@ var vN = function() {
|
|
|
16300
16300
|
this._displayList = null, this._roots = null;
|
|
16301
16301
|
}, r;
|
|
16302
16302
|
}();
|
|
16303
|
-
const
|
|
16303
|
+
const g9 = v9;
|
|
16304
16304
|
var cA;
|
|
16305
16305
|
cA = et.hasGlobalWindow && (window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || window.msRequestAnimationFrame && window.msRequestAnimationFrame.bind(window) || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame) || function(r) {
|
|
16306
16306
|
return setTimeout(r, 16);
|
|
@@ -16481,7 +16481,7 @@ function vA(r, e, t, a, n, i, o, u, l, s, c) {
|
|
|
16481
16481
|
h = f - d, v = f + d, ca[0] = Kt(r, t, n, o, h), ca[1] = Kt(e, a, i, u, h), g = ko(ca, nn), h >= 0 && g < p ? (f = h, p = g) : (Qu[0] = Kt(r, t, n, o, v), Qu[1] = Kt(e, a, i, u, v), m = ko(Qu, nn), v <= 1 && m < p ? (f = v, p = m) : d *= 0.5);
|
|
16482
16482
|
return c && (c[0] = Kt(r, t, n, o, f), c[1] = Kt(e, a, i, u, f)), wi(p);
|
|
16483
16483
|
}
|
|
16484
|
-
function
|
|
16484
|
+
function m9(r, e, t, a, n, i, o, u, l) {
|
|
16485
16485
|
for (var s = r, c = e, f = 0, d = 1 / l, p = 1; p <= l; p++) {
|
|
16486
16486
|
var h = p * d, v = Kt(r, t, n, o, h), g = Kt(e, a, i, u, h), m = v - s, y = g - c;
|
|
16487
16487
|
f += Math.sqrt(m * m + y * y), s = v, c = g;
|
|
@@ -16495,7 +16495,7 @@ function nr(r, e, t, a) {
|
|
|
16495
16495
|
function Fy(r, e, t, a) {
|
|
16496
16496
|
return 2 * ((1 - a) * (e - r) + a * (t - e));
|
|
16497
16497
|
}
|
|
16498
|
-
function
|
|
16498
|
+
function y9(r, e, t, a, n) {
|
|
16499
16499
|
var i = r - 2 * e + t, o = 2 * (e - r), u = r - a, l = 0;
|
|
16500
16500
|
if (mi(i)) {
|
|
16501
16501
|
if (pA(o)) {
|
|
@@ -16545,16 +16545,16 @@ function mA(r, e, t, a, n, i, o, u, l) {
|
|
|
16545
16545
|
}
|
|
16546
16546
|
return l && (l[0] = nr(r, t, n, s), l[1] = nr(e, a, i, s)), wi(f);
|
|
16547
16547
|
}
|
|
16548
|
-
function
|
|
16548
|
+
function _9(r, e, t, a, n, i, o) {
|
|
16549
16549
|
for (var u = r, l = e, s = 0, c = 1 / o, f = 1; f <= o; f++) {
|
|
16550
16550
|
var d = f * c, p = nr(r, t, n, d), h = nr(e, a, i, d), v = p - u, g = h - l;
|
|
16551
16551
|
s += Math.sqrt(v * v + g * g), u = p, l = h;
|
|
16552
16552
|
}
|
|
16553
16553
|
return s;
|
|
16554
16554
|
}
|
|
16555
|
-
var
|
|
16555
|
+
var b9 = /cubic-bezier\(([0-9,\.e ]+)\)/;
|
|
16556
16556
|
function I1(r) {
|
|
16557
|
-
var e = r &&
|
|
16557
|
+
var e = r && b9.exec(r);
|
|
16558
16558
|
if (e) {
|
|
16559
16559
|
var t = e[1].split(","), a = +Pa(t[0]), n = +Pa(t[1]), i = +Pa(t[2]), o = +Pa(t[3]);
|
|
16560
16560
|
if (isNaN(a + n + i + o))
|
|
@@ -16565,7 +16565,7 @@ function I1(r) {
|
|
|
16565
16565
|
};
|
|
16566
16566
|
}
|
|
16567
16567
|
}
|
|
16568
|
-
var
|
|
16568
|
+
var C9 = function() {
|
|
16569
16569
|
function r(e) {
|
|
16570
16570
|
this._inited = !1, this._startTime = 0, this._pausedTime = 0, this._paused = !1, this._life = e.life || 1e3, this._delay = e.delay || 0, this.loop = e.loop || !1, this.onframe = e.onframe || Rt, this.ondestroy = e.ondestroy || Rt, this.onrestart = e.onrestart || Rt, e.easing && this.setEasing(e.easing);
|
|
16571
16571
|
}
|
|
@@ -16592,13 +16592,13 @@ var CN = function() {
|
|
|
16592
16592
|
this.easing = e, this.easingFunc = Ce(e) ? e : fA[e] || I1(e);
|
|
16593
16593
|
}, r;
|
|
16594
16594
|
}();
|
|
16595
|
-
const
|
|
16595
|
+
const S9 = C9;
|
|
16596
16596
|
var yA = function() {
|
|
16597
16597
|
function r(e) {
|
|
16598
16598
|
this.value = e;
|
|
16599
16599
|
}
|
|
16600
16600
|
return r;
|
|
16601
|
-
}(),
|
|
16601
|
+
}(), w9 = function() {
|
|
16602
16602
|
function r() {
|
|
16603
16603
|
this._len = 0;
|
|
16604
16604
|
}
|
|
@@ -16615,9 +16615,9 @@ var yA = function() {
|
|
|
16615
16615
|
}, r.prototype.clear = function() {
|
|
16616
16616
|
this.head = this.tail = null, this._len = 0;
|
|
16617
16617
|
}, r;
|
|
16618
|
-
}(),
|
|
16618
|
+
}(), D9 = function() {
|
|
16619
16619
|
function r(e) {
|
|
16620
|
-
this._list = new
|
|
16620
|
+
this._list = new w9(), this._maxSize = 10, this._map = {}, this._maxSize = e;
|
|
16621
16621
|
}
|
|
16622
16622
|
return r.prototype.put = function(e, t) {
|
|
16623
16623
|
var a = this._list, n = this._map, i = null;
|
|
@@ -16640,7 +16640,7 @@ var yA = function() {
|
|
|
16640
16640
|
return this._list.len();
|
|
16641
16641
|
}, r;
|
|
16642
16642
|
}();
|
|
16643
|
-
const Tc =
|
|
16643
|
+
const Tc = D9;
|
|
16644
16644
|
var FC = {
|
|
16645
16645
|
transparent: [0, 0, 0, 0],
|
|
16646
16646
|
aliceblue: [240, 248, 255, 1],
|
|
@@ -16794,7 +16794,7 @@ var FC = {
|
|
|
16794
16794
|
function Oa(r) {
|
|
16795
16795
|
return r = Math.round(r), r < 0 ? 0 : r > 255 ? 255 : r;
|
|
16796
16796
|
}
|
|
16797
|
-
function
|
|
16797
|
+
function E9(r) {
|
|
16798
16798
|
return r = Math.round(r), r < 0 ? 0 : r > 360 ? 360 : r;
|
|
16799
16799
|
}
|
|
16800
16800
|
function rc(r) {
|
|
@@ -16889,7 +16889,7 @@ function My(r, e) {
|
|
|
16889
16889
|
var t = (parseFloat(r[0]) % 360 + 360) % 360 / 360, a = No(r[1]), n = No(r[2]), i = n <= 0.5 ? n * (a + 1) : n + a - n * a, o = n * 2 - i;
|
|
16890
16890
|
return e = e || [], ra(e, Oa(jv(o, i, t + 1 / 3) * 255), Oa(jv(o, i, t) * 255), Oa(jv(o, i, t - 1 / 3) * 255), 1), r.length === 4 && (e[3] = r[3]), e;
|
|
16891
16891
|
}
|
|
16892
|
-
function
|
|
16892
|
+
function x9(r) {
|
|
16893
16893
|
if (!!r) {
|
|
16894
16894
|
var e = r[0] / 255, t = r[1] / 255, a = r[2] / 255, n = Math.min(e, t, a), i = Math.max(e, t, a), o = i - n, u = (i + n) / 2, l, s;
|
|
16895
16895
|
if (o === 0)
|
|
@@ -16918,7 +16918,7 @@ function Xv(r, e, t) {
|
|
|
16918
16918
|
return t[0] = Oa(yi(o[0], u[0], l)), t[1] = Oa(yi(o[1], u[1], l)), t[2] = Oa(yi(o[2], u[2], l)), t[3] = rc(yi(o[3], u[3], l)), t;
|
|
16919
16919
|
}
|
|
16920
16920
|
}
|
|
16921
|
-
function
|
|
16921
|
+
function A9(r, e, t) {
|
|
16922
16922
|
if (!(!(e && e.length) || !(r >= 0 && r <= 1))) {
|
|
16923
16923
|
var a = r * (e.length - 1), n = Math.floor(a), i = Math.ceil(a), o = Xr(e[n]), u = Xr(e[i]), l = a - n, s = Rn([
|
|
16924
16924
|
Oa(yi(o[0], u[0], l)),
|
|
@@ -16937,7 +16937,7 @@ function AN(r, e, t) {
|
|
|
16937
16937
|
function zs(r, e, t, a) {
|
|
16938
16938
|
var n = Xr(r);
|
|
16939
16939
|
if (r)
|
|
16940
|
-
return n =
|
|
16940
|
+
return n = x9(n), e != null && (n[0] = E9(e)), t != null && (n[1] = No(t)), a != null && (n[2] = No(a)), Rn(My(n), "rgba");
|
|
16941
16941
|
}
|
|
16942
16942
|
function np(r, e) {
|
|
16943
16943
|
var t = Xr(r);
|
|
@@ -16978,22 +16978,22 @@ function Df(r) {
|
|
|
16978
16978
|
function By(r) {
|
|
16979
16979
|
return op(r * 1e4) / 1e4;
|
|
16980
16980
|
}
|
|
16981
|
-
function
|
|
16981
|
+
function T9(r) {
|
|
16982
16982
|
return "matrix(" + Df(r[0]) + "," + Df(r[1]) + "," + Df(r[2]) + "," + Df(r[3]) + "," + By(r[4]) + "," + By(r[5]) + ")";
|
|
16983
16983
|
}
|
|
16984
|
-
var
|
|
16984
|
+
var F9 = {
|
|
16985
16985
|
left: "start",
|
|
16986
16986
|
right: "end",
|
|
16987
16987
|
center: "middle",
|
|
16988
16988
|
middle: "middle"
|
|
16989
16989
|
};
|
|
16990
|
-
function
|
|
16990
|
+
function L9(r, e, t) {
|
|
16991
16991
|
return t === "top" ? r += e / 2 : t === "bottom" && (r -= e / 2), r;
|
|
16992
16992
|
}
|
|
16993
|
-
function
|
|
16993
|
+
function M9(r) {
|
|
16994
16994
|
return r && (r.shadowBlur || r.shadowOffsetX || r.shadowOffsetY);
|
|
16995
16995
|
}
|
|
16996
|
-
function
|
|
16996
|
+
function I9(r) {
|
|
16997
16997
|
var e = r.style, t = r.getGlobalScale();
|
|
16998
16998
|
return [
|
|
16999
16999
|
e.shadowColor,
|
|
@@ -17007,11 +17007,11 @@ function IN(r) {
|
|
|
17007
17007
|
function bA(r) {
|
|
17008
17008
|
return r && !!r.image;
|
|
17009
17009
|
}
|
|
17010
|
-
function
|
|
17010
|
+
function B9(r) {
|
|
17011
17011
|
return r && !!r.svgElement;
|
|
17012
17012
|
}
|
|
17013
17013
|
function B1(r) {
|
|
17014
|
-
return bA(r) ||
|
|
17014
|
+
return bA(r) || B9(r);
|
|
17015
17015
|
}
|
|
17016
17016
|
function CA(r) {
|
|
17017
17017
|
return r.type === "linear";
|
|
@@ -17033,7 +17033,7 @@ function EA(r) {
|
|
|
17033
17033
|
var e = r.x || 0, t = r.y || 0, a = (r.rotation || 0) * Ad, n = Ve(r.scaleX, 1), i = Ve(r.scaleY, 1), o = r.skewX || 0, u = r.skewY || 0, l = [];
|
|
17034
17034
|
return (e || t) && l.push("translate(" + e + "px," + t + "px)"), a && l.push("rotate(" + a + ")"), (n !== 1 || i !== 1) && l.push("scale(" + n + "," + i + ")"), (o || u) && l.push("skew(" + op(o * Ad) + "deg, " + op(u * Ad) + "deg)"), l.join(" ");
|
|
17035
17035
|
}
|
|
17036
|
-
var
|
|
17036
|
+
var P9 = function() {
|
|
17037
17037
|
return et.hasGlobalWindow && Ce(window.btoa) ? function(r) {
|
|
17038
17038
|
return window.btoa(unescape(encodeURIComponent(r)));
|
|
17039
17039
|
} : typeof Buffer < "u" ? function(r) {
|
|
@@ -17050,7 +17050,7 @@ function Zv(r, e, t, a) {
|
|
|
17050
17050
|
r[i] = Tn(e[i], t[i], a);
|
|
17051
17051
|
return r;
|
|
17052
17052
|
}
|
|
17053
|
-
function
|
|
17053
|
+
function R9(r, e, t, a) {
|
|
17054
17054
|
for (var n = e.length, i = n && e[0].length, o = 0; o < n; o++) {
|
|
17055
17055
|
r[o] || (r[o] = []);
|
|
17056
17056
|
for (var u = 0; u < i; u++)
|
|
@@ -17071,14 +17071,14 @@ function MC(r, e, t, a) {
|
|
|
17071
17071
|
}
|
|
17072
17072
|
return r;
|
|
17073
17073
|
}
|
|
17074
|
-
function
|
|
17074
|
+
function k9(r, e) {
|
|
17075
17075
|
for (var t = r.length, a = e.length, n = t > a ? e : r, i = Math.min(t, a), o = n[i - 1] || { color: [0, 0, 0, 0], offset: 0 }, u = i; u < Math.max(t, a); u++)
|
|
17076
17076
|
n.push({
|
|
17077
17077
|
offset: o.offset,
|
|
17078
17078
|
color: o.color.slice()
|
|
17079
17079
|
});
|
|
17080
17080
|
}
|
|
17081
|
-
function
|
|
17081
|
+
function N9(r, e, t) {
|
|
17082
17082
|
var a = r, n = e;
|
|
17083
17083
|
if (!(!a.push || !n.push)) {
|
|
17084
17084
|
var i = a.length, o = n.length;
|
|
@@ -17113,7 +17113,7 @@ function Gs(r) {
|
|
|
17113
17113
|
function Id(r) {
|
|
17114
17114
|
return r[0] = Math.floor(r[0]) || 0, r[1] = Math.floor(r[1]) || 0, r[2] = Math.floor(r[2]) || 0, r[3] = r[3] == null ? 1 : r[3], "rgba(" + r.join(",") + ")";
|
|
17115
17115
|
}
|
|
17116
|
-
function
|
|
17116
|
+
function O9(r) {
|
|
17117
17117
|
return yr(r && r[0]) ? 2 : 1;
|
|
17118
17118
|
}
|
|
17119
17119
|
var xf = 0, Bd = 1, xA = 2, Cs = 3, Ry = 4, ky = 5, IC = 6;
|
|
@@ -17123,7 +17123,7 @@ function BC(r) {
|
|
|
17123
17123
|
function Af(r) {
|
|
17124
17124
|
return r === Bd || r === xA;
|
|
17125
17125
|
}
|
|
17126
|
-
var Wl = [0, 0, 0, 0],
|
|
17126
|
+
var Wl = [0, 0, 0, 0], V9 = function() {
|
|
17127
17127
|
function r(e) {
|
|
17128
17128
|
this.keyframes = [], this.discrete = !1, this._invalid = !1, this._needsSort = !1, this._lastFr = 0, this._lastFrP = 0, this.propName = e;
|
|
17129
17129
|
}
|
|
@@ -17139,7 +17139,7 @@ var Wl = [0, 0, 0, 0], VN = function() {
|
|
|
17139
17139
|
this._needsSort = !0;
|
|
17140
17140
|
var n = this.keyframes, i = n.length, o = !1, u = IC, l = t;
|
|
17141
17141
|
if (yr(t)) {
|
|
17142
|
-
var s =
|
|
17142
|
+
var s = O9(t);
|
|
17143
17143
|
u = s, (s === 1 && !nt(t[0]) || s === 2 && !nt(t[0][0])) && (o = !0);
|
|
17144
17144
|
} else if (nt(t) && !qo(t))
|
|
17145
17145
|
u = xf;
|
|
@@ -17174,7 +17174,7 @@ var Wl = [0, 0, 0, 0], VN = function() {
|
|
|
17174
17174
|
});
|
|
17175
17175
|
for (var n = this.valType, i = a.length, o = a[i - 1], u = this.discrete, l = Af(n), s = BC(n), c = 0; c < i; c++) {
|
|
17176
17176
|
var f = a[c], d = f.value, p = o.value;
|
|
17177
|
-
f.percent = f.time / e, u || (l && c !== i - 1 ?
|
|
17177
|
+
f.percent = f.time / e, u || (l && c !== i - 1 ? N9(d, p, n) : s && k9(d.colorStops, p.colorStops));
|
|
17178
17178
|
}
|
|
17179
17179
|
if (!u && n !== ky && t && this.needsAnimate() && t.needsAnimate() && n === t.valType && !t._finished) {
|
|
17180
17180
|
this._additiveTrack = t;
|
|
@@ -17210,7 +17210,7 @@ var Wl = [0, 0, 0, 0], VN = function() {
|
|
|
17210
17210
|
if ((Af(i) || s) && !y && (y = this._additiveValue = []), this.discrete)
|
|
17211
17211
|
e[l] = m < 1 ? p.rawValue : h.rawValue;
|
|
17212
17212
|
else if (Af(i))
|
|
17213
|
-
i === Bd ? Zv(y, p[n], h[n], m) :
|
|
17213
|
+
i === Bd ? Zv(y, p[n], h[n], m) : R9(y, p[n], h[n], m);
|
|
17214
17214
|
else if (BC(i)) {
|
|
17215
17215
|
var _ = p[n], b = h[n], C = i === Ry;
|
|
17216
17216
|
e[l] = {
|
|
@@ -17239,7 +17239,7 @@ var Wl = [0, 0, 0, 0], VN = function() {
|
|
|
17239
17239
|
var t = this.valType, a = this.propName, n = this._additiveValue;
|
|
17240
17240
|
t === xf ? e[a] = e[a] + n : t === Cs ? (Xr(e[a], Wl), Ef(Wl, Wl, n, 1), e[a] = Id(Wl)) : t === Bd ? Ef(e[a], e[a], n, 1) : t === xA && MC(e[a], e[a], n, 1);
|
|
17241
17241
|
}, r;
|
|
17242
|
-
}(),
|
|
17242
|
+
}(), z9 = function() {
|
|
17243
17243
|
function r(e, t, a, n) {
|
|
17244
17244
|
if (this._tracks = {}, this._trackKeys = [], this._maxTime = 0, this._started = 0, this._clip = null, this._target = e, this._loop = t, t && n) {
|
|
17245
17245
|
Na("Can' use additive animation on looped animation.");
|
|
@@ -17263,7 +17263,7 @@ var Wl = [0, 0, 0, 0], VN = function() {
|
|
|
17263
17263
|
for (var i = this._tracks, o = 0; o < a.length; o++) {
|
|
17264
17264
|
var u = a[o], l = i[u];
|
|
17265
17265
|
if (!l) {
|
|
17266
|
-
l = i[u] = new
|
|
17266
|
+
l = i[u] = new V9(u);
|
|
17267
17267
|
var s = void 0, c = this._getAdditiveTrack(u);
|
|
17268
17268
|
if (c) {
|
|
17269
17269
|
var f = c.keyframes, d = f[f.length - 1];
|
|
@@ -17321,7 +17321,7 @@ var Wl = [0, 0, 0, 0], VN = function() {
|
|
|
17321
17321
|
a.push(u);
|
|
17322
17322
|
}
|
|
17323
17323
|
if (a.length || this._force) {
|
|
17324
|
-
var d = new
|
|
17324
|
+
var d = new S9({
|
|
17325
17325
|
life: n,
|
|
17326
17326
|
loop: this._loop,
|
|
17327
17327
|
delay: this._delay || 0,
|
|
@@ -17412,11 +17412,11 @@ var Wl = [0, 0, 0, 0], VN = function() {
|
|
|
17412
17412
|
}
|
|
17413
17413
|
}, r;
|
|
17414
17414
|
}();
|
|
17415
|
-
const P1 =
|
|
17415
|
+
const P1 = z9;
|
|
17416
17416
|
function Yu() {
|
|
17417
17417
|
return new Date().getTime();
|
|
17418
17418
|
}
|
|
17419
|
-
var
|
|
17419
|
+
var G9 = function(r) {
|
|
17420
17420
|
U(e, r);
|
|
17421
17421
|
function e(t) {
|
|
17422
17422
|
var a = r.call(this) || this;
|
|
@@ -17471,8 +17471,8 @@ var GN = function(r) {
|
|
|
17471
17471
|
return this.addAnimator(n), n;
|
|
17472
17472
|
}, e;
|
|
17473
17473
|
}(Sa);
|
|
17474
|
-
const $
|
|
17475
|
-
var
|
|
17474
|
+
const $9 = G9;
|
|
17475
|
+
var H9 = 300, Kv = et.domSupported, Qv = function() {
|
|
17476
17476
|
var r = [
|
|
17477
17477
|
"click",
|
|
17478
17478
|
"dblclick",
|
|
@@ -17509,7 +17509,7 @@ function Ny(r) {
|
|
|
17509
17509
|
var e = r.pointerType;
|
|
17510
17510
|
return e === "pen" || e === "touch";
|
|
17511
17511
|
}
|
|
17512
|
-
function
|
|
17512
|
+
function U9(r) {
|
|
17513
17513
|
r.touching = !0, r.touchTimer != null && (clearTimeout(r.touchTimer), r.touchTimer = null), r.touchTimer = setTimeout(function() {
|
|
17514
17514
|
r.touching = !1, r.touchTimer = null;
|
|
17515
17515
|
}, 700);
|
|
@@ -17517,15 +17517,15 @@ function UN(r) {
|
|
|
17517
17517
|
function Jv(r) {
|
|
17518
17518
|
r && (r.zrByTouch = !0);
|
|
17519
17519
|
}
|
|
17520
|
-
function
|
|
17521
|
-
return ia(r.dom, new
|
|
17520
|
+
function W9(r, e) {
|
|
17521
|
+
return ia(r.dom, new q9(r, e), !0);
|
|
17522
17522
|
}
|
|
17523
17523
|
function AA(r, e) {
|
|
17524
17524
|
for (var t = e, a = !1; t && t.nodeType !== 9 && !(a = t.domBelongToZr || t !== e && t === r.painterRoot); )
|
|
17525
17525
|
t = t.parentNode;
|
|
17526
17526
|
return a;
|
|
17527
17527
|
}
|
|
17528
|
-
var
|
|
17528
|
+
var q9 = function() {
|
|
17529
17529
|
function r(e, t) {
|
|
17530
17530
|
this.stopPropagation = Rt, this.stopImmediatePropagation = Rt, this.preventDefault = Rt, this.type = t.type, this.target = this.currentTarget = e.dom, this.pointerType = t.pointerType, this.clientX = t.clientX, this.clientY = t.clientY;
|
|
17531
17531
|
}
|
|
@@ -17560,7 +17560,7 @@ var qN = function() {
|
|
|
17560
17560
|
r = ia(this.dom, r), Jv(r), this.handler.processGesture(r, "change"), La.mousemove.call(this, r);
|
|
17561
17561
|
},
|
|
17562
17562
|
touchend: function(r) {
|
|
17563
|
-
r = ia(this.dom, r), Jv(r), this.handler.processGesture(r, "end"), La.mouseup.call(this, r), +new Date() - +this.__lastTouchMoment <
|
|
17563
|
+
r = ia(this.dom, r), Jv(r), this.handler.processGesture(r, "end"), La.mouseup.call(this, r), +new Date() - +this.__lastTouchMoment < H9 && La.click.call(this, r);
|
|
17564
17564
|
},
|
|
17565
17565
|
pointerdown: function(r) {
|
|
17566
17566
|
La.mousedown.call(this, r);
|
|
@@ -17595,7 +17595,7 @@ var Oy = {
|
|
|
17595
17595
|
this.__togglePointerCapture(!1), this.trigger("mouseup", r), e && (r.zrEventControl = "only_globalout", this.trigger("mouseout", r));
|
|
17596
17596
|
}
|
|
17597
17597
|
};
|
|
17598
|
-
function
|
|
17598
|
+
function Y9(r, e) {
|
|
17599
17599
|
var t = e.domHandlers;
|
|
17600
17600
|
et.pointerEventsSupported ? F(Qv.pointer, function(a) {
|
|
17601
17601
|
Pd(e, a, function(n) {
|
|
@@ -17603,7 +17603,7 @@ function YN(r, e) {
|
|
|
17603
17603
|
});
|
|
17604
17604
|
}) : (et.touchEventsSupported && F(Qv.touch, function(a) {
|
|
17605
17605
|
Pd(e, a, function(n) {
|
|
17606
|
-
t[a].call(r, n),
|
|
17606
|
+
t[a].call(r, n), U9(e);
|
|
17607
17607
|
});
|
|
17608
17608
|
}), F(Qv.mouse, function(a) {
|
|
17609
17609
|
Pd(e, a, function(n) {
|
|
@@ -17611,11 +17611,11 @@ function YN(r, e) {
|
|
|
17611
17611
|
});
|
|
17612
17612
|
}));
|
|
17613
17613
|
}
|
|
17614
|
-
function
|
|
17614
|
+
function j9(r, e) {
|
|
17615
17615
|
et.pointerEventsSupported ? F(PC.pointer, t) : et.touchEventsSupported || F(PC.mouse, t);
|
|
17616
17616
|
function t(a) {
|
|
17617
17617
|
function n(i) {
|
|
17618
|
-
i = F1(i), AA(r, i.target) || (i =
|
|
17618
|
+
i = F1(i), AA(r, i.target) || (i = W9(r, i), e.domHandlers[a].call(r, i));
|
|
17619
17619
|
}
|
|
17620
17620
|
Pd(e, a, n, { capture: !0 });
|
|
17621
17621
|
}
|
|
@@ -17626,7 +17626,7 @@ function Pd(r, e, t, a) {
|
|
|
17626
17626
|
function eg(r) {
|
|
17627
17627
|
var e = r.mounted;
|
|
17628
17628
|
for (var t in e)
|
|
17629
|
-
e.hasOwnProperty(t) &&
|
|
17629
|
+
e.hasOwnProperty(t) && e9(r.domTarget, t, e[t], r.listenerOpts[t]);
|
|
17630
17630
|
r.mounted = {};
|
|
17631
17631
|
}
|
|
17632
17632
|
var kC = function() {
|
|
@@ -17634,11 +17634,11 @@ var kC = function() {
|
|
|
17634
17634
|
this.mounted = {}, this.listenerOpts = {}, this.touching = !1, this.domTarget = e, this.domHandlers = t;
|
|
17635
17635
|
}
|
|
17636
17636
|
return r;
|
|
17637
|
-
}(),
|
|
17637
|
+
}(), X9 = function(r) {
|
|
17638
17638
|
U(e, r);
|
|
17639
17639
|
function e(t, a) {
|
|
17640
17640
|
var n = r.call(this) || this;
|
|
17641
|
-
return n.__pointerCapturing = !1, n.dom = t, n.painterRoot = a, n._localHandlerScope = new kC(t, La), Kv && (n._globalHandlerScope = new kC(document, Oy)),
|
|
17641
|
+
return n.__pointerCapturing = !1, n.dom = t, n.painterRoot = a, n._localHandlerScope = new kC(t, La), Kv && (n._globalHandlerScope = new kC(document, Oy)), Y9(n, n._localHandlerScope), n;
|
|
17642
17642
|
}
|
|
17643
17643
|
return e.prototype.dispose = function() {
|
|
17644
17644
|
eg(this._localHandlerScope), Kv && eg(this._globalHandlerScope);
|
|
@@ -17648,14 +17648,14 @@ var kC = function() {
|
|
|
17648
17648
|
if (this.__mayPointerCapture = null, Kv && +this.__pointerCapturing ^ +t) {
|
|
17649
17649
|
this.__pointerCapturing = t;
|
|
17650
17650
|
var a = this._globalHandlerScope;
|
|
17651
|
-
t ?
|
|
17651
|
+
t ? j9(this, a) : eg(a);
|
|
17652
17652
|
}
|
|
17653
17653
|
}, e;
|
|
17654
17654
|
}(Sa);
|
|
17655
|
-
const
|
|
17655
|
+
const Z9 = X9;
|
|
17656
17656
|
var TA = 1;
|
|
17657
17657
|
et.hasGlobalWindow && (TA = Math.max(window.devicePixelRatio || window.screen && window.screen.deviceXDPI / window.screen.logicalXDPI || 1, 1));
|
|
17658
|
-
var up = TA, Vy = 0.4, zy = "#333", Gy = "#ccc",
|
|
17658
|
+
var up = TA, Vy = 0.4, zy = "#333", Gy = "#ccc", K9 = "#eee", NC = ih, OC = 5e-5;
|
|
17659
17659
|
function Xi(r) {
|
|
17660
17660
|
return r > OC || r < -OC;
|
|
17661
17661
|
}
|
|
@@ -17836,9 +17836,9 @@ function lp(r, e, t) {
|
|
|
17836
17836
|
}
|
|
17837
17837
|
return r = r || {}, r.x = l, r.y = s, r.align = c, r.verticalAlign = f, r;
|
|
17838
17838
|
}
|
|
17839
|
-
var ag = "__zr_normal__", ng = mn.concat(["ignore"]),
|
|
17839
|
+
var ag = "__zr_normal__", ng = mn.concat(["ignore"]), Q9 = vn(mn, function(r, e) {
|
|
17840
17840
|
return r[e] = !0, r;
|
|
17841
|
-
}, { ignore: !1 }), bu = {},
|
|
17841
|
+
}, { ignore: !1 }), bu = {}, J9 = new Ge(0, 0, 0, 0), R1 = function() {
|
|
17842
17842
|
function r(e) {
|
|
17843
17843
|
this.id = eA(), this.animators = [], this.currentStates = [], this.states = {}, this._init(e);
|
|
17844
17844
|
}
|
|
@@ -17867,7 +17867,7 @@ var ag = "__zr_normal__", ng = mn.concat(["ignore"]), QN = vn(mn, function(r, e)
|
|
|
17867
17867
|
i.parent = n ? this : null;
|
|
17868
17868
|
var s = !1;
|
|
17869
17869
|
if (i.copyTransform(t), a.position != null) {
|
|
17870
|
-
var c =
|
|
17870
|
+
var c = J9;
|
|
17871
17871
|
a.layoutRect ? c.copy(a.layoutRect) : c.copy(this.getBoundingRect()), n || c.applyTransform(this.transform), this.calculateTextPosition ? this.calculateTextPosition(bu, a, c) : lp(bu, a, c), i.x = bu.x, i.y = bu.y, o = bu.align, u = bu.verticalAlign;
|
|
17872
17872
|
var f = a.origin;
|
|
17873
17873
|
if (f && a.rotation != null) {
|
|
@@ -18005,7 +18005,7 @@ var ag = "__zr_normal__", ng = mn.concat(["ignore"]), QN = vn(mn, function(r, e)
|
|
|
18005
18005
|
var u = !(t && n);
|
|
18006
18006
|
t && t.textConfig ? (this.textConfig = te({}, n ? this.textConfig : a.textConfig), te(this.textConfig, t.textConfig)) : u && a.textConfig && (this.textConfig = a.textConfig);
|
|
18007
18007
|
for (var l = {}, s = !1, c = 0; c < ng.length; c++) {
|
|
18008
|
-
var f = ng[c], d = i &&
|
|
18008
|
+
var f = ng[c], d = i && Q9[f];
|
|
18009
18009
|
t && t[f] != null ? d ? (s = !0, l[f] = t[f]) : this[f] = t[f] : u && a[f] != null && (d ? (s = !0, l[f] = a[f]) : this[f] = a[f]);
|
|
18010
18010
|
}
|
|
18011
18011
|
if (!i)
|
|
@@ -18187,17 +18187,17 @@ function og(r, e, t) {
|
|
|
18187
18187
|
for (var a = 0; a < t; a++)
|
|
18188
18188
|
r[a] = e[a];
|
|
18189
18189
|
}
|
|
18190
|
-
function
|
|
18190
|
+
function eN(r) {
|
|
18191
18191
|
return yr(r[0]);
|
|
18192
18192
|
}
|
|
18193
|
-
function
|
|
18193
|
+
function tN(r, e, t) {
|
|
18194
18194
|
if (yr(e[t]))
|
|
18195
18195
|
if (yr(r[t]) || (r[t] = []), Or(e[t])) {
|
|
18196
18196
|
var a = e[t].length;
|
|
18197
18197
|
r[t].length !== a && (r[t] = new e[t].constructor(a), og(r[t], e[t], a));
|
|
18198
18198
|
} else {
|
|
18199
18199
|
var n = e[t], i = r[t], o = n.length;
|
|
18200
|
-
if (
|
|
18200
|
+
if (eN(n))
|
|
18201
18201
|
for (var u = n[0].length, l = 0; l < o; l++)
|
|
18202
18202
|
i[l] ? og(i[l], n[l], u) : i[l] = Array.prototype.slice.call(n[l]);
|
|
18203
18203
|
else
|
|
@@ -18207,10 +18207,10 @@ function t9(r, e, t) {
|
|
|
18207
18207
|
else
|
|
18208
18208
|
r[t] = e[t];
|
|
18209
18209
|
}
|
|
18210
|
-
function
|
|
18211
|
-
return r === e || yr(r) && yr(e) &&
|
|
18210
|
+
function rN(r, e) {
|
|
18211
|
+
return r === e || yr(r) && yr(e) && aN(r, e);
|
|
18212
18212
|
}
|
|
18213
|
-
function
|
|
18213
|
+
function aN(r, e) {
|
|
18214
18214
|
var t = r.length;
|
|
18215
18215
|
if (t !== e.length)
|
|
18216
18216
|
return !1;
|
|
@@ -18247,7 +18247,7 @@ function LA(r, e, t, a, n, i, o, u) {
|
|
|
18247
18247
|
}
|
|
18248
18248
|
}
|
|
18249
18249
|
if (n.force || (v = ft(v, function(T) {
|
|
18250
|
-
return !
|
|
18250
|
+
return !rN(a[T], t[T]);
|
|
18251
18251
|
}), _ = v.length), _ > 0 || n.force && !o.length) {
|
|
18252
18252
|
var E = void 0, x = void 0, A = void 0;
|
|
18253
18253
|
if (u) {
|
|
@@ -18260,7 +18260,7 @@ function LA(r, e, t, a, n, i, o, u) {
|
|
|
18260
18260
|
A = {};
|
|
18261
18261
|
for (var b = 0; b < _; b++) {
|
|
18262
18262
|
var m = v[b];
|
|
18263
|
-
A[m] = Gs(t[m]),
|
|
18263
|
+
A[m] = Gs(t[m]), tN(t, a, m);
|
|
18264
18264
|
}
|
|
18265
18265
|
}
|
|
18266
18266
|
var C = new P1(t, !1, !1, f ? ft(h, function(M) {
|
|
@@ -18369,10 +18369,10 @@ const Fe = IA;
|
|
|
18369
18369
|
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
|
18370
18370
|
*/
|
|
18371
18371
|
var ws = {}, BA = {};
|
|
18372
|
-
function
|
|
18372
|
+
function nN(r) {
|
|
18373
18373
|
delete BA[r];
|
|
18374
18374
|
}
|
|
18375
|
-
function
|
|
18375
|
+
function iN(r) {
|
|
18376
18376
|
if (!r)
|
|
18377
18377
|
return !1;
|
|
18378
18378
|
if (typeof r == "string")
|
|
@@ -18384,18 +18384,18 @@ function i9(r) {
|
|
|
18384
18384
|
}
|
|
18385
18385
|
return !1;
|
|
18386
18386
|
}
|
|
18387
|
-
var
|
|
18387
|
+
var oN = function() {
|
|
18388
18388
|
function r(e, t, a) {
|
|
18389
18389
|
var n = this;
|
|
18390
18390
|
this._sleepAfterStill = 10, this._stillFrameAccum = 0, this._needsRefresh = !0, this._needsRefreshHover = !0, this._darkMode = !1, a = a || {}, this.dom = t, this.id = e;
|
|
18391
|
-
var i = new
|
|
18391
|
+
var i = new g9(), o = a.renderer || "canvas";
|
|
18392
18392
|
if (ws[o] || (o = Ze(ws)[0]), process.env.NODE_ENV !== "production" && !ws[o])
|
|
18393
18393
|
throw new Error("Renderer '" + o + "' is not imported. Please import it first.");
|
|
18394
18394
|
a.useDirtyRect = a.useDirtyRect == null ? !1 : a.useDirtyRect;
|
|
18395
18395
|
var u = new ws[o](t, i, a, e), l = a.ssr || u.ssrOnly;
|
|
18396
18396
|
this.storage = i, this.painter = u;
|
|
18397
|
-
var s = !et.node && !et.worker && !l ? new
|
|
18398
|
-
f && (p = Ve(a.pointerSize, d)), this.handler = new
|
|
18397
|
+
var s = !et.node && !et.worker && !l ? new Z9(u.getViewportRoot(), u.root) : null, c = a.useCoarsePointer, f = c == null || c === "auto" ? et.touchEventsSupported : !!c, d = 44, p;
|
|
18398
|
+
f && (p = Ve(a.pointerSize, d)), this.handler = new f9(i, u, s, u.root, p), this.animation = new $9({
|
|
18399
18399
|
stage: {
|
|
18400
18400
|
update: l ? null : function() {
|
|
18401
18401
|
return n._flush(!0);
|
|
@@ -18410,7 +18410,7 @@ var o9 = function() {
|
|
|
18410
18410
|
}, r.prototype.configLayer = function(e, t) {
|
|
18411
18411
|
this.painter.configLayer && this.painter.configLayer(e, t), this.refresh();
|
|
18412
18412
|
}, r.prototype.setBackgroundColor = function(e) {
|
|
18413
|
-
this.painter.setBackgroundColor && this.painter.setBackgroundColor(e), this.refresh(), this._backgroundColor = e, this._darkMode =
|
|
18413
|
+
this.painter.setBackgroundColor && this.painter.setBackgroundColor(e), this.refresh(), this._backgroundColor = e, this._darkMode = iN(e);
|
|
18414
18414
|
}, r.prototype.getBackgroundColor = function() {
|
|
18415
18415
|
return this._backgroundColor;
|
|
18416
18416
|
}, r.prototype.setDarkMode = function(e) {
|
|
@@ -18461,18 +18461,18 @@ var o9 = function() {
|
|
|
18461
18461
|
e[t] instanceof Fe && e[t].removeSelfFromZr(this);
|
|
18462
18462
|
this.storage.delAllRoots(), this.painter.clear();
|
|
18463
18463
|
}, r.prototype.dispose = function() {
|
|
18464
|
-
this.animation.stop(), this.clear(), this.storage.dispose(), this.painter.dispose(), this.handler.dispose(), this.animation = this.storage = this.painter = this.handler = null,
|
|
18464
|
+
this.animation.stop(), this.clear(), this.storage.dispose(), this.painter.dispose(), this.handler.dispose(), this.animation = this.storage = this.painter = this.handler = null, nN(this.id);
|
|
18465
18465
|
}, r;
|
|
18466
18466
|
}();
|
|
18467
18467
|
function GC(r, e) {
|
|
18468
|
-
var t = new
|
|
18468
|
+
var t = new oN(eA(), r, e);
|
|
18469
18469
|
return BA[t.id] = t, t;
|
|
18470
18470
|
}
|
|
18471
|
-
function
|
|
18471
|
+
function uN(r, e) {
|
|
18472
18472
|
ws[r] = e;
|
|
18473
18473
|
}
|
|
18474
18474
|
var $C = 1e-4, PA = 20;
|
|
18475
|
-
function
|
|
18475
|
+
function lN(r) {
|
|
18476
18476
|
return r.replace(/^\s+|\s+$/g, "");
|
|
18477
18477
|
}
|
|
18478
18478
|
function ut(r, e, t, a) {
|
|
@@ -18514,7 +18514,7 @@ function le(r, e) {
|
|
|
18514
18514
|
r = "100%";
|
|
18515
18515
|
break;
|
|
18516
18516
|
}
|
|
18517
|
-
return ce(r) ?
|
|
18517
|
+
return ce(r) ? lN(r).match(/%$/) ? parseFloat(r) / 100 * e : parseFloat(r) : r == null ? NaN : +r;
|
|
18518
18518
|
}
|
|
18519
18519
|
function It(r, e, t) {
|
|
18520
18520
|
return e == null && (e = 10), e = Math.min(Math.max(0, e), PA), r = (+r).toFixed(e), t ? r : +r;
|
|
@@ -18542,7 +18542,7 @@ function RA(r, e) {
|
|
|
18542
18542
|
var t = Math.log, a = Math.LN10, n = Math.floor(t(r[1] - r[0]) / a), i = Math.round(t(Math.abs(e[1] - e[0])) / a), o = Math.min(Math.max(-n + i, 0), 20);
|
|
18543
18543
|
return isFinite(o) ? o : 20;
|
|
18544
18544
|
}
|
|
18545
|
-
function
|
|
18545
|
+
function sN(r, e) {
|
|
18546
18546
|
var t = vn(r, function(p, h) {
|
|
18547
18547
|
return p + (isNaN(h) ? 0 : h);
|
|
18548
18548
|
}, 0);
|
|
@@ -18565,7 +18565,7 @@ function s9(r, e) {
|
|
|
18565
18565
|
return p / a;
|
|
18566
18566
|
});
|
|
18567
18567
|
}
|
|
18568
|
-
function
|
|
18568
|
+
function cN(r, e) {
|
|
18569
18569
|
var t = Math.max(ln(r), ln(e)), a = r + e;
|
|
18570
18570
|
return t > PA ? a : It(a, t);
|
|
18571
18571
|
}
|
|
@@ -18577,12 +18577,12 @@ function kA(r) {
|
|
|
18577
18577
|
function sp(r) {
|
|
18578
18578
|
return r > -$C && r < $C;
|
|
18579
18579
|
}
|
|
18580
|
-
var
|
|
18580
|
+
var fN = /^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;
|
|
18581
18581
|
function yn(r) {
|
|
18582
18582
|
if (r instanceof Date)
|
|
18583
18583
|
return r;
|
|
18584
18584
|
if (ce(r)) {
|
|
18585
|
-
var e =
|
|
18585
|
+
var e = fN.exec(r);
|
|
18586
18586
|
if (!e)
|
|
18587
18587
|
return new Date(NaN);
|
|
18588
18588
|
if (e[8]) {
|
|
@@ -18594,7 +18594,7 @@ function yn(r) {
|
|
|
18594
18594
|
return new Date(NaN);
|
|
18595
18595
|
return new Date(Math.round(r));
|
|
18596
18596
|
}
|
|
18597
|
-
function
|
|
18597
|
+
function dN(r) {
|
|
18598
18598
|
return Math.pow(10, lh(r));
|
|
18599
18599
|
}
|
|
18600
18600
|
function lh(r) {
|
|
@@ -18641,18 +18641,18 @@ function VA(r, e) {
|
|
|
18641
18641
|
function WC(r, e) {
|
|
18642
18642
|
return r == null ? e : e == null ? r : r * e / VA(r, e);
|
|
18643
18643
|
}
|
|
18644
|
-
var
|
|
18644
|
+
var pN = "[ECharts] ", qC = {}, hN = typeof console < "u" && console.warn && console.log;
|
|
18645
18645
|
function sh(r, e, t) {
|
|
18646
|
-
if (
|
|
18646
|
+
if (hN) {
|
|
18647
18647
|
if (t) {
|
|
18648
18648
|
if (qC[e])
|
|
18649
18649
|
return;
|
|
18650
18650
|
qC[e] = !0;
|
|
18651
18651
|
}
|
|
18652
|
-
console[r](
|
|
18652
|
+
console[r](pN + e);
|
|
18653
18653
|
}
|
|
18654
18654
|
}
|
|
18655
|
-
function
|
|
18655
|
+
function vN(r, e) {
|
|
18656
18656
|
sh("log", r, e);
|
|
18657
18657
|
}
|
|
18658
18658
|
function Et(r, e) {
|
|
@@ -18719,7 +18719,7 @@ var jC = ["fontStyle", "fontWeight", "fontSize", "fontFamily", "rich", "tag", "c
|
|
|
18719
18719
|
function Sl(r) {
|
|
18720
18720
|
return Se(r) && !ie(r) && !(r instanceof Date) ? r.value : r;
|
|
18721
18721
|
}
|
|
18722
|
-
function
|
|
18722
|
+
function gN(r) {
|
|
18723
18723
|
return Se(r) && !(r instanceof Array);
|
|
18724
18724
|
}
|
|
18725
18725
|
function $A(r, e, t) {
|
|
@@ -18733,10 +18733,10 @@ function $A(r, e, t) {
|
|
|
18733
18733
|
}
|
|
18734
18734
|
process.env.NODE_ENV !== "production" && (l.id != null && !ZC(l.id) && XC(l.id), l.name != null && !ZC(l.name) && XC(l.name));
|
|
18735
18735
|
});
|
|
18736
|
-
var u =
|
|
18737
|
-
return (a || n) &&
|
|
18736
|
+
var u = mN(r, o, t);
|
|
18737
|
+
return (a || n) && yN(u, r, o, e), a && _N(u, e), a || n ? bN(u, e, n) : i && CN(u, e), SN(u), u;
|
|
18738
18738
|
}
|
|
18739
|
-
function
|
|
18739
|
+
function mN(r, e, t) {
|
|
18740
18740
|
var a = [];
|
|
18741
18741
|
if (t === "replaceAll")
|
|
18742
18742
|
return a;
|
|
@@ -18751,7 +18751,7 @@ function m9(r, e, t) {
|
|
|
18751
18751
|
}
|
|
18752
18752
|
return a;
|
|
18753
18753
|
}
|
|
18754
|
-
function
|
|
18754
|
+
function yN(r, e, t, a) {
|
|
18755
18755
|
F(a, function(n, i) {
|
|
18756
18756
|
if (!(!n || n.id == null)) {
|
|
18757
18757
|
var o = $s(n.id), u = t.get(o);
|
|
@@ -18762,7 +18762,7 @@ function y9(r, e, t, a) {
|
|
|
18762
18762
|
}
|
|
18763
18763
|
});
|
|
18764
18764
|
}
|
|
18765
|
-
function
|
|
18765
|
+
function _N(r, e) {
|
|
18766
18766
|
F(e, function(t, a) {
|
|
18767
18767
|
if (!(!t || t.name == null))
|
|
18768
18768
|
for (var n = 0; n < r.length; n++) {
|
|
@@ -18774,7 +18774,7 @@ function _9(r, e) {
|
|
|
18774
18774
|
}
|
|
18775
18775
|
});
|
|
18776
18776
|
}
|
|
18777
|
-
function
|
|
18777
|
+
function bN(r, e, t) {
|
|
18778
18778
|
F(e, function(a) {
|
|
18779
18779
|
if (!!a) {
|
|
18780
18780
|
for (var n, i = 0; (n = r[i]) && (n.newOption || ol(n.existing) || n.existing && a.id != null && !HA("id", a, n.existing)); )
|
|
@@ -18788,7 +18788,7 @@ function b9(r, e, t) {
|
|
|
18788
18788
|
}
|
|
18789
18789
|
});
|
|
18790
18790
|
}
|
|
18791
|
-
function
|
|
18791
|
+
function CN(r, e) {
|
|
18792
18792
|
F(e, function(t) {
|
|
18793
18793
|
r.push({
|
|
18794
18794
|
newOption: t,
|
|
@@ -18798,7 +18798,7 @@ function C9(r, e) {
|
|
|
18798
18798
|
});
|
|
18799
18799
|
});
|
|
18800
18800
|
}
|
|
18801
|
-
function
|
|
18801
|
+
function SN(r) {
|
|
18802
18802
|
var e = _e();
|
|
18803
18803
|
F(r, function(t) {
|
|
18804
18804
|
var a = t.existing;
|
|
@@ -18848,20 +18848,20 @@ function N1(r) {
|
|
|
18848
18848
|
function ol(r) {
|
|
18849
18849
|
return r && r.id != null && $s(r.id).indexOf(GA) === 0;
|
|
18850
18850
|
}
|
|
18851
|
-
function
|
|
18851
|
+
function wN(r) {
|
|
18852
18852
|
return GA + r;
|
|
18853
18853
|
}
|
|
18854
|
-
function
|
|
18854
|
+
function DN(r, e, t) {
|
|
18855
18855
|
F(r, function(a) {
|
|
18856
18856
|
var n = a.newOption;
|
|
18857
|
-
Se(n) && (a.keyInfo.mainType = e, a.keyInfo.subType =
|
|
18857
|
+
Se(n) && (a.keyInfo.mainType = e, a.keyInfo.subType = EN(e, n, a.existing, t));
|
|
18858
18858
|
});
|
|
18859
18859
|
}
|
|
18860
|
-
function
|
|
18860
|
+
function EN(r, e, t, a) {
|
|
18861
18861
|
var n = e.type ? e.type : t ? t.subType : a.determineSubType(r, e);
|
|
18862
18862
|
return n;
|
|
18863
18863
|
}
|
|
18864
|
-
function
|
|
18864
|
+
function xN(r, e) {
|
|
18865
18865
|
var t = {}, a = {};
|
|
18866
18866
|
return n(r || [], t), n(e || [], a, t), [i(t), i(a)];
|
|
18867
18867
|
function n(o, u, l) {
|
|
@@ -18904,12 +18904,12 @@ function jo(r, e) {
|
|
|
18904
18904
|
}) : r.indexOfName(e.name);
|
|
18905
18905
|
}
|
|
18906
18906
|
function rt() {
|
|
18907
|
-
var r = "__ec_inner_" +
|
|
18907
|
+
var r = "__ec_inner_" + AN++;
|
|
18908
18908
|
return function(e) {
|
|
18909
18909
|
return e[r] || (e[r] = {});
|
|
18910
18910
|
};
|
|
18911
18911
|
}
|
|
18912
|
-
var
|
|
18912
|
+
var AN = OA();
|
|
18913
18913
|
function Hs(r, e, t) {
|
|
18914
18914
|
var a = O1(e, t), n = a.mainTypeSpecified, i = a.queryOptionMap, o = a.others, u = o, l = t ? t.defaultMainType : null;
|
|
18915
18915
|
return !n && l && i.set(l, {}), i.each(function(s, c) {
|
|
@@ -18950,7 +18950,7 @@ var $t = {
|
|
|
18950
18950
|
useDefault: !0,
|
|
18951
18951
|
enableAll: !1,
|
|
18952
18952
|
enableNone: !1
|
|
18953
|
-
},
|
|
18953
|
+
}, TN = {
|
|
18954
18954
|
useDefault: !1,
|
|
18955
18955
|
enableAll: !0,
|
|
18956
18956
|
enableNone: !0
|
|
@@ -18975,10 +18975,10 @@ function Lc(r, e, t, a) {
|
|
|
18975
18975
|
function UA(r, e, t) {
|
|
18976
18976
|
r.setAttribute ? r.setAttribute(e, t) : r[e] = t;
|
|
18977
18977
|
}
|
|
18978
|
-
function
|
|
18978
|
+
function FN(r, e) {
|
|
18979
18979
|
return r.getAttribute ? r.getAttribute(e) : r[e];
|
|
18980
18980
|
}
|
|
18981
|
-
function
|
|
18981
|
+
function LN(r) {
|
|
18982
18982
|
return r === "auto" ? et.domSupported ? "html" : "richText" : r || "html";
|
|
18983
18983
|
}
|
|
18984
18984
|
function Hy(r, e) {
|
|
@@ -19013,22 +19013,22 @@ function WA(r, e, t, a, n) {
|
|
|
19013
19013
|
return u;
|
|
19014
19014
|
}
|
|
19015
19015
|
}
|
|
19016
|
-
var
|
|
19016
|
+
var MN = ".", Ki = "___EC__COMPONENT__CONTAINER___", qA = "___EC__EXTENDED_CLASS___";
|
|
19017
19017
|
function sn(r) {
|
|
19018
19018
|
var e = {
|
|
19019
19019
|
main: "",
|
|
19020
19020
|
sub: ""
|
|
19021
19021
|
};
|
|
19022
19022
|
if (r) {
|
|
19023
|
-
var t = r.split(
|
|
19023
|
+
var t = r.split(MN);
|
|
19024
19024
|
e.main = t[0] || "", e.sub = t[1] || "";
|
|
19025
19025
|
}
|
|
19026
19026
|
return e;
|
|
19027
19027
|
}
|
|
19028
|
-
function
|
|
19028
|
+
function IN(r) {
|
|
19029
19029
|
we(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r), 'componentType "' + r + '" illegal');
|
|
19030
19030
|
}
|
|
19031
|
-
function
|
|
19031
|
+
function BN(r) {
|
|
19032
19032
|
return !!(r && r[qA]);
|
|
19033
19033
|
}
|
|
19034
19034
|
function V1(r, e) {
|
|
@@ -19037,7 +19037,7 @@ function V1(r, e) {
|
|
|
19037
19037
|
t[i] || console.warn("Method `" + i + "` should be implemented" + (t.type ? " in " + t.type : "") + ".");
|
|
19038
19038
|
});
|
|
19039
19039
|
var a = this, n;
|
|
19040
|
-
return
|
|
19040
|
+
return PN(a) ? n = function(i) {
|
|
19041
19041
|
U(o, i);
|
|
19042
19042
|
function o() {
|
|
19043
19043
|
return i.apply(this, arguments) || this;
|
|
@@ -19045,28 +19045,28 @@ function V1(r, e) {
|
|
|
19045
19045
|
return o;
|
|
19046
19046
|
}(a) : (n = function() {
|
|
19047
19047
|
(t.$constructor || a).apply(this, arguments);
|
|
19048
|
-
}, I3(n, this)), te(n.prototype, t), n[qA] = !0, n.extend = this.extend, n.superCall =
|
|
19048
|
+
}, I3(n, this)), te(n.prototype, t), n[qA] = !0, n.extend = this.extend, n.superCall = NN, n.superApply = ON, n.superClass = a, n;
|
|
19049
19049
|
};
|
|
19050
19050
|
}
|
|
19051
|
-
function
|
|
19051
|
+
function PN(r) {
|
|
19052
19052
|
return Ce(r) && /^class\s/.test(Function.prototype.toString.call(r));
|
|
19053
19053
|
}
|
|
19054
19054
|
function YA(r, e) {
|
|
19055
19055
|
r.extend = e.extend;
|
|
19056
19056
|
}
|
|
19057
|
-
var
|
|
19058
|
-
function
|
|
19059
|
-
var e = ["__\0is_clz",
|
|
19057
|
+
var RN = Math.round(Math.random() * 10);
|
|
19058
|
+
function kN(r) {
|
|
19059
|
+
var e = ["__\0is_clz", RN++].join("_");
|
|
19060
19060
|
r.prototype[e] = !0, process.env.NODE_ENV !== "production" && we(!r.isInstance, 'The method "is" can not be defined.'), r.isInstance = function(t) {
|
|
19061
19061
|
return !!(t && t[e]);
|
|
19062
19062
|
};
|
|
19063
19063
|
}
|
|
19064
|
-
function
|
|
19064
|
+
function NN(r, e) {
|
|
19065
19065
|
for (var t = [], a = 2; a < arguments.length; a++)
|
|
19066
19066
|
t[a - 2] = arguments[a];
|
|
19067
19067
|
return this.superClass.prototype[e].apply(r, t);
|
|
19068
19068
|
}
|
|
19069
|
-
function
|
|
19069
|
+
function ON(r, e, t) {
|
|
19070
19070
|
return this.superClass.prototype[e].apply(r, t);
|
|
19071
19071
|
}
|
|
19072
19072
|
function ch(r) {
|
|
@@ -19074,7 +19074,7 @@ function ch(r) {
|
|
|
19074
19074
|
r.registerClass = function(a) {
|
|
19075
19075
|
var n = a.type || a.prototype.type;
|
|
19076
19076
|
if (n) {
|
|
19077
|
-
|
|
19077
|
+
IN(n), a.prototype.type = n;
|
|
19078
19078
|
var i = sn(n);
|
|
19079
19079
|
if (!i.sub)
|
|
19080
19080
|
process.env.NODE_ENV !== "production" && e[i.main] && console.warn(i.main + " exists."), e[i.main] = a;
|
|
@@ -19125,21 +19125,21 @@ function Xo(r, e) {
|
|
|
19125
19125
|
return o;
|
|
19126
19126
|
};
|
|
19127
19127
|
}
|
|
19128
|
-
var
|
|
19128
|
+
var VN = [
|
|
19129
19129
|
["fill", "color"],
|
|
19130
19130
|
["shadowBlur"],
|
|
19131
19131
|
["shadowOffsetX"],
|
|
19132
19132
|
["shadowOffsetY"],
|
|
19133
19133
|
["opacity"],
|
|
19134
19134
|
["shadowColor"]
|
|
19135
|
-
],
|
|
19135
|
+
], zN = Xo(VN), GN = function() {
|
|
19136
19136
|
function r() {
|
|
19137
19137
|
}
|
|
19138
19138
|
return r.prototype.getAreaStyle = function(e, t) {
|
|
19139
|
-
return
|
|
19139
|
+
return zN(this, e, t);
|
|
19140
19140
|
}, r;
|
|
19141
19141
|
}(), Uy = new Tc(50);
|
|
19142
|
-
function $
|
|
19142
|
+
function $N(r) {
|
|
19143
19143
|
if (typeof r == "string") {
|
|
19144
19144
|
var e = Uy.get(r);
|
|
19145
19145
|
return e && e.image;
|
|
@@ -19174,7 +19174,7 @@ function fh(r) {
|
|
|
19174
19174
|
return r && r.width && r.height;
|
|
19175
19175
|
}
|
|
19176
19176
|
var lg = /\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;
|
|
19177
|
-
function
|
|
19177
|
+
function HN(r, e, t, a, n) {
|
|
19178
19178
|
if (!e)
|
|
19179
19179
|
return "";
|
|
19180
19180
|
var i = (r + "").split(`
|
|
@@ -19210,19 +19210,19 @@ function XA(r, e) {
|
|
|
19210
19210
|
r += e.ellipsis;
|
|
19211
19211
|
break;
|
|
19212
19212
|
}
|
|
19213
|
-
var u = o === 0 ?
|
|
19213
|
+
var u = o === 0 ? UN(r, n, e.ascCharWidth, e.cnCharWidth) : i > 0 ? Math.floor(r.length * n / i) : 0;
|
|
19214
19214
|
r = r.substr(0, u), i = Zr(r, a);
|
|
19215
19215
|
}
|
|
19216
19216
|
return r === "" && (r = e.placeholder), r;
|
|
19217
19217
|
}
|
|
19218
|
-
function
|
|
19218
|
+
function UN(r, e, t, a) {
|
|
19219
19219
|
for (var n = 0, i = 0, o = r.length; i < o && n < e; i++) {
|
|
19220
19220
|
var u = r.charCodeAt(i);
|
|
19221
19221
|
n += 0 <= u && u <= 127 ? t : a;
|
|
19222
19222
|
}
|
|
19223
19223
|
return i;
|
|
19224
19224
|
}
|
|
19225
|
-
function
|
|
19225
|
+
function WN(r, e) {
|
|
19226
19226
|
r != null && (r += "");
|
|
19227
19227
|
var t = e.overflow, a = e.padding, n = e.font, i = t === "truncate", o = uh(n), u = Ve(e.lineHeight, o), l = !!e.backgroundColor, s = e.lineOverflow === "truncate", c = e.width, f;
|
|
19228
19228
|
c != null && (t === "break" || t === "breakAll") ? f = r ? ZA(r, e.font, c, t === "breakAll", 0).lines : [] : f = r ? r.split(`
|
|
@@ -19254,7 +19254,7 @@ function W9(r, e) {
|
|
|
19254
19254
|
width: c
|
|
19255
19255
|
};
|
|
19256
19256
|
}
|
|
19257
|
-
var
|
|
19257
|
+
var qN = function() {
|
|
19258
19258
|
function r() {
|
|
19259
19259
|
}
|
|
19260
19260
|
return r;
|
|
@@ -19263,14 +19263,14 @@ var q9 = function() {
|
|
|
19263
19263
|
this.tokens = [], e && (this.tokens = e);
|
|
19264
19264
|
}
|
|
19265
19265
|
return r;
|
|
19266
|
-
}(),
|
|
19266
|
+
}(), YN = function() {
|
|
19267
19267
|
function r() {
|
|
19268
19268
|
this.width = 0, this.height = 0, this.contentWidth = 0, this.contentHeight = 0, this.outerWidth = 0, this.outerHeight = 0, this.lines = [];
|
|
19269
19269
|
}
|
|
19270
19270
|
return r;
|
|
19271
19271
|
}();
|
|
19272
|
-
function
|
|
19273
|
-
var t = new
|
|
19272
|
+
function jN(r, e) {
|
|
19273
|
+
var t = new YN();
|
|
19274
19274
|
if (r != null && (r += ""), !r)
|
|
19275
19275
|
return t;
|
|
19276
19276
|
for (var a = e.width, n = e.height, i = e.overflow, o = (i === "break" || i === "breakAll") && a != null ? { width: a, accumWidth: 0, breakAll: i === "breakAll" } : null, u = lg.lastIndex = 0, l; (l = lg.exec(r)) != null; ) {
|
|
@@ -19298,10 +19298,10 @@ function j9(r, e) {
|
|
|
19298
19298
|
else {
|
|
19299
19299
|
if (I) {
|
|
19300
19300
|
var B = w.backgroundColor, k = B && B.image;
|
|
19301
|
-
k && (k = $
|
|
19301
|
+
k && (k = $N(k), fh(k) && (S.width = Math.max(S.width, k.width * T / k.height)));
|
|
19302
19302
|
}
|
|
19303
19303
|
var O = h && a != null ? a - b : null;
|
|
19304
|
-
O != null && O < S.width ? !I || O < x ? (S.text = "", S.width = S.contentWidth = 0) : (S.text =
|
|
19304
|
+
O != null && O < S.width ? !I || O < x ? (S.text = "", S.width = S.contentWidth = 0) : (S.text = HN(S.text, O - x, A, e.ellipsis, { minChar: e.truncateMinChar }), S.width = S.contentWidth = Zr(S.text, A)) : S.contentWidth = Zr(S.text, A);
|
|
19305
19305
|
}
|
|
19306
19306
|
S.width += x, b += S.width, w && (_ = Math.max(_, S.lineHeight));
|
|
19307
19307
|
}
|
|
@@ -19330,7 +19330,7 @@ function sg(r, e, t, a, n) {
|
|
|
19330
19330
|
c = e.split(`
|
|
19331
19331
|
`);
|
|
19332
19332
|
for (var g = 0; g < c.length; g++) {
|
|
19333
|
-
var m = c[g], y = new
|
|
19333
|
+
var m = c[g], y = new qN();
|
|
19334
19334
|
if (y.styleName = n, y.text = m, y.isLineHolder = !m && !i, typeof o.width == "number" ? y.width = o.width : y.width = f ? f[g] : Zr(m, l), !g && !s) {
|
|
19335
19335
|
var _ = (u[u.length - 1] || (u[0] = new QC())).tokens, b = _.length;
|
|
19336
19336
|
b === 1 && _[0].isLineHolder ? _[0] = y : (m || !b || i) && _.push(y);
|
|
@@ -19338,15 +19338,15 @@ function sg(r, e, t, a, n) {
|
|
|
19338
19338
|
u.push(new QC([y]));
|
|
19339
19339
|
}
|
|
19340
19340
|
}
|
|
19341
|
-
function
|
|
19341
|
+
function XN(r) {
|
|
19342
19342
|
var e = r.charCodeAt(0);
|
|
19343
19343
|
return e >= 32 && e <= 591 || e >= 880 && e <= 4351 || e >= 4608 && e <= 5119 || e >= 7680 && e <= 8303;
|
|
19344
19344
|
}
|
|
19345
|
-
var
|
|
19345
|
+
var ZN = vn(",&?/;] ".split(""), function(r, e) {
|
|
19346
19346
|
return r[e] = !0, r;
|
|
19347
19347
|
}, {});
|
|
19348
|
-
function
|
|
19349
|
-
return
|
|
19348
|
+
function KN(r) {
|
|
19349
|
+
return XN(r) ? !!ZN[r] : !0;
|
|
19350
19350
|
}
|
|
19351
19351
|
function ZA(r, e, t, a, n) {
|
|
19352
19352
|
for (var i = [], o = [], u = "", l = "", s = 0, c = 0, f = 0; f < r.length; f++) {
|
|
@@ -19356,7 +19356,7 @@ function ZA(r, e, t, a, n) {
|
|
|
19356
19356
|
l && (u += l, c += s), i.push(u), o.push(c), u = "", l = "", s = 0, c = 0;
|
|
19357
19357
|
continue;
|
|
19358
19358
|
}
|
|
19359
|
-
var p = Zr(d, e), h = a ? !1 : !
|
|
19359
|
+
var p = Zr(d, e), h = a ? !1 : !KN(d);
|
|
19360
19360
|
if (i.length ? c + p > t : n + c + p > t) {
|
|
19361
19361
|
c ? (u || l) && (h ? (u || (u = l, l = "", s = 0, c = s), i.push(u), o.push(c - s), l += d, s += p, u = "", c = s) : (l && (u += l, l = "", s = 0), i.push(u), o.push(c), u = d, c = p)) : h ? (i.push(l), o.push(s), l = d, s = p) : (i.push(d), o.push(p));
|
|
19362
19362
|
continue;
|
|
@@ -19386,7 +19386,7 @@ var Wy = "__zr_style_" + Math.round(Math.random() * 10), Oo = {
|
|
|
19386
19386
|
}
|
|
19387
19387
|
};
|
|
19388
19388
|
Oo[Wy] = !0;
|
|
19389
|
-
var JC = ["z", "z2", "invisible"],
|
|
19389
|
+
var JC = ["z", "z2", "invisible"], QN = ["invisible"], JN = function(r) {
|
|
19390
19390
|
U(e, r);
|
|
19391
19391
|
function e(t) {
|
|
19392
19392
|
return r.call(this, t) || this;
|
|
@@ -19483,7 +19483,7 @@ var JC = ["z", "z2", "invisible"], Q9 = ["invisible"], J9 = function(r) {
|
|
|
19483
19483
|
}, u, this.getAnimationStyleProps());
|
|
19484
19484
|
} else
|
|
19485
19485
|
this.useStyle(s);
|
|
19486
|
-
for (var v = this.__inHover ?
|
|
19486
|
+
for (var v = this.__inHover ? QN : JC, d = 0; d < v.length; d++) {
|
|
19487
19487
|
var p = v[d];
|
|
19488
19488
|
a && a[p] != null ? this[p] = a[p] : l && n[p] != null && (this[p] = n[p]);
|
|
19489
19489
|
}
|
|
@@ -19505,7 +19505,7 @@ var JC = ["z", "z2", "invisible"], Q9 = ["invisible"], J9 = function(r) {
|
|
|
19505
19505
|
function eO(r, e, t) {
|
|
19506
19506
|
return cg.copy(r.getBoundingRect()), r.transform && cg.applyTransform(r.transform), fg.width = e, fg.height = t, !cg.intersect(fg);
|
|
19507
19507
|
}
|
|
19508
|
-
const ba =
|
|
19508
|
+
const ba = JN;
|
|
19509
19509
|
var Rr = Math.min, kr = Math.max, dg = Math.sin, pg = Math.cos, Qi = Math.PI * 2, Tf = iu(), Ff = iu(), Lf = iu();
|
|
19510
19510
|
function ph(r, e, t) {
|
|
19511
19511
|
if (r.length !== 0) {
|
|
@@ -19711,12 +19711,12 @@ var nO = function() {
|
|
|
19711
19711
|
}
|
|
19712
19712
|
case ht.C: {
|
|
19713
19713
|
var b = e[d++], C = e[d++], g = e[d++], m = e[d++], S = e[d++], w = e[d++];
|
|
19714
|
-
v =
|
|
19714
|
+
v = m9(i, o, b, C, g, m, S, w, 10), i = S, o = w;
|
|
19715
19715
|
break;
|
|
19716
19716
|
}
|
|
19717
19717
|
case ht.Q: {
|
|
19718
19718
|
var b = e[d++], C = e[d++], g = e[d++], m = e[d++];
|
|
19719
|
-
v =
|
|
19719
|
+
v = _9(i, o, b, C, g, m, 10), i = g, o = m;
|
|
19720
19720
|
break;
|
|
19721
19721
|
}
|
|
19722
19722
|
case ht.A:
|
|
@@ -19930,7 +19930,7 @@ function cO(r, e, t, a, n, i, o, u, l, s) {
|
|
|
19930
19930
|
function fO(r, e, t, a, n, i, o, u) {
|
|
19931
19931
|
if (u > e && u > a && u > i || u < e && u < a && u < i)
|
|
19932
19932
|
return 0;
|
|
19933
|
-
var l =
|
|
19933
|
+
var l = y9(e, a, i, u, Dr);
|
|
19934
19934
|
if (l === 0)
|
|
19935
19935
|
return 0;
|
|
19936
19936
|
var s = gA(e, a, i);
|
|
@@ -20119,7 +20119,7 @@ var cp = De({
|
|
|
20119
20119
|
if (t !== "none") {
|
|
20120
20120
|
if (ce(t)) {
|
|
20121
20121
|
var a = ip(t, 0);
|
|
20122
|
-
return a > 0.5 ? zy : a > 0.2 ?
|
|
20122
|
+
return a > 0.5 ? zy : a > 0.2 ? K9 : Gy;
|
|
20123
20123
|
} else if (t)
|
|
20124
20124
|
return Gy;
|
|
20125
20125
|
}
|
|
@@ -20477,7 +20477,7 @@ var nS = {
|
|
|
20477
20477
|
var a = this._children[this._childCursor];
|
|
20478
20478
|
return (!a || !(a instanceof t)) && (a = new t()), this._children[this._childCursor++] = a, a.__zr = this.__zr, a.parent = this, a;
|
|
20479
20479
|
}, e.prototype._updatePlainTexts = function() {
|
|
20480
|
-
var t = this.style, a = t.font || Ai, n = t.padding, i = dS(t), o =
|
|
20480
|
+
var t = this.style, a = t.font || Ai, n = t.padding, i = dS(t), o = WN(i, t), u = _g(t), l = !!t.backgroundColor, s = o.outerHeight, c = o.outerWidth, f = o.contentWidth, d = o.lines, p = o.lineHeight, h = this._defaultStyle, v = t.x || 0, g = t.y || 0, m = t.align || h.align || "left", y = t.verticalAlign || h.verticalAlign || "top", _ = v, b = $u(g, o.contentHeight, y);
|
|
20481
20481
|
if (u || n) {
|
|
20482
20482
|
var C = Ss(v, c, m), S = $u(g, s, y);
|
|
20483
20483
|
u && this._renderBackground(t, t, C, S, c, s);
|
|
@@ -20488,7 +20488,7 @@ var nS = {
|
|
|
20488
20488
|
k.useStyle(O), O.text = d[B], O.x = _, O.y = b, m && (O.textAlign = m), O.textBaseline = "middle", O.opacity = t.opacity, O.strokeFirst = !0, T && (O.shadowBlur = t.textShadowBlur || 0, O.shadowColor = t.textShadowColor || "transparent", O.shadowOffsetX = t.textShadowOffsetX || 0, O.shadowOffsetY = t.textShadowOffsetY || 0), O.stroke = A, O.fill = x, A && (O.lineWidth = t.lineWidth || w, O.lineDash = t.lineDash, O.lineDashOffset = t.lineDashOffset || 0), O.font = a, uS(O, t), b += p, M && k.setBoundingRect(new Ge(Ss(O.x, t.width, O.textAlign), $u(O.y, I, O.textBaseline), f, I));
|
|
20489
20489
|
}
|
|
20490
20490
|
}, e.prototype._updateRichTexts = function() {
|
|
20491
|
-
var t = this.style, a = dS(t), n =
|
|
20491
|
+
var t = this.style, a = dS(t), n = jN(a, t), i = n.width, o = n.outerWidth, u = n.outerHeight, l = t.padding, s = t.x || 0, c = t.y || 0, f = this._defaultStyle, d = t.align || f.align, p = t.verticalAlign || f.verticalAlign, h = Ss(s, o, d), v = $u(c, u, p), g = h, m = v;
|
|
20492
20492
|
l && (g += l[3], m += l[0]);
|
|
20493
20493
|
var y = g + i;
|
|
20494
20494
|
_g(t) && this._renderBackground(t, t, h, v, o, u);
|
|
@@ -22267,10 +22267,10 @@ var WT = [
|
|
|
22267
22267
|
}, r;
|
|
22268
22268
|
}();
|
|
22269
22269
|
V1(uu);
|
|
22270
|
-
|
|
22270
|
+
kN(uu);
|
|
22271
22271
|
qt(uu, RV);
|
|
22272
22272
|
qt(uu, NV);
|
|
22273
|
-
qt(uu,
|
|
22273
|
+
qt(uu, GN);
|
|
22274
22274
|
qt(uu, BV);
|
|
22275
22275
|
const _t = uu;
|
|
22276
22276
|
var OV = Math.round(Math.random() * 10);
|
|
@@ -22975,7 +22975,7 @@ var JV = rt(), Ll = function(r) {
|
|
|
22975
22975
|
}, e.prototype.optionUpdated = function(t, a) {
|
|
22976
22976
|
}, e.prototype.getDefaultOption = function() {
|
|
22977
22977
|
var t = this.constructor;
|
|
22978
|
-
if (!
|
|
22978
|
+
if (!BN(t))
|
|
22979
22979
|
return t.defaultOption;
|
|
22980
22980
|
var a = JV(this);
|
|
22981
22981
|
if (!a.defaultOption) {
|
|
@@ -23392,7 +23392,7 @@ var v6 = function(r) {
|
|
|
23392
23392
|
}), Je.topologicalTravel(u, Je.getAllClassMainTypes(), c, this);
|
|
23393
23393
|
function c(f) {
|
|
23394
23394
|
var d = iz(this, f, dt(t[f])), p = i.get(f), h = p ? s && s.get(f) ? "replaceMerge" : "normalMerge" : "replaceAll", v = $A(p, d, h);
|
|
23395
|
-
|
|
23395
|
+
DN(v, f, Je), n[f] = null, i.set(f, null), o.set(f, 0);
|
|
23396
23396
|
var g = [], m = [], y = 0, _, b;
|
|
23397
23397
|
F(v, function(C, S) {
|
|
23398
23398
|
var w = C.existing, E = C.newOption;
|
|
@@ -23962,7 +23962,7 @@ function Iz(r) {
|
|
|
23962
23962
|
if (u || (h = m.data.rawIndexOf(m.stackedByDimension, p)), h >= 0) {
|
|
23963
23963
|
var y = m.data.getByRawIndex(m.stackResultDimension, h);
|
|
23964
23964
|
if (l === "all" || l === "positive" && y > 0 || l === "negative" && y < 0 || l === "samesign" && d >= 0 && y > 0 || l === "samesign" && d <= 0 && y < 0) {
|
|
23965
|
-
d =
|
|
23965
|
+
d = cN(d, y), v = y;
|
|
23966
23966
|
break;
|
|
23967
23967
|
}
|
|
23968
23968
|
}
|
|
@@ -24618,7 +24618,7 @@ function Jz(r, e, t, a) {
|
|
|
24618
24618
|
`);
|
|
24619
24619
|
}).join(`
|
|
24620
24620
|
`);
|
|
24621
|
-
|
|
24621
|
+
vN(s);
|
|
24622
24622
|
}
|
|
24623
24623
|
return oe(l, function(c, f) {
|
|
24624
24624
|
var d = "";
|
|
@@ -27932,7 +27932,7 @@ function $w(r, e, t) {
|
|
|
27932
27932
|
return i.id = "ec_" + P$++, Zs[i.id] = i, a && UA(r, __, i.id), f8(i), Ma.trigger("afterinit", i), i;
|
|
27933
27933
|
}
|
|
27934
27934
|
function R$(r) {
|
|
27935
|
-
return Zs[
|
|
27935
|
+
return Zs[FN(r, __)];
|
|
27936
27936
|
}
|
|
27937
27937
|
function h8(r, e) {
|
|
27938
27938
|
p8[r] = e;
|
|
@@ -28065,7 +28065,7 @@ var Uw = [], $$ = {
|
|
|
28065
28065
|
Je.registerSubTypeDefaulter(r, e);
|
|
28066
28066
|
},
|
|
28067
28067
|
registerPainter: function(r, e) {
|
|
28068
|
-
|
|
28068
|
+
uN(r, e);
|
|
28069
28069
|
}
|
|
28070
28070
|
};
|
|
28071
28071
|
function Ue(r) {
|
|
@@ -28394,7 +28394,7 @@ var as = Se, ri = oe, Z$ = typeof Int32Array > "u" ? Array : Int32Array, K$ = "e
|
|
|
28394
28394
|
if (l && !n.pure)
|
|
28395
28395
|
for (var s = [], c = e; c < t; c++) {
|
|
28396
28396
|
var f = n.getItem(c, s);
|
|
28397
|
-
if (!this.hasItemOption &&
|
|
28397
|
+
if (!this.hasItemOption && gN(f) && (this.hasItemOption = !0), f) {
|
|
28398
28398
|
var d = f.name;
|
|
28399
28399
|
i[c] == null && d != null && (i[c] = jt(d, null));
|
|
28400
28400
|
var p = f.id;
|
|
@@ -29611,7 +29611,7 @@ var Zw = Zn.prototype, Ks = Pi.prototype, IH = It, BH = Math.floor, PH = Math.ce
|
|
|
29611
29611
|
t = t || 10;
|
|
29612
29612
|
var a = this._extent, n = a[1] - a[0];
|
|
29613
29613
|
if (!(n === 1 / 0 || n <= 0)) {
|
|
29614
|
-
var i =
|
|
29614
|
+
var i = dN(n), o = t / n * i;
|
|
29615
29615
|
for (o <= 0.5 && (i *= 10); !isNaN(i) && Math.abs(i) < 1 && Math.abs(i) > 0; )
|
|
29616
29616
|
i *= 10;
|
|
29617
29617
|
var u = [It(PH(a[0] / i) * i), It(BH(a[1] / i) * i)];
|
|
@@ -31185,7 +31185,7 @@ function kU(r) {
|
|
|
31185
31185
|
function I_(r, e, t) {
|
|
31186
31186
|
if (e && !(kU(e) && s5(e))) {
|
|
31187
31187
|
var a = t ? 10 : 1e4;
|
|
31188
|
-
r.transform = s5(e) ? "translate(" + vc(e[4] * a) / a + " " + vc(e[5] * a) / a + ")" :
|
|
31188
|
+
r.transform = s5(e) ? "translate(" + vc(e[4] * a) / a + " " + vc(e[5] * a) / a + ")" : T9(e);
|
|
31189
31189
|
}
|
|
31190
31190
|
}
|
|
31191
31191
|
function c5(r, e, t) {
|
|
@@ -31248,7 +31248,7 @@ function zU(r, e) {
|
|
|
31248
31248
|
function GU(r, e) {
|
|
31249
31249
|
var t = r.style, a = t.text;
|
|
31250
31250
|
if (a != null && (a += ""), !(!a || isNaN(t.x) || isNaN(t.y))) {
|
|
31251
|
-
var n = t.font || Ai, i = t.x || 0, o =
|
|
31251
|
+
var n = t.font || Ai, i = t.x || 0, o = L9(t.y || 0, uh(n), t.textBaseline), u = F9[t.textAlign] || t.textAlign, l = {
|
|
31252
31252
|
"dominant-baseline": "central",
|
|
31253
31253
|
"text-anchor": u
|
|
31254
31254
|
};
|
|
@@ -31273,8 +31273,8 @@ function d5(r, e) {
|
|
|
31273
31273
|
}
|
|
31274
31274
|
function $U(r, e, t) {
|
|
31275
31275
|
var a = r.style;
|
|
31276
|
-
if (
|
|
31277
|
-
var n =
|
|
31276
|
+
if (M9(a)) {
|
|
31277
|
+
var n = I9(r), i = t.shadowCache, o = i[n];
|
|
31278
31278
|
if (!o) {
|
|
31279
31279
|
var u = r.getGlobalScale(), l = u[0], s = u[1];
|
|
31280
31280
|
if (!l || !s)
|
|
@@ -31573,7 +31573,7 @@ var XU = 0, ZU = function() {
|
|
|
31573
31573
|
this._svgDom && (this._svgDom.innerHTML = null), this._oldVNode = null;
|
|
31574
31574
|
}, r.prototype.toDataURL = function(e) {
|
|
31575
31575
|
var t = this.renderToString(), a = "data:image/svg+xml;";
|
|
31576
|
-
return e ? (t =
|
|
31576
|
+
return e ? (t = P9(t), t && a + "base64," + t) : a + "charset=UTF-8," + encodeURIComponent(t);
|
|
31577
31577
|
}, r;
|
|
31578
31578
|
}();
|
|
31579
31579
|
function m5(r) {
|
|
@@ -32702,7 +32702,7 @@ function ii(r, e, t, a) {
|
|
|
32702
32702
|
function yW(r, e) {
|
|
32703
32703
|
var t = [], a = r.length, n, i;
|
|
32704
32704
|
function o(c, f, d) {
|
|
32705
|
-
var p = c.coord, h = (d - p) / (f.coord - p), v =
|
|
32705
|
+
var p = c.coord, h = (d - p) / (f.coord - p), v = A9(h, [c.color, f.color]);
|
|
32706
32706
|
return {
|
|
32707
32707
|
coord: d,
|
|
32708
32708
|
color: v
|
|
@@ -34373,7 +34373,7 @@ var aq = rt(), nq = function(r) {
|
|
|
34373
34373
|
var o = [];
|
|
34374
34374
|
a.each(a.mapDimension("value"), function(l) {
|
|
34375
34375
|
o.push(l);
|
|
34376
|
-
}), i = n.seats =
|
|
34376
|
+
}), i = n.seats = sN(o, a.hostModel.get("percentPrecision"));
|
|
34377
34377
|
}
|
|
34378
34378
|
var u = r.prototype.getDataParams.call(this, t);
|
|
34379
34379
|
return u.percent = i[t] || 0, u.$vars.push("percent"), u;
|
|
@@ -44350,7 +44350,7 @@ var FQ = function(r) {
|
|
|
44350
44350
|
}, i), this._symbolDraw.updateLayout();
|
|
44351
44351
|
}, e.prototype._updateGroupTransform = function(t) {
|
|
44352
44352
|
var a = t.coordinateSystem;
|
|
44353
|
-
a && a.getRoamTransform && (this.group.transform =
|
|
44353
|
+
a && a.getRoamTransform && (this.group.transform = a9(a.getRoamTransform()), this.group.decomposeTransform());
|
|
44354
44354
|
}, e.prototype.remove = function(t, a) {
|
|
44355
44355
|
this._symbolDraw && this._symbolDraw.remove(!0);
|
|
44356
44356
|
}, e.type = "effectScatter", e;
|
|
@@ -49381,7 +49381,7 @@ var Xm = function() {
|
|
|
49381
49381
|
}, e.prototype._fillSpecifiedTargetAxis = function(t) {
|
|
49382
49382
|
var a = !1;
|
|
49383
49383
|
return F(iE, function(n) {
|
|
49384
|
-
var i = this.getReferringComponents(Si(n),
|
|
49384
|
+
var i = this.getReferringComponents(Si(n), TN);
|
|
49385
49385
|
if (!!i.specified) {
|
|
49386
49386
|
a = !0;
|
|
49387
49387
|
var o = new Xm();
|
|
@@ -50605,7 +50605,7 @@ function mE(r) {
|
|
|
50605
50605
|
return r ? [r[0][1] - r[0][0], r[1][1] - r[1][0]] : [NaN, NaN];
|
|
50606
50606
|
}
|
|
50607
50607
|
const Sb = Jre;
|
|
50608
|
-
var X0 = F, rae =
|
|
50608
|
+
var X0 = F, rae = wN("toolbox-dataZoom_"), aae = function(r) {
|
|
50609
50609
|
U(e, r);
|
|
50610
50610
|
function e() {
|
|
50611
50611
|
return r !== null && r.apply(this, arguments) || this;
|
|
@@ -51041,7 +51041,7 @@ var Dae = new tt({
|
|
|
51041
51041
|
}
|
|
51042
51042
|
return e.prototype.init = function(t, a) {
|
|
51043
51043
|
if (!(et.node || !a.getDom())) {
|
|
51044
|
-
var n = t.getComponent("tooltip"), i = this._renderMode =
|
|
51044
|
+
var n = t.getComponent("tooltip"), i = this._renderMode = LN(n.get("renderMode"));
|
|
51045
51045
|
this._tooltipContent = i === "richText" ? new wae(a) : new Cae(a.getDom(), a, {
|
|
51046
51046
|
appendToBody: n.get("appendToBody", !0)
|
|
51047
51047
|
});
|
|
@@ -55195,7 +55195,7 @@ var tn = ut, Pie = F, ex = Math.min, uy = Math.max, Rie = 12, kie = 6, Nie = fun
|
|
|
55195
55195
|
s[0] < o[0] && (f[0] = -1 / 0), s[1] > o[1] && (f[1] = 1 / 0), a && (f[0] === -1 / 0 ? this._showIndicator(c, f[1], "< ", l) : f[1] === 1 / 0 ? this._showIndicator(c, f[0], "> ", l) : this._showIndicator(c, c, "\u2248 ", l));
|
|
55196
55196
|
var d = this._hoverLinkDataIndices, p = [];
|
|
55197
55197
|
(a || rx(n)) && (p = this._hoverLinkDataIndices = n.findTargetDataIndices(f));
|
|
55198
|
-
var h =
|
|
55198
|
+
var h = xN(d, p);
|
|
55199
55199
|
this._dispatchHighDown("downplay", qd(h[0], n)), this._dispatchHighDown("highlight", qd(h[1], n));
|
|
55200
55200
|
}
|
|
55201
55201
|
}, e.prototype._hoverLinkFromSeriesMouseOver = function(t) {
|
|
@@ -57050,11 +57050,26 @@ function Hoe(r) {
|
|
|
57050
57050
|
show: !0,
|
|
57051
57051
|
feature: {
|
|
57052
57052
|
dataZoom: {
|
|
57053
|
-
yAxisIndex: "none"
|
|
57053
|
+
yAxisIndex: "none",
|
|
57054
|
+
title: {
|
|
57055
|
+
zoom: r("i18n_btn_MUdC_272ed1da", "\u533A\u57DF\u7F29\u653E"),
|
|
57056
|
+
back: r("i18n_btn_MUdCSj_16d38221", "\u533A\u57DF\u7F29\u653E\u8FD8\u539F")
|
|
57057
|
+
}
|
|
57054
57058
|
},
|
|
57055
|
-
magicType: {
|
|
57056
|
-
|
|
57057
|
-
|
|
57059
|
+
magicType: {
|
|
57060
|
+
type: ["line", "bar", "stack"],
|
|
57061
|
+
title: {
|
|
57062
|
+
line: r("i18n_btn_FSLNWP_96e1d8f8", "\u5207\u6362\u4E3A\u6298\u7EBF\u56FE"),
|
|
57063
|
+
bar: r("i18n_btn_FSLdzP_96f476fa", "\u5207\u6362\u4E3A\u67F1\u72B6\u56FE"),
|
|
57064
|
+
stack: r("i18n_menu_FSLIs_b247e439", "\u5207\u6362\u4E3A\u5806\u53E0")
|
|
57065
|
+
}
|
|
57066
|
+
},
|
|
57067
|
+
restore: {
|
|
57068
|
+
title: r("i18n_btn_Sj_11bec7", "\u8FD8\u539F")
|
|
57069
|
+
},
|
|
57070
|
+
saveAsImage: {
|
|
57071
|
+
title: r("i18n_btn_sMLPO_902181c8", "\u4FDD\u5B58\u4E3A\u56FE\u7247")
|
|
57072
|
+
}
|
|
57058
57073
|
}
|
|
57059
57074
|
},
|
|
57060
57075
|
grid: {
|
|
@@ -57088,11 +57103,26 @@ function Hoe(r) {
|
|
|
57088
57103
|
show: !0,
|
|
57089
57104
|
feature: {
|
|
57090
57105
|
dataZoom: {
|
|
57091
|
-
yAxisIndex: "none"
|
|
57106
|
+
yAxisIndex: "none",
|
|
57107
|
+
title: {
|
|
57108
|
+
zoom: r("i18n_btn_MUdC_272ed1da", "\u533A\u57DF\u7F29\u653E"),
|
|
57109
|
+
back: r("i18n_btn_MUdCSj_16d38221", "\u533A\u57DF\u7F29\u653E\u8FD8\u539F")
|
|
57110
|
+
}
|
|
57092
57111
|
},
|
|
57093
|
-
magicType: {
|
|
57094
|
-
|
|
57095
|
-
|
|
57112
|
+
magicType: {
|
|
57113
|
+
type: ["line", "bar", "stack"],
|
|
57114
|
+
title: {
|
|
57115
|
+
line: r("i18n_btn_FSLNWP_96e1d8f8", "\u5207\u6362\u4E3A\u6298\u7EBF\u56FE"),
|
|
57116
|
+
bar: r("i18n_btn_FSLdzP_96f476fa", "\u5207\u6362\u4E3A\u67F1\u72B6\u56FE"),
|
|
57117
|
+
stack: r("i18n_menu_FSLIs_b247e439", "\u5207\u6362\u4E3A\u5806\u53E0")
|
|
57118
|
+
}
|
|
57119
|
+
},
|
|
57120
|
+
restore: {
|
|
57121
|
+
title: r("i18n_btn_Sj_11bec7", "\u8FD8\u539F")
|
|
57122
|
+
},
|
|
57123
|
+
saveAsImage: {
|
|
57124
|
+
title: r("i18n_btn_sMLPO_902181c8", "\u4FDD\u5B58\u4E3A\u56FE\u7247")
|
|
57125
|
+
}
|
|
57096
57126
|
}
|
|
57097
57127
|
},
|
|
57098
57128
|
xAxis: {
|