reke-ui 0.5.3 → 0.5.4
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/custom-elements.json +465 -0
- package/dist/components/reke-bar-chart/reke-bar-chart.d.ts +99 -0
- package/dist/components/reke-bar-chart/reke-bar-chart.d.ts.map +1 -0
- package/dist/components/reke-bar-chart/reke-bar-chart.js +319 -0
- package/dist/components/reke-bar-chart/reke-bar-chart.styles.d.ts +2 -0
- package/dist/components/reke-bar-chart/reke-bar-chart.styles.d.ts.map +1 -0
- package/dist/components/reke-bar-chart/reke-bar-chart.styles.js +36 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -20
- package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +50 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +431 -0
- package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +65 -0
- package/dist/node_modules/echarts/lib/chart/bar/install.js +22 -0
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +142 -0
- package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +99 -0
- package/dist/node_modules/echarts/lib/chart/helper/axisSnippets.js +19 -0
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +50 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +55 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +3 -3
- package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +24 -0
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +60 -0
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +471 -0
- package/dist/node_modules/echarts/lib/chart/line/helper.js +34 -0
- package/dist/node_modules/echarts/lib/chart/line/install.js +16 -0
- package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +59 -0
- package/dist/node_modules/echarts/lib/chart/line/poly.js +135 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +32 -32
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +69 -69
- package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +25 -25
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +16 -16
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +153 -153
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +13 -13
- package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +106 -0
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +50 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +20 -20
- package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +30 -30
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +13 -13
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +114 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +189 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +15 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +21 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +67 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +75 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +465 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +17 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +55 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +88 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +14 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +10 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +9 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +132 -0
- package/dist/node_modules/echarts/lib/component/grid/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/grid/installSimple.js +32 -0
- package/dist/node_modules/echarts/lib/component/helper/RoamController.js +172 -0
- package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +17 -0
- package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +15 -0
- package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +29 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +31 -31
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +61 -61
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +29 -29
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +4 -4
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +105 -105
- package/dist/node_modules/echarts/lib/coord/Axis.js +92 -0
- package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +6 -0
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +76 -0
- package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +9 -0
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +124 -0
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +123 -14
- package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +9 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +39 -0
- package/dist/node_modules/echarts/lib/coord/axisNiceTicks.js +64 -0
- package/dist/node_modules/echarts/lib/coord/axisStatistics.js +101 -22
- package/dist/node_modules/echarts/lib/coord/axisStatisticsMetricsImpl.js +43 -0
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +151 -5
- package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +24 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +18 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +23 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +69 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +314 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +40 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +43 -12
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +175 -0
- package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +39 -16
- package/dist/node_modules/echarts/lib/core/echarts.js +421 -421
- package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +30 -0
- package/dist/node_modules/echarts/lib/data/SeriesData.js +18 -18
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +6 -6
- package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +59 -0
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +13 -13
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +7 -4
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +40 -8
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +3 -3
- package/dist/node_modules/echarts/lib/data/helper/transform.js +8 -8
- package/dist/node_modules/echarts/lib/extension.js +10 -10
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +10 -10
- package/dist/node_modules/echarts/lib/label/labelStyle.js +34 -25
- package/dist/node_modules/echarts/lib/label/sectorLabel.js +83 -0
- package/dist/node_modules/echarts/lib/layout/barCommon.js +19 -0
- package/dist/node_modules/echarts/lib/layout/barGrid.js +165 -0
- package/dist/node_modules/echarts/lib/layout/points.js +37 -0
- package/dist/node_modules/echarts/lib/loading/default.js +6 -6
- package/dist/node_modules/echarts/lib/model/Component.js +39 -39
- package/dist/node_modules/echarts/lib/model/Global.js +122 -122
- package/dist/node_modules/echarts/lib/model/Series.js +78 -78
- package/dist/node_modules/echarts/lib/model/referHelper.js +58 -0
- package/dist/node_modules/echarts/lib/processor/dataSample.js +43 -0
- package/dist/node_modules/echarts/lib/scale/Interval.js +68 -0
- package/dist/node_modules/echarts/lib/scale/Log.js +100 -0
- package/dist/node_modules/echarts/lib/scale/Ordinal.js +92 -0
- package/dist/node_modules/echarts/lib/scale/Scale.js +13 -0
- package/dist/node_modules/echarts/lib/scale/Time.js +242 -0
- package/dist/node_modules/echarts/lib/scale/break.js +10 -2
- package/dist/node_modules/echarts/lib/scale/helper.js +61 -3
- package/dist/node_modules/echarts/lib/scale/minorTicks.js +22 -0
- package/dist/node_modules/echarts/lib/scale/scaleMapper.js +89 -7
- package/dist/node_modules/echarts/lib/util/clazz.js +35 -35
- package/dist/node_modules/echarts/lib/util/component.js +16 -16
- package/dist/node_modules/echarts/lib/util/cycleCache.js +4 -1
- package/dist/node_modules/echarts/lib/util/decal.js +11 -11
- package/dist/node_modules/echarts/lib/util/format.js +1 -1
- package/dist/node_modules/echarts/lib/util/graphic.js +170 -170
- package/dist/node_modules/echarts/lib/util/layout.js +23 -23
- package/dist/node_modules/echarts/lib/util/model.js +128 -68
- package/dist/node_modules/echarts/lib/util/number.js +55 -37
- package/dist/node_modules/echarts/lib/util/shape/sausage.js +25 -0
- package/dist/node_modules/echarts/lib/util/states.js +96 -82
- package/dist/node_modules/echarts/lib/util/styleCompat.js +10 -0
- package/dist/node_modules/echarts/lib/util/symbol.js +24 -21
- package/dist/node_modules/echarts/lib/util/time.js +154 -18
- package/dist/node_modules/echarts/lib/util/vendor.js +26 -0
- package/dist/node_modules/echarts/lib/view/Chart.js +19 -19
- package/dist/node_modules/echarts/lib/view/Component.js +7 -7
- package/dist/node_modules/echarts/lib/visual/style.js +5 -5
- package/dist/node_modules/zrender/lib/Element.js +35 -35
- package/dist/node_modules/zrender/lib/canvas/graphic.js +36 -36
- package/dist/node_modules/zrender/lib/core/PathProxy.js +25 -25
- package/dist/node_modules/zrender/lib/core/event.js +4 -1
- package/dist/node_modules/zrender/lib/core/util.js +69 -64
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +7 -7
- package/dist/node_modules/zrender/lib/graphic/Text.js +37 -37
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +59 -59
- package/dist/node_modules/zrender/lib/tool/color.js +60 -41
- package/dist/react.d.ts +5 -0
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +83 -77
- package/package.json +5 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { curry as e, each as t, hasOwn as n, isArray as r, isObject as i } from "../../../zrender/lib/core/util.js";
|
|
2
|
-
import
|
|
2
|
+
import a from "../../../zrender/lib/core/BoundingRect.js";
|
|
3
3
|
import { parsePercent as o } from "./number.js";
|
|
4
|
-
import s from "
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { error as s } from "./log.js";
|
|
5
|
+
import { getCoordForCoordSysUsageKindBox as c } from "../core/CoordinateSystem.js";
|
|
6
|
+
import { normalizeCssArray as l } from "./format.js";
|
|
7
7
|
//#region node_modules/echarts/lib/util/layout.js
|
|
8
8
|
var u = t, d = [
|
|
9
9
|
"left",
|
|
@@ -77,27 +77,27 @@ function _(e, t) {
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
function v(e, t, n) {
|
|
80
|
-
n =
|
|
81
|
-
var r = t.width, i = t.height,
|
|
82
|
-
switch (isNaN(f) && (f = r - u - h -
|
|
80
|
+
n = l(n || 0);
|
|
81
|
+
var r = t.width, i = t.height, s = o(e.left, r), c = o(e.top, i), u = o(e.right, r), d = o(e.bottom, i), f = o(e.width, r), p = o(e.height, i), m = n[2] + n[0], h = n[1] + n[3], g = e.aspect;
|
|
82
|
+
switch (isNaN(f) && (f = r - u - h - s), isNaN(p) && (p = i - d - m - c), g != null && (isNaN(f) && isNaN(p) && (g > r / i ? f = r * .8 : p = i * .8), isNaN(f) && (f = g * p), isNaN(p) && (p = f / g)), isNaN(s) && (s = r - u - f - h), isNaN(c) && (c = i - d - p - m), e.left || e.right) {
|
|
83
83
|
case "center":
|
|
84
|
-
|
|
84
|
+
s = r / 2 - f / 2 - n[3];
|
|
85
85
|
break;
|
|
86
86
|
case "right":
|
|
87
|
-
|
|
87
|
+
s = r - f - h;
|
|
88
88
|
break;
|
|
89
89
|
}
|
|
90
90
|
switch (e.top || e.bottom) {
|
|
91
91
|
case "middle":
|
|
92
92
|
case "center":
|
|
93
|
-
|
|
93
|
+
c = i / 2 - p / 2 - n[0];
|
|
94
94
|
break;
|
|
95
95
|
case "bottom":
|
|
96
|
-
|
|
96
|
+
c = i - p - m;
|
|
97
97
|
break;
|
|
98
98
|
}
|
|
99
|
-
|
|
100
|
-
var _ = new
|
|
99
|
+
s ||= 0, c ||= 0, isNaN(f) && (f = r - h - s - (u || 0)), isNaN(p) && (p = i - m - c - (d || 0));
|
|
100
|
+
var _ = new a((t.x || 0) + s + n[3], (t.y || 0) + c + n[0], f, p);
|
|
101
101
|
return _.margin = n, _;
|
|
102
102
|
}
|
|
103
103
|
var y = {
|
|
@@ -105,25 +105,25 @@ var y = {
|
|
|
105
105
|
point: 2
|
|
106
106
|
};
|
|
107
107
|
function b(e, t, n) {
|
|
108
|
-
var r, i,
|
|
109
|
-
if (
|
|
110
|
-
var u =
|
|
111
|
-
if (
|
|
112
|
-
|
|
113
|
-
var p =
|
|
108
|
+
var r, i, a, o = e.boxCoordinateSystem, l;
|
|
109
|
+
if (o) {
|
|
110
|
+
var u = c(e), d = u.coord, f = u.from;
|
|
111
|
+
if (o.dataToLayout) {
|
|
112
|
+
a = y.rect, l = f;
|
|
113
|
+
var p = o.dataToLayout(d);
|
|
114
114
|
r = p.contentRect || p.rect;
|
|
115
|
-
} else n && n.enableLayoutOnlyByCenter &&
|
|
115
|
+
} else n && n.enableLayoutOnlyByCenter && o.dataToPoint ? (a = y.point, l = f, i = o.dataToPoint(d)) : process.env.NODE_ENV !== "production" && s(e.type + "[" + e.componentIndex + "]" + (" layout based on " + o.type + " is not supported."));
|
|
116
116
|
}
|
|
117
|
-
return
|
|
117
|
+
return a ??= y.rect, a === y.rect && (r ||= {
|
|
118
118
|
x: 0,
|
|
119
119
|
y: 0,
|
|
120
120
|
width: t.getWidth(),
|
|
121
121
|
height: t.getHeight()
|
|
122
122
|
}, i = [r.x + r.width / 2, r.y + r.height / 2]), {
|
|
123
|
-
type:
|
|
123
|
+
type: a,
|
|
124
124
|
refContainer: r,
|
|
125
125
|
refPoint: i,
|
|
126
|
-
boxCoordFrom:
|
|
126
|
+
boxCoordFrom: l
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
129
|
function x(e) {
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import { assert as e, createHashMap as t, each as n, hasOwn as r, indexOf as i, isArray as a, isNumber as o, isObject as s, isString as c, isStringSafe as l, map as u } from "../../../zrender/lib/core/util.js";
|
|
2
|
-
import
|
|
3
|
-
import p from "
|
|
4
|
-
import {
|
|
1
|
+
import { assert as e, createHashMap as t, each as n, hasOwn as r, indexOf as i, isArray as a, isNumber as o, isObject as s, isString as c, isStringSafe as l, map as u, retrieve2 as d } from "../../../zrender/lib/core/util.js";
|
|
2
|
+
import f from "../../../zrender/lib/core/env.js";
|
|
3
|
+
import { getPrecision as p, getRandomIdBase as m, isNumeric as h, round as g } from "./number.js";
|
|
4
|
+
import { error as _, warn as v } from "./log.js";
|
|
5
5
|
//#region node_modules/echarts/lib/util/model.js
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
function y(e, t, n) {
|
|
7
|
+
return (t - e) * n + e;
|
|
8
|
+
}
|
|
9
|
+
var b = "series\0", x = "\0_ec_\0";
|
|
10
|
+
function S(e) {
|
|
8
11
|
return e instanceof Array ? e : e == null ? [] : [e];
|
|
9
12
|
}
|
|
10
|
-
function
|
|
13
|
+
function C(e, t, n) {
|
|
11
14
|
if (e) {
|
|
12
15
|
e[t] = e[t] || {}, e.emphasis = e.emphasis || {}, e.emphasis[t] = e.emphasis[t] || {};
|
|
13
16
|
for (var r = 0, i = n.length; r < i; r++) {
|
|
@@ -16,14 +19,14 @@ function y(e, t, n) {
|
|
|
16
19
|
}
|
|
17
20
|
}
|
|
18
21
|
}
|
|
19
|
-
var
|
|
20
|
-
function
|
|
22
|
+
var w = /* @__PURE__ */ "fontStyle.fontWeight.fontSize.fontFamily.rich.tag.color.textBorderColor.textBorderWidth.width.height.lineHeight.align.verticalAlign.baseline.shadowColor.shadowBlur.shadowOffsetX.shadowOffsetY.textShadowColor.textShadowBlur.textShadowOffsetX.textShadowOffsetY.backgroundColor.borderColor.borderWidth.borderRadius.padding".split(".");
|
|
23
|
+
function T(e) {
|
|
21
24
|
return s(e) && !a(e) && !(e instanceof Date) ? e.value : e;
|
|
22
25
|
}
|
|
23
|
-
function
|
|
26
|
+
function E(e) {
|
|
24
27
|
return s(e) && !(e instanceof Array);
|
|
25
28
|
}
|
|
26
|
-
function
|
|
29
|
+
function D(e, r, i) {
|
|
27
30
|
var a = i === "normalMerge", o = i === "replaceMerge", c = i === "replaceAll";
|
|
28
31
|
e ||= [], r = (r || []).slice();
|
|
29
32
|
var l = t();
|
|
@@ -32,18 +35,18 @@ function C(e, r, i) {
|
|
|
32
35
|
r[t] = null;
|
|
33
36
|
return;
|
|
34
37
|
}
|
|
35
|
-
process.env.NODE_ENV !== "production" && (e.id != null && !
|
|
38
|
+
process.env.NODE_ENV !== "production" && (e.id != null && !F(e.id) && P(e.id), e.name != null && !F(e.name) && P(e.name));
|
|
36
39
|
});
|
|
37
|
-
var u =
|
|
38
|
-
return (a || o) &&
|
|
40
|
+
var u = O(e, l, i);
|
|
41
|
+
return (a || o) && k(u, e, l, r), a && ee(u, r), a || o ? te(u, r, o) : c && ne(u, r), A(u), u;
|
|
39
42
|
}
|
|
40
|
-
function
|
|
43
|
+
function O(e, t, n) {
|
|
41
44
|
var r = [];
|
|
42
45
|
if (n === "replaceAll") return r;
|
|
43
46
|
for (var i = 0; i < e.length; i++) {
|
|
44
47
|
var a = e[i];
|
|
45
48
|
a && a.id != null && t.set(a.id, i), r.push({
|
|
46
|
-
existing: n === "replaceMerge" ||
|
|
49
|
+
existing: n === "replaceMerge" || L(a) ? null : a,
|
|
47
50
|
newOption: null,
|
|
48
51
|
keyInfo: null,
|
|
49
52
|
brandNew: null
|
|
@@ -51,10 +54,10 @@ function w(e, t, n) {
|
|
|
51
54
|
}
|
|
52
55
|
return r;
|
|
53
56
|
}
|
|
54
|
-
function
|
|
57
|
+
function k(t, r, i, a) {
|
|
55
58
|
n(a, function(n, o) {
|
|
56
59
|
if (!(!n || n.id == null)) {
|
|
57
|
-
var s =
|
|
60
|
+
var s = M(n.id), c = i.get(s);
|
|
58
61
|
if (c != null) {
|
|
59
62
|
var l = t[c];
|
|
60
63
|
e(!l.newOption, "Duplicated option on id \"" + s + "\"."), l.newOption = n, l.existing = r[c], a[o] = null;
|
|
@@ -62,21 +65,21 @@ function T(t, r, i, a) {
|
|
|
62
65
|
}
|
|
63
66
|
});
|
|
64
67
|
}
|
|
65
|
-
function
|
|
68
|
+
function ee(e, t) {
|
|
66
69
|
n(t, function(n, r) {
|
|
67
70
|
if (!(!n || n.name == null)) for (var i = 0; i < e.length; i++) {
|
|
68
71
|
var a = e[i].existing;
|
|
69
|
-
if (!e[i].newOption && a && (a.id == null || n.id == null) && !
|
|
72
|
+
if (!e[i].newOption && a && (a.id == null || n.id == null) && !L(n) && !L(a) && j("name", a, n)) {
|
|
70
73
|
e[i].newOption = n, t[r] = null;
|
|
71
74
|
return;
|
|
72
75
|
}
|
|
73
76
|
}
|
|
74
77
|
});
|
|
75
78
|
}
|
|
76
|
-
function
|
|
79
|
+
function te(e, t, r) {
|
|
77
80
|
n(t, function(t) {
|
|
78
81
|
if (t) {
|
|
79
|
-
for (var n, i = 0; (n = e[i]) && (n.newOption ||
|
|
82
|
+
for (var n, i = 0; (n = e[i]) && (n.newOption || L(n.existing) || n.existing && t.id != null && !j("id", t, n.existing));) i++;
|
|
80
83
|
n ? (n.newOption = t, n.brandNew = r) : e.push({
|
|
81
84
|
newOption: t,
|
|
82
85
|
brandNew: r,
|
|
@@ -86,7 +89,7 @@ function D(e, t, r) {
|
|
|
86
89
|
}
|
|
87
90
|
});
|
|
88
91
|
}
|
|
89
|
-
function
|
|
92
|
+
function ne(e, t) {
|
|
90
93
|
n(t, function(t) {
|
|
91
94
|
e.push({
|
|
92
95
|
newOption: t,
|
|
@@ -96,7 +99,7 @@ function O(e, t) {
|
|
|
96
99
|
});
|
|
97
100
|
});
|
|
98
101
|
}
|
|
99
|
-
function
|
|
102
|
+
function A(r) {
|
|
100
103
|
var i = t();
|
|
101
104
|
n(r, function(e) {
|
|
102
105
|
var t = e.existing;
|
|
@@ -107,8 +110,8 @@ function k(r) {
|
|
|
107
110
|
}), n(r, function(e, t) {
|
|
108
111
|
var n = e.existing, r = e.newOption, a = e.keyInfo;
|
|
109
112
|
if (s(r)) {
|
|
110
|
-
if (a.name = r.name == null ? n ? n.name :
|
|
111
|
-
else if (r.id != null) a.id =
|
|
113
|
+
if (a.name = r.name == null ? n ? n.name : b + t : M(r.name), n) a.id = M(n.id);
|
|
114
|
+
else if (r.id != null) a.id = M(r.id);
|
|
112
115
|
else {
|
|
113
116
|
var o = 0;
|
|
114
117
|
do
|
|
@@ -119,40 +122,40 @@ function k(r) {
|
|
|
119
122
|
}
|
|
120
123
|
});
|
|
121
124
|
}
|
|
122
|
-
function
|
|
123
|
-
var r =
|
|
125
|
+
function j(e, t, n) {
|
|
126
|
+
var r = N(t[e], null), i = N(n[e], null);
|
|
124
127
|
return r != null && i != null && r === i;
|
|
125
128
|
}
|
|
126
|
-
function
|
|
129
|
+
function M(e) {
|
|
127
130
|
if (process.env.NODE_ENV !== "production" && e == null) throw Error();
|
|
128
|
-
return
|
|
131
|
+
return N(e, "");
|
|
129
132
|
}
|
|
130
|
-
function
|
|
133
|
+
function N(e, t) {
|
|
131
134
|
return e == null ? t : c(e) ? e : o(e) || l(e) ? e + "" : t;
|
|
132
135
|
}
|
|
133
|
-
function N(e) {
|
|
134
|
-
process.env.NODE_ENV !== "production" && f("`" + e + "` is invalid id or name. Must be a string or number.");
|
|
135
|
-
}
|
|
136
136
|
function P(e) {
|
|
137
|
-
|
|
137
|
+
process.env.NODE_ENV !== "production" && v("`" + e + "` is invalid id or name. Must be a string or number.");
|
|
138
138
|
}
|
|
139
139
|
function F(e) {
|
|
140
|
-
|
|
141
|
-
return !!(t && t.indexOf(g));
|
|
140
|
+
return l(e) || h(e);
|
|
142
141
|
}
|
|
143
142
|
function I(e) {
|
|
144
|
-
|
|
143
|
+
var t = e.name;
|
|
144
|
+
return !!(t && t.indexOf(b));
|
|
145
145
|
}
|
|
146
|
-
function L(e
|
|
146
|
+
function L(e) {
|
|
147
|
+
return e && e.id != null && M(e.id).indexOf(x) === 0;
|
|
148
|
+
}
|
|
149
|
+
function R(e, t, r) {
|
|
147
150
|
n(e, function(e) {
|
|
148
151
|
var n = e.newOption;
|
|
149
|
-
s(n) && (e.keyInfo.mainType = t, e.keyInfo.subType =
|
|
152
|
+
s(n) && (e.keyInfo.mainType = t, e.keyInfo.subType = z(t, n, e.existing, r));
|
|
150
153
|
});
|
|
151
154
|
}
|
|
152
|
-
function
|
|
155
|
+
function z(e, t, n, r) {
|
|
153
156
|
return t.type ? t.type : n ? n.subType : r.determineSubType(e, t);
|
|
154
157
|
}
|
|
155
|
-
function
|
|
158
|
+
function B(e, t) {
|
|
156
159
|
if (t.dataIndexInside != null) return t.dataIndexInside;
|
|
157
160
|
if (t.dataIndex != null) return a(t.dataIndex) ? u(t.dataIndex, function(t) {
|
|
158
161
|
return e.indexOfRawIndex(t);
|
|
@@ -161,17 +164,17 @@ function z(e, t) {
|
|
|
161
164
|
return e.indexOfName(t);
|
|
162
165
|
}) : e.indexOfName(t.name);
|
|
163
166
|
}
|
|
164
|
-
function
|
|
165
|
-
var e = "__ec_inner_" +
|
|
167
|
+
function V() {
|
|
168
|
+
var e = "__ec_inner_" + H++;
|
|
166
169
|
return function(t) {
|
|
167
170
|
return t[e] || (t[e] = {});
|
|
168
171
|
};
|
|
169
172
|
}
|
|
170
|
-
var
|
|
171
|
-
function
|
|
172
|
-
var r =
|
|
173
|
+
var H = m();
|
|
174
|
+
function U(e, t, n) {
|
|
175
|
+
var r = W(t, n), i = r.mainTypeSpecified, a = r.queryOptionMap, o = r.others, s = n ? n.defaultMainType : null;
|
|
173
176
|
return !i && s && a.set(s, {}), a.each(function(t, r) {
|
|
174
|
-
var i =
|
|
177
|
+
var i = q(e, r, t, {
|
|
175
178
|
useDefault: s === r,
|
|
176
179
|
enableAll: n && n.enableAll != null ? n.enableAll : !0,
|
|
177
180
|
enableNone: n && n.enableNone != null ? n.enableNone : !0
|
|
@@ -179,7 +182,7 @@ function V(e, t, n) {
|
|
|
179
182
|
o[r + "Models"] = i.models, o[r + "Model"] = i.models[0];
|
|
180
183
|
}), o;
|
|
181
184
|
}
|
|
182
|
-
function
|
|
185
|
+
function W(e, r) {
|
|
183
186
|
var a;
|
|
184
187
|
if (c(e)) {
|
|
185
188
|
var o = {};
|
|
@@ -203,13 +206,17 @@ function H(e, r) {
|
|
|
203
206
|
others: l
|
|
204
207
|
};
|
|
205
208
|
}
|
|
206
|
-
var
|
|
209
|
+
var G = {
|
|
207
210
|
useDefault: !0,
|
|
208
211
|
enableAll: !1,
|
|
209
212
|
enableNone: !1
|
|
213
|
+
}, K = {
|
|
214
|
+
useDefault: !1,
|
|
215
|
+
enableAll: !0,
|
|
216
|
+
enableNone: !0
|
|
210
217
|
};
|
|
211
|
-
function
|
|
212
|
-
r ||=
|
|
218
|
+
function q(e, t, n, r) {
|
|
219
|
+
r ||= G;
|
|
213
220
|
var i = n.index, a = n.id, o = n.name, s = {
|
|
214
221
|
models: null,
|
|
215
222
|
specified: i != null || a != null || o != null
|
|
@@ -220,16 +227,16 @@ function W(e, t, n, r) {
|
|
|
220
227
|
}
|
|
221
228
|
if (i === "none" || i === !1) {
|
|
222
229
|
if (r.enableNone) return s.models = [], s;
|
|
223
|
-
process.env.NODE_ENV !== "production" &&
|
|
230
|
+
process.env.NODE_ENV !== "production" && _("`\"none\"` or `false` is not a valid value on index option."), i = -1;
|
|
224
231
|
}
|
|
225
|
-
return i === "all" && (r.enableAll ? i = a = o = null : (process.env.NODE_ENV !== "production" &&
|
|
232
|
+
return i === "all" && (r.enableAll ? i = a = o = null : (process.env.NODE_ENV !== "production" && _("`\"all\"` is not a valid value on index option."), i = -1)), s.models = e.queryComponents({
|
|
226
233
|
mainType: t,
|
|
227
234
|
index: i,
|
|
228
235
|
id: a,
|
|
229
236
|
name: o
|
|
230
237
|
}), s;
|
|
231
238
|
}
|
|
232
|
-
function
|
|
239
|
+
function J(t, n, r) {
|
|
233
240
|
process.env.NODE_ENV !== "production" && e(n);
|
|
234
241
|
var i = {};
|
|
235
242
|
i[n + "Id"] = t[n + "Id"], i[n + "Index"] = t[n + "Index"], i[n + "Name"] = t[n + "Name"];
|
|
@@ -239,14 +246,33 @@ function G(t, n, r) {
|
|
|
239
246
|
};
|
|
240
247
|
return r && (a.subType = r), a;
|
|
241
248
|
}
|
|
242
|
-
function
|
|
249
|
+
function Y(e, t, n) {
|
|
243
250
|
e.setAttribute ? e.setAttribute(t, n) : e[t] = n;
|
|
244
251
|
}
|
|
245
|
-
function
|
|
252
|
+
function re(e, t) {
|
|
246
253
|
return e.getAttribute ? e.getAttribute(t) : e[t];
|
|
247
254
|
}
|
|
248
|
-
function
|
|
249
|
-
return e === "auto" ?
|
|
255
|
+
function X(e) {
|
|
256
|
+
return e === "auto" ? f.domSupported ? "html" : "richText" : e || "html";
|
|
257
|
+
}
|
|
258
|
+
function ie(e, t, n, r, i) {
|
|
259
|
+
var a = t == null || t === "auto";
|
|
260
|
+
if (r == null) return r;
|
|
261
|
+
if (o(r)) {
|
|
262
|
+
var s = y(n || 0, r, i);
|
|
263
|
+
return g(s, a ? Math.max(p(n || 0), p(r)) : t);
|
|
264
|
+
} else if (c(r)) return i < 1 ? n : r;
|
|
265
|
+
else {
|
|
266
|
+
for (var l = [], u = n, d = r, f = Math.max(u ? u.length : 0, d.length), m = 0; m < f; ++m) {
|
|
267
|
+
var h = e.getDimensionInfo(m);
|
|
268
|
+
if (h && h.type === "ordinal") l[m] = (i < 1 && u ? u : d)[m];
|
|
269
|
+
else {
|
|
270
|
+
var _ = u && u[m] ? u[m] : 0, v = d[m], s = y(_, v, i);
|
|
271
|
+
l[m] = g(s, a ? Math.max(p(_), p(v)) : t);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
return l;
|
|
275
|
+
}
|
|
250
276
|
}
|
|
251
277
|
(function() {
|
|
252
278
|
function e() {}
|
|
@@ -256,17 +282,42 @@ function J(e) {
|
|
|
256
282
|
return (this._step > 0 ? this._idx < this._end : this._idx >= this._end) ? (this.item = this._list[this._idx], this.key = this._idx += this._step, !0) : !1;
|
|
257
283
|
}, e;
|
|
258
284
|
})();
|
|
259
|
-
function
|
|
285
|
+
function ae() {
|
|
260
286
|
return [Infinity, -Infinity];
|
|
261
287
|
}
|
|
262
|
-
function
|
|
263
|
-
|
|
288
|
+
function oe(e, t) {
|
|
289
|
+
Z(t) && (t < e[0] && (e[0] = t), t > e[1] && (e[1] = t));
|
|
290
|
+
}
|
|
291
|
+
function se(e, t) {
|
|
292
|
+
Z(t) && t < e[0] && (e[0] = t);
|
|
293
|
+
}
|
|
294
|
+
function ce(e, t) {
|
|
295
|
+
Z(t) && t > e[1] && (e[1] = t);
|
|
296
|
+
}
|
|
297
|
+
function le(e, t) {
|
|
298
|
+
Q(t[0], t[1]) && (t[0] < e[0] && (e[0] = t[0]), t[1] > e[1] && (e[1] = t[1]));
|
|
299
|
+
}
|
|
300
|
+
function Z(e) {
|
|
301
|
+
return e != null && isFinite(e);
|
|
302
|
+
}
|
|
303
|
+
function Q(e, t) {
|
|
304
|
+
return Z(e) && Z(t) && e <= t;
|
|
305
|
+
}
|
|
306
|
+
function ue(e) {
|
|
307
|
+
var t = e[1] - e[0];
|
|
308
|
+
return isFinite(t) && t >= 0;
|
|
309
|
+
}
|
|
310
|
+
function de(e) {
|
|
311
|
+
Q(e[0], e[1]) && e[0] > e[1] && (e[0] = e[1]);
|
|
312
|
+
}
|
|
313
|
+
function $() {
|
|
314
|
+
var t = "__ec_once_" + fe++;
|
|
264
315
|
return function(n, i) {
|
|
265
316
|
process.env.NODE_ENV !== "production" && e(n), r(n, t) || (n[t] = 1, i());
|
|
266
317
|
};
|
|
267
318
|
}
|
|
268
|
-
var
|
|
269
|
-
function
|
|
319
|
+
var fe = m();
|
|
320
|
+
function pe(r, i, a) {
|
|
270
321
|
var o = t(), s = 0;
|
|
271
322
|
n(r, function(t) {
|
|
272
323
|
var n = i(t);
|
|
@@ -275,7 +326,16 @@ function Q(r, i, a) {
|
|
|
275
326
|
a && a(t, l), !l && !a && (r[s++] = t), o.set(n, l + 1);
|
|
276
327
|
}), a || (r.length = s);
|
|
277
328
|
}
|
|
278
|
-
function
|
|
329
|
+
function me(t) {
|
|
330
|
+
return process.env.NODE_ENV !== "production" && e(t.value != null), t.value + "";
|
|
331
|
+
}
|
|
332
|
+
function he(t) {
|
|
333
|
+
return process.env.NODE_ENV !== "production" && e(t != null), t + "";
|
|
334
|
+
}
|
|
335
|
+
function ge(e, t) {
|
|
336
|
+
return d(t, !0) ? e.seriesIndex + 2 : 0;
|
|
337
|
+
}
|
|
338
|
+
function _e(e, t, n) {
|
|
279
339
|
var r = e.getData().count();
|
|
280
340
|
return {
|
|
281
341
|
progressiveRender: n.progressiveEnabled && t.incrementalPrepareRender && r >= n.threshold,
|
|
@@ -283,14 +343,14 @@ function $(e, t, n) {
|
|
|
283
343
|
modDataCount: e.get("progressiveChunkMode") === "mod" ? e.getData().count() : null
|
|
284
344
|
};
|
|
285
345
|
}
|
|
286
|
-
function
|
|
346
|
+
function ve(e, t) {
|
|
287
347
|
return {
|
|
288
348
|
seriesType: e,
|
|
289
349
|
overallReset: t
|
|
290
350
|
};
|
|
291
351
|
}
|
|
292
|
-
function
|
|
352
|
+
function ye(e) {
|
|
293
353
|
return { overallReset: e };
|
|
294
354
|
}
|
|
295
355
|
//#endregion
|
|
296
|
-
export {
|
|
356
|
+
export { K as MULTIPLE_REFERRING, G as SINGLE_REFERRING, w as TEXT_STYLE_OPTIONS, N as convertOptionIdName, ve as createSimpleOverallStageHandler, ye as createSimpleOverallStageHandler2, C as defaultEmphasis, de as ensureExtentAscSimply, ue as extentHasValue, re as getAttribute, T as getDataItemValue, ge as getIncrementalId, X as getTooltipRenderMode, ae as initExtentForUnion, ie as interpolateRawValues, L as isComponentIdInternal, E as isDataItemOption, I as isNameSpecified, Q as isValidBoundsForExtent, Z as isValidNumberForExtent, $ as makeCallOnlyOnce, V as makeInner, J as makeQueryConditionKindA, D as mappingToExists, S as normalizeToArray, U as parseFinder, W as preParseFinder, _e as preparePipelineContext, B as queryDataIndex, q as queryReferringComponents, pe as removeDuplicates, he as removeDuplicatesGetKeyFromItemItself, me as removeDuplicatesGetKeyFromValueProp, Y as setAttribute, R as setComponentTypeToKeyInfo, ce as unionExtentEndFromNumber, le as unionExtentFromExtent, oe as unionExtentFromNumber, se as unionExtentStartFromNumber };
|
|
@@ -4,8 +4,8 @@ var i = 1e-4, a = 20;
|
|
|
4
4
|
function o(e) {
|
|
5
5
|
return e.replace(/^\s+|\s+$/g, "");
|
|
6
6
|
}
|
|
7
|
-
var s = Math.min, c = Math.max, l = Math.abs, u = Math.round, d = Math.floor, f = Math.
|
|
8
|
-
function
|
|
7
|
+
var s = Math.min, c = Math.max, l = Math.abs, u = Math.round, d = Math.floor, f = Math.ceil, p = Math.pow, m = Math.log, h = Math.LN10, g = Math.PI, _ = Math.random;
|
|
8
|
+
function v(e, t, n, r) {
|
|
9
9
|
var i = t[0], a = t[1], o = n[0], s = n[1], c = a - i, l = s - o;
|
|
10
10
|
if (c === 0) return l === 0 ? o : (o + s) / 2;
|
|
11
11
|
if (r) {
|
|
@@ -20,8 +20,8 @@ function h(e, t, n, r) {
|
|
|
20
20
|
}
|
|
21
21
|
return (e - i) / c * l + o;
|
|
22
22
|
}
|
|
23
|
-
var
|
|
24
|
-
function
|
|
23
|
+
var y = b;
|
|
24
|
+
function b(e, t, n) {
|
|
25
25
|
switch (e) {
|
|
26
26
|
case "center":
|
|
27
27
|
case "middle":
|
|
@@ -36,39 +36,45 @@ function _(e, t, n) {
|
|
|
36
36
|
e = "100%";
|
|
37
37
|
break;
|
|
38
38
|
}
|
|
39
|
-
return
|
|
39
|
+
return x(e, t, n);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
return t(e) ?
|
|
41
|
+
function x(e, n, r) {
|
|
42
|
+
return t(e) ? S(e) ? parseFloat(e) / 100 * n + (r || 0) : parseFloat(e) : e == null ? NaN : +e;
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function S(e) {
|
|
45
45
|
return !!o(e).match(/%$/);
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function C(t, n, r) {
|
|
48
48
|
return process.env.NODE_ENV !== "production" && e(n != null), isNaN(n) ? r ? "" + t : +t : (n = s(c(0, n), a), t = (+t).toFixed(n), r ? t : +t);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function w(e) {
|
|
51
51
|
return e.sort(function(e, t) {
|
|
52
52
|
return e - t;
|
|
53
53
|
}), e;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function T(e) {
|
|
56
56
|
if (e = +e, isNaN(e)) return 0;
|
|
57
57
|
if (e > 1e-14) {
|
|
58
58
|
for (var t = 1, n = 0; n < 15; n++, t *= 10) if (u(e * t) / t === e) return n;
|
|
59
59
|
}
|
|
60
|
-
return
|
|
60
|
+
return E(e);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function E(e) {
|
|
63
63
|
var t = e.toString().toLowerCase(), n = t.indexOf("e"), r = n > 0 ? +t.slice(n + 1) : 0, i = n > 0 ? n : t.length, a = t.indexOf(".");
|
|
64
64
|
return c(0, (a < 0 ? 0 : i - 1 - a) - r);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function D(e, t, n) {
|
|
67
|
+
var r = l(e[1] - e[0]);
|
|
68
|
+
if (!isFinite(r) || r === 0) return NaN;
|
|
69
|
+
var i = m(2 * l(n || 1) * l(r)) / h, a = m(l(t)) / h, o = c(0, f(-i + a));
|
|
70
|
+
return isFinite(o) || (o = NaN), o;
|
|
71
|
+
}
|
|
72
|
+
function O(e, t) {
|
|
67
73
|
var i = r(e, function(e, t) {
|
|
68
74
|
return e + (isNaN(t) ? 0 : t);
|
|
69
75
|
}, 0);
|
|
70
76
|
if (i === 0) return [];
|
|
71
|
-
for (var a =
|
|
77
|
+
for (var a = p(10, t), o = n(e, function(e) {
|
|
72
78
|
return (isNaN(e) ? 0 : e) / i * a * 100;
|
|
73
79
|
}), s = a * 100, c = n(o, function(e) {
|
|
74
80
|
return d(e);
|
|
@@ -77,30 +83,30 @@ function w(e, t) {
|
|
|
77
83
|
}, 0), u = n(o, function(e, t) {
|
|
78
84
|
return e - c[t];
|
|
79
85
|
}); l < s;) {
|
|
80
|
-
for (var
|
|
86
|
+
for (var f = -Infinity, m = null, h = 0, g = u.length; h < g; ++h) u[h] > f && (f = u[h], m = h);
|
|
81
87
|
++c[m], u[m] = 0, ++l;
|
|
82
88
|
}
|
|
83
89
|
return n(c, function(e) {
|
|
84
90
|
return e / a;
|
|
85
91
|
});
|
|
86
92
|
}
|
|
87
|
-
function
|
|
88
|
-
var n = c(
|
|
89
|
-
return n > a ? r :
|
|
93
|
+
function k(e, t) {
|
|
94
|
+
var n = c(T(e), T(t)), r = e + t;
|
|
95
|
+
return n > a ? r : C(r, n);
|
|
90
96
|
}
|
|
91
|
-
|
|
92
|
-
function
|
|
93
|
-
var t =
|
|
97
|
+
var A = p(2, 53) - 1;
|
|
98
|
+
function j(e) {
|
|
99
|
+
var t = g * 2;
|
|
94
100
|
return (e % t + t) % t;
|
|
95
101
|
}
|
|
96
|
-
function
|
|
102
|
+
function M(e) {
|
|
97
103
|
return e > -i && e < i;
|
|
98
104
|
}
|
|
99
|
-
var
|
|
100
|
-
function
|
|
105
|
+
var N = /^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;
|
|
106
|
+
function P(e) {
|
|
101
107
|
if (e instanceof Date) return e;
|
|
102
108
|
if (t(e)) {
|
|
103
|
-
var n =
|
|
109
|
+
var n = N.exec(e);
|
|
104
110
|
if (!n) return /* @__PURE__ */ new Date(NaN);
|
|
105
111
|
if (n[8]) {
|
|
106
112
|
var r = +n[4] || 0;
|
|
@@ -109,24 +115,36 @@ function k(e) {
|
|
|
109
115
|
} else if (e == null) return /* @__PURE__ */ new Date(NaN);
|
|
110
116
|
return new Date(u(e));
|
|
111
117
|
}
|
|
112
|
-
function
|
|
118
|
+
function F(e) {
|
|
119
|
+
return p(10, I(e));
|
|
120
|
+
}
|
|
121
|
+
function I(e) {
|
|
122
|
+
if (e === 0) return 0;
|
|
123
|
+
var t = d(m(e) / h);
|
|
124
|
+
return e / p(10, t) >= 10 && t++, t;
|
|
125
|
+
}
|
|
126
|
+
function L(e, t) {
|
|
127
|
+
var n = I(e), r = p(10, n), i = e / r;
|
|
128
|
+
return e = (t === 2 ? 1 : t ? i < 1.5 ? 1 : i < 2.5 ? 2 : i < 4 ? 3 : i < 7 ? 5 : 10 : i < 1 ? 1 : i < 2 ? 2 : i < 3 ? 3 : i < 5 ? 5 : 10) * r, C(e, -n);
|
|
129
|
+
}
|
|
130
|
+
function R(e) {
|
|
113
131
|
var n = parseFloat(e);
|
|
114
132
|
return n == e && (n !== 0 || !t(e) || e.indexOf("x") <= 0) ? n : NaN;
|
|
115
133
|
}
|
|
116
|
-
function
|
|
117
|
-
return !isNaN(
|
|
134
|
+
function z(e) {
|
|
135
|
+
return !isNaN(R(e));
|
|
118
136
|
}
|
|
119
|
-
function
|
|
120
|
-
return u(
|
|
137
|
+
function B() {
|
|
138
|
+
return u(_() * 9);
|
|
121
139
|
}
|
|
122
|
-
function
|
|
123
|
-
return t === 0 ? e :
|
|
140
|
+
function V(e, t) {
|
|
141
|
+
return t === 0 ? e : V(t, e % t);
|
|
124
142
|
}
|
|
125
|
-
function
|
|
126
|
-
return e == null ? t : t == null ? e : e * t /
|
|
143
|
+
function H(e, t) {
|
|
144
|
+
return e == null ? t : t == null ? e : e * t / V(e, t);
|
|
127
145
|
}
|
|
128
|
-
function
|
|
146
|
+
function U(e) {
|
|
129
147
|
return e != null && isFinite(e);
|
|
130
148
|
}
|
|
131
149
|
//#endregion
|
|
132
|
-
export {
|
|
150
|
+
export { A as MAX_SAFE_INTEGER, k as addSafe, w as asc, D as getAcceptableTickPrecision, H as getLeastCommonMultiple, O as getPercentSeats, T as getPrecision, B as getRandomIdBase, U as isNullableNumberFinite, z as isNumeric, M as isRadianAroundZero, v as linearMap, l as mathAbs, f as mathCeil, d as mathFloor, m as mathLog, c as mathMax, s as mathMin, p as mathPow, u as mathRound, L as nice, R as numericToNumber, P as parseDate, y as parsePercent, x as parsePositionSizeOption, F as quantity, I as quantityExponent, j as remRadian, C as round };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { __extends as e } from "../../../node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import t from "../../../../zrender/lib/graphic/Path.js";
|
|
3
|
+
//#region node_modules/echarts/lib/util/shape/sausage.js
|
|
4
|
+
var n = function() {
|
|
5
|
+
function e() {
|
|
6
|
+
this.cx = 0, this.cy = 0, this.r0 = 0, this.r = 0, this.startAngle = 0, this.endAngle = Math.PI * 2, this.clockwise = !0;
|
|
7
|
+
}
|
|
8
|
+
return e;
|
|
9
|
+
}(), r = function(t) {
|
|
10
|
+
e(r, t);
|
|
11
|
+
function r(e) {
|
|
12
|
+
var n = t.call(this, e) || this;
|
|
13
|
+
return n.type = "sausage", n;
|
|
14
|
+
}
|
|
15
|
+
return r.prototype.getDefaultShape = function() {
|
|
16
|
+
return new n();
|
|
17
|
+
}, r.prototype.buildPath = function(e, t) {
|
|
18
|
+
var n = t.cx, r = t.cy, i = Math.max(t.r0 || 0, 0), a = Math.max(t.r, 0), o = (a - i) * .5, s = i + o, c = t.startAngle, l = t.endAngle, u = t.clockwise, d = Math.PI * 2, f = u ? l - c < d : c - l < d;
|
|
19
|
+
f || (c = l - (u ? d : -d));
|
|
20
|
+
var p = Math.cos(c), m = Math.sin(c), h = Math.cos(l), g = Math.sin(l);
|
|
21
|
+
f ? (e.moveTo(p * i + n, m * i + r), e.arc(p * s + n, m * s + r, o, -Math.PI + c, c, !u)) : e.moveTo(p * a + n, m * a + r), e.arc(n, r, a, c, l, !u), e.arc(h * s + n, g * s + r, o, l - Math.PI * 2, l - Math.PI, !u), i !== 0 && e.arc(n, r, i, l, c, u);
|
|
22
|
+
}, r;
|
|
23
|
+
}(t);
|
|
24
|
+
//#endregion
|
|
25
|
+
export { r as default };
|