@akiraka/quark-big-screen-ui 0.1.18 → 0.1.19
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/fixtures/big-screen.d.ts +13 -2
- package/dist/fixtures/big-screen.d.ts.map +1 -1
- package/dist/index.js +287 -286
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20286,7 +20286,7 @@ function kx(r, e) {
|
|
|
20286
20286
|
}
|
|
20287
20287
|
return t;
|
|
20288
20288
|
}
|
|
20289
|
-
var
|
|
20289
|
+
var e2 = ["label", "labelLine", "layoutOption", "priority", "defaultAttr", "marginForce", "minMarginForce", "marginDefault", "suggestIgnore"], d9 = 1, Sd = 2, pP = d9 | Sd;
|
|
20290
20290
|
function bd(r, e, t) {
|
|
20291
20291
|
t = t || pP, e ? r.dirty |= t : r.dirty &= ~t;
|
|
20292
20292
|
}
|
|
@@ -20324,13 +20324,13 @@ function u1(r, e) {
|
|
|
20324
20324
|
}
|
|
20325
20325
|
}
|
|
20326
20326
|
function c1(r, e) {
|
|
20327
|
-
for (var t = 0; t <
|
|
20328
|
-
var a =
|
|
20327
|
+
for (var t = 0; t < e2.length; t++) {
|
|
20328
|
+
var a = e2[t];
|
|
20329
20329
|
r[a] == null && (r[a] = e[a]);
|
|
20330
20330
|
}
|
|
20331
20331
|
return _n(r);
|
|
20332
20332
|
}
|
|
20333
|
-
function
|
|
20333
|
+
function t2(r) {
|
|
20334
20334
|
var e = r.obb;
|
|
20335
20335
|
return (!e || gP(r, Sd)) && (r.obb = e = e || new PI(), e.fromBoundingRect(r.localRect, r.transform), bd(r, !1, Sd)), e;
|
|
20336
20336
|
}
|
|
@@ -20429,7 +20429,7 @@ function mP(r) {
|
|
|
20429
20429
|
}
|
|
20430
20430
|
}
|
|
20431
20431
|
function Hp(r, e, t, a) {
|
|
20432
|
-
return !r || !e || r.label && r.label.ignore || e.label && e.label.ignore || !r.rect.intersect(e.rect, t, a) ? !1 : r.axisAligned && e.axisAligned ? !0 :
|
|
20432
|
+
return !r || !e || r.label && r.label.ignore || e.label && e.label.ignore || !r.rect.intersect(e.rect, t, a) ? !1 : r.axisAligned && e.axisAligned ? !0 : t2(r).intersect(t2(e), t, a);
|
|
20433
20433
|
}
|
|
20434
20434
|
function y9(r) {
|
|
20435
20435
|
if (r) {
|
|
@@ -20454,7 +20454,7 @@ function m9(r, e) {
|
|
|
20454
20454
|
labelLinePoints: y9(a && a.shape.points)
|
|
20455
20455
|
};
|
|
20456
20456
|
}
|
|
20457
|
-
var
|
|
20457
|
+
var r2 = ["align", "verticalAlign", "width", "height", "fontSize"], wr = new bn(), wy = Le(), _9 = Le();
|
|
20458
20458
|
function xv(r, e, t) {
|
|
20459
20459
|
for (var a = 0; a < t.length; a++) {
|
|
20460
20460
|
var n = t[a];
|
|
@@ -20555,8 +20555,8 @@ var Sv = ["x", "y", "rotation"], x9 = (
|
|
|
20555
20555
|
}
|
|
20556
20556
|
var d = wy(s);
|
|
20557
20557
|
d.needsUpdateLabelLine = v, s.rotation = c.rotate != null ? c.rotate * f : u.rotation, s.scaleX = u.scaleX, s.scaleY = u.scaleY;
|
|
20558
|
-
for (var p = 0; p <
|
|
20559
|
-
var g =
|
|
20558
|
+
for (var p = 0; p < r2.length; p++) {
|
|
20559
|
+
var g = r2[p];
|
|
20560
20560
|
s.setStyle(g, c[g] != null ? c[g] : u.style[g]);
|
|
20561
20561
|
}
|
|
20562
20562
|
if (c.draggable) {
|
|
@@ -20755,7 +20755,7 @@ function A9(r, e, t, a) {
|
|
|
20755
20755
|
}
|
|
20756
20756
|
}
|
|
20757
20757
|
}
|
|
20758
|
-
var SP = "http://www.w3.org/2000/svg", bP = "http://www.w3.org/1999/xlink", M9 = "http://www.w3.org/2000/xmlns/", E9 = "http://www.w3.org/XML/1998/namespace",
|
|
20758
|
+
var SP = "http://www.w3.org/2000/svg", bP = "http://www.w3.org/1999/xlink", M9 = "http://www.w3.org/2000/xmlns/", E9 = "http://www.w3.org/XML/1998/namespace", a2 = "ecmeta_";
|
|
20759
20759
|
function wP(r) {
|
|
20760
20760
|
return document.createElementNS(SP, r);
|
|
20761
20761
|
}
|
|
@@ -20827,7 +20827,7 @@ function h1(r) {
|
|
|
20827
20827
|
clipPathIdx: 0
|
|
20828
20828
|
};
|
|
20829
20829
|
}
|
|
20830
|
-
function
|
|
20830
|
+
function n2(r, e, t, a) {
|
|
20831
20831
|
return qt("svg", "root", {
|
|
20832
20832
|
width: r,
|
|
20833
20833
|
height: e,
|
|
@@ -20842,7 +20842,7 @@ var P9 = 0;
|
|
|
20842
20842
|
function TP() {
|
|
20843
20843
|
return P9++;
|
|
20844
20844
|
}
|
|
20845
|
-
var
|
|
20845
|
+
var i2 = {
|
|
20846
20846
|
cubicIn: "0.32,0,0.67,0",
|
|
20847
20847
|
cubicOut: "0.33,1,0.68,1",
|
|
20848
20848
|
cubicInOut: "0.65,0,0.35,1",
|
|
@@ -20909,8 +20909,8 @@ function V9(r, e, t) {
|
|
|
20909
20909
|
return i.replace(o, s);
|
|
20910
20910
|
}
|
|
20911
20911
|
}
|
|
20912
|
-
function
|
|
20913
|
-
return te(r) ?
|
|
20912
|
+
function o2(r) {
|
|
20913
|
+
return te(r) ? i2[r] ? "cubic-bezier(" + i2[r] + ")" : b_(r) ? r : "" : "";
|
|
20914
20914
|
}
|
|
20915
20915
|
function $p(r, e, t, a) {
|
|
20916
20916
|
var n = r.animators, i = n.length, o = [];
|
|
@@ -20923,7 +20923,7 @@ function $p(r, e, t, a) {
|
|
|
20923
20923
|
} else if (!i)
|
|
20924
20924
|
return;
|
|
20925
20925
|
for (var l = {}, u = 0; u < i; u++) {
|
|
20926
|
-
var c = n[u], f = [c.getMaxTime() / 1e3 + "s"], v =
|
|
20926
|
+
var c = n[u], f = [c.getMaxTime() / 1e3 + "s"], v = o2(c.getClip().easing), h = c.getDelay();
|
|
20927
20927
|
v ? f.push(v) : f.push("linear"), h && f.push(h / 1e3 + "s"), c.getLoop() && f.push("infinite");
|
|
20928
20928
|
var d = f.join(" ");
|
|
20929
20929
|
l[d] = l[d] || [d, []], l[d][1].push(c);
|
|
@@ -20937,7 +20937,7 @@ function $p(r, e, t, a) {
|
|
|
20937
20937
|
var Qe = Be.keyframes, tt = Be.propName;
|
|
20938
20938
|
if (Ae && (tt = Ae(tt)), tt)
|
|
20939
20939
|
for (var wt = 0; wt < Qe.length; wt++) {
|
|
20940
|
-
var hr = Qe[wt], Qt = Math.round(hr.time / Te * 100) + "%", xa =
|
|
20940
|
+
var hr = Qe[wt], Qt = Math.round(hr.time / Te * 100) + "%", xa = o2(hr.easing), Tn = hr.rawValue;
|
|
20941
20941
|
(te(Tn) || Ye(Tn)) && (ie[Qt] = ie[Qt] || {}, ie[Qt][tt] = hr.rawValue, xa && (ie[Qt][C] = xa));
|
|
20942
20942
|
}
|
|
20943
20943
|
}
|
|
@@ -21016,7 +21016,7 @@ function B9(r, e, t) {
|
|
|
21016
21016
|
var a = {
|
|
21017
21017
|
"pointer-events": "none"
|
|
21018
21018
|
};
|
|
21019
|
-
|
|
21019
|
+
s2(a, e, t);
|
|
21020
21020
|
} else {
|
|
21021
21021
|
var n = r.states.emphasis && r.states.emphasis.style ? r.states.emphasis.style : {}, i = n.fill;
|
|
21022
21022
|
if (!i) {
|
|
@@ -21031,10 +21031,10 @@ function B9(r, e, t) {
|
|
|
21031
21031
|
var a = {
|
|
21032
21032
|
cursor: "pointer"
|
|
21033
21033
|
};
|
|
21034
|
-
i && (a.fill = i), n.stroke && (a.stroke = n.stroke), u && (a["stroke-width"] = u),
|
|
21034
|
+
i && (a.fill = i), n.stroke && (a.stroke = n.stroke), u && (a["stroke-width"] = u), s2(a, e, t);
|
|
21035
21035
|
}
|
|
21036
21036
|
}
|
|
21037
|
-
function
|
|
21037
|
+
function s2(r, e, t, a) {
|
|
21038
21038
|
var n = JSON.stringify(r), i = t.cssStyleCache[n];
|
|
21039
21039
|
i || (i = t.zrId + "-cls-" + TP(), t.cssStyleCache[n] = i, t.cssNodes["." + i + ":hover"] = r), e.class = e.class ? e.class + " " + i : i;
|
|
21040
21040
|
}
|
|
@@ -21054,27 +21054,27 @@ function Nx(r, e, t, a) {
|
|
|
21054
21054
|
function Rx(r, e) {
|
|
21055
21055
|
var t = P6(e);
|
|
21056
21056
|
t && (t.each(function(a, n) {
|
|
21057
|
-
a != null && (r[(
|
|
21058
|
-
}), e.isSilent() && (r[
|
|
21057
|
+
a != null && (r[(a2 + n).toLowerCase()] = a + "");
|
|
21058
|
+
}), e.isSilent() && (r[a2 + "silent"] = "true"));
|
|
21059
21059
|
}
|
|
21060
|
-
function
|
|
21060
|
+
function l2(r) {
|
|
21061
21061
|
return xi(r[0] - 1) && xi(r[1]) && xi(r[2]) && xi(r[3] - 1);
|
|
21062
21062
|
}
|
|
21063
21063
|
function z9(r) {
|
|
21064
21064
|
return xi(r[4]) && xi(r[5]);
|
|
21065
21065
|
}
|
|
21066
21066
|
function Ox(r, e, t) {
|
|
21067
|
-
if (e && !(z9(e) &&
|
|
21067
|
+
if (e && !(z9(e) && l2(e))) {
|
|
21068
21068
|
var a = 1e4;
|
|
21069
|
-
r.transform =
|
|
21069
|
+
r.transform = l2(e) ? "translate(" + Wc(e[4] * a) / a + " " + Wc(e[5] * a) / a + ")" : t6(e);
|
|
21070
21070
|
}
|
|
21071
21071
|
}
|
|
21072
|
-
function
|
|
21072
|
+
function u2(r, e, t) {
|
|
21073
21073
|
for (var a = r.points, n = [], i = 0; i < a.length; i++)
|
|
21074
21074
|
n.push(Wc(a[i][0] * t) / t), n.push(Wc(a[i][1] * t) / t);
|
|
21075
21075
|
e.points = n.join(" ");
|
|
21076
21076
|
}
|
|
21077
|
-
function
|
|
21077
|
+
function c2(r) {
|
|
21078
21078
|
return !r.smooth;
|
|
21079
21079
|
}
|
|
21080
21080
|
function G9(r) {
|
|
@@ -21090,8 +21090,8 @@ function G9(r) {
|
|
|
21090
21090
|
}
|
|
21091
21091
|
var F9 = {
|
|
21092
21092
|
circle: [G9(["cx", "cy", "r"])],
|
|
21093
|
-
polyline: [
|
|
21094
|
-
polygon: [
|
|
21093
|
+
polyline: [u2, c2],
|
|
21094
|
+
polygon: [u2, c2]
|
|
21095
21095
|
};
|
|
21096
21096
|
function H9(r) {
|
|
21097
21097
|
for (var e = r.animators, t = 0; t < e.length; t++)
|
|
@@ -21144,7 +21144,7 @@ function U9(r, e) {
|
|
|
21144
21144
|
return a.match(/\s/) && (l["xml:space"] = "preserve"), i && (l.x = i), o && (l.y = o), Ox(l, r.transform), Nx(l, t, r, e), Rx(l, r), e.animation && $p(r, l, e), qt("text", r.id + "", l, void 0, a);
|
|
21145
21145
|
}
|
|
21146
21146
|
}
|
|
21147
|
-
function
|
|
21147
|
+
function f2(r, e) {
|
|
21148
21148
|
if (r instanceof Ge)
|
|
21149
21149
|
return MP(r, e);
|
|
21150
21150
|
if (r instanceof or)
|
|
@@ -21245,16 +21245,16 @@ function Y9(r, e, t) {
|
|
|
21245
21245
|
}
|
|
21246
21246
|
e["clip-path"] = up(i);
|
|
21247
21247
|
}
|
|
21248
|
-
function
|
|
21248
|
+
function v2(r) {
|
|
21249
21249
|
return document.createTextNode(r);
|
|
21250
21250
|
}
|
|
21251
21251
|
function Io(r, e, t) {
|
|
21252
21252
|
r.insertBefore(e, t);
|
|
21253
21253
|
}
|
|
21254
|
-
function
|
|
21254
|
+
function h2(r, e) {
|
|
21255
21255
|
r.removeChild(e);
|
|
21256
21256
|
}
|
|
21257
|
-
function
|
|
21257
|
+
function d2(r, e) {
|
|
21258
21258
|
r.appendChild(e);
|
|
21259
21259
|
}
|
|
21260
21260
|
function kP(r) {
|
|
@@ -21266,7 +21266,7 @@ function LP(r) {
|
|
|
21266
21266
|
function Ay(r, e) {
|
|
21267
21267
|
r.textContent = e;
|
|
21268
21268
|
}
|
|
21269
|
-
var
|
|
21269
|
+
var p2 = 58, X9 = 120, Z9 = qt("", "");
|
|
21270
21270
|
function d1(r) {
|
|
21271
21271
|
return r === void 0;
|
|
21272
21272
|
}
|
|
@@ -21291,11 +21291,11 @@ function Yc(r) {
|
|
|
21291
21291
|
if (Vx(Z9, r), Z(t))
|
|
21292
21292
|
for (e = 0; e < t.length; ++e) {
|
|
21293
21293
|
var i = t[e];
|
|
21294
|
-
i != null &&
|
|
21294
|
+
i != null && d2(n, Yc(i));
|
|
21295
21295
|
}
|
|
21296
|
-
else Xa(r.text) && !me(r.text) &&
|
|
21296
|
+
else Xa(r.text) && !me(r.text) && d2(n, v2(r.text));
|
|
21297
21297
|
} else
|
|
21298
|
-
r.elm =
|
|
21298
|
+
r.elm = v2(r.text);
|
|
21299
21299
|
return r.elm;
|
|
21300
21300
|
}
|
|
21301
21301
|
function PP(r, e, t, a, n) {
|
|
@@ -21310,9 +21310,9 @@ function wd(r, e, t, a) {
|
|
|
21310
21310
|
if (n != null)
|
|
21311
21311
|
if (Xa(n.tag)) {
|
|
21312
21312
|
var i = kP(n.elm);
|
|
21313
|
-
|
|
21313
|
+
h2(i, n.elm);
|
|
21314
21314
|
} else
|
|
21315
|
-
|
|
21315
|
+
h2(r, n.elm);
|
|
21316
21316
|
}
|
|
21317
21317
|
}
|
|
21318
21318
|
function Vx(r, e) {
|
|
@@ -21320,7 +21320,7 @@ function Vx(r, e) {
|
|
|
21320
21320
|
if (n !== i) {
|
|
21321
21321
|
for (t in i) {
|
|
21322
21322
|
var o = i[t], s = n[t];
|
|
21323
|
-
s !== o && (o === !0 ? a.setAttribute(t, "") : o === !1 ? a.removeAttribute(t) : t === "style" ? a.style.cssText = o : t.charCodeAt(0) !== X9 ? a.setAttribute(t, o) : t === "xmlns:xlink" || t === "xmlns" ? a.setAttributeNS(M9, t, o) : t.charCodeAt(3) ===
|
|
21323
|
+
s !== o && (o === !0 ? a.setAttribute(t, "") : o === !1 ? a.removeAttribute(t) : t === "style" ? a.style.cssText = o : t.charCodeAt(0) !== X9 ? a.setAttribute(t, o) : t === "xmlns:xlink" || t === "xmlns" ? a.setAttributeNS(M9, t, o) : t.charCodeAt(3) === p2 ? a.setAttributeNS(E9, t, o) : t.charCodeAt(5) === p2 ? a.setAttributeNS(bP, t, o) : a.setAttribute(t, o));
|
|
21324
21324
|
}
|
|
21325
21325
|
for (t in n)
|
|
21326
21326
|
t in i || a.removeAttribute(t);
|
|
@@ -21346,7 +21346,7 @@ function j9(r, e) {
|
|
|
21346
21346
|
}
|
|
21347
21347
|
var Q9 = 0, J9 = (function() {
|
|
21348
21348
|
function r(e, t, a) {
|
|
21349
|
-
if (this.type = "svg", this.configLayer = eY("configLayer"), this.storage = t, this._opts = a = Y({}, a), this.root = e, this._id = "zr" + Q9++, this._oldVNode =
|
|
21349
|
+
if (this.type = "svg", this.configLayer = eY("configLayer"), this.storage = t, this._opts = a = Y({}, a), this.root = e, this._id = "zr" + Q9++, this._oldVNode = n2(a.width, a.height), e && !a.ssr) {
|
|
21350
21350
|
var n = this._viewport = document.createElement("div");
|
|
21351
21351
|
n.style.cssText = "position:relative;overflow:hidden";
|
|
21352
21352
|
var i = this._svgDom = this._oldVNode.elm = wP("svg");
|
|
@@ -21375,7 +21375,7 @@ var Q9 = 0, J9 = (function() {
|
|
|
21375
21375
|
e.attrs.style = "position:absolute;left:0;top:0;user-select:none", j9(this._oldVNode, e), this._oldVNode = e;
|
|
21376
21376
|
}
|
|
21377
21377
|
}, r.prototype.renderOneToVNode = function(e) {
|
|
21378
|
-
return
|
|
21378
|
+
return f2(e, h1(this._id));
|
|
21379
21379
|
}, r.prototype.renderToVNode = function(e) {
|
|
21380
21380
|
e = e || {};
|
|
21381
21381
|
var t = this.storage.getDisplayList(!0), a = this._width, n = this._height, i = h1(this._id);
|
|
@@ -21394,7 +21394,7 @@ var Q9 = 0, J9 = (function() {
|
|
|
21394
21394
|
o.push(f);
|
|
21395
21395
|
}
|
|
21396
21396
|
}
|
|
21397
|
-
return
|
|
21397
|
+
return n2(a, n, o, e.useViewBox);
|
|
21398
21398
|
}, r.prototype.renderToString = function(e) {
|
|
21399
21399
|
return e = e || {}, Px(this.renderToVNode({
|
|
21400
21400
|
animation: le(e.cssAnimation, !0),
|
|
@@ -21423,7 +21423,7 @@ var Q9 = 0, J9 = (function() {
|
|
|
21423
21423
|
(s ? s.children : a).push(_), i[o++] = _, s = _;
|
|
21424
21424
|
}
|
|
21425
21425
|
l = v;
|
|
21426
|
-
var x =
|
|
21426
|
+
var x = f2(f, t);
|
|
21427
21427
|
x && (s ? s.children : a).push(x);
|
|
21428
21428
|
}
|
|
21429
21429
|
}
|
|
@@ -21490,14 +21490,14 @@ function tY(r, e, t, a) {
|
|
|
21490
21490
|
function rY(r) {
|
|
21491
21491
|
r.registerPainter("svg", J9);
|
|
21492
21492
|
}
|
|
21493
|
-
function
|
|
21493
|
+
function g2(r, e, t) {
|
|
21494
21494
|
var a = Mr.createCanvas(), n = e.getWidth(), i = e.getHeight(), o = a.style;
|
|
21495
21495
|
return o && (o.position = "absolute", o.left = "0", o.top = "0", o.width = n + "px", o.height = i + "px", a.setAttribute("data-zr-dom-id", r)), a.width = n * t, a.height = i * t, a;
|
|
21496
21496
|
}
|
|
21497
21497
|
function My(r) {
|
|
21498
21498
|
return !r.__cursors.get(NI);
|
|
21499
21499
|
}
|
|
21500
|
-
function
|
|
21500
|
+
function y2(r) {
|
|
21501
21501
|
var e = r.__cursors.get(NI);
|
|
21502
21502
|
return {
|
|
21503
21503
|
startIdx: e ? e.startIdx : 0,
|
|
@@ -21510,21 +21510,21 @@ var NP = (function(r) {
|
|
|
21510
21510
|
var i = r.call(this) || this;
|
|
21511
21511
|
i.motionBlur = !1, i.lastFrameAlpha = 0.7, i.dpr = 1, i.virtual = !1, i.config = {}, i.zlevel = 0, i.zlevel2 = dh, i.maxRepaintRectCount = 5, i.__dirty = !0, i.__firstTimePaint = !0, i.__prevIdx = { startIdx: 0, endIdx: 0 };
|
|
21512
21512
|
var o;
|
|
21513
|
-
n = n || zh, typeof t == "string" ? o =
|
|
21513
|
+
n = n || zh, typeof t == "string" ? o = g2(t, a, n) : me(t) && (o = t, t = o.id), i.id = t, i.dom = o;
|
|
21514
21514
|
var s = o.style;
|
|
21515
21515
|
return s && (lE(o), o.onselectstart = function() {
|
|
21516
21516
|
return !1;
|
|
21517
21517
|
}, s.padding = "0", s.margin = "0", s.borderWidth = "0"), i.painter = a, i.dpr = n, i;
|
|
21518
21518
|
}
|
|
21519
21519
|
return e.prototype.afterBrush = function() {
|
|
21520
|
-
this.__prevIdx =
|
|
21520
|
+
this.__prevIdx = y2(this);
|
|
21521
21521
|
}, e.prototype.initContext = function() {
|
|
21522
21522
|
this.ctx = this.dom.getContext("2d"), this.ctx.dpr = this.dpr;
|
|
21523
21523
|
}, e.prototype.setUnpainted = function() {
|
|
21524
21524
|
this.__firstTimePaint = !0;
|
|
21525
21525
|
}, e.prototype.createBackBuffer = function() {
|
|
21526
21526
|
var t = this.dpr;
|
|
21527
|
-
this.domBack =
|
|
21527
|
+
this.domBack = g2("back-" + this.id, this.painter, t), this.ctxBack = this.domBack.getContext("2d"), t !== 1 && this.ctxBack.scale(t, t);
|
|
21528
21528
|
}, e.prototype.createRepaintRects = function(t, a, n, i) {
|
|
21529
21529
|
if (this.__firstTimePaint)
|
|
21530
21530
|
return this.__firstTimePaint = !1, null;
|
|
@@ -21554,7 +21554,7 @@ var NP = (function(r) {
|
|
|
21554
21554
|
l || (l = o.length >= s);
|
|
21555
21555
|
}
|
|
21556
21556
|
}
|
|
21557
|
-
for (var f =
|
|
21557
|
+
for (var f = y2(this), v = f.startIdx; v < f.endIdx; ++v) {
|
|
21558
21558
|
var h = t[v];
|
|
21559
21559
|
if (h) {
|
|
21560
21560
|
var d = h.shouldBePainted(n, i, !0, !0), p = h.__isRendered && (h.__dirty & Fr || !d) ? h.getPrevPaintRect() : null;
|
|
@@ -21619,7 +21619,7 @@ var NP = (function(r) {
|
|
|
21619
21619
|
d(p.x * f, p.y * f, p.width * f, p.height * f);
|
|
21620
21620
|
});
|
|
21621
21621
|
}, e;
|
|
21622
|
-
})(_a),
|
|
21622
|
+
})(_a), m2 = 1e5, mo = 314159, Ey = void 0, aY = 1, Iy = 2;
|
|
21623
21623
|
function nY(r) {
|
|
21624
21624
|
return r ? r.__builtin__ ? !0 : !(typeof r.resize != "function" || typeof r.refresh != "function") : !1;
|
|
21625
21625
|
}
|
|
@@ -21634,7 +21634,7 @@ function iY(r, e) {
|
|
|
21634
21634
|
"border-width:0"
|
|
21635
21635
|
].join(";") + ";", t;
|
|
21636
21636
|
}
|
|
21637
|
-
function
|
|
21637
|
+
function _2(r, e, t, a) {
|
|
21638
21638
|
var n = new NP(r, e, e.dpr);
|
|
21639
21639
|
return n.zlevel = t, n.zlevel2 = a, n.__builtin__ = !0, RP(n), n;
|
|
21640
21640
|
}
|
|
@@ -21674,7 +21674,7 @@ var Tc = 1, p1 = 2, OP = 4, wv = Tc | OP, lY = (function() {
|
|
|
21674
21674
|
if (o && (lE(e), e.innerHTML = ""), this.storage = t, this._prevDisplayList = [], i) {
|
|
21675
21675
|
var l = e, u = l.width, c = l.height;
|
|
21676
21676
|
a.width != null && (u = a.width), a.height != null && (c = a.height), this.dpr = a.devicePixelRatio || 1, l.width = u * this.dpr, l.height = c * this.dpr, this._width = u, this._height = c;
|
|
21677
|
-
var f =
|
|
21677
|
+
var f = _2(l, this, mo, dh);
|
|
21678
21678
|
f.initContext(), this._insertLayer(f, mo, dh, !0), this._domRoot = e;
|
|
21679
21679
|
} else {
|
|
21680
21680
|
this._width = gl(e, 0, a), this._height = gl(e, 1, a);
|
|
@@ -21711,7 +21711,7 @@ var Tc = 1, p1 = 2, OP = 4, wv = Tc | OP, lY = (function() {
|
|
|
21711
21711
|
}, p1), this._opts.useDirtyRect && (this._prevDisplayList = i.slice()), this;
|
|
21712
21712
|
}, r.prototype._paintHoverList = function(e) {
|
|
21713
21713
|
var t = this._i.hoverlayer, a = this._hoverLayerDirty;
|
|
21714
|
-
if (this._hoverLayerDirty = Ey, a !== Ey && (!t && a === Iy && (t = this._i.hoverlayer = this._ensureLayer(
|
|
21714
|
+
if (this._hoverLayerDirty = Ey, a !== Ey && (!t && a === Iy && (t = this._i.hoverlayer = this._ensureLayer(m2)), !!t)) {
|
|
21715
21715
|
t.clear();
|
|
21716
21716
|
for (var n = {
|
|
21717
21717
|
inHover: !0,
|
|
@@ -21729,7 +21729,7 @@ var Tc = 1, p1 = 2, OP = 4, wv = Tc | OP, lY = (function() {
|
|
|
21729
21729
|
i && (Al(i, n), i.restore());
|
|
21730
21730
|
}
|
|
21731
21731
|
}, r.prototype.getHoverLayer = function() {
|
|
21732
|
-
return this._ensureLayer(
|
|
21732
|
+
return this._ensureLayer(m2);
|
|
21733
21733
|
}, r.prototype.paintOne = function(e, t) {
|
|
21734
21734
|
hL(e, t);
|
|
21735
21735
|
}, r.prototype._paintList = function(e, t, a) {
|
|
@@ -21818,7 +21818,7 @@ var Tc = 1, p1 = 2, OP = 4, wv = Tc | OP, lY = (function() {
|
|
|
21818
21818
|
var n = this._singleCanvas;
|
|
21819
21819
|
n && !this._needsManuallyCompositing && (e = mo, t = 0);
|
|
21820
21820
|
var i = ky(this._i, e)[t];
|
|
21821
|
-
return i || (i =
|
|
21821
|
+
return i || (i = _2("zr_" + e + "." + t, this, e, t), this._layerConfig[e] && Pe(i, this._layerConfig[e], !0), (a || n && e !== mo) && (i.virtual = !0), this._insertLayer(i, e, t, !1), i.initContext()), i;
|
|
21822
21822
|
}, r.prototype.insertLayer = function(e, t) {
|
|
21823
21823
|
this._insertLayer(t, e, 0, !1);
|
|
21824
21824
|
}, r.prototype._insertLayer = function(e, t, a, n) {
|
|
@@ -22237,12 +22237,12 @@ function fY(r, e) {
|
|
|
22237
22237
|
function Tv(r, e, t, a) {
|
|
22238
22238
|
return e && !isNaN(e[0]) && !isNaN(e[1]) && !(a && a.isIgnore && a.isIgnore(t)) && !(a && a.clipShape && !a.clipShape.contain(e[0], e[1])) && r.getItemVisual(t, "symbol") !== "none";
|
|
22239
22239
|
}
|
|
22240
|
-
function
|
|
22240
|
+
function x2(r) {
|
|
22241
22241
|
return r != null && !me(r) && (r = {
|
|
22242
22242
|
isIgnore: r
|
|
22243
22243
|
}), r || {};
|
|
22244
22244
|
}
|
|
22245
|
-
function
|
|
22245
|
+
function S2(r) {
|
|
22246
22246
|
var e = r.hostModel, t = e.getModel("emphasis");
|
|
22247
22247
|
return {
|
|
22248
22248
|
emphasisItemStyle: t.getModel("itemStyle").getItemStyle(),
|
|
@@ -22256,7 +22256,7 @@ function SC(r) {
|
|
|
22256
22256
|
cursorStyle: e.get("cursor")
|
|
22257
22257
|
};
|
|
22258
22258
|
}
|
|
22259
|
-
function
|
|
22259
|
+
function b2(r, e, t, a, n, i, o) {
|
|
22260
22260
|
var s = new r(e, t, a, n);
|
|
22261
22261
|
return s.setPosition(i), e.setItemGraphicEl(t, s), o.add(s), s;
|
|
22262
22262
|
}
|
|
@@ -22267,15 +22267,15 @@ var Ef = (
|
|
|
22267
22267
|
this.group = new _e(), this._SymbolCtor = e || Mf;
|
|
22268
22268
|
}
|
|
22269
22269
|
return r.prototype.updateData = function(e, t) {
|
|
22270
|
-
this._progressiveEls = null, t =
|
|
22271
|
-
var a = this.group, n = e.hostModel, i = this._data, o = this._SymbolCtor, s = t.disableAnimation, l = this._seriesScope =
|
|
22270
|
+
this._progressiveEls = null, t = x2(t);
|
|
22271
|
+
var a = this.group, n = e.hostModel, i = this._data, o = this._SymbolCtor, s = t.disableAnimation, l = this._seriesScope = S2(e), u = {
|
|
22272
22272
|
disableAnimation: s
|
|
22273
22273
|
}, c = t.getSymbolPoint || function(f) {
|
|
22274
22274
|
return e.getItemLayout(f);
|
|
22275
22275
|
};
|
|
22276
22276
|
i || a.removeAll(), e.diff(i).add(function(f) {
|
|
22277
22277
|
var v = c(f);
|
|
22278
|
-
Tv(e, v, f, t) &&
|
|
22278
|
+
Tv(e, v, f, t) && b2(o, e, f, l, u, v, a);
|
|
22279
22279
|
}).update(function(f, v) {
|
|
22280
22280
|
var h = i.getItemGraphicEl(v), d = c(f);
|
|
22281
22281
|
if (!Tv(e, d, f, t)) {
|
|
@@ -22305,14 +22305,14 @@ var Ef = (
|
|
|
22305
22305
|
if (t)
|
|
22306
22306
|
for (var a = this, n = t.getStore(), i = 0, o = n.count(); i < o; i++) {
|
|
22307
22307
|
var s = t.getItemGraphicEl(i), l = a._getSymbolPoint(i);
|
|
22308
|
-
Tv(t, l, i, e) ? (s = s ||
|
|
22308
|
+
Tv(t, l, i, e) ? (s = s || b2(a._SymbolCtor, t, i, a._seriesScope, {
|
|
22309
22309
|
disableAnimation: !0
|
|
22310
22310
|
}, l, a.group), s.stopAnimation(), s.setPosition(l), s.markRedraw()) : s && (a.group.remove(s), t.setItemGraphicEl(i, null));
|
|
22311
22311
|
}
|
|
22312
22312
|
}, r.prototype.incrementalPrepareUpdate = function(e) {
|
|
22313
|
-
this._seriesScope =
|
|
22313
|
+
this._seriesScope = S2(e), this._data = null, this.group.removeAll();
|
|
22314
22314
|
}, r.prototype.incrementalUpdate = function(e, t, a, n) {
|
|
22315
|
-
this._progressiveEls = [], n =
|
|
22315
|
+
this._progressiveEls = [], n = x2(n);
|
|
22316
22316
|
function i(u) {
|
|
22317
22317
|
u.isGroup || (u.incremental = a, u.ensureState("emphasis").hoverLayer = iu);
|
|
22318
22318
|
}
|
|
@@ -22675,11 +22675,11 @@ function UP(r) {
|
|
|
22675
22675
|
function cs(r, e) {
|
|
22676
22676
|
return r.type === e;
|
|
22677
22677
|
}
|
|
22678
|
-
function
|
|
22678
|
+
function w2(r) {
|
|
22679
22679
|
var e = r.dimensions;
|
|
22680
22680
|
return e[0] === "lng" && e[1] === "lat" && !!r.getViewRect;
|
|
22681
22681
|
}
|
|
22682
|
-
var
|
|
22682
|
+
var T2 = {};
|
|
22683
22683
|
function WP(r, e, t, a) {
|
|
22684
22684
|
return r && (r.legacy || r.legacy !== !1 && !t && !a && e !== "tspan" && (e === "text" || oe(r, "text")));
|
|
22685
22685
|
}
|
|
@@ -22701,36 +22701,36 @@ function YP(r, e, t) {
|
|
|
22701
22701
|
var s = oe(a, "textPosition");
|
|
22702
22702
|
t ? n.position = s ? a.textPosition : "inside" : s && (n.position = a.textPosition), oe(a, "textPosition") && (n.position = a.textPosition), oe(a, "textOffset") && (n.offset = a.textOffset), oe(a, "textRotation") && (n.rotation = a.textRotation), oe(a, "textDistance") && (n.distance = a.textDistance);
|
|
22703
22703
|
}
|
|
22704
|
-
return
|
|
22705
|
-
|
|
22704
|
+
return C2(o, r), A(o.rich, function(l) {
|
|
22705
|
+
C2(l, l);
|
|
22706
22706
|
}), {
|
|
22707
22707
|
textConfig: n,
|
|
22708
22708
|
textContent: i
|
|
22709
22709
|
};
|
|
22710
22710
|
}
|
|
22711
|
-
function
|
|
22711
|
+
function C2(r, e) {
|
|
22712
22712
|
e && (e.font = e.textFont || e.font, oe(e, "textStrokeWidth") && (r.lineWidth = e.textStrokeWidth), oe(e, "textAlign") && (r.align = e.textAlign), oe(e, "textVerticalAlign") && (r.verticalAlign = e.textVerticalAlign), oe(e, "textLineHeight") && (r.lineHeight = e.textLineHeight), oe(e, "textWidth") && (r.width = e.textWidth), oe(e, "textHeight") && (r.height = e.textHeight), oe(e, "textBackgroundColor") && (r.backgroundColor = e.textBackgroundColor), oe(e, "textPadding") && (r.padding = e.textPadding), oe(e, "textBorderColor") && (r.borderColor = e.textBorderColor), oe(e, "textBorderWidth") && (r.borderWidth = e.textBorderWidth), oe(e, "textBorderRadius") && (r.borderRadius = e.textBorderRadius), oe(e, "textBoxShadowColor") && (r.shadowColor = e.textBoxShadowColor), oe(e, "textBoxShadowBlur") && (r.shadowBlur = e.textBoxShadowBlur), oe(e, "textBoxShadowOffsetX") && (r.shadowOffsetX = e.textBoxShadowOffsetX), oe(e, "textBoxShadowOffsetY") && (r.shadowOffsetY = e.textBoxShadowOffsetY));
|
|
22713
22713
|
}
|
|
22714
|
-
function
|
|
22714
|
+
function D2(r, e, t) {
|
|
22715
22715
|
var a = r;
|
|
22716
22716
|
a.textPosition = a.textPosition || t.position || "inside", t.offset != null && (a.textOffset = t.offset), t.rotation != null && (a.textRotation = t.rotation), t.distance != null && (a.textDistance = t.distance);
|
|
22717
22717
|
var n = a.textPosition.indexOf("inside") >= 0, i = r.fill || U.color.neutral99;
|
|
22718
|
-
|
|
22718
|
+
A2(a, e);
|
|
22719
22719
|
var o = a.textFill == null;
|
|
22720
22720
|
return n ? o && (a.textFill = t.insideFill || U.color.neutral00, !a.textStroke && t.insideStroke && (a.textStroke = t.insideStroke), !a.textStroke && (a.textStroke = i), a.textStrokeWidth == null && (a.textStrokeWidth = 2)) : (o && (a.textFill = r.fill || t.outsideFill || U.color.neutral00), !a.textStroke && t.outsideStroke && (a.textStroke = t.outsideStroke)), a.text = e.text, a.rich = e.rich, A(e.rich, function(s) {
|
|
22721
|
-
|
|
22721
|
+
A2(s, s);
|
|
22722
22722
|
}), a;
|
|
22723
22723
|
}
|
|
22724
|
-
function
|
|
22724
|
+
function A2(r, e) {
|
|
22725
22725
|
e && (oe(e, "fill") && (r.textFill = e.fill), oe(e, "stroke") && (r.textStroke = e.fill), oe(e, "lineWidth") && (r.textStrokeWidth = e.lineWidth), oe(e, "font") && (r.font = e.font), oe(e, "fontStyle") && (r.fontStyle = e.fontStyle), oe(e, "fontWeight") && (r.fontWeight = e.fontWeight), oe(e, "fontSize") && (r.fontSize = e.fontSize), oe(e, "fontFamily") && (r.fontFamily = e.fontFamily), oe(e, "align") && (r.textAlign = e.align), oe(e, "verticalAlign") && (r.textVerticalAlign = e.verticalAlign), oe(e, "lineHeight") && (r.textLineHeight = e.lineHeight), oe(e, "width") && (r.textWidth = e.width), oe(e, "height") && (r.textHeight = e.height), oe(e, "backgroundColor") && (r.textBackgroundColor = e.backgroundColor), oe(e, "padding") && (r.textPadding = e.padding), oe(e, "borderColor") && (r.textBorderColor = e.borderColor), oe(e, "borderWidth") && (r.textBorderWidth = e.borderWidth), oe(e, "borderRadius") && (r.textBorderRadius = e.borderRadius), oe(e, "shadowColor") && (r.textBoxShadowColor = e.shadowColor), oe(e, "shadowBlur") && (r.textBoxShadowBlur = e.shadowBlur), oe(e, "shadowOffsetX") && (r.textBoxShadowOffsetX = e.shadowOffsetX), oe(e, "shadowOffsetY") && (r.textBoxShadowOffsetY = e.shadowOffsetY), oe(e, "textShadowColor") && (r.textShadowColor = e.textShadowColor), oe(e, "textShadowBlur") && (r.textShadowBlur = e.textShadowBlur), oe(e, "textShadowOffsetX") && (r.textShadowOffsetX = e.textShadowOffsetX), oe(e, "textShadowOffsetY") && (r.textShadowOffsetY = e.textShadowOffsetY));
|
|
22726
22726
|
}
|
|
22727
22727
|
function y1(r, e) {
|
|
22728
22728
|
if (process.env.NODE_ENV !== "production") {
|
|
22729
22729
|
var t = r + "^_^" + e;
|
|
22730
|
-
|
|
22730
|
+
T2[t] || (console.warn('[ECharts] DEPRECATED: "' + r + '" has been deprecated. ' + e), T2[t] = !0);
|
|
22731
22731
|
}
|
|
22732
22732
|
}
|
|
22733
|
-
function
|
|
22733
|
+
function M2(r, e) {
|
|
22734
22734
|
if (r.length === e.length) {
|
|
22735
22735
|
for (var t = 0; t < r.length; t++)
|
|
22736
22736
|
if (r[t] !== e[t])
|
|
@@ -22738,18 +22738,18 @@ function MC(r, e) {
|
|
|
22738
22738
|
return !0;
|
|
22739
22739
|
}
|
|
22740
22740
|
}
|
|
22741
|
-
function
|
|
22741
|
+
function E2(r) {
|
|
22742
22742
|
for (var e = ur(), t = ur(), a = 0; a < r.length; ) {
|
|
22743
22743
|
var n = r[a++], i = r[a++];
|
|
22744
22744
|
da(n, i) || (b0(e, n), b0(t, i));
|
|
22745
22745
|
}
|
|
22746
22746
|
return [e, t];
|
|
22747
22747
|
}
|
|
22748
|
-
function
|
|
22749
|
-
var t =
|
|
22748
|
+
function I2(r, e) {
|
|
22749
|
+
var t = E2(r), a = t[0], n = t[1], i = E2(e), o = i[0], s = i[1];
|
|
22750
22750
|
return Math.max(Math.abs(a[0] - o[0]), Math.abs(n[0] - s[0]), Math.abs(a[1] - o[1]), Math.abs(n[1] - s[1]));
|
|
22751
22751
|
}
|
|
22752
|
-
function
|
|
22752
|
+
function k2(r) {
|
|
22753
22753
|
return Ye(r) ? r : r ? 0.5 : 0;
|
|
22754
22754
|
}
|
|
22755
22755
|
function _Y(r, e, t) {
|
|
@@ -22881,7 +22881,7 @@ function TY(r) {
|
|
|
22881
22881
|
;
|
|
22882
22882
|
return e - 1;
|
|
22883
22883
|
}
|
|
22884
|
-
function
|
|
22884
|
+
function L2(r, e) {
|
|
22885
22885
|
return [r[e * 2], r[e * 2 + 1]];
|
|
22886
22886
|
}
|
|
22887
22887
|
function CY(r, e, t) {
|
|
@@ -22984,7 +22984,7 @@ var AY = (
|
|
|
22984
22984
|
getSymbolPoint: function(ie) {
|
|
22985
22985
|
return [c[ie * 2], c[ie * 2 + 1]];
|
|
22986
22986
|
}
|
|
22987
|
-
}), (!
|
|
22987
|
+
}), (!M2(this._stackedOnPoints, S) || !M2(this._points, c)) && (y ? this._doUpdateAnimation(s, S, i, n, D, _, w) : (D && (S && (S = ui(S, c, i, D, w)), c = ui(c, null, i, D, w)), d.setShape({
|
|
22988
22988
|
points: c
|
|
22989
22989
|
}), p && p.setShape({
|
|
22990
22990
|
points: c,
|
|
@@ -23005,7 +23005,7 @@ var AY = (
|
|
|
23005
23005
|
H.lineWidth = +d.style.lineWidth + 1;
|
|
23006
23006
|
}
|
|
23007
23007
|
De(d).seriesIndex = t.seriesIndex, gt(d, R, N, O);
|
|
23008
|
-
var $ =
|
|
23008
|
+
var $ = k2(t.get("smooth")), z = t.get("smoothMonotone");
|
|
23009
23009
|
if (d.setShape({
|
|
23010
23010
|
smooth: $,
|
|
23011
23011
|
smoothMonotone: z,
|
|
@@ -23017,7 +23017,7 @@ var AY = (
|
|
|
23017
23017
|
opacity: 0.7,
|
|
23018
23018
|
lineJoin: "bevel",
|
|
23019
23019
|
decal: s.getVisual("style").decal
|
|
23020
|
-
})), W && (J =
|
|
23020
|
+
})), W && (J = k2(W.get("smooth"))), p.setShape({
|
|
23021
23021
|
smooth: $,
|
|
23022
23022
|
stackedOnSmooth: J,
|
|
23023
23023
|
smoothMonotone: z,
|
|
@@ -23159,7 +23159,7 @@ var AY = (
|
|
|
23159
23159
|
var f = n.getLayout("points"), v = n.hostModel, h = v.get("connectNulls"), d = s.get("precision"), p = s.get("distance") || 0, g = l.getBaseAxis(), y = g.isHorizontal(), m = g.inverse, _ = a.shape, x = m ? y ? _.x : _.y + _.height : y ? _.x + _.width : _.y, S = (y ? p : 0) * (m ? -1 : 1), b = (y ? 0 : -p) * (m ? -1 : 1), w = y ? "x" : "y", C = CY(f, x, w), T = C.range, D = T[1] - T[0], M = void 0;
|
|
23160
23160
|
if (D >= 1) {
|
|
23161
23161
|
if (D > 1 && !h) {
|
|
23162
|
-
var I =
|
|
23162
|
+
var I = L2(f, T[0]);
|
|
23163
23163
|
u.attr({
|
|
23164
23164
|
x: I[0] + S,
|
|
23165
23165
|
y: I[1] + b
|
|
@@ -23175,7 +23175,7 @@ var AY = (
|
|
|
23175
23175
|
}
|
|
23176
23176
|
i.lastFrameIndex = T[0];
|
|
23177
23177
|
} else {
|
|
23178
|
-
var P = t === 1 || i.lastFrameIndex > 0 ? T[0] : 0, I =
|
|
23178
|
+
var P = t === 1 || i.lastFrameIndex > 0 ? T[0] : 0, I = L2(f, P);
|
|
23179
23179
|
o && (M = v.getRawValue(P)), u.attr({
|
|
23180
23180
|
x: I[0] + S,
|
|
23181
23181
|
y: I[1] + b
|
|
@@ -23188,7 +23188,7 @@ var AY = (
|
|
|
23188
23188
|
}
|
|
23189
23189
|
}, e.prototype._doUpdateAnimation = function(t, a, n, i, o, s, l) {
|
|
23190
23190
|
var u = this._polyline, c = this._polygon, f = t.hostModel, v = gY(this._data, t, this._stackedOnPoints, a, this._coordSys, n, this._valueOrigin), h = v.current, d = v.stackedOnCurrent, p = v.next, g = v.stackedOnNext;
|
|
23191
|
-
if (o && (d = ui(v.stackedOnCurrent, v.current, n, o, l), h = ui(v.current, null, n, o, l), g = ui(v.stackedOnNext, v.next, n, o, l), p = ui(v.next, null, n, o, l)),
|
|
23191
|
+
if (o && (d = ui(v.stackedOnCurrent, v.current, n, o, l), h = ui(v.current, null, n, o, l), g = ui(v.stackedOnNext, v.next, n, o, l), p = ui(v.next, null, n, o, l)), I2(h, p) > 3e3 || c && I2(d, g) > 3e3) {
|
|
23192
23192
|
u.stopAnimation(), u.setShape({
|
|
23193
23193
|
points: p
|
|
23194
23194
|
}), c && (c.stopAnimation(), c.setShape({
|
|
@@ -23592,8 +23592,8 @@ var kr = (
|
|
|
23592
23592
|
var l = t.ensureRecord(a).ready;
|
|
23593
23593
|
K(!l.axisTickLabelDetermine), l.axisTickLabelEstimate = !0;
|
|
23594
23594
|
}
|
|
23595
|
-
var u =
|
|
23596
|
-
u &&
|
|
23595
|
+
var u = N2(e, n, s);
|
|
23596
|
+
u && P2(r, e, t, a, n, i, o, Pa.estimate);
|
|
23597
23597
|
},
|
|
23598
23598
|
/**
|
|
23599
23599
|
* Finish axis tick label build.
|
|
@@ -23604,8 +23604,8 @@ var kr = (
|
|
|
23604
23604
|
var l = t.ensureRecord(a).ready;
|
|
23605
23605
|
l.axisTickLabelDetermine = !0;
|
|
23606
23606
|
}
|
|
23607
|
-
var u =
|
|
23608
|
-
u &&
|
|
23607
|
+
var u = N2(e, n, s);
|
|
23608
|
+
u && P2(r, e, t, a, n, i, o, Pa.determine);
|
|
23609
23609
|
var c = UY(r, n, i, a);
|
|
23610
23610
|
$Y(r, e.labelLayoutList, c), WY(r, n, i, a, r.tickDirection);
|
|
23611
23611
|
},
|
|
@@ -23676,7 +23676,7 @@ var kr = (
|
|
|
23676
23676
|
}
|
|
23677
23677
|
}
|
|
23678
23678
|
};
|
|
23679
|
-
function
|
|
23679
|
+
function P2(r, e, t, a, n, i, o, s) {
|
|
23680
23680
|
aN(e) || YY(r, e, n, s, a, o);
|
|
23681
23681
|
var l = e.labelLayoutList;
|
|
23682
23682
|
XY(r, a, l, i), KY(a, r.rotation, l);
|
|
@@ -23799,7 +23799,7 @@ function WY(r, e, t, a, n) {
|
|
|
23799
23799
|
e.add(v[h]);
|
|
23800
23800
|
}
|
|
23801
23801
|
}
|
|
23802
|
-
function
|
|
23802
|
+
function N2(r, e, t) {
|
|
23803
23803
|
if (aN(r)) {
|
|
23804
23804
|
var a = r.axisLabelsCreationContext;
|
|
23805
23805
|
process.env.NODE_ENV !== "production" && K(r.labelGroup && a);
|
|
@@ -24579,13 +24579,13 @@ var Py = Math.max, Ny = Math.min, dX = (
|
|
|
24579
24579
|
}
|
|
24580
24580
|
s.diff(l).add(function(M) {
|
|
24581
24581
|
var I = s.getItemModel(M), E = Mv[u.type](s, M, I);
|
|
24582
|
-
if (E && (y && C(M), !(!s.hasValue(M) || !
|
|
24582
|
+
if (E && (y && C(M), !(!s.hasValue(M) || !z2[u.type](E)))) {
|
|
24583
24583
|
var L = !1;
|
|
24584
|
-
d && (L =
|
|
24585
|
-
var P =
|
|
24586
|
-
h && (P.forceLabelAnimation = !0),
|
|
24584
|
+
d && (L = R2[u.type](p, E));
|
|
24585
|
+
var P = O2[u.type](t, s, M, E, f, v, c.model, !1, g);
|
|
24586
|
+
h && (P.forceLabelAnimation = !0), G2(P, s, M, I, E, t, f, u.type === "polar"), b ? P.attr({
|
|
24587
24587
|
shape: E
|
|
24588
|
-
}) : h ?
|
|
24588
|
+
}) : h ? V2(h, v, P, E, M, f, !1, !1) : vt(P, {
|
|
24589
24589
|
shape: E
|
|
24590
24590
|
}, t, M), s.setItemGraphicEl(M, P), o.add(P), P.ignore = L;
|
|
24591
24591
|
}
|
|
@@ -24601,24 +24601,24 @@ var Py = Math.max, Ny = Math.min, dX = (
|
|
|
24601
24601
|
}, v, M);
|
|
24602
24602
|
}
|
|
24603
24603
|
var O = l.getItemGraphicEl(I);
|
|
24604
|
-
if (!s.hasValue(M) || !
|
|
24604
|
+
if (!s.hasValue(M) || !z2[u.type](L)) {
|
|
24605
24605
|
o.remove(O);
|
|
24606
24606
|
return;
|
|
24607
24607
|
}
|
|
24608
24608
|
var H = !1;
|
|
24609
|
-
d && (H =
|
|
24609
|
+
d && (H = R2[u.type](p, L), H && o.remove(O));
|
|
24610
24610
|
var $ = O && (O.type === "sector" && g || O.type === "sausage" && !g);
|
|
24611
|
-
if ($ && (O && Vn(O, t, I), O = null), O ? ma(O) : O =
|
|
24611
|
+
if ($ && (O && Vn(O, t, I), O = null), O ? ma(O) : O = O2[u.type](t, s, M, L, f, v, c.model, !0, g), h && (O.forceLabelAnimation = !0), w) {
|
|
24612
24612
|
var z = O.getTextContent();
|
|
24613
24613
|
if (z) {
|
|
24614
24614
|
var W = ou(z);
|
|
24615
24615
|
W.prevValue != null && (W.prevValue = W.value);
|
|
24616
24616
|
}
|
|
24617
24617
|
} else
|
|
24618
|
-
|
|
24618
|
+
G2(O, s, M, E, L, t, f, u.type === "polar");
|
|
24619
24619
|
b ? O.attr({
|
|
24620
24620
|
shape: L
|
|
24621
|
-
}) : h ?
|
|
24621
|
+
}) : h ? V2(h, v, O, L, M, f, !0, w) : Ze(O, {
|
|
24622
24622
|
shape: L
|
|
24623
24623
|
}, t, M, null), s.setItemGraphicEl(M, O), O.ignore = H, o.add(O);
|
|
24624
24624
|
}
|
|
@@ -24632,9 +24632,9 @@ var Py = Math.max, Ny = Math.min, dX = (
|
|
|
24632
24632
|
T.add(x[D]);
|
|
24633
24633
|
o.add(T), this._backgroundEls = x, this._data = s;
|
|
24634
24634
|
}, e.prototype._renderLarge = function(t, a, n) {
|
|
24635
|
-
this._clear(),
|
|
24635
|
+
this._clear(), H2(t, this.group), this._updateLargeClip(t);
|
|
24636
24636
|
}, e.prototype._incrementalRenderLarge = function(t, a) {
|
|
24637
|
-
this._removeBackground(),
|
|
24637
|
+
this._removeBackground(), H2(a, this.group, this._progressiveEls, !0);
|
|
24638
24638
|
}, e.prototype._updateLargeClip = function(t) {
|
|
24639
24639
|
var a = t.get("clip", !0) && us(t.coordinateSystem, !1, t), n = this.group;
|
|
24640
24640
|
a ? n.setClipPath(a) : n.removeClipPath();
|
|
@@ -24720,7 +24720,7 @@ var Py = Math.max, Ny = Math.min, dX = (
|
|
|
24720
24720
|
this.group.remove(this._backgroundGroup), this._backgroundGroup = null;
|
|
24721
24721
|
}, e.type = sn, e;
|
|
24722
24722
|
})(it)
|
|
24723
|
-
),
|
|
24723
|
+
), R2 = {
|
|
24724
24724
|
cartesian2d: function(r, e) {
|
|
24725
24725
|
var t = e.width < 0 ? -1 : 1, a = e.height < 0 ? -1 : 1;
|
|
24726
24726
|
t < 0 && (e.x += e.width, e.width = -e.width), a < 0 && (e.y += e.height, e.height = -e.height);
|
|
@@ -24742,7 +24742,7 @@ var Py = Math.max, Ny = Math.min, dX = (
|
|
|
24742
24742
|
}
|
|
24743
24743
|
return o;
|
|
24744
24744
|
}
|
|
24745
|
-
},
|
|
24745
|
+
}, O2 = {
|
|
24746
24746
|
cartesian2d: function(r, e, t, a, n, i, o, s, l) {
|
|
24747
24747
|
var u = new Ve({
|
|
24748
24748
|
shape: Y({}, a),
|
|
@@ -24781,7 +24781,7 @@ function pX(r, e) {
|
|
|
24781
24781
|
otherAxis: e.getOtherAxis(a)
|
|
24782
24782
|
};
|
|
24783
24783
|
}
|
|
24784
|
-
function
|
|
24784
|
+
function V2(r, e, t, a, n, i, o, s) {
|
|
24785
24785
|
var l, u;
|
|
24786
24786
|
i ? (u = {
|
|
24787
24787
|
x: a.x,
|
|
@@ -24803,18 +24803,18 @@ function VC(r, e, t, a, n, i, o, s) {
|
|
|
24803
24803
|
shape: u
|
|
24804
24804
|
}, c, n);
|
|
24805
24805
|
}
|
|
24806
|
-
function
|
|
24806
|
+
function B2(r, e) {
|
|
24807
24807
|
for (var t = 0; t < e.length; t++)
|
|
24808
24808
|
if (!isFinite(r[e[t]]))
|
|
24809
24809
|
return !0;
|
|
24810
24810
|
return !1;
|
|
24811
24811
|
}
|
|
24812
|
-
var gX = ["x", "y", "width", "height"], yX = ["cx", "cy", "r", "startAngle", "endAngle"],
|
|
24812
|
+
var gX = ["x", "y", "width", "height"], yX = ["cx", "cy", "r", "startAngle", "endAngle"], z2 = {
|
|
24813
24813
|
cartesian2d: function(r) {
|
|
24814
|
-
return !
|
|
24814
|
+
return !B2(r, gX);
|
|
24815
24815
|
},
|
|
24816
24816
|
polar: function(r) {
|
|
24817
|
-
return !
|
|
24817
|
+
return !B2(r, yX);
|
|
24818
24818
|
}
|
|
24819
24819
|
}, Mv = {
|
|
24820
24820
|
// itemModel is only used to get borderWidth, which is not needed
|
|
@@ -24863,7 +24863,7 @@ function hN(r) {
|
|
|
24863
24863
|
};
|
|
24864
24864
|
})(r);
|
|
24865
24865
|
}
|
|
24866
|
-
function
|
|
24866
|
+
function G2(r, e, t, a, n, i, o, s) {
|
|
24867
24867
|
var l = e.getItemVisual(t, "style");
|
|
24868
24868
|
if (s) {
|
|
24869
24869
|
if (!i.get("roundCap")) {
|
|
@@ -24913,7 +24913,7 @@ var xX = (
|
|
|
24913
24913
|
}
|
|
24914
24914
|
return r;
|
|
24915
24915
|
})()
|
|
24916
|
-
),
|
|
24916
|
+
), F2 = (
|
|
24917
24917
|
/** @class */
|
|
24918
24918
|
(function(r) {
|
|
24919
24919
|
F(e, r);
|
|
@@ -24929,10 +24929,10 @@ var xX = (
|
|
|
24929
24929
|
}, e;
|
|
24930
24930
|
})(Ge)
|
|
24931
24931
|
);
|
|
24932
|
-
function
|
|
24932
|
+
function H2(r, e, t, a) {
|
|
24933
24933
|
var n = r.getData(), i = n.getLayout("valueAxisHorizontal") ? 1 : 0, o = n.getLayout("largeDataIndices"), s = n.getLayout("size"), l = r.getModel("backgroundStyle"), u = n.getLayout("largeBackgroundPoints"), c = a ? nn(r) : 0;
|
|
24934
24934
|
if (u) {
|
|
24935
|
-
var f = new
|
|
24935
|
+
var f = new F2({
|
|
24936
24936
|
shape: {
|
|
24937
24937
|
points: u
|
|
24938
24938
|
},
|
|
@@ -24942,7 +24942,7 @@ function HC(r, e, t, a) {
|
|
|
24942
24942
|
});
|
|
24943
24943
|
f.baseDimIdx = i, f.largeDataIndices = o, f.barWidth = s, f.useStyle(l.getItemStyle()), e.add(f), t && t.push(f);
|
|
24944
24944
|
}
|
|
24945
|
-
var v = new
|
|
24945
|
+
var v = new F2({
|
|
24946
24946
|
shape: {
|
|
24947
24947
|
points: n.getLayout("largePoints")
|
|
24948
24948
|
},
|
|
@@ -24950,9 +24950,9 @@ function HC(r, e, t, a) {
|
|
|
24950
24950
|
ignoreCoarsePointer: !0,
|
|
24951
24951
|
z2: 1
|
|
24952
24952
|
});
|
|
24953
|
-
v.baseDimIdx = i, v.largeDataIndices = o, v.barWidth = s, e.add(v), v.useStyle(n.getVisual("style")), v.style.stroke = null, De(v).seriesIndex = r.seriesIndex, r.get("silent") || (v.on("mousedown", $
|
|
24953
|
+
v.baseDimIdx = i, v.largeDataIndices = o, v.barWidth = s, e.add(v), v.useStyle(n.getVisual("style")), v.style.stroke = null, De(v).seriesIndex = r.seriesIndex, r.get("silent") || (v.on("mousedown", $2), v.on("mousemove", $2)), t && t.push(v);
|
|
24954
24954
|
}
|
|
24955
|
-
var $
|
|
24955
|
+
var $2 = vx(function(r) {
|
|
24956
24956
|
var e = this, t = SX(e, r.offsetX, r.offsetY);
|
|
24957
24957
|
De(e).dataIndex = t >= 0 ? t : null;
|
|
24958
24958
|
}, 30, !1);
|
|
@@ -25211,7 +25211,7 @@ NH({
|
|
|
25211
25211
|
}
|
|
25212
25212
|
});
|
|
25213
25213
|
var AX = Math.PI / 180;
|
|
25214
|
-
function
|
|
25214
|
+
function U2(r, e, t, a, n, i, o, s, l, u) {
|
|
25215
25215
|
if (r.length < 2)
|
|
25216
25216
|
return;
|
|
25217
25217
|
function c(p) {
|
|
@@ -25259,7 +25259,7 @@ function MX(r, e, t, a, n, i, o, s) {
|
|
|
25259
25259
|
d.labelAlignTo === "edge" ? h.x < e ? g = p[2][0] - d.labelDistance - o - d.edgeDistance : g = o + n - d.edgeDistance - p[2][0] - d.labelDistance : d.labelAlignTo === "labelLine" ? h.x < e ? g = c - o - d.bleedMargin : g = o + n - f - d.bleedMargin : h.x < e ? g = h.x - o - d.bleedMargin : g = o + n - h.x - d.bleedMargin, d.targetTextWidth = g, gN(d, g, !1);
|
|
25260
25260
|
}
|
|
25261
25261
|
}
|
|
25262
|
-
|
|
25262
|
+
U2(u, e, t, a, 1, n, i, o, s, f), U2(l, e, t, a, -1, n, i, o, s, c);
|
|
25263
25263
|
for (var v = 0; v < r.length; v++) {
|
|
25264
25264
|
var d = r[v];
|
|
25265
25265
|
if (!Ry(d) && d.linePoints) {
|
|
@@ -25289,12 +25289,12 @@ function gN(r, e, t) {
|
|
|
25289
25289
|
}
|
|
25290
25290
|
}
|
|
25291
25291
|
function yN(r, e) {
|
|
25292
|
-
|
|
25292
|
+
W2.rect = r, yP(W2, e, EX);
|
|
25293
25293
|
}
|
|
25294
25294
|
var EX = {
|
|
25295
25295
|
minMarginForce: [null, 0, null, 0],
|
|
25296
25296
|
marginDefault: [1, 0, 1, 0]
|
|
25297
|
-
},
|
|
25297
|
+
}, W2 = {};
|
|
25298
25298
|
function Ry(r) {
|
|
25299
25299
|
return r.position === "center";
|
|
25300
25300
|
}
|
|
@@ -25403,11 +25403,11 @@ function IX(r) {
|
|
|
25403
25403
|
}
|
|
25404
25404
|
}
|
|
25405
25405
|
}
|
|
25406
|
-
var
|
|
25406
|
+
var Y2 = Math.PI * 2, Ev = Math.PI / 180, kX = Ut(Ii, LX);
|
|
25407
25407
|
function LX(r, e) {
|
|
25408
25408
|
r.eachSeriesByType(Ii, function(t) {
|
|
25409
25409
|
var a = t.getData(), n = a.mapDimension("value"), i = yk(t, e), o = i.cx, s = i.cy, l = i.r, u = i.r0, c = i.viewRect, f = -t.get("startAngle") * Ev, v = t.get("endAngle"), h = t.get("padAngle") * Ev;
|
|
25410
|
-
v = v === "auto" ? f -
|
|
25410
|
+
v = v === "auto" ? f - Y2 : -v * Ev;
|
|
25411
25411
|
var d = t.get("minAngle") * Ev, p = d + h, g = 0;
|
|
25412
25412
|
a.each(n, function(R) {
|
|
25413
25413
|
!isNaN(R) && g++;
|
|
@@ -25449,7 +25449,7 @@ function LX(r, e) {
|
|
|
25449
25449
|
r0: u,
|
|
25450
25450
|
r: x ? Ke(R, b, [u, l]) : l
|
|
25451
25451
|
}), L = H;
|
|
25452
|
-
}), I <
|
|
25452
|
+
}), I < Y2 && g)
|
|
25453
25453
|
if (I <= 1e-3) {
|
|
25454
25454
|
var P = M / g;
|
|
25455
25455
|
a.each(n, function(R, N) {
|
|
@@ -26072,7 +26072,7 @@ function Ul(r, e, t, a) {
|
|
|
26072
26072
|
}
|
|
26073
26073
|
return u.prototype.mergeDefaultAndTheme = function(c, f) {
|
|
26074
26074
|
var v = Rc(this), h = v ? As(c) : {}, d = f.getTheme();
|
|
26075
|
-
Pe(c, d.get(i + "Axis")), Pe(c, this.getDefaultOption()), c.type =
|
|
26075
|
+
Pe(c, d.get(i + "Axis")), Pe(c, this.getDefaultOption()), c.type = X2(c), v && mn(c, h, v);
|
|
26076
26076
|
}, u.prototype.optionUpdated = function() {
|
|
26077
26077
|
var c = this.option;
|
|
26078
26078
|
c.type === "category" && (this.__ordinalMeta = zc.createByAxisModel(this));
|
|
@@ -26091,9 +26091,9 @@ function Ul(r, e, t, a) {
|
|
|
26091
26091
|
})(t)
|
|
26092
26092
|
);
|
|
26093
26093
|
r.registerComponentModel(s);
|
|
26094
|
-
}), r.registerSubTypeDefaulter(e + "Axis",
|
|
26094
|
+
}), r.registerSubTypeDefaulter(e + "Axis", X2);
|
|
26095
26095
|
}
|
|
26096
|
-
function
|
|
26096
|
+
function X2(r) {
|
|
26097
26097
|
return r.type || (r.data ? "category" : "value");
|
|
26098
26098
|
}
|
|
26099
26099
|
var WX = (
|
|
@@ -26118,7 +26118,7 @@ var WX = (
|
|
|
26118
26118
|
}, r;
|
|
26119
26119
|
})()
|
|
26120
26120
|
), wh = ["x", "y"];
|
|
26121
|
-
function
|
|
26121
|
+
function Z2(r) {
|
|
26122
26122
|
return (r.type === "interval" || r.type === "time") && !as(r);
|
|
26123
26123
|
}
|
|
26124
26124
|
var YX = (
|
|
@@ -26132,7 +26132,7 @@ var YX = (
|
|
|
26132
26132
|
return e.prototype.calcAffineTransform = function() {
|
|
26133
26133
|
this._transform = this._invTransform = null;
|
|
26134
26134
|
var t = this.getAxis("x").scale, a = this.getAxis("y").scale;
|
|
26135
|
-
if (!(!
|
|
26135
|
+
if (!(!Z2(t) || !Z2(a))) {
|
|
26136
26136
|
var n = fd(t, null), i = fd(a, null), o = this.dataToPoint([n[0], i[0]]), s = this.dataToPoint([n[1], i[1]]), l = n[1] - n[0], u = i[1] - i[0];
|
|
26137
26137
|
if (!(!l || !u)) {
|
|
26138
26138
|
var c = (s[0] - o[0]) / l, f = (s[1] - o[1]) / u, v = o[0] - n[0] * c, h = o[1] - i[0] * f, d = this._transform = [c, 0, 0, f, v, h];
|
|
@@ -26251,7 +26251,7 @@ function bN(r, e) {
|
|
|
26251
26251
|
niceExtent: [E, I]
|
|
26252
26252
|
}), process.env.NODE_ENV !== "production" && t.freeze();
|
|
26253
26253
|
}
|
|
26254
|
-
var
|
|
26254
|
+
var q2 = [
|
|
26255
26255
|
[3, 1],
|
|
26256
26256
|
[0, 2]
|
|
26257
26257
|
// xyIdx 1 => 'y'
|
|
@@ -26282,19 +26282,19 @@ var qC = [
|
|
|
26282
26282
|
n(a.x), n(a.y);
|
|
26283
26283
|
var i = {};
|
|
26284
26284
|
A(a.x, function(o) {
|
|
26285
|
-
|
|
26285
|
+
K2(a, "y", o, i);
|
|
26286
26286
|
}), A(a.y, function(o) {
|
|
26287
|
-
|
|
26287
|
+
K2(a, "x", o, i);
|
|
26288
26288
|
}), this.resize(this.model, t);
|
|
26289
26289
|
}, r.prototype.resize = function(e, t, a) {
|
|
26290
26290
|
var n = Wt(e, t), i = this._rect = yt(e.getBoxLayoutParams(), n.refContainer), o = this._axesMap, s = this._coordsList, l = e.get("containLabel");
|
|
26291
26291
|
if (b1(o, i), !a) {
|
|
26292
26292
|
var u = QX(i, s, o, l, t), c = void 0;
|
|
26293
26293
|
if (l)
|
|
26294
|
-
w1 ? (w1(this._axesList, i), b1(o, i)) : (process.env.NODE_ENV !== "production" && $E("Specified `grid.containLabel` but no `use(LegacyGridContainLabel)`;use `grid.outerBounds` instead.", !0), c =
|
|
26294
|
+
w1 ? (w1(this._axesList, i), b1(o, i)) : (process.env.NODE_ENV !== "production" && $E("Specified `grid.containLabel` but no `use(LegacyGridContainLabel)`;use `grid.outerBounds` instead.", !0), c = eC(i.clone(), "axisLabel", null, i, o, u, n));
|
|
26295
26295
|
else {
|
|
26296
26296
|
var f = JX(e, i, n), v = f.outerBoundsRect, h = f.parsedOuterBoundsContain, d = f.outerBoundsClamp;
|
|
26297
|
-
v && (c =
|
|
26297
|
+
v && (c = eC(v, h, d, i, o, u, n));
|
|
26298
26298
|
}
|
|
26299
26299
|
wN(i, o, Pa.determine, null, c, n), A(this._coordsList, function(p) {
|
|
26300
26300
|
p.calcAffineTransform();
|
|
@@ -26367,7 +26367,7 @@ var qC = [
|
|
|
26367
26367
|
var d = "x" + f + "y" + h, p = new YX(d);
|
|
26368
26368
|
p.master = n, p.model = e, n._coordsMap[d] = p, n._coordsList.push(p), p.addAxis(c), p.addAxis(v);
|
|
26369
26369
|
});
|
|
26370
|
-
}),
|
|
26370
|
+
}), Q2(s.x), Q2(s.y);
|
|
26371
26371
|
function u(c) {
|
|
26372
26372
|
return function(f, v) {
|
|
26373
26373
|
if (ZX(f, e)) {
|
|
@@ -26422,7 +26422,7 @@ var qC = [
|
|
|
26422
26422
|
function ZX(r, e) {
|
|
26423
26423
|
return r.getCoordSysModel() === e;
|
|
26424
26424
|
}
|
|
26425
|
-
function
|
|
26425
|
+
function K2(r, e, t, a) {
|
|
26426
26426
|
t.getAxesOnZeroOf = function() {
|
|
26427
26427
|
return i ? [i] : [];
|
|
26428
26428
|
};
|
|
@@ -26430,10 +26430,10 @@ function KC(r, e, t, a) {
|
|
|
26430
26430
|
if (!s)
|
|
26431
26431
|
return;
|
|
26432
26432
|
if (l != null)
|
|
26433
|
-
|
|
26433
|
+
j2(s, n[l]) && (i = n[l]);
|
|
26434
26434
|
else
|
|
26435
26435
|
for (var u in n)
|
|
26436
|
-
if (oe(n, u) &&
|
|
26436
|
+
if (oe(n, u) && j2(s, n[u]) && !a[c(n[u])]) {
|
|
26437
26437
|
i = n[u];
|
|
26438
26438
|
break;
|
|
26439
26439
|
}
|
|
@@ -26442,13 +26442,13 @@ function KC(r, e, t, a) {
|
|
|
26442
26442
|
return f.dim + "_" + f.index;
|
|
26443
26443
|
}
|
|
26444
26444
|
}
|
|
26445
|
-
function
|
|
26445
|
+
function j2(r, e) {
|
|
26446
26446
|
if (!e)
|
|
26447
26447
|
return !1;
|
|
26448
26448
|
var t = e.scale, a = cW(t, 0), n = e && e.type !== "category" && e.type !== "time" && a !== i1;
|
|
26449
26449
|
return n && r === "auto" && dW(e) && (n = !1), n;
|
|
26450
26450
|
}
|
|
26451
|
-
function
|
|
26451
|
+
function Q2(r) {
|
|
26452
26452
|
for (var e = Fe(r), t, a = [], n = e.length - 1; n >= 0; n--) {
|
|
26453
26453
|
var i = r[+e[n]];
|
|
26454
26454
|
zL(i.scale) && YL(i.model, i.type, !0) == null && (i.model.get("alignTicks") && i.model.get("interval") == null ? a.push(i) : t = i);
|
|
@@ -26474,12 +26474,12 @@ function KX(r, e) {
|
|
|
26474
26474
|
}
|
|
26475
26475
|
function b1(r, e) {
|
|
26476
26476
|
A(r.x, function(t) {
|
|
26477
|
-
return
|
|
26477
|
+
return J2(t, e.x, e.width);
|
|
26478
26478
|
}), A(r.y, function(t) {
|
|
26479
|
-
return
|
|
26479
|
+
return J2(t, e.y, e.height);
|
|
26480
26480
|
});
|
|
26481
26481
|
}
|
|
26482
|
-
function
|
|
26482
|
+
function J2(r, e, t) {
|
|
26483
26483
|
var a = [0, t], n = r.inverse ? 1 : 0;
|
|
26484
26484
|
r.setExtent(a[n], a[1 - n]), KX(r, e);
|
|
26485
26485
|
}
|
|
@@ -26487,7 +26487,7 @@ var w1;
|
|
|
26487
26487
|
function jX(r) {
|
|
26488
26488
|
w1 = r;
|
|
26489
26489
|
}
|
|
26490
|
-
function
|
|
26490
|
+
function eC(r, e, t, a, n, i, o) {
|
|
26491
26491
|
process.env.NODE_ENV !== "production" && K(e === "all" || e === "axisLabel"), wN(a, n, Pa.estimate, e, !1, o);
|
|
26492
26492
|
var s = [0, 0, 0, 0];
|
|
26493
26493
|
u(0), u(1), c(a, 0, NaN), c(a, 1, NaN);
|
|
@@ -26515,7 +26515,7 @@ function e2(r, e, t, a, n, i, o) {
|
|
|
26515
26515
|
function c(v, h, d) {
|
|
26516
26516
|
var p = r[Ee[h]] - v[Ee[h]], g = v[Et[h]] + v[Ee[h]] - (r[Et[h]] + r[Ee[h]]);
|
|
26517
26517
|
p = f(p, 1 - d), g = f(g, d);
|
|
26518
|
-
var y =
|
|
26518
|
+
var y = q2[h][0], m = q2[h][1];
|
|
26519
26519
|
s[y] = Oe(s[y], p), s[m] = Oe(s[m], g);
|
|
26520
26520
|
}
|
|
26521
26521
|
function f(v, h) {
|
|
@@ -26916,13 +26916,13 @@ var lZ = ["splitArea", "splitLine", "minorSplitLine", "breakArea"], DN = (
|
|
|
26916
26916
|
}));
|
|
26917
26917
|
}, e.type = "grid", e;
|
|
26918
26918
|
})(ht)
|
|
26919
|
-
),
|
|
26919
|
+
), tC = {
|
|
26920
26920
|
// gridIndex: 0,
|
|
26921
26921
|
// gridId: '',
|
|
26922
26922
|
offset: 0
|
|
26923
26923
|
};
|
|
26924
26924
|
function MN(r) {
|
|
26925
|
-
r.registerComponentView(fZ), r.registerComponentModel(nX), r.registerCoordinateSystem("cartesian2d", XX), Ul(r, "x", S1,
|
|
26925
|
+
r.registerComponentView(fZ), r.registerComponentModel(nX), r.registerCoordinateSystem("cartesian2d", XX), Ul(r, "x", S1, tC), Ul(r, "y", S1, tC), r.registerComponentView(AN), r.registerComponentView(cZ), r.registerPreprocessor(function(e) {
|
|
26926
26926
|
e.xAxis && e.yAxis && !e.grid && (e.grid = {});
|
|
26927
26927
|
});
|
|
26928
26928
|
}
|
|
@@ -26987,7 +26987,7 @@ function hZ(r, e) {
|
|
|
26987
26987
|
return o && s;
|
|
26988
26988
|
}
|
|
26989
26989
|
var dZ = Le();
|
|
26990
|
-
function
|
|
26990
|
+
function rC(r, e, t, a) {
|
|
26991
26991
|
if (r instanceof zx) {
|
|
26992
26992
|
var n = r.scale.type;
|
|
26993
26993
|
if (n !== "ordinal")
|
|
@@ -27008,14 +27008,14 @@ function EN(r, e, t, a) {
|
|
|
27008
27008
|
function pZ(r, e, t, a, n, i) {
|
|
27009
27009
|
var o = dZ(r);
|
|
27010
27010
|
o.items || (o.items = []);
|
|
27011
|
-
var s = o.items, l =
|
|
27011
|
+
var s = o.items, l = aC(s, e, t, a, n, i, 1), u = aC(s, e, t, a, n, i, -1), c = Math.abs(l - t) < Math.abs(u - t) ? l : u, f = br(r.scale) ? vr(r).w : null, v = Math.abs(c - t);
|
|
27012
27012
|
return v > n / 2 || f && v > f / 2 - a ? EN(t, n, f, a) : (s.push({
|
|
27013
27013
|
fixedCoord: e,
|
|
27014
27014
|
floatCoord: c,
|
|
27015
27015
|
r: a
|
|
27016
27016
|
}), c);
|
|
27017
27017
|
}
|
|
27018
|
-
function
|
|
27018
|
+
function aC(r, e, t, a, n, i, o) {
|
|
27019
27019
|
for (var s = t, l = 0; l < r.length; l++) {
|
|
27020
27020
|
var u = r[l], c = e - u.fixedCoord, f = s - u.floatCoord, v = c * c + f * f, h = a + u.r + i;
|
|
27021
27021
|
if (v < h * h) {
|
|
@@ -27050,10 +27050,10 @@ function gZ() {
|
|
|
27050
27050
|
if (p) {
|
|
27051
27051
|
var g = c.getItemVisual(h, "symbolSize"), y = g instanceof Array ? (g[1] + g[0]) / 2 : g;
|
|
27052
27052
|
if (s) {
|
|
27053
|
-
var m =
|
|
27053
|
+
var m = rC(t, p[0], p[1], y / 2);
|
|
27054
27054
|
v ? f[d + 1] = m : p[1] = m;
|
|
27055
27055
|
} else if (l) {
|
|
27056
|
-
var m =
|
|
27056
|
+
var m = rC(t, p[1], p[0], y / 2);
|
|
27057
27057
|
v ? f[d] = m : p[0] = m;
|
|
27058
27058
|
}
|
|
27059
27059
|
}
|
|
@@ -27548,21 +27548,21 @@ function EZ(r) {
|
|
|
27548
27548
|
t.each(t.mapDimension(i[s].dim), function(l, u) {
|
|
27549
27549
|
a[u] = a[u] || [];
|
|
27550
27550
|
var c = n.dataToPoint(l, s);
|
|
27551
|
-
a[u][s] =
|
|
27551
|
+
a[u][s] = nC(c) ? c : iC(n);
|
|
27552
27552
|
});
|
|
27553
27553
|
}), t.each(function(o) {
|
|
27554
27554
|
var s = Hi(a[o], function(l) {
|
|
27555
|
-
return
|
|
27556
|
-
}) ||
|
|
27555
|
+
return nC(l);
|
|
27556
|
+
}) || iC(n);
|
|
27557
27557
|
a[o].push(s.slice()), t.setItemLayout(o, a[o]);
|
|
27558
27558
|
});
|
|
27559
27559
|
}
|
|
27560
27560
|
});
|
|
27561
27561
|
}
|
|
27562
|
-
function
|
|
27562
|
+
function nC(r) {
|
|
27563
27563
|
return !isNaN(r[0]) && !isNaN(r[1]);
|
|
27564
27564
|
}
|
|
27565
|
-
function
|
|
27565
|
+
function iC(r) {
|
|
27566
27566
|
return [r.cx, r.cy];
|
|
27567
27567
|
}
|
|
27568
27568
|
function IZ(r) {
|
|
@@ -27576,7 +27576,7 @@ function LZ(r, e, t) {
|
|
|
27576
27576
|
var a = Yx(r), n = a[e];
|
|
27577
27577
|
n === t && (a[e] = null);
|
|
27578
27578
|
}
|
|
27579
|
-
function
|
|
27579
|
+
function oC(r, e) {
|
|
27580
27580
|
return !!Yx(r)[e];
|
|
27581
27581
|
}
|
|
27582
27582
|
wn({
|
|
@@ -27660,7 +27660,7 @@ var Ps = (
|
|
|
27660
27660
|
}
|
|
27661
27661
|
}, e.prototype._mousemoveHandler = function(t) {
|
|
27662
27662
|
var a = this._zr;
|
|
27663
|
-
if (!(t.gestureEvent === "pinch" ||
|
|
27663
|
+
if (!(t.gestureEvent === "pinch" || oC(a, "globalPan") || Bu(t))) {
|
|
27664
27664
|
var n = t.offsetX, i = t.offsetY;
|
|
27665
27665
|
if (!this._dragging || !Ch("moveOnMouseMove", t, this._opt)) {
|
|
27666
27666
|
var o = this._decideCursorStyle(t, n, i, !1);
|
|
@@ -27669,7 +27669,7 @@ var Ps = (
|
|
|
27669
27669
|
}
|
|
27670
27670
|
a.setCursorStyle(this._opt.cursorGrabbing);
|
|
27671
27671
|
var s = this._x, l = this._y, u = n - s, c = i - l;
|
|
27672
|
-
this._x = n, this._y = i, this._opt.preventDefaultMouseMove && $n(t.event), t.__ecRoamConsumed = !0,
|
|
27672
|
+
this._x = n, this._y = i, this._opt.preventDefaultMouseMove && $n(t.event), t.__ecRoamConsumed = !0, sC(this, "pan", "moveOnMouseMove", t, {
|
|
27673
27673
|
dx: u,
|
|
27674
27674
|
dy: c,
|
|
27675
27675
|
oldX: s,
|
|
@@ -27713,7 +27713,7 @@ var Ps = (
|
|
|
27713
27713
|
}
|
|
27714
27714
|
}
|
|
27715
27715
|
}, e.prototype._pinchHandler = function(t) {
|
|
27716
|
-
if (!(
|
|
27716
|
+
if (!(oC(this._zr, "globalPan") || Bu(t))) {
|
|
27717
27717
|
var a = t.pinchScale > 1 ? 1.1 : 1 / 1.1;
|
|
27718
27718
|
this._checkTriggerMoveZoom(this, "zoom", null, t, {
|
|
27719
27719
|
scale: a,
|
|
@@ -27723,7 +27723,7 @@ var Ps = (
|
|
|
27723
27723
|
});
|
|
27724
27724
|
}
|
|
27725
27725
|
}, e.prototype._checkTriggerMoveZoom = function(t, a, n, i, o) {
|
|
27726
|
-
t._checkPointer(i, o.originX, o.originY) && ($n(i.event), i.__ecRoamConsumed = !0,
|
|
27726
|
+
t._checkPointer(i, o.originX, o.originY) && ($n(i.event), i.__ecRoamConsumed = !0, sC(t, a, n, i, o));
|
|
27727
27727
|
}, e;
|
|
27728
27728
|
})(_a)
|
|
27729
27729
|
);
|
|
@@ -27766,7 +27766,7 @@ function OZ(r, e) {
|
|
|
27766
27766
|
var t = Xp(r), a = t.uniform;
|
|
27767
27767
|
a[e] && (r.off(e, a[e]), a[e] = null);
|
|
27768
27768
|
}
|
|
27769
|
-
function
|
|
27769
|
+
function sC(r, e, t, a, n) {
|
|
27770
27770
|
n.isAvailableBehavior = se(Ch, null, t, a), r.trigger(e, n);
|
|
27771
27771
|
}
|
|
27772
27772
|
function Ch(r, e, t) {
|
|
@@ -27802,10 +27802,10 @@ var zy, Ad = {
|
|
|
27802
27802
|
"text-anchor": "textAlign",
|
|
27803
27803
|
visibility: "visibility",
|
|
27804
27804
|
display: "display"
|
|
27805
|
-
},
|
|
27805
|
+
}, lC = Fe(Ad), Md = {
|
|
27806
27806
|
"alignment-baseline": "textBaseline",
|
|
27807
27807
|
"stop-color": "stopColor"
|
|
27808
|
-
},
|
|
27808
|
+
}, uC = Fe(Md), VZ = (function() {
|
|
27809
27809
|
function r() {
|
|
27810
27810
|
this._defs = {}, this._root = null;
|
|
27811
27811
|
}
|
|
@@ -27873,8 +27873,8 @@ var zy, Ad = {
|
|
|
27873
27873
|
t.add(l);
|
|
27874
27874
|
}
|
|
27875
27875
|
}
|
|
27876
|
-
var h =
|
|
27877
|
-
if (h && oe(
|
|
27876
|
+
var h = cC[s];
|
|
27877
|
+
if (h && oe(cC, s)) {
|
|
27878
27878
|
var d = h.call(this, e), p = e.getAttribute("id");
|
|
27879
27879
|
p && (this._defs[p] = d);
|
|
27880
27880
|
}
|
|
@@ -27946,7 +27946,7 @@ var zy, Ad = {
|
|
|
27946
27946
|
},
|
|
27947
27947
|
polygon: function(e, t) {
|
|
27948
27948
|
var a = e.getAttribute("points"), n;
|
|
27949
|
-
a && (n =
|
|
27949
|
+
a && (n = hC(a));
|
|
27950
27950
|
var i = new Sr({
|
|
27951
27951
|
shape: {
|
|
27952
27952
|
points: n || []
|
|
@@ -27957,7 +27957,7 @@ var zy, Ad = {
|
|
|
27957
27957
|
},
|
|
27958
27958
|
polyline: function(e, t) {
|
|
27959
27959
|
var a = e.getAttribute("points"), n;
|
|
27960
|
-
a && (n =
|
|
27960
|
+
a && (n = hC(a));
|
|
27961
27961
|
var i = new fr({
|
|
27962
27962
|
shape: {
|
|
27963
27963
|
points: n || []
|
|
@@ -27994,21 +27994,21 @@ var zy, Ad = {
|
|
|
27994
27994
|
}
|
|
27995
27995
|
};
|
|
27996
27996
|
})(), r;
|
|
27997
|
-
})(),
|
|
27997
|
+
})(), cC = {
|
|
27998
27998
|
lineargradient: function(r) {
|
|
27999
27999
|
var e = parseInt(r.getAttribute("x1") || "0", 10), t = parseInt(r.getAttribute("y1") || "0", 10), a = parseInt(r.getAttribute("x2") || "10", 10), n = parseInt(r.getAttribute("y2") || "0", 10), i = new Ts(e, t, a, n);
|
|
28000
|
-
return
|
|
28000
|
+
return fC(r, i), vC(r, i), i;
|
|
28001
28001
|
},
|
|
28002
28002
|
radialgradient: function(r) {
|
|
28003
28003
|
var e = parseInt(r.getAttribute("cx") || "0", 10), t = parseInt(r.getAttribute("cy") || "0", 10), a = parseInt(r.getAttribute("r") || "0", 10), n = new LI(e, t, a);
|
|
28004
|
-
return
|
|
28004
|
+
return fC(r, n), vC(r, n), n;
|
|
28005
28005
|
}
|
|
28006
28006
|
};
|
|
28007
|
-
function
|
|
28007
|
+
function fC(r, e) {
|
|
28008
28008
|
var t = r.getAttribute("gradientUnits");
|
|
28009
28009
|
t === "userSpaceOnUse" && (e.global = !0);
|
|
28010
28010
|
}
|
|
28011
|
-
function
|
|
28011
|
+
function vC(r, e) {
|
|
28012
28012
|
for (var t = r.firstChild; t; ) {
|
|
28013
28013
|
if (t.nodeType === 1 && t.nodeName.toLocaleLowerCase() === "stop") {
|
|
28014
28014
|
var a = t.getAttribute("offset"), n = void 0;
|
|
@@ -28031,7 +28031,7 @@ function v2(r, e) {
|
|
|
28031
28031
|
function ta(r, e) {
|
|
28032
28032
|
r && r.__inheritedStyle && (e.__inheritedStyle || (e.__inheritedStyle = {}), Se(e.__inheritedStyle, r.__inheritedStyle));
|
|
28033
28033
|
}
|
|
28034
|
-
function
|
|
28034
|
+
function hC(r) {
|
|
28035
28035
|
for (var e = Zp(r), t = [], a = 0; a < e.length; a += 2) {
|
|
28036
28036
|
var n = parseFloat(e[a]), i = parseFloat(e[a + 1]);
|
|
28037
28037
|
t.push([n, i]);
|
|
@@ -28040,7 +28040,7 @@ function h2(r) {
|
|
|
28040
28040
|
}
|
|
28041
28041
|
function Ur(r, e, t, a, n) {
|
|
28042
28042
|
var i = e, o = i.__inheritedStyle = i.__inheritedStyle || {}, s = {};
|
|
28043
|
-
r.nodeType === 1 && ($Z(r, e), NN(r, o, s), a || UZ(r, o, s)), i.style = i.style || {}, o.fill != null && (i.style.fill =
|
|
28043
|
+
r.nodeType === 1 && ($Z(r, e), NN(r, o, s), a || UZ(r, o, s)), i.style = i.style || {}, o.fill != null && (i.style.fill = dC(i, "fill", o.fill, t)), o.stroke != null && (i.style.stroke = dC(i, "stroke", o.stroke, t)), A([
|
|
28044
28044
|
"lineWidth",
|
|
28045
28045
|
"opacity",
|
|
28046
28046
|
"fillOpacity",
|
|
@@ -28076,7 +28076,7 @@ function BZ(r, e) {
|
|
|
28076
28076
|
}
|
|
28077
28077
|
}
|
|
28078
28078
|
var zZ = /^url\(\s*#(.*?)\)/;
|
|
28079
|
-
function
|
|
28079
|
+
function dC(r, e, t, a) {
|
|
28080
28080
|
var n = t && t.match(zZ);
|
|
28081
28081
|
if (n) {
|
|
28082
28082
|
var i = va(n[1]);
|
|
@@ -28135,12 +28135,12 @@ function $Z(r, e) {
|
|
|
28135
28135
|
e.setLocalTransform(n);
|
|
28136
28136
|
}
|
|
28137
28137
|
}
|
|
28138
|
-
var
|
|
28138
|
+
var pC = /([^\s:;]+)\s*:\s*([^:;]+)/g;
|
|
28139
28139
|
function NN(r, e, t) {
|
|
28140
28140
|
var a = r.getAttribute("style");
|
|
28141
28141
|
if (a) {
|
|
28142
|
-
|
|
28143
|
-
for (var n; (n =
|
|
28142
|
+
pC.lastIndex = 0;
|
|
28143
|
+
for (var n; (n = pC.exec(a)) != null; ) {
|
|
28144
28144
|
var i = n[1], o = oe(Ad, i) ? Ad[i] : null;
|
|
28145
28145
|
o && (e[o] = n[2]);
|
|
28146
28146
|
var s = oe(Md, i) ? Md[i] : null;
|
|
@@ -28149,12 +28149,12 @@ function NN(r, e, t) {
|
|
|
28149
28149
|
}
|
|
28150
28150
|
}
|
|
28151
28151
|
function UZ(r, e, t) {
|
|
28152
|
-
for (var a = 0; a <
|
|
28153
|
-
var n =
|
|
28152
|
+
for (var a = 0; a < lC.length; a++) {
|
|
28153
|
+
var n = lC[a], i = r.getAttribute(n);
|
|
28154
28154
|
i != null && (e[Ad[n]] = i);
|
|
28155
28155
|
}
|
|
28156
|
-
for (var a = 0; a <
|
|
28157
|
-
var n =
|
|
28156
|
+
for (var a = 0; a < uC.length; a++) {
|
|
28157
|
+
var n = uC[a], i = r.getAttribute(n);
|
|
28158
28158
|
i != null && (t[Md[n]] = i);
|
|
28159
28159
|
}
|
|
28160
28160
|
}
|
|
@@ -28268,16 +28268,16 @@ function qZ(r) {
|
|
|
28268
28268
|
regionsMap: t
|
|
28269
28269
|
};
|
|
28270
28270
|
}
|
|
28271
|
-
var A1 = [126, 25],
|
|
28271
|
+
var A1 = [126, 25], gC = "南海诸岛", To = [[[0, 3.5], [7, 11.2], [15, 11.9], [30, 7], [42, 0.7], [52, 0.7], [56, 7.7], [59, 0.7], [64, 0.7], [64, 0], [5, 0], [0, 3.5]], [[13, 16.1], [19, 14.7], [16, 21.7], [11, 23.1], [13, 16.1]], [[12, 32.2], [14, 38.5], [15, 38.5], [13, 32.2], [12, 32.2]], [[16, 47.6], [12, 53.2], [13, 53.2], [18, 47.6], [16, 47.6]], [[6, 64.4], [8, 70], [9, 70], [8, 64.4], [6, 64.4]], [[23, 82.6], [29, 79.8], [30, 79.8], [25, 82.6], [23, 82.6]], [[37, 70.7], [43, 62.3], [44, 62.3], [39, 70.7], [37, 70.7]], [[48, 51.1], [51, 45.5], [53, 45.5], [50, 51.1], [48, 51.1]], [[51, 35], [51, 28.7], [53, 28.7], [53, 35], [51, 35]], [[52, 22.4], [55, 17.5], [56, 17.5], [53, 22.4], [52, 22.4]], [[58, 12.6], [62, 7], [63, 7], [60, 12.6], [58, 12.6]], [[0, 3.5], [0, 93.1], [64, 93.1], [64, 0], [63, 0], [63, 92.4], [1, 92.4], [1, 3.5], [0, 3.5]]];
|
|
28272
28272
|
for (var xo = 0; xo < To.length; xo++)
|
|
28273
28273
|
for (var Ks = 0; Ks < To[xo].length; Ks++)
|
|
28274
28274
|
To[xo][Ks][0] /= 10.5, To[xo][Ks][1] /= -10.5 / 0.75, To[xo][Ks][0] += A1[0], To[xo][Ks][1] += A1[1];
|
|
28275
28275
|
function KZ(r, e) {
|
|
28276
28276
|
if (r === "china") {
|
|
28277
28277
|
for (var t = 0; t < e.length; t++)
|
|
28278
|
-
if (e[t].name ===
|
|
28278
|
+
if (e[t].name === gC)
|
|
28279
28279
|
return;
|
|
28280
|
-
e.push(new oP(
|
|
28280
|
+
e.push(new oP(gC, Q(To, function(a) {
|
|
28281
28281
|
return {
|
|
28282
28282
|
type: "polygon",
|
|
28283
28283
|
exterior: a
|
|
@@ -28461,10 +28461,10 @@ var iq = "view", qp = (
|
|
|
28461
28461
|
var i = this.mtOverallInv;
|
|
28462
28462
|
return i ? At(n, t, i) : gr(n, t);
|
|
28463
28463
|
}, e.prototype.convertToPixel = function(t, a, n) {
|
|
28464
|
-
var i =
|
|
28464
|
+
var i = SC(a);
|
|
28465
28465
|
return i === this ? i.dataToPoint(n) : null;
|
|
28466
28466
|
}, e.prototype.convertFromPixel = function(t, a, n) {
|
|
28467
|
-
var i =
|
|
28467
|
+
var i = SC(a);
|
|
28468
28468
|
return i === this ? i.pointToData(n) : null;
|
|
28469
28469
|
}, e.prototype.containPoint = function(t) {
|
|
28470
28470
|
var a = this;
|
|
@@ -28493,7 +28493,7 @@ function Kp(r) {
|
|
|
28493
28493
|
function sq(r, e, t, a) {
|
|
28494
28494
|
a === hs ? VN(r, e.trans[vs], t) : vn(r, t);
|
|
28495
28495
|
}
|
|
28496
|
-
function
|
|
28496
|
+
function yC(r, e, t) {
|
|
28497
28497
|
Pi(t, Lv), ha(Lv, Lv, e.mtRawInv), Mp(r, Lv);
|
|
28498
28498
|
}
|
|
28499
28499
|
var Lv = _t();
|
|
@@ -28516,11 +28516,11 @@ function qx(r) {
|
|
|
28516
28516
|
}
|
|
28517
28517
|
function lq(r) {
|
|
28518
28518
|
var e = r.dataRect, t = r.viewRect, a = r.trans[vs], n = r.invertY;
|
|
28519
|
-
n && (e = Il(uq, e), e.y = -e.y - e.height), cE(
|
|
28519
|
+
n && (e = Il(uq, e), e.y = -e.y - e.height), cE(mC, e, t), Mp(a, mC), n && (a.scaleY = -a.scaleY);
|
|
28520
28520
|
var i = Pi(a, r.mtRaw);
|
|
28521
28521
|
ga(r.mtRawInv, i);
|
|
28522
28522
|
}
|
|
28523
|
-
var
|
|
28523
|
+
var mC = _t(), uq = lp();
|
|
28524
28524
|
function cq(r) {
|
|
28525
28525
|
var e = BN(r), t = dq(Fy, r, r.centerOption) ? At(Fy, Fy, r.mtRaw) : e, a = r.zoom, n = r.trans[hs];
|
|
28526
28526
|
n.x = e[0] - a * t[0], n.y = e[1] - a * t[1], n.scaleX = n.scaleY = a;
|
|
@@ -28530,16 +28530,16 @@ function fq(r) {
|
|
|
28530
28530
|
var e = r.trans, t = e[hs], a = e[vs], n = e[xn];
|
|
28531
28531
|
VN(n, a, t);
|
|
28532
28532
|
var i = Pi(n, r.mtOverall), o = ga(r.mtOverallInv, i);
|
|
28533
|
-
|
|
28533
|
+
_C(r, n, i, o), _C(r.lgGeo, n, i, o);
|
|
28534
28534
|
}
|
|
28535
|
-
function
|
|
28535
|
+
function _C(r, e, t, a) {
|
|
28536
28536
|
r && (vn(r, e), qo(r.transform || (r.transform = []), t), qo(r.invTransform || (r.invTransform = []), a));
|
|
28537
28537
|
}
|
|
28538
28538
|
function VN(r, e, t) {
|
|
28539
|
-
Pi(e,
|
|
28539
|
+
Pi(e, xC), Pi(t, Pv), ha(Pv, Pv, xC), Mp(r, Pv);
|
|
28540
28540
|
}
|
|
28541
|
-
var
|
|
28542
|
-
function
|
|
28541
|
+
var xC = _t(), Pv = _t();
|
|
28542
|
+
function SC(r) {
|
|
28543
28543
|
var e = r.seriesModel;
|
|
28544
28544
|
return e ? e.coordinateSystem : null;
|
|
28545
28545
|
}
|
|
@@ -28557,7 +28557,7 @@ function Vi(r, e, t, a) {
|
|
|
28557
28557
|
}
|
|
28558
28558
|
function vq(r, e, t, a) {
|
|
28559
28559
|
var n = r, i = n.syncBackEl;
|
|
28560
|
-
i ? (process.env.NODE_ENV !== "production" && K(n.syncBackType != null), i.stopAnimation(), sq(ci, n, i, n.syncBackType)) : vn(ci, n.trans[xn]),
|
|
28560
|
+
i ? (process.env.NODE_ENV !== "production" && K(n.syncBackType != null), i.stopAnimation(), sq(ci, n, i, n.syncBackType)) : vn(ci, n.trans[xn]), yC($y, n, ci), a ? hq(ci, $y, n, a) : vn(ci, $y), yC(ci, n, ci), gq(n, e, t, ci);
|
|
28561
28561
|
}
|
|
28562
28562
|
var ci = xl(), $y = xl();
|
|
28563
28563
|
function GN(r, e, t) {
|
|
@@ -28593,9 +28593,9 @@ function dq(r, e, t) {
|
|
|
28593
28593
|
}
|
|
28594
28594
|
function pq(r, e) {
|
|
28595
28595
|
var t = r.centerOption, a = r.dataRect;
|
|
28596
|
-
return process.env.NODE_ENV !== "production" && K(e && a), !t || r.lgCt ? e.slice() : [
|
|
28596
|
+
return process.env.NODE_ENV !== "production" && K(e && a), !t || r.lgCt ? e.slice() : [bC(0, e, t, a), bC(1, e, t, a)];
|
|
28597
28597
|
}
|
|
28598
|
-
function
|
|
28598
|
+
function bC(r, e, t, a) {
|
|
28599
28599
|
return t && a && a[Et[r]] && z6(t[r]) ? (e[r] - a[Ee[r]]) / a[Et[r]] * 100 + "%" : e[r];
|
|
28600
28600
|
}
|
|
28601
28601
|
function $N(r, e) {
|
|
@@ -28608,12 +28608,12 @@ function gq(r, e, t, a) {
|
|
|
28608
28608
|
var n = BN(r), i = HN(a), o = xt(i) > 1e-6;
|
|
28609
28609
|
Hu[0] = o ? (n[0] - a.x) / i : n[0], Hu[1] = o ? (n[1] - a.y) / i : n[1], At(Hu, Hu, r.mtRawInv);
|
|
28610
28610
|
var s = pq(r, Hu);
|
|
28611
|
-
|
|
28612
|
-
l !== e &&
|
|
28611
|
+
wC(e, s, i), A(t, function(l) {
|
|
28612
|
+
l !== e && wC(l, s.slice(), i);
|
|
28613
28613
|
});
|
|
28614
28614
|
}
|
|
28615
28615
|
var Hu = [];
|
|
28616
|
-
function
|
|
28616
|
+
function wC(r, e, t) {
|
|
28617
28617
|
var a = r.option;
|
|
28618
28618
|
a.center = e, a.zoom = t;
|
|
28619
28619
|
}
|
|
@@ -28714,7 +28714,7 @@ function Nv(r) {
|
|
|
28714
28714
|
var e = r.getItemStyle(), t = r.get("areaColor");
|
|
28715
28715
|
return t != null && (e.fill = t), e;
|
|
28716
28716
|
}
|
|
28717
|
-
function
|
|
28717
|
+
function TC(r) {
|
|
28718
28718
|
var e = r.style;
|
|
28719
28719
|
e && (e.stroke = e.stroke || e.fill, e.fill = null);
|
|
28720
28720
|
}
|
|
@@ -28788,12 +28788,12 @@ var qN = (
|
|
|
28788
28788
|
A(g.geometries, function(M) {
|
|
28789
28789
|
if (M.type === "polygon") {
|
|
28790
28790
|
var I = [M.exterior].concat(M.interiors || []);
|
|
28791
|
-
f && (I =
|
|
28791
|
+
f && (I = IC(I, f)), A(I, function(L) {
|
|
28792
28792
|
w.push(new Sr(p(L)));
|
|
28793
28793
|
});
|
|
28794
28794
|
} else {
|
|
28795
28795
|
var E = M.points;
|
|
28796
|
-
f && (E =
|
|
28796
|
+
f && (E = IC(E, f, !0)), A(E, function(L) {
|
|
28797
28797
|
C.push(new fr(p(L)));
|
|
28798
28798
|
});
|
|
28799
28799
|
}
|
|
@@ -28808,13 +28808,13 @@ var qN = (
|
|
|
28808
28808
|
paths: M
|
|
28809
28809
|
}
|
|
28810
28810
|
});
|
|
28811
|
-
m.add(E),
|
|
28811
|
+
m.add(E), CC(t, i, o, E, x, S), DC(n, i, E, y, S, x, T), I && (TC(E), A(E.states, TC));
|
|
28812
28812
|
}
|
|
28813
28813
|
}
|
|
28814
28814
|
D(w), D(C, !0);
|
|
28815
28815
|
}), s.each(function(g, y) {
|
|
28816
28816
|
var m = l.get(y), _ = m.dataIdx, x = m.regionModel;
|
|
28817
|
-
|
|
28817
|
+
AC(n, i, g, y, x, _), MC(n, i, g, y, x), EC(n, g, y, x);
|
|
28818
28818
|
}, this);
|
|
28819
28819
|
}, r.prototype._buildSVG = function(e, t, a, n, i, o) {
|
|
28820
28820
|
var s = a.map;
|
|
@@ -28822,10 +28822,10 @@ var qN = (
|
|
|
28822
28822
|
var l = this._svgDispatcherMap = ne(), u = !1;
|
|
28823
28823
|
A(this._svgGraphicRecord.named, function(c) {
|
|
28824
28824
|
var f = c.name, v = c.svgNodeTagLower, h = c.el, d = i ? i.indexOfName(f) : null, p = n.getRegionModel(f);
|
|
28825
|
-
yq.get(v) != null && h instanceof ya &&
|
|
28825
|
+
yq.get(v) != null && h instanceof ya && CC(t, i, o, h, d, p), h instanceof ya && (h.culling = !0);
|
|
28826
28826
|
var g = p.get("silent", !0);
|
|
28827
|
-
if (g != null && (h.silent = g), h.z2EmphasisLift = 0, !c.namedFrom && (_q.get(v) != null &&
|
|
28828
|
-
var y =
|
|
28827
|
+
if (g != null && (h.silent = g), h.z2EmphasisLift = 0, !c.namedFrom && (_q.get(v) != null && DC(n, i, h, f, p, d, null), AC(n, i, h, f, p, d), MC(n, i, h, f, p), mq.get(v) != null)) {
|
|
28828
|
+
var y = EC(n, h, f, p);
|
|
28829
28829
|
y === "self" && (u = !0);
|
|
28830
28830
|
var m = l.get(f) || l.set(f, []);
|
|
28831
28831
|
m.push(h);
|
|
@@ -28885,7 +28885,7 @@ var qN = (
|
|
|
28885
28885
|
}, r;
|
|
28886
28886
|
})()
|
|
28887
28887
|
);
|
|
28888
|
-
function
|
|
28888
|
+
function CC(r, e, t, a, n, i) {
|
|
28889
28889
|
var o = i.getModel("itemStyle"), s = i.getModel(["emphasis", "itemStyle"]), l = i.getModel(["blur", "itemStyle"]), u = i.getModel(["select", "itemStyle"]), c = Nv(o), f = Nv(s), v = Nv(u), h = Nv(l);
|
|
28890
28890
|
if (e) {
|
|
28891
28891
|
var d = e.getItemVisual(n, "style"), p = e.getItemVisual(n, "decal");
|
|
@@ -28893,7 +28893,7 @@ function C2(r, e, t, a, n, i) {
|
|
|
28893
28893
|
}
|
|
28894
28894
|
a.setStyle(c), a.style.strokeNoScale = !0, a.ensureState("emphasis").style = f, a.ensureState("select").style = v, a.ensureState("blur").style = h, es(a);
|
|
28895
28895
|
}
|
|
28896
|
-
function
|
|
28896
|
+
function DC(r, e, t, a, n, i, o) {
|
|
28897
28897
|
var s = e && isNaN(e.get(e.mapDimension("value"), i)), l = e && e.getItemLayout(i);
|
|
28898
28898
|
if (Ml(r) || s || l && l.showLabel) {
|
|
28899
28899
|
var u = Ml(r) ? a : i, c = void 0;
|
|
@@ -28918,7 +28918,7 @@ function D2(r, e, t, a, n, i, o) {
|
|
|
28918
28918
|
} else
|
|
28919
28919
|
t.removeTextContent(), t.removeTextConfig(), t.disableLabelAnimation = null;
|
|
28920
28920
|
}
|
|
28921
|
-
function
|
|
28921
|
+
function AC(r, e, t, a, n, i) {
|
|
28922
28922
|
e ? e.setItemGraphicEl(i, t) : De(t).eventData = {
|
|
28923
28923
|
componentType: "geo",
|
|
28924
28924
|
componentIndex: r.componentIndex,
|
|
@@ -28927,7 +28927,7 @@ function A2(r, e, t, a, n, i) {
|
|
|
28927
28927
|
region: n && n.option || {}
|
|
28928
28928
|
};
|
|
28929
28929
|
}
|
|
28930
|
-
function
|
|
28930
|
+
function MC(r, e, t, a, n) {
|
|
28931
28931
|
e || ei({
|
|
28932
28932
|
el: t,
|
|
28933
28933
|
componentModel: r,
|
|
@@ -28936,12 +28936,12 @@ function M2(r, e, t, a, n) {
|
|
|
28936
28936
|
itemTooltipOption: n.get("tooltip")
|
|
28937
28937
|
});
|
|
28938
28938
|
}
|
|
28939
|
-
function
|
|
28939
|
+
function EC(r, e, t, a) {
|
|
28940
28940
|
e.highDownSilentOnTouch = !!r.get("selectedMode");
|
|
28941
28941
|
var n = a.getModel("emphasis"), i = n.get("focus");
|
|
28942
28942
|
return gt(e, i, n.get("blurScope"), n.get("disabled")), Ml(r) && SF(e, r, t), i;
|
|
28943
28943
|
}
|
|
28944
|
-
function
|
|
28944
|
+
function IC(r, e, t) {
|
|
28945
28945
|
var a = [], n;
|
|
28946
28946
|
function i() {
|
|
28947
28947
|
n = [];
|
|
@@ -29203,7 +29203,7 @@ var Sq = (
|
|
|
29203
29203
|
aspectScale: 1,
|
|
29204
29204
|
invertLongitute: !1
|
|
29205
29205
|
}
|
|
29206
|
-
}, jN = ["lng", "lat"],
|
|
29206
|
+
}, jN = ["lng", "lat"], kC = (
|
|
29207
29207
|
/** @class */
|
|
29208
29208
|
(function(r) {
|
|
29209
29209
|
F(e, r);
|
|
@@ -29246,10 +29246,10 @@ var Sq = (
|
|
|
29246
29246
|
var i = this.projection;
|
|
29247
29247
|
return i && (t = i.unproject(t)), t && this.view.pointToData(t, n);
|
|
29248
29248
|
}, e.prototype.convertToPixel = function(t, a, n) {
|
|
29249
|
-
var i =
|
|
29249
|
+
var i = LC(a);
|
|
29250
29250
|
return i === this ? i.dataToPoint(n) : null;
|
|
29251
29251
|
}, e.prototype.convertFromPixel = function(t, a, n) {
|
|
29252
|
-
var i =
|
|
29252
|
+
var i = LC(a);
|
|
29253
29253
|
return i === this ? i.pointToData(n) : null;
|
|
29254
29254
|
}, e.prototype.containPoint = function(t) {
|
|
29255
29255
|
return this.view.containPoint(t);
|
|
@@ -29271,11 +29271,11 @@ var Sq = (
|
|
|
29271
29271
|
// See VIEW_COORD_SYS_TRANS_OVERALL_BACKWARD_COMPATIBILITY
|
|
29272
29272
|
)
|
|
29273
29273
|
);
|
|
29274
|
-
function
|
|
29274
|
+
function LC(r) {
|
|
29275
29275
|
var e = r.geoModel, t = r.seriesModel;
|
|
29276
29276
|
return e ? e.coordinateSystem : t ? t.coordinateSystem || (t.getReferringComponents("geo", Tt).models[0] || {}).coordinateSystem : null;
|
|
29277
29277
|
}
|
|
29278
|
-
function
|
|
29278
|
+
function PC(r, e) {
|
|
29279
29279
|
var t = this.view, a = r.get("boundingCoords");
|
|
29280
29280
|
if (a != null) {
|
|
29281
29281
|
var n = a[0], i = a[1];
|
|
@@ -29330,12 +29330,12 @@ var Tq = (
|
|
|
29330
29330
|
};
|
|
29331
29331
|
}
|
|
29332
29332
|
return e.eachComponent("geo", function(i, o) {
|
|
29333
|
-
var s = i.get("map"), l = new
|
|
29333
|
+
var s = i.get("map"), l = new kC(s + o, s, Y({
|
|
29334
29334
|
nameMap: i.get("nameMap"),
|
|
29335
29335
|
api: t,
|
|
29336
29336
|
ecModel: e
|
|
29337
29337
|
}, n(i)));
|
|
29338
|
-
a.push(l), i.coordinateSystem = l, l.model = i, l.resize =
|
|
29338
|
+
a.push(l), i.coordinateSystem = l, l.model = i, l.resize = PC, l.resize(i, t);
|
|
29339
29339
|
}), e.eachSeries(function(i) {
|
|
29340
29340
|
xf({
|
|
29341
29341
|
targetModel: i,
|
|
@@ -29352,14 +29352,14 @@ var Tq = (
|
|
|
29352
29352
|
A(i.r, function(v) {
|
|
29353
29353
|
l.push(v.get("nameMap")), v.seriesGroup = null;
|
|
29354
29354
|
});
|
|
29355
|
-
var u = o.slice(1), c = new
|
|
29355
|
+
var u = o.slice(1), c = new kC(u, u, Y({
|
|
29356
29356
|
nameMap: m_(l),
|
|
29357
29357
|
api: t,
|
|
29358
29358
|
ecModel: e
|
|
29359
29359
|
}, n(s))), f;
|
|
29360
29360
|
A(i.r, function(v) {
|
|
29361
29361
|
f = le(f, v.get("scaleLimit"));
|
|
29362
|
-
}), a.push(c), c.resize =
|
|
29362
|
+
}), a.push(c), c.resize = PC, c.resize(s, t), A(i.r, function(v) {
|
|
29363
29363
|
v.coordinateSystem = c, wq(c, v);
|
|
29364
29364
|
});
|
|
29365
29365
|
}
|
|
@@ -29692,7 +29692,7 @@ function Oq(r) {
|
|
|
29692
29692
|
x: e
|
|
29693
29693
|
}, !0), r.hierNode.modifier += r.parentNode.hierNode.modifier;
|
|
29694
29694
|
}
|
|
29695
|
-
function
|
|
29695
|
+
function NC(r) {
|
|
29696
29696
|
return arguments.length ? r : Fq;
|
|
29697
29697
|
}
|
|
29698
29698
|
function uc(r, e) {
|
|
@@ -30114,17 +30114,17 @@ var ps = "tree", Kq = (
|
|
|
30114
30114
|
l === "radial" ? (s.x = o.x + o.width / 2, s.y = o.y + o.height / 2) : (s.x = o.x, s.y = o.y), this._updateViewCoordSys(t, n), Qp(t, n, this._controller, WN(this.group), null);
|
|
30115
30115
|
var u = this._data;
|
|
30116
30116
|
i.diff(u).add(function(c) {
|
|
30117
|
-
|
|
30117
|
+
RC(i, c) && OC(i, c, null, s, t);
|
|
30118
30118
|
}).update(function(c, f) {
|
|
30119
30119
|
var v = u.getItemGraphicEl(f);
|
|
30120
|
-
if (!
|
|
30121
|
-
v &&
|
|
30120
|
+
if (!RC(i, c)) {
|
|
30121
|
+
v && BC(u, f, v, s, t);
|
|
30122
30122
|
return;
|
|
30123
30123
|
}
|
|
30124
|
-
|
|
30124
|
+
OC(i, c, v, s, t);
|
|
30125
30125
|
}).remove(function(c) {
|
|
30126
30126
|
var f = u.getItemGraphicEl(c);
|
|
30127
|
-
f &&
|
|
30127
|
+
f && BC(u, c, f, s, t);
|
|
30128
30128
|
}).execute(), this._updateNodeAndLinkScale(t), t.get("expandAndCollapse") === !0 && i.eachItemGraphicEl(function(c, f) {
|
|
30129
30129
|
c.off("click").on("click", function() {
|
|
30130
30130
|
n.dispatchAction({
|
|
@@ -30160,11 +30160,11 @@ var ps = "tree", Kq = (
|
|
|
30160
30160
|
}, e.type = ps, e;
|
|
30161
30161
|
})(it)
|
|
30162
30162
|
);
|
|
30163
|
-
function
|
|
30163
|
+
function RC(r, e) {
|
|
30164
30164
|
var t = r.getItemLayout(e);
|
|
30165
30165
|
return t && !isNaN(t.x) && !isNaN(t.y);
|
|
30166
30166
|
}
|
|
30167
|
-
function
|
|
30167
|
+
function OC(r, e, t, a, n) {
|
|
30168
30168
|
var i = !t, o = r.tree.getNodeByDataIndex(e), s = o.getModel(), l = o.getVisual("style").fill, u = o.isExpand === !1 && o.children.length !== 0 ? l : U.color.neutral00, c = r.tree.root, f = o.parentNode === c ? o : o.parentNode || o, v = r.getItemGraphicEl(f.dataIndex), h = f.getLayout(), d = v ? {
|
|
30169
30169
|
x: v.__oldX,
|
|
30170
30170
|
y: v.__oldY,
|
|
@@ -30244,7 +30244,7 @@ function eK(r, e, t, a, n, i, o, s) {
|
|
|
30244
30244
|
fill: null
|
|
30245
30245
|
}, d)), Ft(p, l, "lineStyle"), es(p), s.add(p));
|
|
30246
30246
|
}
|
|
30247
|
-
function
|
|
30247
|
+
function VC(r, e, t, a, n) {
|
|
30248
30248
|
var i = e.tree.root, o = aR(i, r), s = o.source, l = o.sourceLayout, u = e.getItemGraphicEl(r.dataIndex);
|
|
30249
30249
|
if (u) {
|
|
30250
30250
|
var c = e.getItemGraphicEl(s.dataIndex), f = c.__edge, v = u.__edge || (s.isExpand === !1 || s.children.length === 1 ? f : void 0), h = a.get("edgeShape"), d = a.get("layout"), p = a.get("orient"), g = a.get(["lineStyle", "curveness"]);
|
|
@@ -30282,7 +30282,7 @@ function aR(r, e) {
|
|
|
30282
30282
|
sourceLayout: a
|
|
30283
30283
|
};
|
|
30284
30284
|
}
|
|
30285
|
-
function
|
|
30285
|
+
function BC(r, e, t, a, n) {
|
|
30286
30286
|
var i = r.tree.getNodeByDataIndex(e), o = r.tree.root, s = aR(o, i).sourceLayout, l = {
|
|
30287
30287
|
duration: n.get("animationDurationUpdate"),
|
|
30288
30288
|
easing: n.get("animationEasingUpdate")
|
|
@@ -30299,8 +30299,8 @@ function B2(r, e, t, a, n) {
|
|
|
30299
30299
|
fadeLabel: !0,
|
|
30300
30300
|
animation: l
|
|
30301
30301
|
}), A(i.children, function(u) {
|
|
30302
|
-
|
|
30303
|
-
}),
|
|
30302
|
+
VC(u, r, a, n, l);
|
|
30303
|
+
}), VC(i, r, a, n, l);
|
|
30304
30304
|
}
|
|
30305
30305
|
function M1(r, e, t, a, n) {
|
|
30306
30306
|
var i, o, s, l, u, c, f, v;
|
|
@@ -30359,9 +30359,9 @@ function aK(r, e) {
|
|
|
30359
30359
|
var t = Wt(r, e).refContainer, a = yt(r.getBoxLayoutParams(), t);
|
|
30360
30360
|
r.layoutInfo = a;
|
|
30361
30361
|
var n = r.get("layout"), i = 0, o = 0, s = null;
|
|
30362
|
-
n === "radial" ? (i = 2 * Math.PI, o = Math.min(a.height, a.width) / 2, s =
|
|
30362
|
+
n === "radial" ? (i = 2 * Math.PI, o = Math.min(a.height, a.width) / 2, s = NC(function(x, S) {
|
|
30363
30363
|
return (x.parentNode === S.parentNode ? 1 : 2) / x.depth;
|
|
30364
|
-
})) : (i = a.width, o = a.height, s =
|
|
30364
|
+
})) : (i = a.width, o = a.height, s = NC());
|
|
30365
30365
|
var l = r.getData().tree.root, u = l.children[0];
|
|
30366
30366
|
if (u) {
|
|
30367
30367
|
Nq(l), tK(u, Rq, s), l.hierNode.modifier = -u.hierNode.prelim, $u(u, Oq);
|
|
@@ -30427,11 +30427,11 @@ function oK(r) {
|
|
|
30427
30427
|
function sK(r) {
|
|
30428
30428
|
r.registerChartView(Jq), r.registerSeriesModel(Kq), r.registerLayout(rK), r.registerVisual(iK), nK(r);
|
|
30429
30429
|
}
|
|
30430
|
-
var
|
|
30430
|
+
var zC = ["treemapZoomToNode", "treemapRender", "treemapMove"];
|
|
30431
30431
|
function lK(r) {
|
|
30432
|
-
for (var e = 0; e <
|
|
30432
|
+
for (var e = 0; e < zC.length; e++)
|
|
30433
30433
|
r.registerAction({
|
|
30434
|
-
type:
|
|
30434
|
+
type: zC[e],
|
|
30435
30435
|
update: "updateView"
|
|
30436
30436
|
}, Dt);
|
|
30437
30437
|
r.registerAction({
|
|
@@ -30658,7 +30658,7 @@ function cK(r, e) {
|
|
|
30658
30658
|
return n || (o.color = t.slice()), !i && a && (o.decal = a.slice()), r;
|
|
30659
30659
|
}
|
|
30660
30660
|
}
|
|
30661
|
-
var fK = 8,
|
|
30661
|
+
var fK = 8, GC = 8, Xy = 5, vK = (
|
|
30662
30662
|
/** @class */
|
|
30663
30663
|
(function() {
|
|
30664
30664
|
function r(e) {
|
|
@@ -30682,7 +30682,7 @@ var fK = 8, G2 = 8, Xy = 5, vK = (
|
|
|
30682
30682
|
}, r.prototype._prepare = function(e, t, a) {
|
|
30683
30683
|
for (var n = e; n; n = n.parentNode) {
|
|
30684
30684
|
var i = Gt(n.getModel().get("name"), ""), o = a.getTextRect(i), s = Math.max(o.width + fK * 2, t.emptyItemWidth);
|
|
30685
|
-
t.totalWidth += s +
|
|
30685
|
+
t.totalWidth += s + GC, t.renderList.push({
|
|
30686
30686
|
node: n,
|
|
30687
30687
|
text: i,
|
|
30688
30688
|
width: s
|
|
@@ -30712,7 +30712,7 @@ var fK = 8, G2 = 8, Xy = 5, vK = (
|
|
|
30712
30712
|
});
|
|
30713
30713
|
x.disableLabelAnimation = !0, x.getTextContent().ensureState("emphasis").style = lt(s, {
|
|
30714
30714
|
text: _
|
|
30715
|
-
}), x.ensureState("emphasis").style = d, gt(x, i.get("focus"), i.get("blurScope"), i.get("disabled")), this.group.add(x), dK(x, e, y), u += m +
|
|
30715
|
+
}), x.ensureState("emphasis").style = d, gt(x, i.get("focus"), i.get("blurScope"), i.get("disabled")), this.group.add(x), dK(x, e, y), u += m + GC;
|
|
30716
30716
|
}
|
|
30717
30717
|
}, r.prototype.remove = function() {
|
|
30718
30718
|
this.group.removeAll();
|
|
@@ -30846,9 +30846,9 @@ function sR(r, e, t, a) {
|
|
|
30846
30846
|
var b = p[x];
|
|
30847
30847
|
_.push(b), _.area += b.getLayout().area;
|
|
30848
30848
|
var w = CK(_, y, e.squareRatio);
|
|
30849
|
-
w <= m ? (x++, m = w) : (_.area -= _.pop().getLayout().area,
|
|
30849
|
+
w <= m ? (x++, m = w) : (_.area -= _.pop().getLayout().area, FC(_, y, g, u, !1), y = Pd(g.width, g.height), _.length = _.area = 0, m = 1 / 0);
|
|
30850
30850
|
}
|
|
30851
|
-
if (_.length &&
|
|
30851
|
+
if (_.length && FC(_, y, g, u, !0), !t) {
|
|
30852
30852
|
var C = s.get("childrenVisibleMin");
|
|
30853
30853
|
C != null && d < C && (t = !0);
|
|
30854
30854
|
}
|
|
@@ -30916,7 +30916,7 @@ function CK(r, e, t) {
|
|
|
30916
30916
|
var l = r.area * r.area, u = e * e * t;
|
|
30917
30917
|
return l ? af(u * a / l, l / (u * n)) : 1 / 0;
|
|
30918
30918
|
}
|
|
30919
|
-
function
|
|
30919
|
+
function FC(r, e, t, a, n) {
|
|
30920
30920
|
var i = e === t.width ? 0 : 1, o = 1 - i, s = ["x", "y"], l = ["width", "height"], u = t[s[i]], c = e ? r.area / e : 0;
|
|
30921
30921
|
(n || c > t[l[o]]) && (c = t[l[o]]);
|
|
30922
30922
|
for (var f = 0, v = r.length; f < v; f++) {
|
|
@@ -30996,7 +30996,7 @@ function cR(r, e) {
|
|
|
30996
30996
|
function fR(r, e) {
|
|
30997
30997
|
return Kx(r, e.get("scaleLimit", !0));
|
|
30998
30998
|
}
|
|
30999
|
-
var E1 = _e,
|
|
30999
|
+
var E1 = _e, HC = Ve, $C = 3, UC = "label", WC = "upperLabel", MK = au * 10, EK = au * 2, IK = au * 3, Co = Jo([
|
|
31000
31000
|
["fill", "color"],
|
|
31001
31001
|
// `borderColor` and `borderWidth` has been occupied,
|
|
31002
31002
|
// so use `stroke` to indicate the stroke of the rect.
|
|
@@ -31008,7 +31008,7 @@ var E1 = _e, H2 = Ve, $2 = 3, U2 = "label", W2 = "upperLabel", MK = au * 10, EK
|
|
|
31008
31008
|
["shadowColor"]
|
|
31009
31009
|
// Option decal is in `DecalObject` but style.decal is in `PatternObject`.
|
|
31010
31010
|
// So do not transfer decal directly.
|
|
31011
|
-
]),
|
|
31011
|
+
]), YC = function(r) {
|
|
31012
31012
|
var e = Co(r);
|
|
31013
31013
|
return e.stroke = e.fill = e.lineWidth = null, e;
|
|
31014
31014
|
}, Nd = Le(), kK = (
|
|
@@ -31154,7 +31154,7 @@ var E1 = _e, H2 = Ve, $2 = 3, U2 = "label", W2 = "upperLabel", MK = au * 10, EK
|
|
|
31154
31154
|
var t = this._controller;
|
|
31155
31155
|
t && (t.dispose(), t = null);
|
|
31156
31156
|
}, e.prototype._onPan = function(t) {
|
|
31157
|
-
if (this._state !== "animating" && (Math.abs(t.dx) > $
|
|
31157
|
+
if (this._state !== "animating" && (Math.abs(t.dx) > $C || Math.abs(t.dy) > $C)) {
|
|
31158
31158
|
var a = this.seriesModel.getData().tree.root;
|
|
31159
31159
|
if (!a)
|
|
31160
31160
|
return;
|
|
@@ -31291,13 +31291,13 @@ function LK(r, e, t, a, n, i, o, s, l, u) {
|
|
|
31291
31291
|
return;
|
|
31292
31292
|
if (l.add(M), M.x = c.x || 0, M.y = c.y || 0, M.markRedraw(), Nd(M).nodeWidth = h, Nd(M).nodeHeight = d, c.isAboveViewRoot)
|
|
31293
31293
|
return M;
|
|
31294
|
-
var I = B("background",
|
|
31294
|
+
var I = B("background", HC, u, EK);
|
|
31295
31295
|
I && $(M, I, S && c.upperLabelHeight);
|
|
31296
31296
|
var E = v.getModel("emphasis"), L = E.get("focus"), P = E.get("blurScope"), R = E.get("disabled"), N = L === "ancestor" ? o.getAncestorsIndices() : L === "descendant" ? o.getDescendantIndices() : L;
|
|
31297
31297
|
if (S)
|
|
31298
31298
|
Ni(M) && Ro(M, !1), I && (Ro(I, !R), f.setItemGraphicEl(o.dataIndex, I), L0(I, N, P));
|
|
31299
31299
|
else {
|
|
31300
|
-
var O = B("content",
|
|
31300
|
+
var O = B("content", HC, u, IK);
|
|
31301
31301
|
O && z(M, O), I.disableMorphing = !0, I && Ni(I) && Ro(I, !1), Ro(M, !R), f.setItemGraphicEl(o.dataIndex, M);
|
|
31302
31302
|
var H = v.getShallow("cursor");
|
|
31303
31303
|
H && O.attr("cursor", H), L0(M, N, P);
|
|
@@ -31315,7 +31315,7 @@ function LK(r, e, t, a, n, i, o, s, l, u) {
|
|
|
31315
31315
|
W(ie);
|
|
31316
31316
|
else {
|
|
31317
31317
|
ie.invisible = !1;
|
|
31318
|
-
var Te = o.getVisual("style"), Je = Te.stroke, Be =
|
|
31318
|
+
var Te = o.getVisual("style"), Je = Te.stroke, Be = YC(b);
|
|
31319
31319
|
Be.fill = Je;
|
|
31320
31320
|
var Qe = Co(w);
|
|
31321
31321
|
Qe.fill = w.get("borderColor");
|
|
@@ -31356,7 +31356,7 @@ function LK(r, e, t, a, n, i, o, s, l, u) {
|
|
|
31356
31356
|
W(ie);
|
|
31357
31357
|
else {
|
|
31358
31358
|
ie.invisible = !1;
|
|
31359
|
-
var Je = o.getVisual("style"), Be = Je.fill, Qe =
|
|
31359
|
+
var Je = o.getVisual("style"), Be = Je.fill, Qe = YC(b);
|
|
31360
31360
|
Qe.fill = Be, Qe.decal = Je.decal;
|
|
31361
31361
|
var tt = Co(w), wt = Co(C), hr = Co(T);
|
|
31362
31362
|
J(ie, Be, Je.opacity, null), ie.setStyle(Qe), ie.ensureState("emphasis").style = tt, ie.ensureState("blur").style = wt, ie.ensureState("select").style = hr, es(ie);
|
|
@@ -31367,8 +31367,8 @@ function LK(r, e, t, a, n, i, o, s, l, u) {
|
|
|
31367
31367
|
!he.invisible && i.push(he);
|
|
31368
31368
|
}
|
|
31369
31369
|
function J(he, ie, Ae, ue) {
|
|
31370
|
-
var Te = v.getModel(ue ?
|
|
31371
|
-
jt(he, Ht(v, ue ?
|
|
31370
|
+
var Te = v.getModel(ue ? WC : UC), Je = Gt(v.get("name"), null), Be = Te.getShallow("show");
|
|
31371
|
+
jt(he, Ht(v, ue ? WC : UC), {
|
|
31372
31372
|
defaultText: Be ? Je : null,
|
|
31373
31373
|
inheritColor: ie,
|
|
31374
31374
|
defaultOpacity: Ae,
|
|
@@ -31562,11 +31562,11 @@ var nf = A, NK = me, Rd = -1, Kt = (
|
|
|
31562
31562
|
a("symbol", n);
|
|
31563
31563
|
},
|
|
31564
31564
|
_normalizedToVisual: {
|
|
31565
|
-
linear:
|
|
31565
|
+
linear: XC,
|
|
31566
31566
|
category: cc,
|
|
31567
31567
|
piecewise: function(e, t) {
|
|
31568
31568
|
var a = k1.call(this, t);
|
|
31569
|
-
return a == null && (a =
|
|
31569
|
+
return a == null && (a = XC.call(this, e)), a;
|
|
31570
31570
|
},
|
|
31571
31571
|
fixed: Do
|
|
31572
31572
|
}
|
|
@@ -31618,7 +31618,7 @@ function Rv(r) {
|
|
|
31618
31618
|
_normalizedToVisual: I1([0, 1])
|
|
31619
31619
|
};
|
|
31620
31620
|
}
|
|
31621
|
-
function
|
|
31621
|
+
function XC(r) {
|
|
31622
31622
|
var e = this.option.visual;
|
|
31623
31623
|
return e[Math.round(Ke(r, [0, 1], [0, e.length - 1], !0))] || {};
|
|
31624
31624
|
}
|
|
@@ -31697,10 +31697,10 @@ function dR(r, e, t, a) {
|
|
|
31697
31697
|
var n = r.getModel(), i = r.getLayout(), o = r.hostTree.data;
|
|
31698
31698
|
if (!(!i || i.invisible || !i.isInView)) {
|
|
31699
31699
|
var s = n.getModel(BK), l = GK(s, e, a), u = o.ensureUniqueItemVisual(r.dataIndex, "style"), c = s.get("borderColor"), f = s.get("borderColorSaturation"), v;
|
|
31700
|
-
f != null && (v =
|
|
31700
|
+
f != null && (v = ZC(l), c = FK(f, v)), u.stroke = c;
|
|
31701
31701
|
var h = r.viewChildren;
|
|
31702
31702
|
if (!h || !h.length)
|
|
31703
|
-
v =
|
|
31703
|
+
v = ZC(l), u.fill = v;
|
|
31704
31704
|
else {
|
|
31705
31705
|
var d = HK(r, n, i, s, l, h);
|
|
31706
31706
|
A(h, function(p, g) {
|
|
@@ -31720,7 +31720,7 @@ function GK(r, e, t) {
|
|
|
31720
31720
|
n[i] = null, o != null && (a[i] = o);
|
|
31721
31721
|
}), a;
|
|
31722
31722
|
}
|
|
31723
|
-
function
|
|
31723
|
+
function ZC(r) {
|
|
31724
31724
|
var e = qy(r, "color");
|
|
31725
31725
|
if (e) {
|
|
31726
31726
|
var t = qy(r, "colorAlpha"), a = qy(r, "colorSaturation");
|
|
@@ -32308,7 +32308,7 @@ function vc(r) {
|
|
|
32308
32308
|
var e = r.getVisual("symbolSize");
|
|
32309
32309
|
return e instanceof Array && (e = (e[0] + e[1]) / 2), +e;
|
|
32310
32310
|
}
|
|
32311
|
-
var
|
|
32311
|
+
var qC = Math.PI, jy = [];
|
|
32312
32312
|
function lS(r, e, t, a) {
|
|
32313
32313
|
var n = r.coordinateSystem;
|
|
32314
32314
|
if (!(n && n.type !== "view")) {
|
|
@@ -32346,9 +32346,9 @@ var tj = {
|
|
|
32346
32346
|
var v = vc(f);
|
|
32347
32347
|
isNaN(v) && (v = 2), v < 0 && (v = 0), v *= l;
|
|
32348
32348
|
var h = Math.asin(v / 2 / a);
|
|
32349
|
-
isNaN(h) && (h =
|
|
32349
|
+
isNaN(h) && (h = qC / 2), jy[f.dataIndex] = h, s += h * 2;
|
|
32350
32350
|
});
|
|
32351
|
-
var u = (2 *
|
|
32351
|
+
var u = (2 * qC - s) / o / 2, c = 0;
|
|
32352
32352
|
e.eachNode(function(f) {
|
|
32353
32353
|
var v = u + jy[f.dataIndex];
|
|
32354
32354
|
c += v, (!f.getLayout() || !f.getLayout().fixed) && f.setLayout([a * Math.cos(c) + n, a * Math.sin(c) + i]), c += v;
|
|
@@ -32535,7 +32535,7 @@ function lj(r, e) {
|
|
|
32535
32535
|
}
|
|
32536
32536
|
}), t;
|
|
32537
32537
|
}
|
|
32538
|
-
var
|
|
32538
|
+
var KC = Rt.prototype, Qy = gf.prototype, SR = (
|
|
32539
32539
|
/** @class */
|
|
32540
32540
|
/* @__PURE__ */ (function() {
|
|
32541
32541
|
function r() {
|
|
@@ -32570,26 +32570,26 @@ var bR = (
|
|
|
32570
32570
|
}, e.prototype.getDefaultShape = function() {
|
|
32571
32571
|
return new SR();
|
|
32572
32572
|
}, e.prototype.buildPath = function(t, a) {
|
|
32573
|
-
Jy(a) ?
|
|
32573
|
+
Jy(a) ? KC.buildPath.call(this, t, a) : Qy.buildPath.call(this, t, a);
|
|
32574
32574
|
}, e.prototype.pointAt = function(t) {
|
|
32575
|
-
return Jy(this.shape) ?
|
|
32575
|
+
return Jy(this.shape) ? KC.pointAt.call(this, t) : Qy.pointAt.call(this, t);
|
|
32576
32576
|
}, e.prototype.tangentAt = function(t) {
|
|
32577
32577
|
var a = this.shape, n = Jy(a) ? [a.x2 - a.x1, a.y2 - a.y1] : Qy.tangentAt.call(this, t);
|
|
32578
32578
|
return jl(n, n);
|
|
32579
32579
|
}, e;
|
|
32580
32580
|
})(Ge)
|
|
32581
32581
|
), em = ["fromSymbol", "toSymbol"];
|
|
32582
|
-
function
|
|
32582
|
+
function jC(r) {
|
|
32583
32583
|
return "_" + r + "Type";
|
|
32584
32584
|
}
|
|
32585
|
-
function
|
|
32585
|
+
function QC(r, e, t) {
|
|
32586
32586
|
var a = e.getItemVisual(t, r);
|
|
32587
32587
|
if (!a || a === "none")
|
|
32588
32588
|
return a;
|
|
32589
32589
|
var n = e.getItemVisual(t, r + "Size"), i = e.getItemVisual(t, r + "Rotate"), o = e.getItemVisual(t, r + "Offset"), s = e.getItemVisual(t, r + "KeepAspect"), l = cu(n), u = Es(o || 0, l);
|
|
32590
32590
|
return a + l + u + (i || "") + (s || "");
|
|
32591
32591
|
}
|
|
32592
|
-
function
|
|
32592
|
+
function JC(r, e, t) {
|
|
32593
32593
|
var a = e.getItemVisual(t, r);
|
|
32594
32594
|
if (!(!a || a === "none")) {
|
|
32595
32595
|
var n = e.getItemVisual(t, r + "Size"), i = e.getItemVisual(t, r + "Rotate"), o = e.getItemVisual(t, r + "Offset"), s = e.getItemVisual(t, r + "KeepAspect"), l = cu(n), u = Es(o || 0, l), c = Vt(a, -l[0] / 2 + u[0], -l[1] / 2 + u[1], l[0], l[1], null, s);
|
|
@@ -32624,18 +32624,18 @@ var uS = (
|
|
|
32624
32624
|
percent: 1
|
|
32625
32625
|
}
|
|
32626
32626
|
}, i, a), this.add(l), A(em, function(u) {
|
|
32627
|
-
var c =
|
|
32628
|
-
this.add(c), this[
|
|
32627
|
+
var c = JC(u, t, a);
|
|
32628
|
+
this.add(c), this[jC(u)] = QC(u, t, a);
|
|
32629
32629
|
}, this), this._updateCommonStl(t, a, n);
|
|
32630
32630
|
}, e.prototype.updateData = function(t, a, n) {
|
|
32631
32631
|
var i = t.hostModel, o = this.childOfName("line"), s = t.getItemLayout(a), l = {
|
|
32632
32632
|
shape: {}
|
|
32633
32633
|
};
|
|
32634
32634
|
N1(l.shape, s), Ze(o, l, i, a), A(em, function(u) {
|
|
32635
|
-
var c =
|
|
32635
|
+
var c = QC(u, t, a), f = jC(u);
|
|
32636
32636
|
if (this[f] !== c) {
|
|
32637
32637
|
this.remove(this.childOfName(u));
|
|
32638
|
-
var v =
|
|
32638
|
+
var v = JC(u, t, a);
|
|
32639
32639
|
this.add(v);
|
|
32640
32640
|
}
|
|
32641
32641
|
this[f] = c;
|
|
@@ -37430,12 +37430,12 @@ var JJ = (
|
|
|
37430
37430
|
throw new Error("Heatmap must use with visualMap");
|
|
37431
37431
|
this._progressiveEls = null, this.group.removeAll();
|
|
37432
37432
|
var o = t.coordinateSystem;
|
|
37433
|
-
o.type === "cartesian2d" || o.type === "calendar" || o.type === "matrix" ? this._renderOnGridLike(t, n, 0, t.getData().count()) :
|
|
37433
|
+
o.type === "cartesian2d" || o.type === "calendar" || o.type === "matrix" ? this._renderOnGridLike(t, n, 0, t.getData().count()) : w2(o) && this._renderOnGeo(o, t, i, n);
|
|
37434
37434
|
}, e.prototype.incrementalPrepareRender = function(t, a, n) {
|
|
37435
37435
|
this.group.removeAll();
|
|
37436
37436
|
}, e.prototype.incrementalRender = function(t, a, n, i) {
|
|
37437
37437
|
var o = a.coordinateSystem;
|
|
37438
|
-
o && (
|
|
37438
|
+
o && (w2(o) ? this.render(a, n, i) : (this._progressiveEls = [], this._renderOnGridLike(a, i, t.start, t.end, !0)));
|
|
37439
37439
|
}, e.prototype.eachRendered = function(t) {
|
|
37440
37440
|
Ui(this._progressiveEls || this.group, t);
|
|
37441
37441
|
}, e.prototype._renderOnGridLike = function(t, a, n, i, o) {
|
|
@@ -39315,14 +39315,14 @@ function zD(r, e, t, a) {
|
|
|
39315
39315
|
}, W = x(R, bi), J = lt(W, null, z, !1, !0);
|
|
39316
39316
|
J.text = W.getShallow("show") ? le(r.getFormattedLabel(R, bi), $l(e, R)) : null;
|
|
39317
39317
|
var X = qh(W, z, !1);
|
|
39318
|
-
return D(P, $), $ =
|
|
39318
|
+
return D(P, $), $ = D2($, J, X), P && T($, P), $.legacy = !0, $;
|
|
39319
39319
|
}
|
|
39320
39320
|
function C(P, R) {
|
|
39321
39321
|
process.env.NODE_ENV !== "production" && y1("api.styleEmphasis", "Please write literal style directly instead."), R == null && (R = c);
|
|
39322
39322
|
var N = _(R, Gn).getItemStyle(), O = x(R, Gn), H = lt(O, null, null, !0, !0);
|
|
39323
39323
|
H.text = O.getShallow("show") ? Er(r.getFormattedLabel(R, Gn), r.getFormattedLabel(R, bi), $l(e, R)) : null;
|
|
39324
39324
|
var $ = qh(O, null, !0);
|
|
39325
|
-
return D(P, N), N =
|
|
39325
|
+
return D(P, N), N = D2(N, H, $), P && T(N, P), N.legacy = !0, N;
|
|
39326
39326
|
}
|
|
39327
39327
|
function T(P, R) {
|
|
39328
39328
|
for (var N in R)
|
|
@@ -53148,11 +53148,11 @@ const _se = {
|
|
|
53148
53148
|
},
|
|
53149
53149
|
alert_latest: {
|
|
53150
53150
|
total: 3,
|
|
53151
|
-
stats: { todayTotal: 12, todayPending: 3, overdueTotal: 1, criticalCount: 1, warningCount: 5, infoCount: 6 },
|
|
53151
|
+
stats: { todayTotal: 12, todayPending: 3, todayResolved: 9, overdueTotal: 1, criticalCount: 1, warningCount: 5, infoCount: 6 },
|
|
53152
53152
|
items: [
|
|
53153
|
-
{ id: 1, alertId: "AL-20260727-001", title: "边缘节点延迟升高", severity: "WARN", severityText: "警告", status: "pending", statusText: "待处理", source: "edge-01", firedAt: "14:20", groupNames: ["网络组"] },
|
|
53154
|
-
{ id: 2, alertId: "AL-20260727-002", title: "构建队列等待时间过长", severity: "CRITICAL", severityText: "严重", status: "processing", statusText: "处理中", source: "CI/CD", firedAt: "14:08", groupNames: ["平台组"] },
|
|
53155
|
-
{ id: 3, alertId: "AL-20260727-003", title: "磁盘使用率接近阈值", severity: "INFO", severityText: "提示", status: "
|
|
53153
|
+
{ id: 1, alertId: "AL-20260727-001", title: "边缘节点延迟升高", severity: "WARN", severityText: "警告", status: "pending", statusText: "待处理", source: "edge-01", firedAt: "14:20", groupNames: ["网络组"], triggerValue: "218ms", chartValues: [118, 125, 131, 146, 153, 168, 182, 196, 218], chartTimestamps: ["13:40", "13:45", "13:50", "13:55", "14:00", "14:05", "14:10", "14:15", "14:20"] },
|
|
53154
|
+
{ id: 2, alertId: "AL-20260727-002", title: "构建队列等待时间过长", severity: "CRITICAL", severityText: "严重", status: "processing", statusText: "处理中", source: "CI/CD", firedAt: "14:08", groupNames: ["平台组"], triggerValue: "14min", chartValues: [4, 5, 5, 7, 8, 10, 12, 14], chartTimestamps: ["13:33", "13:38", "13:43", "13:48", "13:53", "13:58", "14:03", "14:08"] },
|
|
53155
|
+
{ id: 3, alertId: "AL-20260727-003", title: "磁盘使用率接近阈值", severity: "INFO", severityText: "提示", status: "RESOLVED", statusText: "已恢复", source: "node-03", firedAt: "13:56", groupNames: ["运维组"], triggerValue: "88%", chartValues: [72, 75, 78, 81, 85, 88, 83, 78], chartTimestamps: ["13:21", "13:26", "13:31", "13:36", "13:41", "13:46", "13:51", "13:56"] }
|
|
53156
53156
|
]
|
|
53157
53157
|
},
|
|
53158
53158
|
build_projects: {
|
|
@@ -53173,7 +53173,8 @@ const _se = {
|
|
|
53173
53173
|
{ id: 2, nodeName: "edge-02", nodeIp: "10.10.2.12", nodeStatus: !0, heartbeatResults: [{ targetName: "API Gateway", targetIp: "10.10.1.10", latencyMs: 18.7 }] },
|
|
53174
53174
|
{ id: 3, nodeName: "edge-03", nodeIp: "10.10.2.13", nodeStatus: !1, heartbeatResults: [] }
|
|
53175
53175
|
]
|
|
53176
|
-
}
|
|
53176
|
+
},
|
|
53177
|
+
external_embed: {}
|
|
53177
53178
|
};
|
|
53178
53179
|
function Ole(r) {
|
|
53179
53180
|
return JSON.parse(JSON.stringify(Mle[r]));
|