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
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createHashMap as e, isObject as t, isString as n, map as r } from "../../../zrender/lib/core/util.js";
|
|
2
|
+
//#region node_modules/echarts/lib/data/OrdinalMeta.js
|
|
3
|
+
var i = 0, a = function() {
|
|
4
|
+
function t(e) {
|
|
5
|
+
this.categories = e.categories || [], this._needCollect = e.needCollect, this._deduplication = e.deduplication, this.uid = ++i, this._onCollect = e.onCollect;
|
|
6
|
+
}
|
|
7
|
+
return t.createByAxisModel = function(e) {
|
|
8
|
+
var n = e.option, i = n.data, a = i && r(i, o);
|
|
9
|
+
return new t({
|
|
10
|
+
categories: a,
|
|
11
|
+
needCollect: !a,
|
|
12
|
+
deduplication: n.dedplication !== !1
|
|
13
|
+
});
|
|
14
|
+
}, t.prototype.getOrdinal = function(e) {
|
|
15
|
+
return this._getOrCreateMap().get(e);
|
|
16
|
+
}, t.prototype.parseAndCollect = function(e) {
|
|
17
|
+
var t, r = this._needCollect;
|
|
18
|
+
if (!n(e) && !r) return e;
|
|
19
|
+
if (r && !this._deduplication) return t = this.categories.length, this.categories[t] = e, this._onCollect && this._onCollect(e, t), t;
|
|
20
|
+
var i = this._getOrCreateMap();
|
|
21
|
+
return t = i.get(e), t ?? (r ? (t = this.categories.length, this.categories[t] = e, i.set(e, t), this._onCollect && this._onCollect(e, t)) : t = NaN), t;
|
|
22
|
+
}, t.prototype._getOrCreateMap = function() {
|
|
23
|
+
return this._map ||= e(this.categories);
|
|
24
|
+
}, t;
|
|
25
|
+
}();
|
|
26
|
+
function o(e) {
|
|
27
|
+
return t(e) && e.value != null ? e.value : e + "";
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { a as default };
|
|
@@ -2,14 +2,14 @@ import { assert as e, bind as t, clone as n, createHashMap as r, each as i, exte
|
|
|
2
2
|
import { convertOptionIdName as h, isDataItemOption as g } from "../util/model.js";
|
|
3
3
|
import { setCommonECData as _ } from "../util/innerStore.js";
|
|
4
4
|
import "../util/types.js";
|
|
5
|
-
import v from "
|
|
6
|
-
import
|
|
7
|
-
import b from "./
|
|
8
|
-
import {
|
|
9
|
-
import S from "
|
|
10
|
-
import C from "./
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
5
|
+
import v from "../model/Model.js";
|
|
6
|
+
import y from "./DataDiffer.js";
|
|
7
|
+
import { isSourceInstance as b } from "./Source.js";
|
|
8
|
+
import { DefaultDataProvider as x } from "./helper/dataProvider.js";
|
|
9
|
+
import { summarizeDimensions as S } from "./helper/dimensionHelper.js";
|
|
10
|
+
import C from "./SeriesDimensionDefine.js";
|
|
11
|
+
import w from "./DataStore.js";
|
|
12
|
+
import { isSeriesDataSchema as T } from "./helper/SeriesDataSchema.js";
|
|
13
13
|
//#region node_modules/echarts/lib/data/SeriesData.js
|
|
14
14
|
var E = u, D = p, O = typeof Int32Array > "u" ? Array : Int32Array, k = "e\0\0", A = -1, j = [
|
|
15
15
|
"hasItemOption",
|
|
@@ -37,17 +37,17 @@ var E = u, D = p, O = typeof Int32Array > "u" ? Array : Int32Array, k = "e\0\0",
|
|
|
37
37
|
"lttbDownSample"
|
|
38
38
|
];
|
|
39
39
|
var a, o = !1;
|
|
40
|
-
|
|
40
|
+
T(t) ? (a = t.dimensions, this._dimOmitted = t.isDimensionOmitted(), this._schema = t) : (o = !0, a = t), a ||= ["x", "y"];
|
|
41
41
|
for (var s = {}, c = [], l = {}, u = !1, f = {}, p = 0; p < a.length; p++) {
|
|
42
|
-
var m = a[p], h = d(m) ? new
|
|
42
|
+
var m = a[p], h = d(m) ? new C({ name: m }) : m instanceof C ? m : new C(m), g = h.name;
|
|
43
43
|
h.type = h.type || "float", h.coordDim || (h.coordDim = g, h.coordDimIndex = 0);
|
|
44
44
|
var _ = h.otherDims = h.otherDims || {};
|
|
45
45
|
c.push(g), s[g] = h, f[g] != null && (u = !0), h.createInvertedIndices && (l[g] = []), process.env.NODE_ENV !== "production" && e(o || h.storeDimIndex >= 0), o && (h.storeDimIndex = p), _.itemName === 0 && (this._nameDimIdx = h.storeDimIndex), _.itemId === 0 && (this._idDimIdx = h.storeDimIndex);
|
|
46
46
|
}
|
|
47
47
|
if (this.dimensions = c, this._dimInfos = s, this._initGetDimensionInfo(u), this.hostModel = n, this._invertedIndicesMap = l, this._dimOmitted) {
|
|
48
|
-
var
|
|
48
|
+
var v = this._dimIdxToName = r();
|
|
49
49
|
i(c, function(e) {
|
|
50
|
-
|
|
50
|
+
v.set(s[e].storeDimIndex, e);
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -93,9 +93,9 @@ var E = u, D = p, O = typeof Int32Array > "u" ? Array : Int32Array, k = "e\0\0",
|
|
|
93
93
|
return this._store;
|
|
94
94
|
}, u.prototype.initData = function(e, t, n) {
|
|
95
95
|
var r = this, i;
|
|
96
|
-
if (e instanceof
|
|
97
|
-
var a = this.dimensions, o =
|
|
98
|
-
i = new
|
|
96
|
+
if (e instanceof w && (i = e), !i) {
|
|
97
|
+
var a = this.dimensions, o = b(e) || s(e) ? new x(e, a.length) : e;
|
|
98
|
+
i = new w();
|
|
99
99
|
var c = D(a, function(e) {
|
|
100
100
|
return {
|
|
101
101
|
type: r._dimInfos[e].type,
|
|
@@ -104,7 +104,7 @@ var E = u, D = p, O = typeof Int32Array > "u" ? Array : Int32Array, k = "e\0\0",
|
|
|
104
104
|
});
|
|
105
105
|
i.initData(o, c, n);
|
|
106
106
|
}
|
|
107
|
-
this._store = i, this._nameList = (t || []).slice(), this._idList = [], this._nameRepeatCount = {}, this._doInit(0, i.count()), this._dimSummary =
|
|
107
|
+
this._store = i, this._nameList = (t || []).slice(), this._idList = [], this._nameRepeatCount = {}, this._doInit(0, i.count()), this._dimSummary = S(this, this._schema), this.userOutput = this._dimSummary.userOutput;
|
|
108
108
|
}, u.prototype.appendData = function(e) {
|
|
109
109
|
var t = this._store.appendData(e);
|
|
110
110
|
this._doInit(t[0], t[1]);
|
|
@@ -234,10 +234,10 @@ var E = u, D = p, O = typeof Int32Array > "u" ? Array : Int32Array, k = "e\0\0",
|
|
|
234
234
|
return this._store.getRawDataItem(e);
|
|
235
235
|
}, u.prototype.getItemModel = function(e) {
|
|
236
236
|
var t = this.hostModel;
|
|
237
|
-
return new
|
|
237
|
+
return new v(this.getRawDataItem(e), t, t && t.ecModel);
|
|
238
238
|
}, u.prototype.diff = function(e) {
|
|
239
239
|
var t = this;
|
|
240
|
-
return new
|
|
240
|
+
return new y(e ? e.getStore().getIndices() : [], this.getStore().getIndices(), function(t) {
|
|
241
241
|
return P(e, t);
|
|
242
242
|
}, function(e) {
|
|
243
243
|
return P(t, e);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { createHashMap as e, defaults as t, each as n, extend as r, isObject as i, isString as a } from "../../../../zrender/lib/core/util.js";
|
|
2
2
|
import { normalizeToArray as o, removeDuplicates as s } from "../../util/model.js";
|
|
3
3
|
import { VISUAL_DIMENSIONS as c } from "../../util/types.js";
|
|
4
|
-
import l from "
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
4
|
+
import { BE_ORDINAL as l, guessOrdinal as u } from "./sourceHelper.js";
|
|
5
|
+
import { createSourceFromSeriesDataOption as d, isSourceInstance as f } from "../Source.js";
|
|
6
|
+
import p from "../SeriesDimensionDefine.js";
|
|
7
7
|
import { CtorInt32Array as m } from "../DataStore.js";
|
|
8
8
|
import { SeriesDataSchema as h, createDimNameMap as g, ensureSourceDimNameMap as _, shouldOmitUnusedDimensions as v } from "./SeriesDataSchema.js";
|
|
9
9
|
//#region node_modules/echarts/lib/data/helper/createDimensions.js
|
|
10
10
|
function y(y, S) {
|
|
11
|
-
|
|
11
|
+
f(y) || (y = d(y)), S ||= {};
|
|
12
12
|
var C = S.coordDimensions || [], w = S.dimensionsDefine || y.dimensionsDefine || [], T = e(), E = [], D = b(y, C, w, S.dimensionsCount), O = S.canOmitUnusedDimensions && v(D), k = w === y.dimensionsDefine, A = k ? _(y) : g(w), j = S.encodeDefine;
|
|
13
13
|
!j && S.encodeDefaulter && (j = S.encodeDefaulter(y, D));
|
|
14
14
|
for (var M = e(j), N = new m(D), P = 0; P < N.length; P++) N[P] = -1;
|
|
15
15
|
function F(e) {
|
|
16
16
|
var t = N[e];
|
|
17
17
|
if (t < 0) {
|
|
18
|
-
var n = w[e], r = i(n) ? n : { name: n }, a = new
|
|
18
|
+
var n = w[e], r = i(n) ? n : { name: n }, a = new p(), o = r.name;
|
|
19
19
|
return o != null && A.get(o) != null && (a.name = a.displayName = o), r.type != null && (a.type = r.type), r.displayName != null && (a.displayName = r.displayName), N[e] = E.length, a.storeDimIndex = e, E.push(a), a;
|
|
20
20
|
}
|
|
21
21
|
return E[t];
|
|
@@ -74,7 +74,7 @@ function y(y, S) {
|
|
|
74
74
|
});
|
|
75
75
|
else for (var U = 0; U < D; U++) {
|
|
76
76
|
var W = F(U);
|
|
77
|
-
W.coordDim ?? (W.coordDim = x(V, T, B), W.coordDimIndex = 0, (!R || z <= 0) && (W.isExtraCoord = !0), z--), H(W), W.type == null && (
|
|
77
|
+
W.coordDim ?? (W.coordDim = x(V, T, B), W.coordDimIndex = 0, (!R || z <= 0) && (W.isExtraCoord = !0), z--), H(W), W.type == null && (u(y, U) === l.Must || W.isExtraCoord && (W.otherDims.itemName != null || W.otherDims.seriesName != null)) && (W.type = "ordinal");
|
|
78
78
|
}
|
|
79
79
|
return s(E, function(e) {
|
|
80
80
|
return e.name;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { each as e, isString as t } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { isSeriesDataSchema as n } from "./SeriesDataSchema.js";
|
|
3
|
+
//#region node_modules/echarts/lib/data/helper/dataStackHelper.js
|
|
4
|
+
function r(n, r, a) {
|
|
5
|
+
a ||= {};
|
|
6
|
+
var o = a.byIndex, s = a.stackedCoordDimension, c, l, u;
|
|
7
|
+
i(r) ? c = r : (l = r.schema, c = l.dimensions, u = r.store);
|
|
8
|
+
var d = !!(n && n.get("stack")), f, p, m, h, g = !0;
|
|
9
|
+
function _(e) {
|
|
10
|
+
return e.type !== "ordinal" && e.type !== "time";
|
|
11
|
+
}
|
|
12
|
+
if (e(c, function(e, n) {
|
|
13
|
+
t(e) && (c[n] = e = { name: e }), _(e) || (g = !1);
|
|
14
|
+
}), e(c, function(e, t) {
|
|
15
|
+
d && !e.isExtraCoord && (!o && !f && e.ordinalMeta && (f = e), !p && _(e) && (!g || e.coordDim !== "x" && e.coordDim !== "angle") && (!s || s === e.coordDim) && (p = e));
|
|
16
|
+
}), p && !o && !f && (o = !0), p) {
|
|
17
|
+
m = "__\0ecstackresult_" + n.id, h = "__\0ecstackedover_" + n.id, f && (f.createInvertedIndices = !0);
|
|
18
|
+
var v = p.coordDim, y = p.type, b = 0;
|
|
19
|
+
e(c, function(e) {
|
|
20
|
+
e.coordDim === v && b++;
|
|
21
|
+
});
|
|
22
|
+
var x = {
|
|
23
|
+
name: m,
|
|
24
|
+
coordDim: v,
|
|
25
|
+
coordDimIndex: b,
|
|
26
|
+
type: y,
|
|
27
|
+
isExtraCoord: !0,
|
|
28
|
+
isCalculationCoord: !0,
|
|
29
|
+
storeDimIndex: c.length
|
|
30
|
+
}, S = {
|
|
31
|
+
name: h,
|
|
32
|
+
coordDim: h,
|
|
33
|
+
coordDimIndex: b + 1,
|
|
34
|
+
type: y,
|
|
35
|
+
isExtraCoord: !0,
|
|
36
|
+
isCalculationCoord: !0,
|
|
37
|
+
storeDimIndex: c.length + 1
|
|
38
|
+
};
|
|
39
|
+
l ? (u && (x.storeDimIndex = u.ensureCalculationDimension(h, y), S.storeDimIndex = u.ensureCalculationDimension(m, y)), l.appendCalculationDimension(x), l.appendCalculationDimension(S)) : (c.push(x), c.push(S));
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
stackedDimension: p && p.name,
|
|
43
|
+
stackedByDimension: f && f.name,
|
|
44
|
+
isStackedByIndex: o,
|
|
45
|
+
stackedOverDimension: h,
|
|
46
|
+
stackResultDimension: m
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function i(e) {
|
|
50
|
+
return !n(e.schema);
|
|
51
|
+
}
|
|
52
|
+
function a(e, t) {
|
|
53
|
+
return !!t && t === e.getCalculationInfo("stackedDimension");
|
|
54
|
+
}
|
|
55
|
+
function o(e, t) {
|
|
56
|
+
return a(e, t) ? e.getCalculationInfo("stackResultDimension") : t;
|
|
57
|
+
}
|
|
58
|
+
//#endregion
|
|
59
|
+
export { r as enableDataStack, o as getStackedDimension, a as isDimensionStacked };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { createHashMap as e, isNumber as t, isString as n, trim as r } from "../../../../zrender/lib/core/util.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { numericToNumber as i, parseDate as a } from "../../util/number.js";
|
|
3
|
+
import { throwError as o } from "../../util/log.js";
|
|
4
4
|
//#region node_modules/echarts/lib/data/helper/dataValueHelper.js
|
|
5
5
|
function s(e, n) {
|
|
6
6
|
var r = n && n.type;
|
|
7
|
-
return r === "ordinal" ? e : (r === "time" && !t(e) && e != null && e !== "-" && (e = +
|
|
7
|
+
return r === "ordinal" ? e : (r === "time" && !t(e) && e != null && e !== "-" && (e = +a(e)), e == null || e === "" ? NaN : Number(e));
|
|
8
8
|
}
|
|
9
9
|
e({
|
|
10
10
|
number: function(e) {
|
|
11
11
|
return parseFloat(e);
|
|
12
12
|
},
|
|
13
13
|
time: function(e) {
|
|
14
|
-
return +
|
|
14
|
+
return +a(e);
|
|
15
15
|
},
|
|
16
16
|
trim: function(e) {
|
|
17
17
|
return n(e) ? r(e) : e;
|
|
@@ -35,12 +35,12 @@ var c = {
|
|
|
35
35
|
function e(e, n) {
|
|
36
36
|
if (!t(n)) {
|
|
37
37
|
var r = "";
|
|
38
|
-
process.env.NODE_ENV !== "production" && (r = "rvalue of \"<\", \">\", \"<=\", \">=\" can only be number in filter."),
|
|
38
|
+
process.env.NODE_ENV !== "production" && (r = "rvalue of \"<\", \">\", \"<=\", \">=\" can only be number in filter."), o(r);
|
|
39
39
|
}
|
|
40
|
-
this._opFn = c[e], this._rvalFloat =
|
|
40
|
+
this._opFn = c[e], this._rvalFloat = i(n);
|
|
41
41
|
}
|
|
42
42
|
return e.prototype.evaluate = function(e) {
|
|
43
|
-
return t(e) ? this._opFn(e, this._rvalFloat) : this._opFn(
|
|
43
|
+
return t(e) ? this._opFn(e, this._rvalFloat) : this._opFn(i(e), this._rvalFloat);
|
|
44
44
|
}, e;
|
|
45
45
|
})();
|
|
46
46
|
var l = function() {
|
|
@@ -49,23 +49,23 @@ var l = function() {
|
|
|
49
49
|
this._resultLT = n ? 1 : -1, t ??= n ? "min" : "max", this._incomparable = t === "min" ? -Infinity : Infinity;
|
|
50
50
|
}
|
|
51
51
|
return e.prototype.evaluate = function(e, r) {
|
|
52
|
-
var
|
|
53
|
-
if (s && (
|
|
52
|
+
var a = t(e) ? e : i(e), o = t(r) ? r : i(r), s = isNaN(a), c = isNaN(o);
|
|
53
|
+
if (s && (a = this._incomparable), c && (o = this._incomparable), s && c) {
|
|
54
54
|
var l = n(e), u = n(r);
|
|
55
|
-
l && (
|
|
55
|
+
l && (a = u ? e : 0), u && (o = l ? r : 0);
|
|
56
56
|
}
|
|
57
|
-
return
|
|
57
|
+
return a < o ? this._resultLT : a > o ? -this._resultLT : 0;
|
|
58
58
|
}, e;
|
|
59
59
|
}();
|
|
60
60
|
(function() {
|
|
61
61
|
function e(e, t) {
|
|
62
|
-
this._rval = t, this._isEQ = e, this._rvalTypeof = typeof t, this._rvalFloat =
|
|
62
|
+
this._rval = t, this._isEQ = e, this._rvalTypeof = typeof t, this._rvalFloat = i(t);
|
|
63
63
|
}
|
|
64
64
|
return e.prototype.evaluate = function(e) {
|
|
65
65
|
var t = e === this._rval;
|
|
66
66
|
if (!t) {
|
|
67
67
|
var n = typeof e;
|
|
68
|
-
n !== this._rvalTypeof && (n === "number" || this._rvalTypeof === "number") && (t =
|
|
68
|
+
n !== this._rvalTypeof && (n === "number" || this._rvalTypeof === "number") && (t = i(e) === this._rvalFloat);
|
|
69
69
|
}
|
|
70
70
|
return this._isEQ ? t : !t;
|
|
71
71
|
}, e;
|
|
@@ -14,14 +14,14 @@ var a = function() {
|
|
|
14
14
|
return this._cachedDimNames ||= this._schema ? this._schema.makeOutputDimensionNames() : [], this._cachedDimNames;
|
|
15
15
|
}, e;
|
|
16
16
|
}();
|
|
17
|
-
function o(o,
|
|
17
|
+
function o(o, c) {
|
|
18
18
|
var u = {}, d = u.encode = {}, f = t(), p = [], m = [], h = {};
|
|
19
19
|
n(o.dimensions, function(t) {
|
|
20
20
|
var n = o.getDimensionInfo(t), r = n.coordDim;
|
|
21
21
|
if (r) {
|
|
22
22
|
process.env.NODE_ENV !== "production" && e(i.get(r) == null);
|
|
23
23
|
var a = n.coordDimIndex;
|
|
24
|
-
s(d, r)[a] = t, n.isExtraCoord || (f.set(r, 1),
|
|
24
|
+
s(d, r)[a] = t, n.isExtraCoord || (f.set(r, 1), l(n.type) && (p[0] = t), s(h, r)[a] = o.getDimensionIndex(n.name)), n.defaultTooltip && m.push(t);
|
|
25
25
|
}
|
|
26
26
|
i.each(function(e, t) {
|
|
27
27
|
var r = s(d, t), i = n.otherDims[t];
|
|
@@ -38,13 +38,16 @@ function o(o, l) {
|
|
|
38
38
|
var v = d.label;
|
|
39
39
|
v && v.length && (p = v.slice());
|
|
40
40
|
var y = d.tooltip;
|
|
41
|
-
return y && y.length ? m = y.slice() : m.length || (m = p.slice()), d.defaultedLabel = p, d.defaultedTooltip = m, u.userOutput = new a(h,
|
|
41
|
+
return y && y.length ? m = y.slice() : m.length || (m = p.slice()), d.defaultedLabel = p, d.defaultedTooltip = m, u.userOutput = new a(h, c), u;
|
|
42
42
|
}
|
|
43
43
|
function s(e, t) {
|
|
44
44
|
return e.hasOwnProperty(t) || (e[t] = []), e[t];
|
|
45
45
|
}
|
|
46
46
|
function c(e) {
|
|
47
|
+
return e === "category" ? "ordinal" : e === "time" ? "time" : "float";
|
|
48
|
+
}
|
|
49
|
+
function l(e) {
|
|
47
50
|
return !(e === "ordinal" || e === "time");
|
|
48
51
|
}
|
|
49
52
|
//#endregion
|
|
50
|
-
export { o as summarizeDimensions };
|
|
53
|
+
export { c as getDimensionTypeByAxis, o as summarizeDimensions };
|
|
@@ -11,15 +11,47 @@ function f(t) {
|
|
|
11
11
|
d(t).datasetMap = e();
|
|
12
12
|
}
|
|
13
13
|
function p(e, n, i) {
|
|
14
|
+
var a = {}, o = h(n);
|
|
15
|
+
if (!o || !e) return a;
|
|
16
|
+
var s = [], c = [], l = n.ecModel, u = d(l).datasetMap, f = o.uid + "_" + i.seriesLayoutBy, p, m;
|
|
17
|
+
e = e.slice(), t(e, function(t, n) {
|
|
18
|
+
var i = r(t) ? t : e[n] = { name: t };
|
|
19
|
+
i.type === "ordinal" && p == null && (p = n, m = v(i)), a[i.name] = [];
|
|
20
|
+
});
|
|
21
|
+
var g = u.get(f) || u.set(f, {
|
|
22
|
+
categoryWayDim: m,
|
|
23
|
+
valueWayDim: 0
|
|
24
|
+
});
|
|
25
|
+
t(e, function(e, t) {
|
|
26
|
+
var n = e.name, r = v(e);
|
|
27
|
+
if (p == null) {
|
|
28
|
+
var i = g.valueWayDim;
|
|
29
|
+
_(a[n], i, r), _(c, i, r), g.valueWayDim += r;
|
|
30
|
+
} else if (p === t) _(a[n], 0, r), _(s, 0, r);
|
|
31
|
+
else {
|
|
32
|
+
var i = g.categoryWayDim;
|
|
33
|
+
_(a[n], i, r), _(c, i, r), g.categoryWayDim += r;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
function _(e, t, n) {
|
|
37
|
+
for (var r = 0; r < n; r++) e.push(t + r);
|
|
38
|
+
}
|
|
39
|
+
function v(e) {
|
|
40
|
+
var t = e.dimsDef;
|
|
41
|
+
return t ? t.length : 1;
|
|
42
|
+
}
|
|
43
|
+
return s.length && (a.itemName = s), c.length && (a.seriesName = c), a;
|
|
44
|
+
}
|
|
45
|
+
function m(e, n, i) {
|
|
14
46
|
var a = {};
|
|
15
|
-
if (!
|
|
47
|
+
if (!h(e)) return a;
|
|
16
48
|
var o = n.sourceFormat, s = n.dimensionsDefine, c;
|
|
17
49
|
(o === "objectRows" || o === "keyedColumns") && t(s, function(e, t) {
|
|
18
50
|
(r(e) ? e.name : e) === "name" && (c = t);
|
|
19
51
|
});
|
|
20
52
|
var l = function() {
|
|
21
53
|
for (var e = {}, t = {}, r = [], a = 0, l = Math.min(5, i); a < l; a++) {
|
|
22
|
-
var d =
|
|
54
|
+
var d = v(n.data, o, n.seriesLayoutBy, s, n.startIndex, a);
|
|
23
55
|
r.push(d);
|
|
24
56
|
var f = d === u.Not;
|
|
25
57
|
if (f && e.v == null && a !== c && (e.v = a), (e.n == null || e.n === e.v || !f && r[e.n] === u.Not) && (e.n = a), p(e) && r[e.n] !== u.Not) return e;
|
|
@@ -37,22 +69,22 @@ function p(e, n, i) {
|
|
|
37
69
|
}
|
|
38
70
|
return a;
|
|
39
71
|
}
|
|
40
|
-
function
|
|
72
|
+
function h(e) {
|
|
41
73
|
if (!e.get("data", !0)) return l(e.ecModel, "dataset", {
|
|
42
74
|
index: e.get("datasetIndex", !0),
|
|
43
75
|
id: e.get("datasetId", !0)
|
|
44
76
|
}, o).models[0];
|
|
45
77
|
}
|
|
46
|
-
function
|
|
78
|
+
function g(e) {
|
|
47
79
|
return !e.get("transform", !0) && !e.get("fromTransformResult", !0) ? [] : l(e.ecModel, "dataset", {
|
|
48
80
|
index: e.get("fromDatasetIndex", !0),
|
|
49
81
|
id: e.get("fromDatasetId", !0)
|
|
50
82
|
}, o).models;
|
|
51
83
|
}
|
|
52
|
-
function
|
|
53
|
-
return
|
|
84
|
+
function _(e, t) {
|
|
85
|
+
return v(e.data, e.sourceFormat, e.seriesLayoutBy, e.dimensionsDefine, e.startIndex, t);
|
|
54
86
|
}
|
|
55
|
-
function
|
|
87
|
+
function v(e, t, o, c, l, d) {
|
|
56
88
|
var f, p = 5;
|
|
57
89
|
if (a(e)) return u.Not;
|
|
58
90
|
var m, h;
|
|
@@ -95,4 +127,4 @@ function _(e, t, o, c, l, d) {
|
|
|
95
127
|
return u.Not;
|
|
96
128
|
}
|
|
97
129
|
//#endregion
|
|
98
|
-
export { u as BE_ORDINAL,
|
|
130
|
+
export { u as BE_ORDINAL, _ as guessOrdinal, p as makeSeriesEncodeForAxisCoordSys, m as makeSeriesEncodeForNameBased, g as queryDatasetUpstreamDatasetModels, h as querySeriesUpstreamDatasetModel, f as resetSourceDefaulter };
|
|
@@ -2,8 +2,8 @@ import { assert as e, each as t, isTypedArray as n, map as r, retrieve2 as i } f
|
|
|
2
2
|
import { SOURCE_FORMAT_ORIGINAL as a, SOURCE_FORMAT_TYPED_ARRAY as o } from "../../util/types.js";
|
|
3
3
|
import { queryDatasetUpstreamDatasetModels as s, querySeriesUpstreamDatasetModel as c } from "./sourceHelper.js";
|
|
4
4
|
import { cloneSourceShallow as l, createSource as u } from "../Source.js";
|
|
5
|
-
import d from "
|
|
6
|
-
import
|
|
5
|
+
import { DefaultDataProvider as d } from "./dataProvider.js";
|
|
6
|
+
import f from "../DataStore.js";
|
|
7
7
|
import { applyDataTransform as p } from "./transform.js";
|
|
8
8
|
//#region node_modules/echarts/lib/data/helper/sourceManager.js
|
|
9
9
|
var m = function() {
|
|
@@ -80,7 +80,7 @@ var m = function() {
|
|
|
80
80
|
var o = a[n];
|
|
81
81
|
if (!o) {
|
|
82
82
|
var s = this._getUpstreamSourceManagers()[0];
|
|
83
|
-
h(this._sourceHost) && s ? o = s._innerGetDataStore(e, t, n) : (o = new
|
|
83
|
+
h(this._sourceHost) && s ? o = s._innerGetDataStore(e, t, n) : (o = new f(), o.initData(new d(t, e.length), e)), a[n] = o;
|
|
84
84
|
}
|
|
85
85
|
return o;
|
|
86
86
|
}, m.prototype._getUpstreamSourceManagers = function() {
|
|
@@ -3,8 +3,8 @@ import { log as l, makePrintable as u, throwError as d } from "../../util/log.js
|
|
|
3
3
|
import { normalizeToArray as f } from "../../util/model.js";
|
|
4
4
|
import { SERIES_LAYOUT_BY_COLUMN as p } from "../../util/types.js";
|
|
5
5
|
import { createSource as m, detectSourceFormat as h } from "../Source.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { getRawSourceDataCounter as g, getRawSourceItemGetter as _, getRawSourceValueGetter as v } from "./dataProvider.js";
|
|
7
|
+
import { parseDataValue as y } from "./dataValueHelper.js";
|
|
8
8
|
//#region node_modules/echarts/lib/data/helper/transform.js
|
|
9
9
|
var b = function() {
|
|
10
10
|
function e() {}
|
|
@@ -13,7 +13,7 @@ var b = function() {
|
|
|
13
13
|
}, e.prototype.getRawDataItem = function(e) {
|
|
14
14
|
throw Error("not supported");
|
|
15
15
|
}, e.prototype.cloneRawData = function() {}, e.prototype.getDimensionInfo = function(e) {}, e.prototype.cloneAllDimensionInfo = function() {}, e.prototype.count = function() {}, e.prototype.retrieveValue = function(e, t) {}, e.prototype.retrieveValueFromItem = function(e, t) {}, e.prototype.convertValue = function(e, t) {
|
|
16
|
-
return
|
|
16
|
+
return y(e, t);
|
|
17
17
|
}, e;
|
|
18
18
|
}();
|
|
19
19
|
function x(t, n) {
|
|
@@ -32,13 +32,13 @@ function x(t, n) {
|
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
else for (var h = 0; h < t.dimensionsDetectedCount; h++) u.push({ index: h });
|
|
35
|
-
var
|
|
35
|
+
var y = _(s, p);
|
|
36
36
|
n.__isBuiltIn && (i.getRawDataItem = function(e) {
|
|
37
|
-
return
|
|
38
|
-
}, i.getRawData = e(S, null, t)), i.cloneRawData = e(C, null, t), i.count = e(
|
|
39
|
-
var x =
|
|
37
|
+
return y(o, c, u, e);
|
|
38
|
+
}, i.getRawData = e(S, null, t)), i.cloneRawData = e(C, null, t), i.count = e(g(s, p), null, o, c, u);
|
|
39
|
+
var x = v(s);
|
|
40
40
|
i.retrieveValue = function(e, t) {
|
|
41
|
-
return E(
|
|
41
|
+
return E(y(o, c, u, e), t);
|
|
42
42
|
};
|
|
43
43
|
var E = i.retrieveValueFromItem = function(e, t) {
|
|
44
44
|
if (e != null) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { each as e, indexOf as t, isArray as n, isFunction as r } from "../../zrender/lib/core/util.js";
|
|
2
|
-
import i from "./
|
|
3
|
-
import a from "./model/
|
|
4
|
-
import o from "./
|
|
2
|
+
import i from "./model/Component.js";
|
|
3
|
+
import a from "./model/Series.js";
|
|
4
|
+
import o from "./view/Chart.js";
|
|
5
5
|
import s from "./view/Component.js";
|
|
6
6
|
import { registerPainter as c } from "../../zrender/lib/zrender.js";
|
|
7
7
|
import { registerImpl as l } from "./core/impl.js";
|
|
@@ -23,27 +23,27 @@ var w = [], T = {
|
|
|
23
23
|
registerMap: g,
|
|
24
24
|
registerImpl: l,
|
|
25
25
|
PRIORITY: d,
|
|
26
|
-
ComponentModel:
|
|
26
|
+
ComponentModel: i,
|
|
27
27
|
ComponentView: s,
|
|
28
|
-
SeriesModel:
|
|
29
|
-
ChartView:
|
|
28
|
+
SeriesModel: a,
|
|
29
|
+
ChartView: o,
|
|
30
30
|
registerComponentModel: function(e) {
|
|
31
|
-
|
|
31
|
+
i.registerClass(e);
|
|
32
32
|
},
|
|
33
33
|
registerComponentView: function(e) {
|
|
34
34
|
s.registerClass(e);
|
|
35
35
|
},
|
|
36
36
|
registerSeriesModel: function(e) {
|
|
37
|
-
|
|
37
|
+
a.registerClass(e);
|
|
38
38
|
},
|
|
39
39
|
registerChartView: function(e) {
|
|
40
|
-
|
|
40
|
+
o.registerClass(e);
|
|
41
41
|
},
|
|
42
42
|
registerCustomSeries: function(e, t) {
|
|
43
43
|
u(e, t);
|
|
44
44
|
},
|
|
45
45
|
registerSubTypeDefaulter: function(e, t) {
|
|
46
|
-
|
|
46
|
+
i.registerSubTypeDefaulter(e, t);
|
|
47
47
|
},
|
|
48
48
|
registerPainter: function(e, t) {
|
|
49
49
|
c(e, t);
|
|
@@ -2,8 +2,8 @@ import { defaults as e, retrieve2 as t } from "../../../zrender/lib/core/util.js
|
|
|
2
2
|
import { dist as n, lerp as r } from "../../../zrender/lib/core/vector.js";
|
|
3
3
|
import i from "../../../zrender/lib/core/Point.js";
|
|
4
4
|
import a from "../../../zrender/lib/core/PathProxy.js";
|
|
5
|
-
import o from "
|
|
6
|
-
import
|
|
5
|
+
import { DISPLAY_STATES as o, SPECIAL_STATES as s } from "../util/states.js";
|
|
6
|
+
import c from "../../../zrender/lib/graphic/shape/Polyline.js";
|
|
7
7
|
Math.PI * 2, a.CMD;
|
|
8
8
|
function l(e, t, n, r, i, a, o, s) {
|
|
9
9
|
var c = i - e, l = a - t, u = n - e, d = r - t, f = Math.sqrt(u * u + d * d);
|
|
@@ -71,21 +71,21 @@ function b(e, t) {
|
|
|
71
71
|
} else for (var f = 1; f < a.length; f++) e.lineTo(a[f][0], a[f][1]);
|
|
72
72
|
}
|
|
73
73
|
function x(n, r, i) {
|
|
74
|
-
var a = n.getTextGuideLine(),
|
|
75
|
-
if (!
|
|
74
|
+
var a = n.getTextGuideLine(), s = n.getTextContent();
|
|
75
|
+
if (!s) {
|
|
76
76
|
a && n.removeTextGuideLine();
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
|
-
for (var l = r.normal, u = l.get("show"), d =
|
|
80
|
-
var p =
|
|
79
|
+
for (var l = r.normal, u = l.get("show"), d = s.ignore, f = 0; f < o.length; f++) {
|
|
80
|
+
var p = o[f], m = r[p], h = p === "normal";
|
|
81
81
|
if (m) {
|
|
82
82
|
var g = m.get("show");
|
|
83
|
-
if ((h ? d : t(
|
|
83
|
+
if ((h ? d : t(s.states[p] && s.states[p].ignore, d)) || !t(g, u)) {
|
|
84
84
|
var _ = h ? a : a && a.states[p];
|
|
85
85
|
_ && (_.ignore = !0), a && y(a, !0, p, m);
|
|
86
86
|
continue;
|
|
87
87
|
}
|
|
88
|
-
a || (a = new
|
|
88
|
+
a || (a = new c(), n.setTextGuideLine(a), !h && (d || !u) && y(a, !0, "normal", r.normal), n.stateProxy && (a.stateProxy = n.stateProxy)), y(a, !1, p, m);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
if (a) {
|
|
@@ -96,8 +96,8 @@ function x(n, r, i) {
|
|
|
96
96
|
}
|
|
97
97
|
function S(e, t) {
|
|
98
98
|
t ||= "labelLine";
|
|
99
|
-
for (var n = { normal: e.getModel(t) }, r = 0; r <
|
|
100
|
-
var i =
|
|
99
|
+
for (var n = { normal: e.getModel(t) }, r = 0; r < s.length; r++) {
|
|
100
|
+
var i = s[r];
|
|
101
101
|
n[i] = e.getModel([i, t]);
|
|
102
102
|
}
|
|
103
103
|
return n;
|