@factorialco/f0-react 6.104.0 → 6.106.0
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/{ChatPdfThumbnail-CV6YlrJT.js → ChatPdfThumbnail-BkhAKV0r.js} +1 -1
- package/dist/ChatPostComposerDialog-D2b_bvdN.js +142 -0
- package/dist/{CoachmarkProvider-DPVNJLZU.js → CoachmarkProvider-DDU2DOmn.js} +75 -78
- package/dist/{DocumentToolbar-BrZ13rVL.js → DocumentToolbar-BwV5Q0rV.js} +2 -2
- package/dist/{DocxViewer-CF3W_zjV.js → DocxViewer-BP1HAgxW.js} +2 -2
- package/dist/{F0AiProcessingOverlay-B-MR6cMY.js → F0AiProcessingOverlay-jkio5JGp.js} +728 -766
- package/dist/{F0CanvasPanel-DT64c3E-.js → F0CanvasPanel-C8sTxHKI.js} +30476 -30171
- package/dist/{F0VideoPlayer-CFHQr9KH.js → F0VideoPlayer-C_ibK2BV.js} +1 -1
- package/dist/{LocationMap-96J4YbOy.js → LocationMap-CGP3eGZK.js} +1 -1
- package/dist/{SheetViewer-BMj7kc1c.js → SheetViewer-D5BRnR0I.js} +2 -2
- package/dist/{TextViewer-CgLPN38a.js → TextViewer-CIIk5GoS.js} +2 -2
- package/dist/ai.d.ts +183 -8
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/{experimental-DjvvLdnE.js → experimental-Ds-2DStT.js} +18468 -17455
- package/dist/experimental.d.ts +915 -6
- package/dist/experimental.js +161 -159
- package/dist/f0.d.ts +190 -8
- package/dist/f0.js +205 -205
- package/dist/i18n-provider-defaults.d.ts +172 -0
- package/dist/i18n-provider-defaults.js +210 -3
- package/dist/{index-CLLyZsKL.js → index-BER_ZOwy.js} +3 -3
- package/dist/index-BcRGcyyC.js +4 -0
- package/dist/{pdfWorker-BgsVA819.js → pdfWorker-KK_gurE8.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-B1S8Pxtc.js +0 -4
package/dist/f0.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { i7 as xN, w as ct, ef as I_, cv as gn, hx as wN, g1 as nF, b$ as Nn, fx as iF, i8 as aF, i9 as SN, s as rr, c7 as yf, ia as Hw, ib as Nr, ic as Qa, id as oF, u as ze, bZ as cp, ie as Ki, ig as Kl, ih as sF, ii as CN, bY as yl, ht as jy, ij as lF, S as ie, t as k_, ik as uF, il as cF, im as Ww, cB as fF, io as dF, ip as hF, iq as TN, ir as vF, v as bf, x as _f, n as ot, y as xf, z as $r, Q as pF, R as gF, A as es, B as ts, aA as Pa, E as rs, gE as Ky, d9 as Ct, W as at, ai as El, da as Ra, df as DN, dn as P_, is as mF, co as yF, cp as $w, o as AN, q as Nl, b_ as Pc, cq as bF, eN as zh, ec as MN, it as _F, hw as Uw, dc as xF, iu as Yw, di as wF, iv as SF, c4 as LN, e8 as EN, go as Qy, ds as CF, a8 as Jy, a7 as R_, g_ as Ql, g$ as wf, h1 as NN, hE as TF, dB as IN, gC as DF, iw as fp, b7 as O_, hg as AF, cc as kN, g9 as MF, ax as LF, i2 as B_, ba as PN, c8 as EF, c9 as NF, ca as IF, d as kF, bF as RN, ak as hs, bL as ON, b6 as BN, ah as z_, bN as zN, Y as V_, H as bl, J as _l, L as xl, M as wl, gF as ki, a0 as VN, j as PF, K as Pr, ew as RF, b4 as Vh, av as Il, bW as F_, b8 as e0, cs as Rc, cl as OF, aW as Sf, at as Jl, aj as FN, dO as GN, dz as HN, ha as Vr, ix as BF, iy as zF, iz as VF, iA as G_, iB as FF, iC as GF, cG as ti, U as WN, V as $N, m as HF, iD as WF, ce as UN, e6 as $F, e7 as UF, bT as $o, dg as eu, ei as tu, f8 as Cf, bO as YF, eg as XF, bv as qF, am as YN, dl as ZF, al as jF, a_ as Xw, bJ as Oc, hC as KF, aS as QF, iE as JF, iF as e5, iG as t5, b as XN, dd as H_, ck as r5, b1 as n5, l as qN, a9 as i5, a6 as a5, iH as o5, iI as s5, iJ as l5, hB as u5, d5 as ZN, cN as c5, c6 as f5, iK as jN, iL as d5, iM as h5, I as v5, iN as p5, iO as g5, iP as m5, iQ as y5 } from "./F0CanvasPanel-C8sTxHKI.js";
|
|
2
|
+
import { j5 as whe, C as She, D as Che, dI as The, c as Dhe, F as Ahe, a as Mhe, i_ as Lhe, f as Ehe, cz as Nhe, dJ as Ihe, ek as khe, cf as Phe, cg as Rhe, cx as Ohe, cd as Bhe, cy as zhe, du as Vhe, es as Fhe, g as Ghe, cb as Hhe, c0 as Whe, iV as $he, jb as Uhe, bV as Yhe, e as Xhe, ee as qhe, k as Zhe, cA as jhe, j0 as Khe, dT as Qhe, j1 as Jhe, j3 as eve, j4 as tve, eQ as rve, j7 as nve, j8 as ive, eJ as ave, eK as ove, P as sve, eO as lve, j2 as uve, eL as cve, j6 as fve, jc as dve, iS as hve, iT as vve, iU as pve, iR as gve, eM as mve, ja as yve, i$ as bve, iY as _ve, iX as xve, eP as wve, gA as Sve, hn as Cve, j9 as Tve, dL as Dve, eI as Ave, eF as Mve, eH as Lve, eD as Eve, iZ as Nve, hi as Ive, hd as kve, h2 as Pve, jf as Rve, eo as Ove, eG as Bve, je as zve, e2 as Vve, eE as Fve, ci as Gve, gz as Hve, h3 as Wve, e5 as $ve, hD as Uve, dK as Yve, cj as Xve, iW as qve, hf as Zve, he as jve, jd as Kve } from "./F0CanvasPanel-C8sTxHKI.js";
|
|
3
3
|
import { jsx as x, jsxs as B, Fragment as tt } from "react/jsx-runtime";
|
|
4
|
-
import { C as b5, W as _5,
|
|
5
|
-
import {
|
|
4
|
+
import { C as b5, W as _5, J as x5, K as w5, N as S5, Q as qw, aU as C5, aV as T5, $ as D5, T as A5, X as M5, Z as L5, _ as E5, s as N5, a4 as KN, aW as I5, aX as k5, aY as P5, aZ as R5, a_ as O5, a$ as QN, b0 as B5, n as W_, b1 as Ja, b2 as Ls, b3 as z5, H as $_, b4 as U_, ah as V5, b5 as F5, b6 as JN, b7 as G5, b8 as H5, b9 as W5, ba as $5, bb as U5, bc as Y5, au as X5, aK as q5, bd as Z5, ap as j5, E as K5, a as Q5, k as dp, R as Y_, l as X_, as as eI, O as q_, be as tI, bf as Zw, bg as Z_, a5 as J5, bh as jw, w as eG, m as rI, ay as nI, bi as tG, bj as rG, bk as nG, bl as Es, bm as iG, aL as aG, M as oG } from "./CoachmarkProvider-DDU2DOmn.js";
|
|
5
|
+
import { a7 as Jve, a8 as epe, ai as tpe, a9 as rpe, ae as npe, bI as ipe, bH as ape, bA as ope, bo as spe, bn as lpe, bp as upe, bq as cpe, bs as fpe, I as dpe, aN as hpe, aM as vpe, F as ppe, ar as gpe, am as mpe, aR as ype, an as bpe, aa as _pe, bJ as xpe, aO as wpe, aP as Spe, ao as Cpe, ab as Tpe, P as Dpe, ad as Ape, af as Mpe, aQ as Lpe, aq as Epe, aS as Npe, ac as Ipe, ag as kpe, bL as Ppe, a3 as Rpe, a1 as Ope, a2 as Bpe, bz as zpe, bF as Vpe, bF as Fpe, bG as Gpe, bv as Hpe, bu as Wpe, bK as $pe, aI as Upe, bx as Ype, by as Xpe, al as qpe, ak as Zpe, bM as jpe, bN as Kpe, t as Qpe, o as Jpe, bB as ege, bC as tge, bD as rge, br as nge, bw as ige, q as age, bE as oge, bt as sge, bO as lge } from "./CoachmarkProvider-DDU2DOmn.js";
|
|
6
6
|
import * as Tt from "react";
|
|
7
7
|
import sG, { forwardRef as Mr, useRef as ae, useImperativeHandle as lG, Children as Fh, createContext as $a, useContext as Ua, useState as le, useMemo as me, useEffect as be, useCallback as de, useLayoutEffect as Bc, isValidElement as iI, Fragment as ru, memo as j_, useSyncExternalStore as kl, useId as Sl } from "react";
|
|
8
8
|
import { createPortal as Tf } from "react-dom";
|
|
9
9
|
import { d as oe, g as Df, h as uG, i as cl, P as Af, u as nu, j as cG, f as Qi } from "./tooltip-CMBdJvJA.js";
|
|
10
|
-
import { l as t0, c as aI, d as Gh, r as r0 } from "./F0VideoPlayer-
|
|
11
|
-
import { F as cge } from "./F0VideoPlayer-
|
|
12
|
-
import { F as dge, p as hge } from "./index-
|
|
13
|
-
import { c as pge } from "./pdfWorker-
|
|
14
|
-
import { G as fG, H as Hh, I as K_, J as oI, K as dG, L as hG, M as vG, N as pG, O as gG, F as mG } from "./F0AiProcessingOverlay-
|
|
15
|
-
import { A as mge, C as yge, t as bge, s as _ge, v as xge, y as wge, z as Sge, l as Cge, i as Tge, q as Dge, D as Age, E as Mge, p as Lge, r as Ege, j as Nge, e as Ige, g as kge, k as Pge, T as Rge, w as Oge, h as Bge, a as zge, n as Vge, m as Fge, o as Gge, B as Hge, b as Wge, f as $ge, x as Uge, c as Yge, d as Xge, u as qge } from "./F0AiProcessingOverlay-
|
|
10
|
+
import { l as t0, c as aI, d as Gh, r as r0 } from "./F0VideoPlayer-C_ibK2BV.js";
|
|
11
|
+
import { F as cge } from "./F0VideoPlayer-C_ibK2BV.js";
|
|
12
|
+
import { F as dge, p as hge } from "./index-BER_ZOwy.js";
|
|
13
|
+
import { c as pge } from "./pdfWorker-KK_gurE8.js";
|
|
14
|
+
import { G as fG, H as Hh, I as K_, J as oI, K as dG, L as hG, M as vG, N as pG, O as gG, F as mG } from "./F0AiProcessingOverlay-jkio5JGp.js";
|
|
15
|
+
import { A as mge, C as yge, t as bge, s as _ge, v as xge, y as wge, z as Sge, l as Cge, i as Tge, q as Dge, D as Age, E as Mge, p as Lge, r as Ege, j as Nge, e as Ige, g as kge, k as Pge, T as Rge, w as Oge, h as Bge, a as zge, n as Vge, m as Fge, o as Gge, B as Hge, b as Wge, f as $ge, x as Uge, c as Yge, d as Xge, u as qge } from "./F0AiProcessingOverlay-jkio5JGp.js";
|
|
16
16
|
import { utils as Cl, write as sI } from "./xlsx-CzlURDDb.js";
|
|
17
17
|
import { defaultTranslations as jge } from "./i18n-provider-defaults.js";
|
|
18
18
|
import './f0.css';const yG = {
|
|
@@ -21879,14 +21879,14 @@ function JY(r) {
|
|
|
21879
21879
|
var e = r.fill;
|
|
21880
21880
|
return e != null && e !== f1;
|
|
21881
21881
|
}
|
|
21882
|
-
function
|
|
21882
|
+
function e7(r) {
|
|
21883
21883
|
var e = r.stroke;
|
|
21884
21884
|
return e != null && e !== f1;
|
|
21885
21885
|
}
|
|
21886
|
-
var bb = ["lineCap", "miterLimit", "lineJoin"],
|
|
21886
|
+
var bb = ["lineCap", "miterLimit", "lineJoin"], t7 = ee(bb, function(r) {
|
|
21887
21887
|
return "stroke-" + r.toLowerCase();
|
|
21888
21888
|
});
|
|
21889
|
-
function
|
|
21889
|
+
function r7(r, e, t, n) {
|
|
21890
21890
|
var i = e.opacity == null ? 1 : e.opacity;
|
|
21891
21891
|
if (t instanceof or) {
|
|
21892
21892
|
r("opacity", i);
|
|
@@ -21899,7 +21899,7 @@ function rX(r, e, t, n) {
|
|
|
21899
21899
|
o < 1 && r("fill-opacity", o);
|
|
21900
21900
|
} else
|
|
21901
21901
|
r("fill", f1);
|
|
21902
|
-
if (
|
|
21902
|
+
if (e7(e)) {
|
|
21903
21903
|
var s = Wc(e.stroke);
|
|
21904
21904
|
r("stroke", s.color);
|
|
21905
21905
|
var l = e.strokeNoScale ? t.getLineScale() : 1, u = l ? (e.lineWidth || 0) / l : 0, c = e.strokeOpacity != null ? e.strokeOpacity * s.opacity * i : s.opacity * i, f = e.strokeFirst;
|
|
@@ -21911,12 +21911,12 @@ function rX(r, e, t, n) {
|
|
|
21911
21911
|
var g = bb[p];
|
|
21912
21912
|
if (e[g] !== sv[g]) {
|
|
21913
21913
|
var m = e[g] || sv[g];
|
|
21914
|
-
m && r(
|
|
21914
|
+
m && r(t7[p], m);
|
|
21915
21915
|
}
|
|
21916
21916
|
}
|
|
21917
21917
|
}
|
|
21918
21918
|
}
|
|
21919
|
-
var dR = "http://www.w3.org/2000/svg", hR = "http://www.w3.org/1999/xlink",
|
|
21919
|
+
var dR = "http://www.w3.org/2000/svg", hR = "http://www.w3.org/1999/xlink", n7 = "http://www.w3.org/2000/xmlns/", i7 = "http://www.w3.org/XML/1998/namespace", jT = "ecmeta_";
|
|
21920
21920
|
function vR(r) {
|
|
21921
21921
|
return document.createElementNS(dR, r);
|
|
21922
21922
|
}
|
|
@@ -21929,7 +21929,7 @@ function jt(r, e, t, n, i) {
|
|
|
21929
21929
|
key: e
|
|
21930
21930
|
};
|
|
21931
21931
|
}
|
|
21932
|
-
function
|
|
21932
|
+
function a7(r, e) {
|
|
21933
21933
|
var t = [];
|
|
21934
21934
|
if (e)
|
|
21935
21935
|
for (var n in e) {
|
|
@@ -21938,7 +21938,7 @@ function aX(r, e) {
|
|
|
21938
21938
|
}
|
|
21939
21939
|
return "<" + r + " " + t.join(" ") + ">";
|
|
21940
21940
|
}
|
|
21941
|
-
function
|
|
21941
|
+
function o7(r) {
|
|
21942
21942
|
return "</" + r + ">";
|
|
21943
21943
|
}
|
|
21944
21944
|
function d1(r, e) {
|
|
@@ -21947,13 +21947,13 @@ function d1(r, e) {
|
|
|
21947
21947
|
` : "";
|
|
21948
21948
|
function n(i) {
|
|
21949
21949
|
var a = i.children, o = i.tag, s = i.attrs, l = i.text;
|
|
21950
|
-
return
|
|
21950
|
+
return a7(o, s) + (o !== "style" ? xr(l) : l || "") + (a ? "" + t + ee(a, function(u) {
|
|
21951
21951
|
return n(u);
|
|
21952
|
-
}).join(t) + t : "") +
|
|
21952
|
+
}).join(t) + t : "") + o7(o);
|
|
21953
21953
|
}
|
|
21954
21954
|
return n(r);
|
|
21955
21955
|
}
|
|
21956
|
-
function
|
|
21956
|
+
function s7(r, e, t) {
|
|
21957
21957
|
t = t || {};
|
|
21958
21958
|
var n = t.newline ? `
|
|
21959
21959
|
` : "", i = " {" + n, a = n + "}", o = ee(Ze(r), function(l) {
|
|
@@ -21999,9 +21999,9 @@ function KT(r, e, t, n) {
|
|
|
21999
21999
|
viewBox: n ? "0 0 " + r + " " + e : !1
|
|
22000
22000
|
}, t);
|
|
22001
22001
|
}
|
|
22002
|
-
var
|
|
22002
|
+
var l7 = 0;
|
|
22003
22003
|
function pR() {
|
|
22004
|
-
return
|
|
22004
|
+
return l7++;
|
|
22005
22005
|
}
|
|
22006
22006
|
var QT = {
|
|
22007
22007
|
cubicIn: "0.32,0,0.67,0",
|
|
@@ -22026,17 +22026,17 @@ var QT = {
|
|
|
22026
22026
|
circularOut: "0,0.55,0.45,1",
|
|
22027
22027
|
circularInOut: "0.85,0,0.15,1"
|
|
22028
22028
|
}, Ao = "transform-origin";
|
|
22029
|
-
function
|
|
22029
|
+
function u7(r, e, t) {
|
|
22030
22030
|
var n = Y({}, r.shape);
|
|
22031
22031
|
Y(n, e), r.buildPath(t, n);
|
|
22032
22032
|
var i = new fR();
|
|
22033
22033
|
return i.reset(GI(r)), t.rebuildPath(i, 1), i.generateStr(), i.getStr();
|
|
22034
22034
|
}
|
|
22035
|
-
function
|
|
22035
|
+
function c7(r, e) {
|
|
22036
22036
|
var t = e.originX, n = e.originY;
|
|
22037
22037
|
(t || n) && (r[Ao] = t + "px " + n + "px");
|
|
22038
22038
|
}
|
|
22039
|
-
var
|
|
22039
|
+
var f7 = {
|
|
22040
22040
|
fill: "fill",
|
|
22041
22041
|
opacity: "opacity",
|
|
22042
22042
|
lineWidth: "stroke-width",
|
|
@@ -22046,7 +22046,7 @@ function gR(r, e) {
|
|
|
22046
22046
|
var t = e.zrId + "-ani-" + e.cssAnimIdx++;
|
|
22047
22047
|
return e.cssAnims[t] = r, t;
|
|
22048
22048
|
}
|
|
22049
|
-
function
|
|
22049
|
+
function d7(r, e, t) {
|
|
22050
22050
|
var n = r.shape.paths, i = {}, a, o;
|
|
22051
22051
|
if (N(n, function(l) {
|
|
22052
22052
|
var u = _b(t.zrId);
|
|
@@ -22076,7 +22076,7 @@ function JT(r) {
|
|
|
22076
22076
|
function jp(r, e, t, n) {
|
|
22077
22077
|
var i = r.animators, a = i.length, o = [];
|
|
22078
22078
|
if (r instanceof zp) {
|
|
22079
|
-
var s =
|
|
22079
|
+
var s = d7(r, e, t);
|
|
22080
22080
|
if (s)
|
|
22081
22081
|
o.push(s);
|
|
22082
22082
|
else if (!a)
|
|
@@ -22114,7 +22114,7 @@ function jp(r, e, t, n) {
|
|
|
22114
22114
|
var P = HI(I), k = S[L][T];
|
|
22115
22115
|
C[L] = P ? {
|
|
22116
22116
|
transform: P
|
|
22117
|
-
} : {},
|
|
22117
|
+
} : {}, c7(C[L], I), k && (C[L][T] = k);
|
|
22118
22118
|
}
|
|
22119
22119
|
var R, O = !0;
|
|
22120
22120
|
for (var L in w) {
|
|
@@ -22122,7 +22122,7 @@ function jp(r, e, t, n) {
|
|
|
22122
22122
|
var z = !R, k = w[L][T];
|
|
22123
22123
|
z && (R = new gi());
|
|
22124
22124
|
var V = R.len();
|
|
22125
|
-
R.reset(), C[L].d =
|
|
22125
|
+
R.reset(), C[L].d = u7(r, w[L], R);
|
|
22126
22126
|
var F = R.len();
|
|
22127
22127
|
if (!z && V !== F) {
|
|
22128
22128
|
O = !1;
|
|
@@ -22137,7 +22137,7 @@ function jp(r, e, t, n) {
|
|
|
22137
22137
|
for (var D = 0; D < _; D++) {
|
|
22138
22138
|
var M = b[D], E = M.targetName;
|
|
22139
22139
|
E === "style" && A(M, C, function(U) {
|
|
22140
|
-
return
|
|
22140
|
+
return f7[U];
|
|
22141
22141
|
});
|
|
22142
22142
|
}
|
|
22143
22143
|
for (var H = Ze(C), $ = !0, J, D = 1; D < H.length; D++) {
|
|
@@ -22171,7 +22171,7 @@ function jp(r, e, t, n) {
|
|
|
22171
22171
|
}, e.class = m;
|
|
22172
22172
|
}
|
|
22173
22173
|
}
|
|
22174
|
-
function
|
|
22174
|
+
function h7(r, e, t) {
|
|
22175
22175
|
if (!r.ignore)
|
|
22176
22176
|
if (r.isSilent()) {
|
|
22177
22177
|
var n = {
|
|
@@ -22207,10 +22207,10 @@ function yR(r) {
|
|
|
22207
22207
|
return r && _e(r.toDataURL);
|
|
22208
22208
|
}
|
|
22209
22209
|
function h1(r, e, t, n) {
|
|
22210
|
-
|
|
22210
|
+
r7(function(i, a) {
|
|
22211
22211
|
var o = i === "fill" || i === "stroke";
|
|
22212
22212
|
o && FI(a) ? _R(e, r, i, n) : o && dx(a) ? xR(t, r, i, n) : r[i] = a, o && n.ssr && a === "none" && (r["pointer-events"] = "visible");
|
|
22213
|
-
}, e, t, !1),
|
|
22213
|
+
}, e, t, !1), _7(t, r, n);
|
|
22214
22214
|
}
|
|
22215
22215
|
function v1(r, e) {
|
|
22216
22216
|
var t = F3(e);
|
|
@@ -22221,11 +22221,11 @@ function v1(r, e) {
|
|
|
22221
22221
|
function tD(r) {
|
|
22222
22222
|
return Ca(r[0] - 1) && Ca(r[1]) && Ca(r[2]) && Ca(r[3] - 1);
|
|
22223
22223
|
}
|
|
22224
|
-
function
|
|
22224
|
+
function v7(r) {
|
|
22225
22225
|
return Ca(r[4]) && Ca(r[5]);
|
|
22226
22226
|
}
|
|
22227
22227
|
function p1(r, e, t) {
|
|
22228
|
-
if (e && !(
|
|
22228
|
+
if (e && !(v7(e) && tD(e))) {
|
|
22229
22229
|
var n = 1e4;
|
|
22230
22230
|
r.transform = tD(e) ? "translate(" + rf(e[4] * n) / n + " " + rf(e[5] * n) / n + ")" : l3(e);
|
|
22231
22231
|
}
|
|
@@ -22238,7 +22238,7 @@ function rD(r, e, t) {
|
|
|
22238
22238
|
function nD(r) {
|
|
22239
22239
|
return !r.smooth;
|
|
22240
22240
|
}
|
|
22241
|
-
function
|
|
22241
|
+
function p7(r) {
|
|
22242
22242
|
var e = ee(r, function(t) {
|
|
22243
22243
|
return typeof t == "string" ? [t, t] : t;
|
|
22244
22244
|
});
|
|
@@ -22249,20 +22249,20 @@ function pX(r) {
|
|
|
22249
22249
|
}
|
|
22250
22250
|
};
|
|
22251
22251
|
}
|
|
22252
|
-
var
|
|
22253
|
-
circle: [
|
|
22252
|
+
var g7 = {
|
|
22253
|
+
circle: [p7(["cx", "cy", "r"])],
|
|
22254
22254
|
polyline: [rD, nD],
|
|
22255
22255
|
polygon: [rD, nD]
|
|
22256
22256
|
};
|
|
22257
|
-
function
|
|
22257
|
+
function m7(r) {
|
|
22258
22258
|
for (var e = r.animators, t = 0; t < e.length; t++)
|
|
22259
22259
|
if (e[t].targetName === "shape")
|
|
22260
22260
|
return !0;
|
|
22261
22261
|
return !1;
|
|
22262
22262
|
}
|
|
22263
22263
|
function bR(r, e) {
|
|
22264
|
-
var t = r.style, n = r.shape, i =
|
|
22265
|
-
if (i && !e.willUpdate && !(i[1] && !i[1](n)) && !(o &&
|
|
22264
|
+
var t = r.style, n = r.shape, i = g7[r.type], a = {}, o = e.animation, s = "path", l = r.style.strokePercent, u = e.compress && GI(r) || 4;
|
|
22265
|
+
if (i && !e.willUpdate && !(i[1] && !i[1](n)) && !(o && m7(r)) && !(l < 1)) {
|
|
22266
22266
|
s = r.type;
|
|
22267
22267
|
var c = Math.pow(10, u);
|
|
22268
22268
|
i[0](n, a, c);
|
|
@@ -22274,9 +22274,9 @@ function bR(r, e) {
|
|
|
22274
22274
|
var h = d.getVersion(), v = r, p = v.__svgPathBuilder;
|
|
22275
22275
|
(v.__svgPathVersion !== h || !p || l !== v.__svgPathStrokePercent) && (p || (p = v.__svgPathBuilder = new fR()), p.reset(u), d.rebuildPath(p, l), p.generateStr(), v.__svgPathVersion = h, v.__svgPathStrokePercent = l), a.d = p.getStr();
|
|
22276
22276
|
}
|
|
22277
|
-
return p1(a, r.transform), h1(a, t, r, e), v1(a, r), e.animation && jp(r, a, e), e.emphasis &&
|
|
22277
|
+
return p1(a, r.transform), h1(a, t, r, e), v1(a, r), e.animation && jp(r, a, e), e.emphasis && h7(r, a, e), jt(s, r.id + "", a);
|
|
22278
22278
|
}
|
|
22279
|
-
function
|
|
22279
|
+
function y7(r, e) {
|
|
22280
22280
|
var t = r.style, n = t.image;
|
|
22281
22281
|
if (n && !ue(n) && (mR(n) ? n = n.src : yR(n) && (n = n.toDataURL())), !!n) {
|
|
22282
22282
|
var i = t.x || 0, a = t.y || 0, o = t.width, s = t.height, l = {
|
|
@@ -22287,7 +22287,7 @@ function yX(r, e) {
|
|
|
22287
22287
|
return i && (l.x = i), a && (l.y = a), p1(l, r.transform), h1(l, t, r, e), v1(l, r), e.animation && jp(r, l, e), jt("image", r.id + "", l);
|
|
22288
22288
|
}
|
|
22289
22289
|
}
|
|
22290
|
-
function
|
|
22290
|
+
function b7(r, e) {
|
|
22291
22291
|
var t = r.style, n = t.text;
|
|
22292
22292
|
if (n != null && (n += ""), !(!n || isNaN(t.x) || isNaN(t.y))) {
|
|
22293
22293
|
var i = t.font || Hi, a = t.x || 0, o = c3(t.y || 0, Mf(i), t.textBaseline), s = u3[t.textAlign] || t.textAlign, l = {
|
|
@@ -22309,11 +22309,11 @@ function iD(r, e) {
|
|
|
22309
22309
|
if (r instanceof Xe)
|
|
22310
22310
|
return bR(r, e);
|
|
22311
22311
|
if (r instanceof or)
|
|
22312
|
-
return
|
|
22312
|
+
return y7(r, e);
|
|
22313
22313
|
if (r instanceof Bl)
|
|
22314
|
-
return
|
|
22314
|
+
return b7(r, e);
|
|
22315
22315
|
}
|
|
22316
|
-
function
|
|
22316
|
+
function _7(r, e, t) {
|
|
22317
22317
|
var n = r.style;
|
|
22318
22318
|
if (f3(n)) {
|
|
22319
22319
|
var i = d3(r), a = t.shadowCache, o = a[i];
|
|
@@ -22395,7 +22395,7 @@ function xR(r, e, t, n) {
|
|
|
22395
22395
|
A || (A = n.zrId + "-p" + n.patternIdx++, T[C] = A, o.id = A, w = n.defs[A] = jt("pattern", A, o, [f])), e[t] = Sp(A);
|
|
22396
22396
|
}
|
|
22397
22397
|
}
|
|
22398
|
-
function
|
|
22398
|
+
function x7(r, e, t) {
|
|
22399
22399
|
var n = t.clipPathCache, i = t.defs, a = n[r.id];
|
|
22400
22400
|
if (!a) {
|
|
22401
22401
|
a = t.zrId + "-c" + t.clipPathIdx++;
|
|
@@ -22427,14 +22427,14 @@ function SR(r) {
|
|
|
22427
22427
|
function Dm(r, e) {
|
|
22428
22428
|
r.textContent = e;
|
|
22429
22429
|
}
|
|
22430
|
-
var lD = 58,
|
|
22430
|
+
var lD = 58, w7 = 120, S7 = jt("", "");
|
|
22431
22431
|
function xb(r) {
|
|
22432
22432
|
return r === void 0;
|
|
22433
22433
|
}
|
|
22434
22434
|
function Zn(r) {
|
|
22435
22435
|
return r !== void 0;
|
|
22436
22436
|
}
|
|
22437
|
-
function
|
|
22437
|
+
function C7(r, e, t) {
|
|
22438
22438
|
for (var n = {}, i = e; i <= t; ++i) {
|
|
22439
22439
|
var a = r[i].key;
|
|
22440
22440
|
a !== void 0 && (process.env.NODE_ENV !== "production" && n[a] != null && console.error("Duplicate key " + a), n[a] = i);
|
|
@@ -22449,7 +22449,7 @@ function nf(r) {
|
|
|
22449
22449
|
var e, t = r.children, n = r.tag;
|
|
22450
22450
|
if (Zn(n)) {
|
|
22451
22451
|
var i = r.elm = vR(n);
|
|
22452
|
-
if (g1(
|
|
22452
|
+
if (g1(S7, r), Q(t))
|
|
22453
22453
|
for (e = 0; e < t.length; ++e) {
|
|
22454
22454
|
var a = t[e];
|
|
22455
22455
|
a != null && sD(i, nf(a));
|
|
@@ -22481,22 +22481,22 @@ function g1(r, e) {
|
|
|
22481
22481
|
if (i !== a) {
|
|
22482
22482
|
for (t in a) {
|
|
22483
22483
|
var o = a[t], s = i[t];
|
|
22484
|
-
s !== o && (o === !0 ? n.setAttribute(t, "") : o === !1 ? n.removeAttribute(t) : t === "style" ? n.style.cssText = o : t.charCodeAt(0) !==
|
|
22484
|
+
s !== o && (o === !0 ? n.setAttribute(t, "") : o === !1 ? n.removeAttribute(t) : t === "style" ? n.style.cssText = o : t.charCodeAt(0) !== w7 ? n.setAttribute(t, o) : t === "xmlns:xlink" || t === "xmlns" ? n.setAttributeNS(n7, t, o) : t.charCodeAt(3) === lD ? n.setAttributeNS(i7, t, o) : t.charCodeAt(5) === lD ? n.setAttributeNS(hR, t, o) : n.setAttribute(t, o));
|
|
22485
22485
|
}
|
|
22486
22486
|
for (t in i)
|
|
22487
22487
|
t in a || n.removeAttribute(t);
|
|
22488
22488
|
}
|
|
22489
22489
|
}
|
|
22490
|
-
function
|
|
22490
|
+
function T7(r, e, t) {
|
|
22491
22491
|
for (var n = 0, i = 0, a = e.length - 1, o = e[0], s = e[a], l = t.length - 1, u = t[0], c = t[l], f, d, h, v; n <= a && i <= l; )
|
|
22492
|
-
o == null ? o = e[++n] : s == null ? s = e[--a] : u == null ? u = t[++i] : c == null ? c = t[--l] : hc(o, u) ? (sl(o, u), o = e[++n], u = t[++i]) : hc(s, c) ? (sl(s, c), s = e[--a], c = t[--l]) : hc(o, c) ? (sl(o, c), Po(r, o.elm, SR(s.elm)), o = e[++n], c = t[--l]) : hc(s, u) ? (sl(s, u), Po(r, s.elm, o.elm), s = e[--a], u = t[++i]) : (xb(f) && (f =
|
|
22492
|
+
o == null ? o = e[++n] : s == null ? s = e[--a] : u == null ? u = t[++i] : c == null ? c = t[--l] : hc(o, u) ? (sl(o, u), o = e[++n], u = t[++i]) : hc(s, c) ? (sl(s, c), s = e[--a], c = t[--l]) : hc(o, c) ? (sl(o, c), Po(r, o.elm, SR(s.elm)), o = e[++n], c = t[--l]) : hc(s, u) ? (sl(s, u), Po(r, s.elm, o.elm), s = e[--a], u = t[++i]) : (xb(f) && (f = C7(e, n, a)), d = f[u.key], xb(d) ? Po(r, nf(u), o.elm) : (h = e[d], h.tag !== u.tag ? Po(r, nf(u), o.elm) : (sl(h, u), e[d] = void 0, Po(r, h.elm, o.elm))), u = t[++i]);
|
|
22493
22493
|
(n <= a || i <= l) && (n > a ? (v = t[l + 1] == null ? null : t[l + 1].elm, CR(r, v, t, i, l)) : Pv(r, e, n, a));
|
|
22494
22494
|
}
|
|
22495
22495
|
function sl(r, e) {
|
|
22496
22496
|
var t = e.elm = r.elm, n = r.children, i = e.children;
|
|
22497
|
-
r !== e && (g1(r, e), xb(e.text) ? Zn(n) && Zn(i) ? n !== i &&
|
|
22497
|
+
r !== e && (g1(r, e), xb(e.text) ? Zn(n) && Zn(i) ? n !== i && T7(t, n, i) : Zn(i) ? (Zn(r.text) && Dm(t, ""), CR(t, null, i, 0, i.length - 1)) : Zn(n) ? Pv(t, n, 0, n.length - 1) : Zn(r.text) && Dm(t, "") : r.text !== e.text && (Zn(n) && Pv(t, n, 0, n.length - 1), Dm(t, e.text)));
|
|
22498
22498
|
}
|
|
22499
|
-
function
|
|
22499
|
+
function D7(r, e) {
|
|
22500
22500
|
if (hc(r, e))
|
|
22501
22501
|
sl(r, e);
|
|
22502
22502
|
else {
|
|
@@ -22505,9 +22505,9 @@ function DX(r, e) {
|
|
|
22505
22505
|
}
|
|
22506
22506
|
return e;
|
|
22507
22507
|
}
|
|
22508
|
-
var
|
|
22508
|
+
var A7 = 0, M7 = (function() {
|
|
22509
22509
|
function r(e, t, n) {
|
|
22510
|
-
if (this.type = "svg", this.refreshHover = uD("refreshHover"), this.configLayer = uD("configLayer"), this.storage = t, this._opts = n = Y({}, n), this.root = e, this._id = "zr" +
|
|
22510
|
+
if (this.type = "svg", this.refreshHover = uD("refreshHover"), this.configLayer = uD("configLayer"), this.storage = t, this._opts = n = Y({}, n), this.root = e, this._id = "zr" + A7++, this._oldVNode = KT(n.width, n.height), e && !n.ssr) {
|
|
22511
22511
|
var i = this._viewport = document.createElement("div");
|
|
22512
22512
|
i.style.cssText = "position:relative;overflow:hidden";
|
|
22513
22513
|
var a = this._svgDom = this._oldVNode.elm = vR("svg");
|
|
@@ -22533,7 +22533,7 @@ var AX = 0, MX = (function() {
|
|
|
22533
22533
|
var e = this.renderToVNode({
|
|
22534
22534
|
willUpdate: !0
|
|
22535
22535
|
});
|
|
22536
|
-
e.attrs.style = "position:absolute;left:0;top:0;user-select:none",
|
|
22536
|
+
e.attrs.style = "position:absolute;left:0;top:0;user-select:none", D7(this._oldVNode, e), this._oldVNode = e;
|
|
22537
22537
|
}
|
|
22538
22538
|
}, r.prototype.renderOneToVNode = function(e) {
|
|
22539
22539
|
return iD(e, _b(this._id));
|
|
@@ -22541,7 +22541,7 @@ var AX = 0, MX = (function() {
|
|
|
22541
22541
|
e = e || {};
|
|
22542
22542
|
var t = this.storage.getDisplayList(!0), n = this._width, i = this._height, a = _b(this._id);
|
|
22543
22543
|
a.animation = e.animation, a.willUpdate = e.willUpdate, a.compress = e.compress, a.emphasis = e.emphasis, a.ssr = this._opts.ssr;
|
|
22544
|
-
var o = [], s = this._bgVNode =
|
|
22544
|
+
var o = [], s = this._bgVNode = L7(n, i, this._backgroundColor, a);
|
|
22545
22545
|
s && o.push(s);
|
|
22546
22546
|
var l = e.compress ? null : this._mainVNode = jt("g", "main", {}, []);
|
|
22547
22547
|
this._paintList(t, a, l ? l.children : o), l && o.push(l);
|
|
@@ -22549,7 +22549,7 @@ var AX = 0, MX = (function() {
|
|
|
22549
22549
|
return a.defs[d];
|
|
22550
22550
|
});
|
|
22551
22551
|
if (u.length && o.push(jt("defs", "defs", {}, u)), e.animation) {
|
|
22552
|
-
var c =
|
|
22552
|
+
var c = s7(a.cssNodes, a.cssAnims, { newline: !0 });
|
|
22553
22553
|
if (c) {
|
|
22554
22554
|
var f = jt("style", "stl", {}, [], c);
|
|
22555
22555
|
o.push(f);
|
|
@@ -22579,7 +22579,7 @@ var AX = 0, MX = (function() {
|
|
|
22579
22579
|
o--, s = a[o - 1];
|
|
22580
22580
|
for (var m = p + 1; m < h; m++) {
|
|
22581
22581
|
var y = {};
|
|
22582
|
-
|
|
22582
|
+
x7(d[m], y, t);
|
|
22583
22583
|
var b = jt("g", "clip-g-" + u++, y, []);
|
|
22584
22584
|
(s ? s.children : n).push(b), a[o++] = b, s = b;
|
|
22585
22585
|
}
|
|
@@ -22622,7 +22622,7 @@ function uD(r) {
|
|
|
22622
22622
|
process.env.NODE_ENV !== "production" && An('In SVG mode painter not support method "' + r + '"');
|
|
22623
22623
|
};
|
|
22624
22624
|
}
|
|
22625
|
-
function
|
|
22625
|
+
function L7(r, e, t, n) {
|
|
22626
22626
|
var i;
|
|
22627
22627
|
if (t && t !== "none")
|
|
22628
22628
|
if (i = jt("rect", "bg", {
|
|
@@ -22648,8 +22648,8 @@ function LX(r, e, t, n) {
|
|
|
22648
22648
|
}
|
|
22649
22649
|
return i;
|
|
22650
22650
|
}
|
|
22651
|
-
function
|
|
22652
|
-
r.registerPainter("svg",
|
|
22651
|
+
function E7(r) {
|
|
22652
|
+
r.registerPainter("svg", M7);
|
|
22653
22653
|
}
|
|
22654
22654
|
function cD(r, e, t) {
|
|
22655
22655
|
var n = In.createCanvas(), i = e.getWidth(), a = e.getHeight(), o = n.style;
|
|
@@ -22772,11 +22772,11 @@ var Am = (function(r) {
|
|
|
22772
22772
|
v(p.x * f, p.y * f, p.width * f, p.height * f);
|
|
22773
22773
|
});
|
|
22774
22774
|
}, e;
|
|
22775
|
-
})(yn), fD = 1e5, To = 314159, Od = 0.01,
|
|
22776
|
-
function
|
|
22775
|
+
})(yn), fD = 1e5, To = 314159, Od = 0.01, N7 = 1e-3;
|
|
22776
|
+
function I7(r) {
|
|
22777
22777
|
return r ? r.__builtin__ ? !0 : !(typeof r.resize != "function" || typeof r.refresh != "function") : !1;
|
|
22778
22778
|
}
|
|
22779
|
-
function
|
|
22779
|
+
function k7(r, e) {
|
|
22780
22780
|
var t = document.createElement("div");
|
|
22781
22781
|
return t.style.cssText = [
|
|
22782
22782
|
"position:relative",
|
|
@@ -22787,7 +22787,7 @@ function kX(r, e) {
|
|
|
22787
22787
|
"border-width:0"
|
|
22788
22788
|
].join(";") + ";", t;
|
|
22789
22789
|
}
|
|
22790
|
-
var
|
|
22790
|
+
var P7 = (function() {
|
|
22791
22791
|
function r(e, t, n, i) {
|
|
22792
22792
|
this.type = "canvas", this._zlevelList = [], this._prevDisplayList = [], this._layers = {}, this._layerConfig = {}, this._needsManuallyCompositing = !1, this.type = "canvas";
|
|
22793
22793
|
var a = !e.nodeName || e.nodeName.toUpperCase() === "CANVAS";
|
|
@@ -22804,7 +22804,7 @@ var PX = (function() {
|
|
|
22804
22804
|
h.__builtin__ = !0, h.initContext(), l[To] = h, h.zlevel = To, s.push(To), this._domRoot = e;
|
|
22805
22805
|
} else {
|
|
22806
22806
|
this._width = gl(e, 0, n), this._height = gl(e, 1, n);
|
|
22807
|
-
var u = this._domRoot =
|
|
22807
|
+
var u = this._domRoot = k7(this._width, this._height);
|
|
22808
22808
|
e.appendChild(u);
|
|
22809
22809
|
}
|
|
22810
22810
|
}
|
|
@@ -22939,7 +22939,7 @@ var PX = (function() {
|
|
|
22939
22939
|
process.env.NODE_ENV !== "production" && An("ZLevel " + e + " has been used already");
|
|
22940
22940
|
return;
|
|
22941
22941
|
}
|
|
22942
|
-
if (!
|
|
22942
|
+
if (!I7(t)) {
|
|
22943
22943
|
process.env.NODE_ENV !== "production" && An("Layer of zlevel " + e + " is not valid");
|
|
22944
22944
|
return;
|
|
22945
22945
|
}
|
|
@@ -22990,7 +22990,7 @@ var PX = (function() {
|
|
|
22990
22990
|
var a = null, o = 0, s, l;
|
|
22991
22991
|
for (l = 0; l < e.length; l++) {
|
|
22992
22992
|
var i = e[l], u = i.zlevel, c = void 0;
|
|
22993
|
-
s !== u && (s = u, o = 0), i.incremental ? (c = this.getLayer(u +
|
|
22993
|
+
s !== u && (s = u, o = 0), i.incremental ? (c = this.getLayer(u + N7, this._needsManuallyCompositing), c.incremental = !0, o = 1) : c = this.getLayer(u + (o > 0 ? Od : 0), this._needsManuallyCompositing), c.__builtin__ || An("ZLevel " + u + " has been used by unkown layer " + c.id), c !== a && (c.__used = !0, c.__startIndex !== l && (c.__dirty = !0), c.__startIndex = l, c.incremental ? c.__drawIndex = -1 : c.__drawIndex = l, t(l), a = c), i.__dirty & Ur && !i.__inHover && (c.__dirty = !0, c.incremental && c.__drawIndex < 0 && (c.__drawIndex = l));
|
|
22994
22994
|
}
|
|
22995
22995
|
t(l), this.eachBuiltinLayer(function(f, d) {
|
|
22996
22996
|
!f.__used && f.getElementCount() > 0 && (f.__dirty = !0, f.__startIndex = f.__endIndex = f.__drawIndex = 0), f.__dirty && f.__drawIndex < 0 && (f.__drawIndex = f.__startIndex);
|
|
@@ -23069,10 +23069,10 @@ var PX = (function() {
|
|
|
23069
23069
|
return this._height;
|
|
23070
23070
|
}, r;
|
|
23071
23071
|
})();
|
|
23072
|
-
function
|
|
23073
|
-
r.registerPainter("canvas",
|
|
23072
|
+
function R7(r) {
|
|
23073
|
+
r.registerPainter("canvas", P7);
|
|
23074
23074
|
}
|
|
23075
|
-
var
|
|
23075
|
+
var O7 = (
|
|
23076
23076
|
/** @class */
|
|
23077
23077
|
(function(r) {
|
|
23078
23078
|
G(e, r);
|
|
@@ -23192,7 +23192,7 @@ var Vf = (
|
|
|
23192
23192
|
culling: !0,
|
|
23193
23193
|
scaleX: a[0] / 2,
|
|
23194
23194
|
scaleY: a[1] / 2
|
|
23195
|
-
}), l.drift =
|
|
23195
|
+
}), l.drift = B7, this._symbolType = t, this.add(l);
|
|
23196
23196
|
}, e.prototype.stopSymbolAnimation = function(t) {
|
|
23197
23197
|
this.childAt(0).stopAnimation(null, t);
|
|
23198
23198
|
}, e.prototype.getSymbolType = function() {
|
|
@@ -23317,7 +23317,7 @@ var Vf = (
|
|
|
23317
23317
|
}, e;
|
|
23318
23318
|
})(xe)
|
|
23319
23319
|
);
|
|
23320
|
-
function
|
|
23320
|
+
function B7(r, e) {
|
|
23321
23321
|
this.parent.drift(r, e);
|
|
23322
23322
|
}
|
|
23323
23323
|
function Mm(r, e, t, n) {
|
|
@@ -23418,7 +23418,7 @@ var Ff = (
|
|
|
23418
23418
|
})()
|
|
23419
23419
|
);
|
|
23420
23420
|
function DR(r, e, t) {
|
|
23421
|
-
var n = r.getBaseAxis(), i = r.getOtherAxis(n), a =
|
|
23421
|
+
var n = r.getBaseAxis(), i = r.getOtherAxis(n), a = z7(i, t), o = n.dim, s = i.dim, l = e.mapDimension(s), u = e.mapDimension(o), c = s === "x" || s === "radius" ? 1 : 0, f = ee(r.dimensions, function(v) {
|
|
23422
23422
|
return e.mapDimension(v);
|
|
23423
23423
|
}), d = !1, h = e.getCalculationInfo("stackResultDimension");
|
|
23424
23424
|
return Va(
|
|
@@ -23441,7 +23441,7 @@ function DR(r, e, t) {
|
|
|
23441
23441
|
stackedOverDimension: e.getCalculationInfo("stackedOverDimension")
|
|
23442
23442
|
};
|
|
23443
23443
|
}
|
|
23444
|
-
function
|
|
23444
|
+
function z7(r, e) {
|
|
23445
23445
|
var t = 0, n = r.scale.getExtent();
|
|
23446
23446
|
return e === "start" ? t = n[0] : e === "end" ? t = n[1] : Qe(e) && !isNaN(e) ? t = e : n[0] > 0 ? t = n[0] : n[1] < 0 && (t = n[1]), t;
|
|
23447
23447
|
}
|
|
@@ -23451,7 +23451,7 @@ function AR(r, e, t, n) {
|
|
|
23451
23451
|
var a = r.baseDataOffset, o = [];
|
|
23452
23452
|
return o[a] = t.get(r.baseDim, n), o[1 - a] = i, e.dataToPoint(o);
|
|
23453
23453
|
}
|
|
23454
|
-
function
|
|
23454
|
+
function V7(r, e) {
|
|
23455
23455
|
var t = [];
|
|
23456
23456
|
return e.diff(r).add(function(n) {
|
|
23457
23457
|
t.push({
|
|
@@ -23471,8 +23471,8 @@ function VX(r, e) {
|
|
|
23471
23471
|
});
|
|
23472
23472
|
}).execute(), t;
|
|
23473
23473
|
}
|
|
23474
|
-
function
|
|
23475
|
-
for (var l =
|
|
23474
|
+
function F7(r, e, t, n, i, a, o, s) {
|
|
23475
|
+
for (var l = V7(r, e), u = [], c = [], f = [], d = [], h = [], v = [], p = [], g = DR(i, e, o), m = r.getLayout("points") || [], y = e.getLayout("points") || [], b = 0; b < l.length; b++) {
|
|
23476
23476
|
var _ = l[b], S = !0, w = void 0, C = void 0;
|
|
23477
23477
|
switch (_.cmd) {
|
|
23478
23478
|
case "=":
|
|
@@ -23570,7 +23570,7 @@ var MR = (
|
|
|
23570
23570
|
}
|
|
23571
23571
|
return r;
|
|
23572
23572
|
})()
|
|
23573
|
-
),
|
|
23573
|
+
), G7 = (
|
|
23574
23574
|
/** @class */
|
|
23575
23575
|
(function(r) {
|
|
23576
23576
|
G(e, r);
|
|
@@ -23627,7 +23627,7 @@ var MR = (
|
|
|
23627
23627
|
}
|
|
23628
23628
|
}, e;
|
|
23629
23629
|
})(Xe)
|
|
23630
|
-
),
|
|
23630
|
+
), H7 = (
|
|
23631
23631
|
/** @class */
|
|
23632
23632
|
(function(r) {
|
|
23633
23633
|
G(e, r);
|
|
@@ -23645,7 +23645,7 @@ var MR = (
|
|
|
23645
23645
|
return n.type = "ec-polygon", n;
|
|
23646
23646
|
}
|
|
23647
23647
|
return e.prototype.getDefaultShape = function() {
|
|
23648
|
-
return new
|
|
23648
|
+
return new H7();
|
|
23649
23649
|
}, e.prototype.buildPath = function(t, n) {
|
|
23650
23650
|
var i = n.points, a = n.stackedOnPoints, o = 0, s = i.length / 2, l = n.smoothMonotone;
|
|
23651
23651
|
if (n.connectNulls) {
|
|
@@ -23746,7 +23746,7 @@ function gD(r, e) {
|
|
|
23746
23746
|
function mD(r) {
|
|
23747
23747
|
return Qe(r) ? r : r ? 0.5 : 0;
|
|
23748
23748
|
}
|
|
23749
|
-
function
|
|
23749
|
+
function W7(r, e, t) {
|
|
23750
23750
|
if (!t.valueDim)
|
|
23751
23751
|
return [];
|
|
23752
23752
|
for (var n = e.count(), i = ai(n * 2), a = 0; a < n; a++) {
|
|
@@ -23778,7 +23778,7 @@ function da(r, e, t, n, i) {
|
|
|
23778
23778
|
}
|
|
23779
23779
|
return s.push(r[l++], r[l++]), s;
|
|
23780
23780
|
}
|
|
23781
|
-
function $
|
|
23781
|
+
function $7(r, e) {
|
|
23782
23782
|
var t = [], n = r.length, i, a;
|
|
23783
23783
|
function o(c, f, d) {
|
|
23784
23784
|
var h = c.coord, v = (d - h) / (f.coord - h), p = s3(v, [c.color, f.color]);
|
|
@@ -23799,7 +23799,7 @@ function $X(r, e) {
|
|
|
23799
23799
|
}
|
|
23800
23800
|
return t;
|
|
23801
23801
|
}
|
|
23802
|
-
function
|
|
23802
|
+
function U7(r, e, t) {
|
|
23803
23803
|
var n = r.getVisual("visualMeta");
|
|
23804
23804
|
if (!(!n || !n.length || !r.count())) {
|
|
23805
23805
|
if (e.type !== "cartesian2d") {
|
|
@@ -23824,7 +23824,7 @@ function UX(r, e, t) {
|
|
|
23824
23824
|
};
|
|
23825
23825
|
}), c = u.length, f = a.outerColors.slice();
|
|
23826
23826
|
c && u[0].coord > u[c - 1].coord && (u.reverse(), f.reverse());
|
|
23827
|
-
var d = $
|
|
23827
|
+
var d = $7(u, i === "x" ? t.getWidth() : t.getHeight()), h = d.length;
|
|
23828
23828
|
if (!h && c)
|
|
23829
23829
|
return u[0].coord < 0 ? f[1] ? f[1] : u[c - 1].color : f[0] ? f[0] : u[0].color;
|
|
23830
23830
|
var v = 10, p = d[0].coord - v, g = d[h - 1].coord + v, m = g - p;
|
|
@@ -23844,11 +23844,11 @@ function UX(r, e, t) {
|
|
|
23844
23844
|
return y[i] = p, y[i + "2"] = g, y;
|
|
23845
23845
|
}
|
|
23846
23846
|
}
|
|
23847
|
-
function
|
|
23847
|
+
function Y7(r, e, t) {
|
|
23848
23848
|
var n = r.get("showAllSymbol"), i = n === "auto";
|
|
23849
23849
|
if (!(n && !i)) {
|
|
23850
23850
|
var a = t.getAxesByScale("ordinal")[0];
|
|
23851
|
-
if (a && !(i &&
|
|
23851
|
+
if (a && !(i && X7(a, e))) {
|
|
23852
23852
|
var o = e.mapDimension(a.dim), s = {};
|
|
23853
23853
|
return N(a.getViewLabels(), function(l) {
|
|
23854
23854
|
var u = a.scale.getRawOrdinalNumber(l.tickValue);
|
|
@@ -23859,7 +23859,7 @@ function YX(r, e, t) {
|
|
|
23859
23859
|
}
|
|
23860
23860
|
}
|
|
23861
23861
|
}
|
|
23862
|
-
function
|
|
23862
|
+
function X7(r, e) {
|
|
23863
23863
|
var t = r.getExtent(), n = Math.abs(t[1] - t[0]) / r.scale.count();
|
|
23864
23864
|
isNaN(n) && (n = 0);
|
|
23865
23865
|
for (var i = e.count(), a = Math.max(1, Math.round(i / 5)), o = 0; o < i; o += a)
|
|
@@ -23871,18 +23871,18 @@ function XX(r, e) {
|
|
|
23871
23871
|
return !1;
|
|
23872
23872
|
return !0;
|
|
23873
23873
|
}
|
|
23874
|
-
function
|
|
23874
|
+
function q7(r, e) {
|
|
23875
23875
|
return isNaN(r) || isNaN(e);
|
|
23876
23876
|
}
|
|
23877
|
-
function
|
|
23878
|
-
for (var e = r.length / 2; e > 0 &&
|
|
23877
|
+
function Z7(r) {
|
|
23878
|
+
for (var e = r.length / 2; e > 0 && q7(r[e * 2 - 2], r[e * 2 - 1]); e--)
|
|
23879
23879
|
;
|
|
23880
23880
|
return e - 1;
|
|
23881
23881
|
}
|
|
23882
23882
|
function yD(r, e) {
|
|
23883
23883
|
return [r[e * 2], r[e * 2 + 1]];
|
|
23884
23884
|
}
|
|
23885
|
-
function
|
|
23885
|
+
function j7(r, e, t) {
|
|
23886
23886
|
for (var n = r.length / 2, i = t === "x" ? 0 : 1, a, o, s = 0, l = -1, u = 0; u < n; u++)
|
|
23887
23887
|
if (o = r[u * 2 + i], !(isNaN(o) || isNaN(r[u * 2 + 1 - i]))) {
|
|
23888
23888
|
if (u === 0) {
|
|
@@ -23929,7 +23929,7 @@ function Lm(r, e, t, n) {
|
|
|
23929
23929
|
} else
|
|
23930
23930
|
return process.env.NODE_ENV !== "production" && n.get(["endLabel", "show"]) && console.warn("endLabel is not supported for lines in polar systems."), NR(e, t, n);
|
|
23931
23931
|
}
|
|
23932
|
-
function
|
|
23932
|
+
function K7(r, e) {
|
|
23933
23933
|
var t = e.getBaseAxis(), n = t.isHorizontal(), i = t.inverse, a = n ? i ? "right" : "left" : "center", o = n ? "middle" : i ? "top" : "bottom";
|
|
23934
23934
|
return {
|
|
23935
23935
|
normal: {
|
|
@@ -23938,7 +23938,7 @@ function KX(r, e) {
|
|
|
23938
23938
|
}
|
|
23939
23939
|
};
|
|
23940
23940
|
}
|
|
23941
|
-
var
|
|
23941
|
+
var Q7 = (
|
|
23942
23942
|
/** @class */
|
|
23943
23943
|
(function(r) {
|
|
23944
23944
|
G(e, r);
|
|
@@ -23949,13 +23949,13 @@ var QX = (
|
|
|
23949
23949
|
var t = new xe(), n = new Ff();
|
|
23950
23950
|
this.group.add(n.group), this._symbolDraw = n, this._lineGroup = t, this._changePolyState = ce(this._changePolyState, this);
|
|
23951
23951
|
}, e.prototype.render = function(t, n, i) {
|
|
23952
|
-
var a = t.coordinateSystem, o = this.group, s = t.getData(), l = t.getModel("lineStyle"), u = t.getModel("areaStyle"), c = s.getLayout("points") || [], f = a.type === "polar", d = this._coordSys, h = this._symbolDraw, v = this._polyline, p = this._polygon, g = this._lineGroup, m = !n.ssr && t.get("animation"), y = !u.isEmpty(), b = u.get("origin"), _ = DR(a, s, b), S = y &&
|
|
23952
|
+
var a = t.coordinateSystem, o = this.group, s = t.getData(), l = t.getModel("lineStyle"), u = t.getModel("areaStyle"), c = s.getLayout("points") || [], f = a.type === "polar", d = this._coordSys, h = this._symbolDraw, v = this._polyline, p = this._polygon, g = this._lineGroup, m = !n.ssr && t.get("animation"), y = !u.isEmpty(), b = u.get("origin"), _ = DR(a, s, b), S = y && W7(a, s, _), w = t.get("showSymbol"), C = t.get("connectNulls"), T = w && !f && Y7(t, s, a), A = this._data;
|
|
23953
23953
|
A && A.eachItemGraphicEl(function(Z, re) {
|
|
23954
23954
|
Z.__temp && (o.remove(Z), A.setItemGraphicEl(re, null));
|
|
23955
23955
|
}), w || h.remove(), o.add(g);
|
|
23956
23956
|
var D = f ? !1 : t.get("step"), M;
|
|
23957
23957
|
a && a.getArea && t.get("clip", !0) && (M = a.getArea(), M.width != null ? (M.x -= 0.1, M.y -= 0.1, M.width += 0.2, M.height += 0.2) : M.r0 && (M.r0 -= 0.5, M.r += 0.5)), this._clipShapeForSymbol = M;
|
|
23958
|
-
var E =
|
|
23958
|
+
var E = U7(s, a, i) || s.getVisual("style")[s.getVisual("drawType")];
|
|
23959
23959
|
if (!(v && d.type === a.type && D === this._step))
|
|
23960
23960
|
w && h.updateData(s, {
|
|
23961
23961
|
isIgnore: T,
|
|
@@ -24063,7 +24063,7 @@ var QX = (
|
|
|
24063
24063
|
cv(this._polyline, t), n && cv(n, t);
|
|
24064
24064
|
}, e.prototype._newPolyline = function(t) {
|
|
24065
24065
|
var n = this._polyline;
|
|
24066
|
-
return n && this._lineGroup.remove(n), n = new
|
|
24066
|
+
return n && this._lineGroup.remove(n), n = new G7({
|
|
24067
24067
|
shape: {
|
|
24068
24068
|
points: t
|
|
24069
24069
|
},
|
|
@@ -24133,7 +24133,7 @@ var QX = (
|
|
|
24133
24133
|
z2: 200
|
|
24134
24134
|
// should be higher than item symbol
|
|
24135
24135
|
}), u.ignoreClip = !0, s.setTextContent(this._endLabel), s.disableLabelAnimation = !0);
|
|
24136
|
-
var c =
|
|
24136
|
+
var c = Z7(l);
|
|
24137
24137
|
c >= 0 && (Qt(s, Yt(t, "endLabel"), {
|
|
24138
24138
|
inheritColor: i,
|
|
24139
24139
|
labelFetcher: t,
|
|
@@ -24142,13 +24142,13 @@ var QX = (
|
|
|
24142
24142
|
return h != null ? TR(o, h) : $l(o, f);
|
|
24143
24143
|
},
|
|
24144
24144
|
enableTextSetter: !0
|
|
24145
|
-
},
|
|
24145
|
+
}, K7(a, n)), s.textConfig.position = null);
|
|
24146
24146
|
} else this._endLabel && (this._polyline.removeTextContent(), this._endLabel = null);
|
|
24147
24147
|
}, e.prototype._endLabelOnDuring = function(t, n, i, a, o, s, l) {
|
|
24148
24148
|
var u = this._endLabel, c = this._polyline;
|
|
24149
24149
|
if (u) {
|
|
24150
24150
|
t < 1 && a.originalX == null && (a.originalX = u.x, a.originalY = u.y);
|
|
24151
|
-
var f = i.getLayout("points"), d = i.hostModel, h = d.get("connectNulls"), v = s.get("precision"), p = s.get("distance") || 0, g = l.getBaseAxis(), m = g.isHorizontal(), y = g.inverse, b = n.shape, _ = y ? m ? b.x : b.y + b.height : m ? b.x + b.width : b.y, S = (m ? p : 0) * (y ? -1 : 1), w = (m ? 0 : -p) * (y ? -1 : 1), C = m ? "x" : "y", T =
|
|
24151
|
+
var f = i.getLayout("points"), d = i.hostModel, h = d.get("connectNulls"), v = s.get("precision"), p = s.get("distance") || 0, g = l.getBaseAxis(), m = g.isHorizontal(), y = g.inverse, b = n.shape, _ = y ? m ? b.x : b.y + b.height : m ? b.x + b.width : b.y, S = (m ? p : 0) * (y ? -1 : 1), w = (m ? 0 : -p) * (y ? -1 : 1), C = m ? "x" : "y", T = j7(f, _, C), A = T.range, D = A[1] - A[0], M = void 0;
|
|
24152
24152
|
if (D >= 1) {
|
|
24153
24153
|
if (D > 1 && !h) {
|
|
24154
24154
|
var E = yD(f, A[0]);
|
|
@@ -24179,7 +24179,7 @@ var QX = (
|
|
|
24179
24179
|
}
|
|
24180
24180
|
}
|
|
24181
24181
|
}, e.prototype._doUpdateAnimation = function(t, n, i, a, o, s, l) {
|
|
24182
|
-
var u = this._polyline, c = this._polygon, f = t.hostModel, d =
|
|
24182
|
+
var u = this._polyline, c = this._polygon, f = t.hostModel, d = F7(this._data, t, this._stackedOnPoints, n, this._coordSys, i, this._valueOrigin), h = d.current, v = d.stackedOnCurrent, p = d.next, g = d.stackedOnNext;
|
|
24183
24183
|
if (o && (v = da(d.stackedOnCurrent, d.current, i, o, l), h = da(d.current, null, i, o, l), g = da(d.stackedOnNext, d.next, i, o, l), p = da(d.next, null, i, o, l)), gD(h, p) > 3e3 || c && gD(v, g) > 3e3) {
|
|
24184
24184
|
u.stopAnimation(), u.setShape({
|
|
24185
24185
|
points: p
|
|
@@ -24260,7 +24260,7 @@ function Hf(r, e) {
|
|
|
24260
24260
|
}
|
|
24261
24261
|
};
|
|
24262
24262
|
}
|
|
24263
|
-
var
|
|
24263
|
+
var J7 = {
|
|
24264
24264
|
average: function(r) {
|
|
24265
24265
|
for (var e = 0, t = 0, n = 0; n < r.length; n++)
|
|
24266
24266
|
isNaN(r[n]) || (e += r[n], t++);
|
|
@@ -24286,7 +24286,7 @@ var JX = {
|
|
|
24286
24286
|
nearest: function(r) {
|
|
24287
24287
|
return r[0];
|
|
24288
24288
|
}
|
|
24289
|
-
},
|
|
24289
|
+
}, eX = function(r) {
|
|
24290
24290
|
return Math.round(r.length / 2);
|
|
24291
24291
|
};
|
|
24292
24292
|
function kR(r) {
|
|
@@ -24301,14 +24301,14 @@ function kR(r) {
|
|
|
24301
24301
|
if (isFinite(h) && h > 1) {
|
|
24302
24302
|
a === "lttb" ? e.setData(i.lttbDownSample(i.mapDimension(u.dim), 1 / h)) : a === "minmax" && e.setData(i.minmaxDownSample(i.mapDimension(u.dim), 1 / h));
|
|
24303
24303
|
var v = void 0;
|
|
24304
|
-
ue(a) ? v =
|
|
24304
|
+
ue(a) ? v = J7[a] : _e(a) && (v = a), v && e.setData(i.downSample(i.mapDimension(u.dim), 1 / h, v, eX));
|
|
24305
24305
|
}
|
|
24306
24306
|
}
|
|
24307
24307
|
}
|
|
24308
24308
|
};
|
|
24309
24309
|
}
|
|
24310
|
-
function
|
|
24311
|
-
r.registerChartView(
|
|
24310
|
+
function tX(r) {
|
|
24311
|
+
r.registerChartView(Q7), r.registerSeriesModel(O7), r.registerLayout(Hf("line", !0)), r.registerVisual({
|
|
24312
24312
|
seriesType: "line",
|
|
24313
24313
|
reset: function(e) {
|
|
24314
24314
|
var t = e.getData(), n = e.getModel("lineStyle").getLineStyle();
|
|
@@ -24386,7 +24386,7 @@ var af = (
|
|
|
24386
24386
|
})(vt)
|
|
24387
24387
|
);
|
|
24388
24388
|
vt.registerClass(af);
|
|
24389
|
-
var
|
|
24389
|
+
var rX = (
|
|
24390
24390
|
/** @class */
|
|
24391
24391
|
(function(r) {
|
|
24392
24392
|
G(e, r);
|
|
@@ -24433,7 +24433,7 @@ var r7 = (
|
|
|
24433
24433
|
realtimeSort: !1
|
|
24434
24434
|
}), e;
|
|
24435
24435
|
})(af)
|
|
24436
|
-
),
|
|
24436
|
+
), nX = (
|
|
24437
24437
|
/** @class */
|
|
24438
24438
|
/* @__PURE__ */ (function() {
|
|
24439
24439
|
function r() {
|
|
@@ -24450,7 +24450,7 @@ var r7 = (
|
|
|
24450
24450
|
return n.type = "sausage", n;
|
|
24451
24451
|
}
|
|
24452
24452
|
return e.prototype.getDefaultShape = function() {
|
|
24453
|
-
return new
|
|
24453
|
+
return new nX();
|
|
24454
24454
|
}, e.prototype.buildPath = function(t, n) {
|
|
24455
24455
|
var i = n.cx, a = n.cy, o = Math.max(n.r0 || 0, 0), s = Math.max(n.r, 0), l = (s - o) * 0.5, u = o + l, c = n.startAngle, f = n.endAngle, d = n.clockwise, h = Math.PI * 2, v = d ? f - c < h : c - f < h;
|
|
24456
24456
|
v || (c = f - (d ? h : -h));
|
|
@@ -24459,7 +24459,7 @@ var r7 = (
|
|
|
24459
24459
|
}, e;
|
|
24460
24460
|
})(Xe)
|
|
24461
24461
|
);
|
|
24462
|
-
function
|
|
24462
|
+
function iX(r, e) {
|
|
24463
24463
|
e = e || {};
|
|
24464
24464
|
var t = e.isRoundCap;
|
|
24465
24465
|
return function(n, i, a) {
|
|
@@ -24501,7 +24501,7 @@ function i7(r, e) {
|
|
|
24501
24501
|
return n = n || {}, n.x = S, n.y = w, n.align = C, n.verticalAlign = T, n;
|
|
24502
24502
|
};
|
|
24503
24503
|
}
|
|
24504
|
-
function
|
|
24504
|
+
function aX(r, e, t, n) {
|
|
24505
24505
|
if (Qe(n)) {
|
|
24506
24506
|
r.setTextConfig({
|
|
24507
24507
|
rotation: n
|
|
@@ -24562,7 +24562,7 @@ function si(r, e, t) {
|
|
|
24562
24562
|
};
|
|
24563
24563
|
}
|
|
24564
24564
|
var Em = Math.max, Nm = Math.min;
|
|
24565
|
-
function
|
|
24565
|
+
function oX(r, e) {
|
|
24566
24566
|
var t = r.getArea && r.getArea();
|
|
24567
24567
|
if (Fa(r, "cartesian2d")) {
|
|
24568
24568
|
var n = r.getBaseAxis();
|
|
@@ -24573,7 +24573,7 @@ function o7(r, e) {
|
|
|
24573
24573
|
}
|
|
24574
24574
|
return t;
|
|
24575
24575
|
}
|
|
24576
|
-
var
|
|
24576
|
+
var sX = (
|
|
24577
24577
|
/** @class */
|
|
24578
24578
|
(function(r) {
|
|
24579
24579
|
G(e, r);
|
|
@@ -24597,16 +24597,16 @@ var s7 = (
|
|
|
24597
24597
|
}, e.prototype._renderNormal = function(t, n, i, a) {
|
|
24598
24598
|
var o = this.group, s = t.getData(), l = this._data, u = t.coordinateSystem, c = u.getBaseAxis(), f;
|
|
24599
24599
|
u.type === "cartesian2d" ? f = c.isHorizontal() : u.type === "polar" && (f = c.dim === "angle");
|
|
24600
|
-
var d = t.isAnimationEnabled() ? t : null, h =
|
|
24600
|
+
var d = t.isAnimationEnabled() ? t : null, h = lX(t, u);
|
|
24601
24601
|
h && this._enableRealtimeSort(h, s, i);
|
|
24602
|
-
var v = t.get("clip", !0) || h, p =
|
|
24602
|
+
var v = t.get("clip", !0) || h, p = oX(u, s);
|
|
24603
24603
|
o.removeClipPath();
|
|
24604
24604
|
var g = t.get("roundCap", !0), m = t.get("showBackground", !0), y = t.getModel("backgroundStyle"), b = y.get("borderRadius") || 0, _ = [], S = this._backgroundEls, w = a && a.isInitSort, C = a && a.type === "changeAxisOrder";
|
|
24605
24605
|
function T(M) {
|
|
24606
24606
|
var E = Vd[u.type](s, M);
|
|
24607
24607
|
if (!E)
|
|
24608
24608
|
return null;
|
|
24609
|
-
var L =
|
|
24609
|
+
var L = pX(u, f, E);
|
|
24610
24610
|
return L.useStyle(y.getItemStyle()), u.type === "cartesian2d" ? L.setShape("r", b) : L.setShape("cornerRadius", b), _[M] = L, L;
|
|
24611
24611
|
}
|
|
24612
24612
|
s.diff(l).add(function(M) {
|
|
@@ -24793,7 +24793,7 @@ var s7 = (
|
|
|
24793
24793
|
});
|
|
24794
24794
|
c.name = "item";
|
|
24795
24795
|
var f = PR(i);
|
|
24796
|
-
if (c.calculateTextPosition =
|
|
24796
|
+
if (c.calculateTextPosition = iX(f, {
|
|
24797
24797
|
isRoundCap: u === Rv
|
|
24798
24798
|
}), a) {
|
|
24799
24799
|
var d = c.shape, h = i ? "r" : "endAngle", v = {};
|
|
@@ -24805,7 +24805,7 @@ var s7 = (
|
|
|
24805
24805
|
return c;
|
|
24806
24806
|
}
|
|
24807
24807
|
};
|
|
24808
|
-
function
|
|
24808
|
+
function lX(r, e) {
|
|
24809
24809
|
var t = r.get("realtimeSort", !0), n = e.getBaseAxis();
|
|
24810
24810
|
if (process.env.NODE_ENV !== "production" && t && (n.type !== "category" && wt("`realtimeSort` will not work because this bar series is not based on a category axis."), e.type !== "cartesian2d" && wt("`realtimeSort` will not work because this bar series is not on cartesian2d.")), t && n.type === "category" && e.type === "cartesian2d")
|
|
24811
24811
|
return {
|
|
@@ -24841,12 +24841,12 @@ function wD(r, e) {
|
|
|
24841
24841
|
return !0;
|
|
24842
24842
|
return !1;
|
|
24843
24843
|
}
|
|
24844
|
-
var
|
|
24844
|
+
var uX = ["x", "y", "width", "height"], cX = ["cx", "cy", "r", "startAngle", "endAngle"], SD = {
|
|
24845
24845
|
cartesian2d: function(r) {
|
|
24846
|
-
return !wD(r,
|
|
24846
|
+
return !wD(r, uX);
|
|
24847
24847
|
},
|
|
24848
24848
|
polar: function(r) {
|
|
24849
|
-
return !wD(r,
|
|
24849
|
+
return !wD(r, cX);
|
|
24850
24850
|
}
|
|
24851
24851
|
}, Vd = {
|
|
24852
24852
|
// itemModel is only used to get borderWidth, which is not needed
|
|
@@ -24855,7 +24855,7 @@ var u7 = ["x", "y", "width", "height"], c7 = ["cx", "cy", "r", "startAngle", "en
|
|
|
24855
24855
|
var n = r.getItemLayout(e);
|
|
24856
24856
|
if (!n)
|
|
24857
24857
|
return null;
|
|
24858
|
-
var i = t ?
|
|
24858
|
+
var i = t ? dX(t, n) : 0, a = n.width > 0 ? 1 : -1, o = n.height > 0 ? 1 : -1;
|
|
24859
24859
|
return {
|
|
24860
24860
|
x: n.x + a * i / 2,
|
|
24861
24861
|
y: n.y + o * i / 2,
|
|
@@ -24876,7 +24876,7 @@ var u7 = ["x", "y", "width", "height"], c7 = ["cx", "cy", "r", "startAngle", "en
|
|
|
24876
24876
|
};
|
|
24877
24877
|
}
|
|
24878
24878
|
};
|
|
24879
|
-
function
|
|
24879
|
+
function fX(r) {
|
|
24880
24880
|
return r.startAngle != null && r.endAngle != null && r.startAngle === r.endAngle;
|
|
24881
24881
|
}
|
|
24882
24882
|
function PR(r) {
|
|
@@ -24921,24 +24921,24 @@ function CD(r, e, t, n, i, a, o, s) {
|
|
|
24921
24921
|
var p = r.getTextContent();
|
|
24922
24922
|
if (s && p) {
|
|
24923
24923
|
var g = n.get(["label", "position"]);
|
|
24924
|
-
r.textConfig.inside = g === "middle" ? !0 : null,
|
|
24924
|
+
r.textConfig.inside = g === "middle" ? !0 : null, aX(r, g === "outside" ? h : g, PR(o), n.get(["label", "rotate"]));
|
|
24925
24925
|
}
|
|
24926
24926
|
X2(p, v, a.getRawValue(t), function(y) {
|
|
24927
24927
|
return TR(e, y);
|
|
24928
24928
|
});
|
|
24929
24929
|
var m = n.getModel(["emphasis"]);
|
|
24930
|
-
yt(r, m.get("focus"), m.get("blurScope"), m.get("disabled")), Ut(r, n),
|
|
24930
|
+
yt(r, m.get("focus"), m.get("blurScope"), m.get("disabled")), Ut(r, n), fX(i) && (r.style.fill = "none", r.style.stroke = "none", N(r.states, function(y) {
|
|
24931
24931
|
y.style && (y.style.fill = y.style.stroke = "none");
|
|
24932
24932
|
}));
|
|
24933
24933
|
}
|
|
24934
|
-
function
|
|
24934
|
+
function dX(r, e) {
|
|
24935
24935
|
var t = r.get(["itemStyle", "borderColor"]);
|
|
24936
24936
|
if (!t || t === "none")
|
|
24937
24937
|
return 0;
|
|
24938
24938
|
var n = r.get(["itemStyle", "borderWidth"]) || 0, i = isNaN(e.width) ? Number.MAX_VALUE : Math.abs(e.width), a = isNaN(e.height) ? Number.MAX_VALUE : Math.abs(e.height);
|
|
24939
24939
|
return Math.min(n, i, a);
|
|
24940
24940
|
}
|
|
24941
|
-
var
|
|
24941
|
+
var hX = (
|
|
24942
24942
|
/** @class */
|
|
24943
24943
|
/* @__PURE__ */ (function() {
|
|
24944
24944
|
function r() {
|
|
@@ -24954,7 +24954,7 @@ var h7 = (
|
|
|
24954
24954
|
return n.type = "largeBar", n;
|
|
24955
24955
|
}
|
|
24956
24956
|
return e.prototype.getDefaultShape = function() {
|
|
24957
|
-
return new
|
|
24957
|
+
return new hX();
|
|
24958
24958
|
}, e.prototype.buildPath = function(t, n) {
|
|
24959
24959
|
for (var i = n.points, a = this.baseDimIdx, o = 1 - this.baseDimIdx, s = [], l = [], u = this.barWidth, c = 0; c < i.length; c += 3)
|
|
24960
24960
|
l[a] = u, l[o] = i[c + 2], s[a] = i[c + a], s[o] = i[c + o], t.rect(s[0], s[1], l[0], l[1]);
|
|
@@ -24985,10 +24985,10 @@ function DD(r, e, t, n) {
|
|
|
24985
24985
|
f.baseDimIdx = a, f.largeDataIndices = o, f.barWidth = s, e.add(f), f.useStyle(i.getVisual("style")), f.style.stroke = null, Le(f).seriesIndex = r.seriesIndex, r.get("silent") || (f.on("mousedown", AD), f.on("mousemove", AD)), t && t.push(f);
|
|
24986
24986
|
}
|
|
24987
24987
|
var AD = jx(function(r) {
|
|
24988
|
-
var e = this, t =
|
|
24988
|
+
var e = this, t = vX(e, r.offsetX, r.offsetY);
|
|
24989
24989
|
Le(e).dataIndex = t >= 0 ? t : null;
|
|
24990
24990
|
}, 30, !1);
|
|
24991
|
-
function
|
|
24991
|
+
function vX(r, e, t) {
|
|
24992
24992
|
for (var n = r.baseDimIdx, i = 1 - n, a = r.shape.points, o = r.largeDataIndices, s = [], l = [], u = r.barWidth, c = 0, f = a.length / 3; c < f; c++) {
|
|
24993
24993
|
var d = c * 3;
|
|
24994
24994
|
if (l[n] = u, l[i] = a[d + 2], s[n] = a[d + n], s[i] = a[d + i], l[i] < 0 && (s[i] += l[i], l[i] = -l[i]), e >= s[0] && e <= s[0] + l[0] && t >= s[1] && t <= s[1] + l[1])
|
|
@@ -25017,7 +25017,7 @@ function RR(r, e, t) {
|
|
|
25017
25017
|
};
|
|
25018
25018
|
}
|
|
25019
25019
|
}
|
|
25020
|
-
function
|
|
25020
|
+
function pX(r, e, t) {
|
|
25021
25021
|
var n = r.type === "polar" ? hr : We;
|
|
25022
25022
|
return new n({
|
|
25023
25023
|
shape: RR(e, t, r),
|
|
@@ -25025,8 +25025,8 @@ function p7(r, e, t) {
|
|
|
25025
25025
|
z2: 0
|
|
25026
25026
|
});
|
|
25027
25027
|
}
|
|
25028
|
-
function
|
|
25029
|
-
r.registerChartView(
|
|
25028
|
+
function gX(r) {
|
|
25029
|
+
r.registerChartView(sX), r.registerSeriesModel(rX), r.registerLayout(r.PRIORITY.VISUAL.LAYOUT, Re(zP, "bar")), r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT, VP("bar")), r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC, kR("bar")), r.registerAction({
|
|
25030
25030
|
type: "changeAxisOrder",
|
|
25031
25031
|
event: "changeAxisOrder",
|
|
25032
25032
|
update: "update"
|
|
@@ -25041,7 +25041,7 @@ function g7(r) {
|
|
|
25041
25041
|
});
|
|
25042
25042
|
}
|
|
25043
25043
|
var MD = Math.PI * 2, Fd = Math.PI / 180;
|
|
25044
|
-
function
|
|
25044
|
+
function mX(r, e, t) {
|
|
25045
25045
|
e.eachSeriesByType(r, function(n) {
|
|
25046
25046
|
var i = n.getData(), a = i.mapDimension("value"), o = hk(n, t), s = o.cx, l = o.cy, u = o.r, c = o.r0, f = o.viewRect, d = -n.get("startAngle") * Fd, h = n.get("endAngle"), v = n.get("padAngle") * Fd;
|
|
25047
25047
|
h = h === "auto" ? d - MD : -h * Fd;
|
|
@@ -25126,7 +25126,7 @@ function mu(r) {
|
|
|
25126
25126
|
}
|
|
25127
25127
|
};
|
|
25128
25128
|
}
|
|
25129
|
-
var
|
|
25129
|
+
var yX = Math.PI / 180;
|
|
25130
25130
|
function LD(r, e, t, n, i, a, o, s, l, u) {
|
|
25131
25131
|
if (r.length < 2)
|
|
25132
25132
|
return;
|
|
@@ -25161,7 +25161,7 @@ function LD(r, e, t, n, i, a, o, s, l, u) {
|
|
|
25161
25161
|
}
|
|
25162
25162
|
yb(r, 1, l, l + o) && f(r);
|
|
25163
25163
|
}
|
|
25164
|
-
function
|
|
25164
|
+
function bX(r, e, t, n, i, a, o, s) {
|
|
25165
25165
|
for (var l = [], u = [], c = Number.MAX_VALUE, f = -Number.MAX_VALUE, d = 0; d < r.length; d++) {
|
|
25166
25166
|
var h = r[d].label;
|
|
25167
25167
|
Im(r[d]) || (h.x < e ? (c = Math.min(c, h.x), l.push(r[d])) : (f = Math.max(f, h.x), u.push(r[d])));
|
|
@@ -25205,17 +25205,17 @@ function BR(r, e, t) {
|
|
|
25205
25205
|
}
|
|
25206
25206
|
}
|
|
25207
25207
|
function zR(r, e) {
|
|
25208
|
-
ED.rect = r, lR(ED, e,
|
|
25208
|
+
ED.rect = r, lR(ED, e, _X);
|
|
25209
25209
|
}
|
|
25210
|
-
var
|
|
25210
|
+
var _X = {
|
|
25211
25211
|
minMarginForce: [null, 0, null, 0],
|
|
25212
25212
|
marginDefault: [1, 0, 1, 0]
|
|
25213
25213
|
}, ED = {};
|
|
25214
25214
|
function Im(r) {
|
|
25215
25215
|
return r.position === "center";
|
|
25216
25216
|
}
|
|
25217
|
-
function
|
|
25218
|
-
var e = r.getData(), t = [], n, i, a = !1, o = (r.get("minShowLabelAngle") || 0) *
|
|
25217
|
+
function xX(r) {
|
|
25218
|
+
var e = r.getData(), t = [], n, i, a = !1, o = (r.get("minShowLabelAngle") || 0) * yX, s = e.getLayout("viewRect"), l = e.getLayout("r"), u = s.width, c = s.x, f = s.y, d = s.height;
|
|
25219
25219
|
function h(w) {
|
|
25220
25220
|
w.ignore = !0;
|
|
25221
25221
|
}
|
|
@@ -25299,7 +25299,7 @@ function x7(r) {
|
|
|
25299
25299
|
inside: q
|
|
25300
25300
|
});
|
|
25301
25301
|
}
|
|
25302
|
-
}), !a && r.get("avoidLabelOverlap") &&
|
|
25302
|
+
}), !a && r.get("avoidLabelOverlap") && bX(t, n, i, l, u, d, c, f);
|
|
25303
25303
|
for (var p = 0; p < t.length; p++) {
|
|
25304
25304
|
var g = t[p], m = g.label, y = g.labelLine, b = isNaN(m.x) || isNaN(m.y);
|
|
25305
25305
|
if (m) {
|
|
@@ -25319,7 +25319,7 @@ function x7(r) {
|
|
|
25319
25319
|
}
|
|
25320
25320
|
}
|
|
25321
25321
|
}
|
|
25322
|
-
var
|
|
25322
|
+
var wX = (
|
|
25323
25323
|
/** @class */
|
|
25324
25324
|
(function(r) {
|
|
25325
25325
|
G(e, r);
|
|
@@ -25413,7 +25413,7 @@ var w7 = (
|
|
|
25413
25413
|
}
|
|
25414
25414
|
}, e;
|
|
25415
25415
|
})(hr)
|
|
25416
|
-
),
|
|
25416
|
+
), SX = (
|
|
25417
25417
|
/** @class */
|
|
25418
25418
|
(function(r) {
|
|
25419
25419
|
G(e, r);
|
|
@@ -25435,7 +25435,7 @@ var w7 = (
|
|
|
25435
25435
|
h.useStyle(t.getModel("emptyCircleStyle").getItemStyle()), this._emptyCircleSector = h, l.add(h);
|
|
25436
25436
|
}
|
|
25437
25437
|
o.diff(s).add(function(v) {
|
|
25438
|
-
var p = new
|
|
25438
|
+
var p = new wX(o, v, u);
|
|
25439
25439
|
o.setItemGraphicEl(v, p), l.add(p);
|
|
25440
25440
|
}).update(function(v, p) {
|
|
25441
25441
|
var g = s.getItemGraphicEl(p);
|
|
@@ -25443,7 +25443,7 @@ var w7 = (
|
|
|
25443
25443
|
}).remove(function(v) {
|
|
25444
25444
|
var p = s.getItemGraphicEl(v);
|
|
25445
25445
|
Bi(p, t, v);
|
|
25446
|
-
}).execute(),
|
|
25446
|
+
}).execute(), xX(t), t.get("animationTypeUpdate") !== "expansion" && (this._data = o);
|
|
25447
25447
|
}, e.prototype.dispose = function() {
|
|
25448
25448
|
}, e.prototype.containPoint = function(t, n) {
|
|
25449
25449
|
var i = n.getData(), a = i.getItemLayout(0);
|
|
@@ -25483,7 +25483,7 @@ var bu = (
|
|
|
25483
25483
|
return n.getItemVisual(e, t);
|
|
25484
25484
|
}, r;
|
|
25485
25485
|
})()
|
|
25486
|
-
),
|
|
25486
|
+
), CX = $e(), VR = (
|
|
25487
25487
|
/** @class */
|
|
25488
25488
|
(function(r) {
|
|
25489
25489
|
G(e, r);
|
|
@@ -25500,7 +25500,7 @@ var bu = (
|
|
|
25500
25500
|
encodeDefaulter: Re(Wx, this)
|
|
25501
25501
|
});
|
|
25502
25502
|
}, e.prototype.getDataParams = function(t) {
|
|
25503
|
-
var n = this.getData(), i =
|
|
25503
|
+
var n = this.getData(), i = CX(n), a = i.seats;
|
|
25504
25504
|
if (!a) {
|
|
25505
25505
|
var o = [];
|
|
25506
25506
|
n.each(n.mapDimension("value"), function(l) {
|
|
@@ -25622,7 +25622,7 @@ E$({
|
|
|
25622
25622
|
return r.getShallow("center");
|
|
25623
25623
|
}
|
|
25624
25624
|
});
|
|
25625
|
-
function
|
|
25625
|
+
function TX(r) {
|
|
25626
25626
|
return {
|
|
25627
25627
|
seriesType: r,
|
|
25628
25628
|
reset: function(e, t) {
|
|
@@ -25634,10 +25634,10 @@ function T7(r) {
|
|
|
25634
25634
|
}
|
|
25635
25635
|
};
|
|
25636
25636
|
}
|
|
25637
|
-
function
|
|
25638
|
-
r.registerChartView(
|
|
25637
|
+
function DX(r) {
|
|
25638
|
+
r.registerChartView(SX), r.registerSeriesModel(VR), nP("pie", r.registerAction), r.registerLayout(Re(mX, "pie")), r.registerProcessor(mu("pie")), r.registerProcessor(TX("pie"));
|
|
25639
25639
|
}
|
|
25640
|
-
var
|
|
25640
|
+
var AX = (
|
|
25641
25641
|
/** @class */
|
|
25642
25642
|
(function(r) {
|
|
25643
25643
|
G(e, r);
|
|
@@ -25691,14 +25691,14 @@ var A7 = (
|
|
|
25691
25691
|
// progressive: null
|
|
25692
25692
|
}, e;
|
|
25693
25693
|
})(vt)
|
|
25694
|
-
), FR = 4,
|
|
25694
|
+
), FR = 4, MX = (
|
|
25695
25695
|
/** @class */
|
|
25696
25696
|
/* @__PURE__ */ (function() {
|
|
25697
25697
|
function r() {
|
|
25698
25698
|
}
|
|
25699
25699
|
return r;
|
|
25700
25700
|
})()
|
|
25701
|
-
),
|
|
25701
|
+
), LX = (
|
|
25702
25702
|
/** @class */
|
|
25703
25703
|
(function(r) {
|
|
25704
25704
|
G(e, r);
|
|
@@ -25707,7 +25707,7 @@ var A7 = (
|
|
|
25707
25707
|
return n._off = 0, n.hoverDataIdx = -1, n;
|
|
25708
25708
|
}
|
|
25709
25709
|
return e.prototype.getDefaultShape = function() {
|
|
25710
|
-
return new
|
|
25710
|
+
return new MX();
|
|
25711
25711
|
}, e.prototype.reset = function() {
|
|
25712
25712
|
this.notClear = !1, this._off = 0;
|
|
25713
25713
|
}, e.prototype.buildPath = function(t, n) {
|
|
@@ -25756,7 +25756,7 @@ var A7 = (
|
|
|
25756
25756
|
return t;
|
|
25757
25757
|
}, e;
|
|
25758
25758
|
})(Xe)
|
|
25759
|
-
),
|
|
25759
|
+
), EX = (
|
|
25760
25760
|
/** @class */
|
|
25761
25761
|
(function() {
|
|
25762
25762
|
function r() {
|
|
@@ -25796,7 +25796,7 @@ var A7 = (
|
|
|
25796
25796
|
}, r.prototype.eachRendered = function(e) {
|
|
25797
25797
|
this._newAdded[0] && e(this._newAdded[0]);
|
|
25798
25798
|
}, r.prototype._create = function() {
|
|
25799
|
-
var e = new
|
|
25799
|
+
var e = new LX({
|
|
25800
25800
|
cursor: "default"
|
|
25801
25801
|
});
|
|
25802
25802
|
return e.ignoreCoarsePointer = !0, this.group.add(e), this._newAdded.push(e), e;
|
|
@@ -25824,7 +25824,7 @@ var A7 = (
|
|
|
25824
25824
|
this._newAdded = [], this.group.removeAll();
|
|
25825
25825
|
}, r;
|
|
25826
25826
|
})()
|
|
25827
|
-
),
|
|
25827
|
+
), NX = (
|
|
25828
25828
|
/** @class */
|
|
25829
25829
|
(function(r) {
|
|
25830
25830
|
G(e, r);
|
|
@@ -25869,7 +25869,7 @@ var A7 = (
|
|
|
25869
25869
|
}
|
|
25870
25870
|
}, e.prototype._updateSymbolDraw = function(t, n) {
|
|
25871
25871
|
var i = this._symbolDraw, a = n.pipelineContext, o = a.large;
|
|
25872
|
-
return (!i || o !== this._isLargeDraw) && (i && i.remove(), i = this._symbolDraw = o ? new
|
|
25872
|
+
return (!i || o !== this._isLargeDraw) && (i && i.remove(), i = this._symbolDraw = o ? new EX() : new Ff(), this._isLargeDraw = o, this.group.removeAll()), this.group.add(i.group), i;
|
|
25873
25873
|
}, e.prototype.remove = function(t, n) {
|
|
25874
25874
|
this._symbolDraw && this._symbolDraw.remove(!0), this._symbolDraw = null;
|
|
25875
25875
|
}, e.prototype.dispose = function() {
|
|
@@ -25880,7 +25880,7 @@ var A7 = (
|
|
|
25880
25880
|
right: 0,
|
|
25881
25881
|
top: 0,
|
|
25882
25882
|
bottom: 0
|
|
25883
|
-
}, Ov = ["25%", "25%"],
|
|
25883
|
+
}, Ov = ["25%", "25%"], IX = (
|
|
25884
25884
|
/** @class */
|
|
25885
25885
|
(function(r) {
|
|
25886
25886
|
G(e, r);
|
|
@@ -26038,7 +26038,7 @@ var HR = {
|
|
|
26038
26038
|
breakLabelLayout: {
|
|
26039
26039
|
moveOverlap: "auto"
|
|
26040
26040
|
}
|
|
26041
|
-
},
|
|
26041
|
+
}, kX = Ve({
|
|
26042
26042
|
// The gap at both ends of the axis. For categoryAxis, boolean.
|
|
26043
26043
|
boundaryGap: !0,
|
|
26044
26044
|
// Set false to faster category collection.
|
|
@@ -26093,7 +26093,7 @@ var HR = {
|
|
|
26093
26093
|
width: 1
|
|
26094
26094
|
}
|
|
26095
26095
|
}
|
|
26096
|
-
}, HR),
|
|
26096
|
+
}, HR), PX = Ve({
|
|
26097
26097
|
splitNumber: 6,
|
|
26098
26098
|
axisLabel: {
|
|
26099
26099
|
// To eliminate labels that are not nice
|
|
@@ -26108,29 +26108,29 @@ var HR = {
|
|
|
26108
26108
|
splitLine: {
|
|
26109
26109
|
show: !1
|
|
26110
26110
|
}
|
|
26111
|
-
}, m1),
|
|
26111
|
+
}, m1), RX = Ae({
|
|
26112
26112
|
logBase: 10
|
|
26113
26113
|
}, m1);
|
|
26114
26114
|
const WR = {
|
|
26115
|
-
category:
|
|
26115
|
+
category: kX,
|
|
26116
26116
|
value: m1,
|
|
26117
|
-
time:
|
|
26118
|
-
log:
|
|
26117
|
+
time: PX,
|
|
26118
|
+
log: RX
|
|
26119
26119
|
};
|
|
26120
|
-
var
|
|
26120
|
+
var OX = {
|
|
26121
26121
|
value: 1,
|
|
26122
26122
|
category: 1,
|
|
26123
26123
|
time: 1,
|
|
26124
26124
|
log: 1
|
|
26125
26125
|
}, Cb = null;
|
|
26126
|
-
function
|
|
26126
|
+
function BX(r) {
|
|
26127
26127
|
Cb || (Cb = r);
|
|
26128
26128
|
}
|
|
26129
26129
|
function Wf() {
|
|
26130
26130
|
return Cb;
|
|
26131
26131
|
}
|
|
26132
26132
|
function Ul(r, e, t, n) {
|
|
26133
|
-
N(
|
|
26133
|
+
N(OX, function(i, a) {
|
|
26134
26134
|
var o = Ve(Ve({}, WR[a], !0), n, !0), s = (
|
|
26135
26135
|
/** @class */
|
|
26136
26136
|
(function(l) {
|
|
@@ -26165,7 +26165,7 @@ function Ul(r, e, t, n) {
|
|
|
26165
26165
|
function ND(r) {
|
|
26166
26166
|
return r.type || (r.data ? "category" : "value");
|
|
26167
26167
|
}
|
|
26168
|
-
var
|
|
26168
|
+
var zX = (
|
|
26169
26169
|
/** @class */
|
|
26170
26170
|
(function() {
|
|
26171
26171
|
function r(e) {
|
|
@@ -26190,7 +26190,7 @@ var z7 = (
|
|
|
26190
26190
|
function ID(r) {
|
|
26191
26191
|
return (r.type === "interval" || r.type === "time") && !r.hasBreaks();
|
|
26192
26192
|
}
|
|
26193
|
-
var
|
|
26193
|
+
var VX = (
|
|
26194
26194
|
/** @class */
|
|
26195
26195
|
(function(r) {
|
|
26196
26196
|
G(e, r);
|
|
@@ -26240,7 +26240,7 @@ var V7 = (
|
|
|
26240
26240
|
var n = this.getAxis("x").getGlobalExtent(), i = this.getAxis("y").getGlobalExtent(), a = Math.min(n[0], n[1]) - t, o = Math.min(i[0], i[1]) - t, s = Math.max(n[0], n[1]) - a + t, l = Math.max(i[0], i[1]) - o + t;
|
|
26241
26241
|
return new Me(a, o, s, l);
|
|
26242
26242
|
}, e;
|
|
26243
|
-
})(
|
|
26243
|
+
})(zX)
|
|
26244
26244
|
), $R = (
|
|
26245
26245
|
/** @class */
|
|
26246
26246
|
(function(r) {
|
|
@@ -26263,17 +26263,17 @@ var V7 = (
|
|
|
26263
26263
|
this.model.option.categorySortInfo = t, this.scale.setSortInfo(t);
|
|
26264
26264
|
}, e;
|
|
26265
26265
|
})(Vn)
|
|
26266
|
-
), Kp = "expandAxisBreak", UR = "collapseAxisBreak", YR = "toggleAxisBreak", y1 = "axisbreakchanged",
|
|
26266
|
+
), Kp = "expandAxisBreak", UR = "collapseAxisBreak", YR = "toggleAxisBreak", y1 = "axisbreakchanged", FX = {
|
|
26267
26267
|
type: Kp,
|
|
26268
26268
|
event: y1,
|
|
26269
26269
|
update: "update",
|
|
26270
26270
|
refineEvent: b1
|
|
26271
|
-
},
|
|
26271
|
+
}, GX = {
|
|
26272
26272
|
type: UR,
|
|
26273
26273
|
event: y1,
|
|
26274
26274
|
update: "update",
|
|
26275
26275
|
refineEvent: b1
|
|
26276
|
-
},
|
|
26276
|
+
}, HX = {
|
|
26277
26277
|
type: YR,
|
|
26278
26278
|
event: y1,
|
|
26279
26279
|
update: "update",
|
|
@@ -26289,8 +26289,8 @@ function b1(r, e, t, n) {
|
|
|
26289
26289
|
}
|
|
26290
26290
|
};
|
|
26291
26291
|
}
|
|
26292
|
-
function
|
|
26293
|
-
r.registerAction(
|
|
26292
|
+
function WX(r) {
|
|
26293
|
+
r.registerAction(FX, e), r.registerAction(GX, e), r.registerAction(HX, e);
|
|
26294
26294
|
function e(t, n) {
|
|
26295
26295
|
var i = [], a = Dl(n, t);
|
|
26296
26296
|
function o(s, l) {
|
|
@@ -26307,7 +26307,7 @@ function W7(r) {
|
|
|
26307
26307
|
};
|
|
26308
26308
|
}
|
|
26309
26309
|
}
|
|
26310
|
-
var Ta = Math.PI, $
|
|
26310
|
+
var Ta = Math.PI, $X = [[1, 2, 1, 2], [5, 3, 5, 3], [8, 3, 8, 3]], UX = [[0, 1, 0, 1], [0, 3, 0, 3], [0, 3, 0, 3]], Yl = $e(), XR = $e(), qR = (
|
|
26311
26311
|
/** @class */
|
|
26312
26312
|
(function() {
|
|
26313
26313
|
function r(e) {
|
|
@@ -26321,7 +26321,7 @@ var Ta = Math.PI, $7 = [[1, 2, 1, 2], [5, 3, 5, 3], [8, 3, 8, 3]], U7 = [[0, 1,
|
|
|
26321
26321
|
}, r;
|
|
26322
26322
|
})()
|
|
26323
26323
|
);
|
|
26324
|
-
function
|
|
26324
|
+
function YX(r, e, t, n) {
|
|
26325
26325
|
var i = t.axis, a = e.ensureRecord(t), o = [], s, l = _1(r.axisName) && Wl(r.nameLocation);
|
|
26326
26326
|
N(n, function(v) {
|
|
26327
26327
|
var p = bi(v);
|
|
@@ -26410,8 +26410,8 @@ var Cr = (
|
|
|
26410
26410
|
axisTickLabelEstimate: !1,
|
|
26411
26411
|
axisTickLabelDetermine: !0,
|
|
26412
26412
|
axisName: !0
|
|
26413
|
-
}), N(
|
|
26414
|
-
e[i] &&
|
|
26413
|
+
}), N(XX, function(i) {
|
|
26414
|
+
e[i] && qX[i](n._cfg, n._local, n._shared, n._axisModel, n.group, n._transformGroup, n._api, t || {});
|
|
26415
26415
|
}), this;
|
|
26416
26416
|
}, r.innerTextLayout = function(e, t, n) {
|
|
26417
26417
|
var i = KI(t - e), a, o;
|
|
@@ -26431,7 +26431,7 @@ var Cr = (
|
|
|
26431
26431
|
return e.get("silent") || !(e.get("triggerEvent") || t && t.show);
|
|
26432
26432
|
}, r;
|
|
26433
26433
|
})()
|
|
26434
|
-
),
|
|
26434
|
+
), XX = ["axisLine", "axisTickLabelEstimate", "axisTickLabelDetermine", "axisName"], qX = {
|
|
26435
26435
|
axisLine: function(r, e, t, n, i, a, o) {
|
|
26436
26436
|
if (process.env.NODE_ENV !== "production") {
|
|
26437
26437
|
var s = t.ensureRecord(n).ready;
|
|
@@ -26513,8 +26513,8 @@ var Cr = (
|
|
|
26513
26513
|
}
|
|
26514
26514
|
var u = PD(e, i, s);
|
|
26515
26515
|
u && kD(r, e, t, n, i, a, o, Rn.determine);
|
|
26516
|
-
var c =
|
|
26517
|
-
|
|
26516
|
+
var c = QX(r, i, a, n);
|
|
26517
|
+
KX(r, e.labelLayoutList, c), JX(r, i, a, n, r.tickDirection);
|
|
26518
26518
|
},
|
|
26519
26519
|
/**
|
|
26520
26520
|
* [CAUTION] This method can be called multiple times, following the change due to `resetCfg` called
|
|
@@ -26541,7 +26541,7 @@ var Cr = (
|
|
|
26541
26541
|
_ ?? r.rotation,
|
|
26542
26542
|
// Adapt to axis.
|
|
26543
26543
|
d
|
|
26544
|
-
) : (S =
|
|
26544
|
+
) : (S = ZX(r.rotation, f, _ || 0, p), w = r.raw.axisNameAvailableWidth, w != null && (w = Math.abs(w / Math.sin(S.rotation)), !isFinite(w) && (w = null)));
|
|
26545
26545
|
var C = h.getFont(), T = n.get("nameTruncate", !0) || {}, A = T.ellipsis, D = Wt(r.raw.nameTruncateMaxWidth, T.maxWidth, w), M = s.nameMarginLevel || 0, E = new Je({
|
|
26546
26546
|
x: m.x,
|
|
26547
26547
|
y: m.y,
|
|
@@ -26574,7 +26574,7 @@ var Cr = (
|
|
|
26574
26574
|
defaultAttr: {
|
|
26575
26575
|
ignore: E.ignore
|
|
26576
26576
|
},
|
|
26577
|
-
marginDefault: Wl(f) ? $
|
|
26577
|
+
marginDefault: Wl(f) ? $X[M] : UX[M]
|
|
26578
26578
|
});
|
|
26579
26579
|
if (l.nameLocation = f, i.add(E), E.decomposeTransform(), r.shouldNameMoveOverlap && I) {
|
|
26580
26580
|
var P = t.ensureRecord(n);
|
|
@@ -26588,14 +26588,14 @@ function kD(r, e, t, n, i, a, o, s) {
|
|
|
26588
26588
|
var l = e.labelLayoutList;
|
|
26589
26589
|
t9(r, n, l, a), i9(n, r.rotation, l);
|
|
26590
26590
|
var u = r.optionHideOverlap;
|
|
26591
|
-
|
|
26591
|
+
jX(n, l, u), u && uR(
|
|
26592
26592
|
// Filter the already ignored labels by the previous overlap resolving methods.
|
|
26593
26593
|
it(l, function(c) {
|
|
26594
26594
|
return c && !c.label.ignore;
|
|
26595
26595
|
})
|
|
26596
|
-
),
|
|
26596
|
+
), YX(r, t, n, l);
|
|
26597
26597
|
}
|
|
26598
|
-
function
|
|
26598
|
+
function ZX(r, e, t, n) {
|
|
26599
26599
|
var i = KI(t - r), a, o, s = n[0] > n[1], l = e === "start" && !s || e !== "start" && s;
|
|
26600
26600
|
return $c(i - Ta / 2) ? (o = l ? "bottom" : "top", a = "center") : $c(i - Ta * 1.5) ? (o = l ? "top" : "bottom", a = "center") : (o = "middle", i < Ta * 1.5 && i > Ta / 2 ? a = l ? "left" : "right" : a = l ? "right" : "left"), {
|
|
26601
26601
|
rotation: i,
|
|
@@ -26603,7 +26603,7 @@ function Z7(r, e, t, n) {
|
|
|
26603
26603
|
textVerticalAlign: o
|
|
26604
26604
|
};
|
|
26605
26605
|
}
|
|
26606
|
-
function
|
|
26606
|
+
function jX(r, e, t) {
|
|
26607
26607
|
if (YP(r.axis))
|
|
26608
26608
|
return;
|
|
26609
26609
|
function n(s, l, u) {
|
|
@@ -26634,7 +26634,7 @@ function j7(r, e, t) {
|
|
|
26634
26634
|
var i = r.get(["axisLabel", "showMinLabel"]), a = r.get(["axisLabel", "showMaxLabel"]), o = e.length;
|
|
26635
26635
|
n(i, 0, 1), n(a, o - 1, o - 2);
|
|
26636
26636
|
}
|
|
26637
|
-
function
|
|
26637
|
+
function KX(r, e, t) {
|
|
26638
26638
|
r.showMinorTicks || N(e, function(n) {
|
|
26639
26639
|
if (n && n.label.ignore)
|
|
26640
26640
|
for (var i = 0; i < t.length; i++) {
|
|
@@ -26671,7 +26671,7 @@ function QR(r, e, t, n, i) {
|
|
|
26671
26671
|
}
|
|
26672
26672
|
return a;
|
|
26673
26673
|
}
|
|
26674
|
-
function
|
|
26674
|
+
function QX(r, e, t, n) {
|
|
26675
26675
|
var i = n.axis, a = n.getModel("axisTick"), o = a.get("show");
|
|
26676
26676
|
if (o === "auto" && (o = !0, r.raw.axisTickAutoShow != null && (o = !!r.raw.axisTickAutoShow)), !o || i.scale.isBlank())
|
|
26677
26677
|
return [];
|
|
@@ -26681,7 +26681,7 @@ function Q7(r, e, t, n) {
|
|
|
26681
26681
|
e.add(c[f]);
|
|
26682
26682
|
return c;
|
|
26683
26683
|
}
|
|
26684
|
-
function
|
|
26684
|
+
function JX(r, e, t, n, i) {
|
|
26685
26685
|
var a = n.axis, o = n.getModel("minorTick");
|
|
26686
26686
|
if (!(!r.showMinorTicks || a.scale.isBlank())) {
|
|
26687
26687
|
var s = a.getMinorTicksCoords();
|
|
@@ -27030,7 +27030,7 @@ var OD = [
|
|
|
27030
27030
|
}
|
|
27031
27031
|
this._axesMap = s, N(s.x, function(c, f) {
|
|
27032
27032
|
N(s.y, function(d, h) {
|
|
27033
|
-
var v = "x" + f + "y" + h, p = new
|
|
27033
|
+
var v = "x" + f + "y" + h, p = new VX(v);
|
|
27034
27034
|
p.master = i, p.model = e, i._coordsMap[v] = p, i._coordsList.push(p), p.addAxis(c), p.addAxis(d);
|
|
27035
27035
|
});
|
|
27036
27036
|
});
|
|
@@ -27588,7 +27588,7 @@ var x9 = ["splitArea", "splitLine", "minorSplitLine", "breakArea"], iO = (
|
|
|
27588
27588
|
offset: 0
|
|
27589
27589
|
};
|
|
27590
27590
|
function oO(r) {
|
|
27591
|
-
r.registerComponentView(C9), r.registerComponentModel(
|
|
27591
|
+
r.registerComponentView(C9), r.registerComponentModel(IX), r.registerCoordinateSystem("cartesian2d", l9), Ul(r, "x", Sb, GD), Ul(r, "y", Sb, GD), r.registerComponentView(aO), r.registerComponentView(S9), r.registerPreprocessor(function(e) {
|
|
27592
27592
|
e.xAxis && e.yAxis && !e.grid && (e.grid = {});
|
|
27593
27593
|
});
|
|
27594
27594
|
}
|
|
@@ -27659,7 +27659,7 @@ function M9(r) {
|
|
|
27659
27659
|
});
|
|
27660
27660
|
}
|
|
27661
27661
|
function L9(r) {
|
|
27662
|
-
Fe(oO), r.registerSeriesModel(
|
|
27662
|
+
Fe(oO), r.registerSeriesModel(AX), r.registerChartView(NX), r.registerLayout(Hf("scatter"));
|
|
27663
27663
|
}
|
|
27664
27664
|
function E9(r) {
|
|
27665
27665
|
r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT, M9);
|
|
@@ -52188,7 +52188,7 @@ function Vae(r, e) {
|
|
|
52188
52188
|
}), t;
|
|
52189
52189
|
}
|
|
52190
52190
|
function Fae() {
|
|
52191
|
-
|
|
52191
|
+
BX({
|
|
52192
52192
|
adjustBreakLabelPair: zae,
|
|
52193
52193
|
buildAxisBreakLine: Bae,
|
|
52194
52194
|
rectCoordBuildBreakAxis: Oae,
|
|
@@ -52196,7 +52196,7 @@ function Fae() {
|
|
|
52196
52196
|
});
|
|
52197
52197
|
}
|
|
52198
52198
|
function Gae(r) {
|
|
52199
|
-
|
|
52199
|
+
WX(r), Iae(), Fae();
|
|
52200
52200
|
}
|
|
52201
52201
|
function Hae() {
|
|
52202
52202
|
c9(Wae);
|
|
@@ -52232,9 +52232,9 @@ function $ae(r) {
|
|
|
52232
52232
|
return C;
|
|
52233
52233
|
}
|
|
52234
52234
|
}
|
|
52235
|
-
Fe([
|
|
52236
|
-
Fe([
|
|
52237
|
-
Fe([
|
|
52235
|
+
Fe([R7]);
|
|
52236
|
+
Fe([E7]);
|
|
52237
|
+
Fe([tX, gX, DX, L9, F9, Lq, rZ, VZ, oj, hj, bj, Aj, _K, $K, tQ, mQ, xQ, NQ, zQ, ZQ, tJ, fJ, qJ]);
|
|
52238
52238
|
Fe(hee);
|
|
52239
52239
|
Fe(zee);
|
|
52240
52240
|
Fe(yO);
|