tvcharts 0.6.43 → 0.6.45
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/echarts.js +704 -214
- package/dist/echarts.js.map +3 -3
- package/index.js +2 -2
- package/lib/chart/labels/install.js +1 -0
- package/lib/chart/labels/labelsLayout.js +2 -1
- package/lib/chart/linesPlot/BarPath.js +0 -7
- package/lib/chart/linesPlot/LinesPlotView.js +165 -82
- package/lib/chart/linesPlot/linesPlotLayout.js +0 -1
- package/lib/chart/strategy/StrategyLayout.js +122 -0
- package/lib/chart/strategy/StrategySeries.js +91 -0
- package/lib/chart/strategy/StrategyView.js +182 -0
- package/lib/chart/strategy/SymbolPath.js +85 -0
- package/lib/chart/strategy/install.js +52 -0
- package/lib/export/charts.js +1 -0
- package/lib/model/Global.js +1 -0
- package/lib/util/symbol.js +52 -0
- package/lib/util/symbolSize.js +255 -2
- package/package.json +1 -1
- package/types/dist/charts.d.ts +1 -1
- package/types/dist/components.d.ts +1 -1
- package/types/dist/echarts.d.ts +47 -1
- package/types/dist/option.d.ts +1 -1
- package/types/dist/renderers.d.ts +1 -1
- package/types/dist/shared.d.ts +52 -4
- package/types/src/chart/linesPlot/LinesPlotSeries.d.ts +6 -0
- package/types/src/chart/linesPlot/LinesPlotView.d.ts +2 -2
- package/types/src/chart/strategy/StrategyLayout.d.ts +3 -0
- package/types/src/chart/strategy/StrategySeries.d.ts +49 -0
- package/types/src/chart/strategy/StrategyView.d.ts +20 -0
- package/types/src/chart/strategy/SymbolPath.d.ts +20 -0
- package/types/src/chart/strategy/install.d.ts +2 -0
- package/types/src/export/charts.d.ts +2 -1
- package/types/src/export/option.d.ts +3 -0
- package/types/src/util/symbolSize.d.ts +1 -1
package/dist/echarts.js
CHANGED
|
@@ -226,16 +226,16 @@ var OFFSET = 20;
|
|
|
226
226
|
var SCALE = 100;
|
|
227
227
|
var defaultWidthMapStr = `007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N`;
|
|
228
228
|
function getTextWidthMap(mapStr) {
|
|
229
|
-
const
|
|
229
|
+
const map5 = {};
|
|
230
230
|
if (typeof JSON === "undefined") {
|
|
231
|
-
return
|
|
231
|
+
return map5;
|
|
232
232
|
}
|
|
233
233
|
for (let i = 0; i < mapStr.length; i++) {
|
|
234
234
|
const char = String.fromCharCode(i + 32);
|
|
235
235
|
const size = (mapStr.charCodeAt(i) - OFFSET) / SCALE;
|
|
236
|
-
|
|
236
|
+
map5[char] = size;
|
|
237
237
|
}
|
|
238
|
-
return
|
|
238
|
+
return map5;
|
|
239
239
|
}
|
|
240
240
|
var DEFAULT_TEXT_WIDTH_MAP = getTextWidthMap(defaultWidthMapStr);
|
|
241
241
|
var platformApi = {
|
|
@@ -348,15 +348,15 @@ var LRU = class {
|
|
|
348
348
|
}
|
|
349
349
|
put(key, value) {
|
|
350
350
|
const list = this._list;
|
|
351
|
-
const
|
|
351
|
+
const map5 = this._map;
|
|
352
352
|
let removed = null;
|
|
353
|
-
if (
|
|
353
|
+
if (map5[key] == null) {
|
|
354
354
|
const len2 = list.len();
|
|
355
355
|
let entry = this._lastRemovedEntry;
|
|
356
356
|
if (len2 >= this._maxSize && len2 > 0) {
|
|
357
357
|
const leastUsedEntry = list.head;
|
|
358
358
|
list.remove(leastUsedEntry);
|
|
359
|
-
delete
|
|
359
|
+
delete map5[leastUsedEntry.key];
|
|
360
360
|
removed = leastUsedEntry.value;
|
|
361
361
|
this._lastRemovedEntry = leastUsedEntry;
|
|
362
362
|
}
|
|
@@ -367,7 +367,7 @@ var LRU = class {
|
|
|
367
367
|
}
|
|
368
368
|
entry.key = key;
|
|
369
369
|
list.insertEntry(entry);
|
|
370
|
-
|
|
370
|
+
map5[key] = entry;
|
|
371
371
|
}
|
|
372
372
|
return removed;
|
|
373
373
|
}
|
|
@@ -7829,7 +7829,7 @@ function compressBatches(batchA, batchB) {
|
|
|
7829
7829
|
makeMap(batchA || [], mapA);
|
|
7830
7830
|
makeMap(batchB || [], mapB, mapA);
|
|
7831
7831
|
return [mapToArray(mapA), mapToArray(mapB)];
|
|
7832
|
-
function makeMap(sourceBatch,
|
|
7832
|
+
function makeMap(sourceBatch, map5, otherMap) {
|
|
7833
7833
|
for (let i = 0, len2 = sourceBatch.length; i < len2; i++) {
|
|
7834
7834
|
const seriesId = convertOptionIdName(sourceBatch[i].seriesId, null);
|
|
7835
7835
|
if (seriesId == null) {
|
|
@@ -7842,19 +7842,19 @@ function compressBatches(batchA, batchB) {
|
|
|
7842
7842
|
if (otherDataIndices && otherDataIndices[dataIndex]) {
|
|
7843
7843
|
otherDataIndices[dataIndex] = null;
|
|
7844
7844
|
} else {
|
|
7845
|
-
(
|
|
7845
|
+
(map5[seriesId] || (map5[seriesId] = {}))[dataIndex] = 1;
|
|
7846
7846
|
}
|
|
7847
7847
|
}
|
|
7848
7848
|
}
|
|
7849
7849
|
}
|
|
7850
|
-
function mapToArray(
|
|
7850
|
+
function mapToArray(map5, isData) {
|
|
7851
7851
|
const result = [];
|
|
7852
|
-
for (const i in
|
|
7853
|
-
if (
|
|
7852
|
+
for (const i in map5) {
|
|
7853
|
+
if (map5.hasOwnProperty(i) && map5[i] != null) {
|
|
7854
7854
|
if (isData) {
|
|
7855
7855
|
result.push(+i);
|
|
7856
7856
|
} else {
|
|
7857
|
-
const dataIndices = mapToArray(
|
|
7857
|
+
const dataIndices = mapToArray(map5[i], true);
|
|
7858
7858
|
dataIndices.length && result.push({seriesId: i, dataIndex: dataIndices});
|
|
7859
7859
|
}
|
|
7860
7860
|
}
|
|
@@ -11276,8 +11276,8 @@ var ZRText = class extends Displayable_default {
|
|
|
11276
11276
|
subElStyle.fill = textFill;
|
|
11277
11277
|
}
|
|
11278
11278
|
const textWidth = token.contentWidth;
|
|
11279
|
-
const
|
|
11280
|
-
el.setBoundingRect(new BoundingRect_default(adjustTextX(subElStyle.x, textWidth, subElStyle.textAlign), adjustTextY2(subElStyle.y,
|
|
11279
|
+
const textHeight2 = token.contentHeight;
|
|
11280
|
+
el.setBoundingRect(new BoundingRect_default(adjustTextX(subElStyle.x, textWidth, subElStyle.textAlign), adjustTextY2(subElStyle.y, textHeight2, subElStyle.textBaseline), textWidth, textHeight2));
|
|
11281
11281
|
}
|
|
11282
11282
|
_renderBackground(style, topStyle, x, y, width, height) {
|
|
11283
11283
|
const textBackgroundColor = style.backgroundColor;
|
|
@@ -16275,6 +16275,7 @@ var BUILTIN_CHARTS_MAP = {
|
|
|
16275
16275
|
effectScatter: "EffectScatterChart",
|
|
16276
16276
|
lines: "LinesChart",
|
|
16277
16277
|
linesPlot: "LinesPlotChart",
|
|
16278
|
+
strategy: "StrategyChart",
|
|
16278
16279
|
labels: "LabelsChart",
|
|
16279
16280
|
hlines: "HLinesChart",
|
|
16280
16281
|
fills: "FillsChart",
|
|
@@ -22223,6 +22224,44 @@ var TriangleDown = Path_default.extend({
|
|
|
22223
22224
|
path.closePath();
|
|
22224
22225
|
}
|
|
22225
22226
|
});
|
|
22227
|
+
var TriangleLeft = Path_default.extend({
|
|
22228
|
+
type: "triangleLeft",
|
|
22229
|
+
shape: {
|
|
22230
|
+
cx: 0,
|
|
22231
|
+
cy: 0,
|
|
22232
|
+
width: 0,
|
|
22233
|
+
height: 0
|
|
22234
|
+
},
|
|
22235
|
+
buildPath: function(path, shape) {
|
|
22236
|
+
const cx = shape.cx;
|
|
22237
|
+
const cy = shape.cy;
|
|
22238
|
+
const width = shape.width / 2;
|
|
22239
|
+
const height = shape.height / 2;
|
|
22240
|
+
path.moveTo(cx + width, cy + height);
|
|
22241
|
+
path.lineTo(cx + width, cy - height);
|
|
22242
|
+
path.lineTo(cx - width, cy);
|
|
22243
|
+
path.closePath();
|
|
22244
|
+
}
|
|
22245
|
+
});
|
|
22246
|
+
var TriangleRight = Path_default.extend({
|
|
22247
|
+
type: "triangleRight",
|
|
22248
|
+
shape: {
|
|
22249
|
+
cx: 0,
|
|
22250
|
+
cy: 0,
|
|
22251
|
+
width: 0,
|
|
22252
|
+
height: 0
|
|
22253
|
+
},
|
|
22254
|
+
buildPath: function(path, shape) {
|
|
22255
|
+
const cx = shape.cx;
|
|
22256
|
+
const cy = shape.cy;
|
|
22257
|
+
const width = shape.width / 2;
|
|
22258
|
+
const height = shape.height / 2;
|
|
22259
|
+
path.moveTo(cx - width, cy + height);
|
|
22260
|
+
path.lineTo(cx - width, cy - height);
|
|
22261
|
+
path.lineTo(cx + width, cy);
|
|
22262
|
+
path.closePath();
|
|
22263
|
+
}
|
|
22264
|
+
});
|
|
22226
22265
|
var ArrowUp = Path_default.extend({
|
|
22227
22266
|
type: "arrowUp",
|
|
22228
22267
|
shape: {
|
|
@@ -22298,6 +22337,8 @@ var symbolCtors = {
|
|
|
22298
22337
|
arrowUp: ArrowUp,
|
|
22299
22338
|
flag: Flag,
|
|
22300
22339
|
triangleDown: TriangleDown,
|
|
22340
|
+
triangleLeft: TriangleLeft,
|
|
22341
|
+
triangleRight: TriangleRight,
|
|
22301
22342
|
arrowDown: ArrowDown
|
|
22302
22343
|
};
|
|
22303
22344
|
var symbolShapeMakers = {
|
|
@@ -22488,6 +22529,18 @@ var symbolShapeMakers = {
|
|
|
22488
22529
|
shape.width = w;
|
|
22489
22530
|
shape.height = h;
|
|
22490
22531
|
},
|
|
22532
|
+
triangleLeft: function(x, y, w, h, shape) {
|
|
22533
|
+
shape.cx = x + w / 2;
|
|
22534
|
+
shape.cy = y;
|
|
22535
|
+
shape.width = w;
|
|
22536
|
+
shape.height = h;
|
|
22537
|
+
},
|
|
22538
|
+
triangleRight: function(x, y, w, h, shape) {
|
|
22539
|
+
shape.cx = x - w / 2;
|
|
22540
|
+
shape.cy = y;
|
|
22541
|
+
shape.width = w;
|
|
22542
|
+
shape.height = h;
|
|
22543
|
+
},
|
|
22491
22544
|
arrowUp: function(x, y, w, h, shape, parentShape) {
|
|
22492
22545
|
shape.rectWidth = parentShape.triangleWidth;
|
|
22493
22546
|
shape.triangleHeight = parentShape.triangleHeight;
|
|
@@ -25668,25 +25721,25 @@ var DataDiffer = class {
|
|
|
25668
25721
|
newDataIndexMap[newKey] = null;
|
|
25669
25722
|
}
|
|
25670
25723
|
}
|
|
25671
|
-
_initIndexMap(arr,
|
|
25724
|
+
_initIndexMap(arr, map5, keyArr, keyGetterName) {
|
|
25672
25725
|
const cbModeMultiple = this._diffModeMultiple;
|
|
25673
25726
|
for (let i = 0; i < arr.length; i++) {
|
|
25674
25727
|
const key = "_ec_" + this[keyGetterName](arr[i], i);
|
|
25675
25728
|
if (!cbModeMultiple) {
|
|
25676
25729
|
keyArr[i] = key;
|
|
25677
25730
|
}
|
|
25678
|
-
if (!
|
|
25731
|
+
if (!map5) {
|
|
25679
25732
|
continue;
|
|
25680
25733
|
}
|
|
25681
|
-
const idxMapVal =
|
|
25734
|
+
const idxMapVal = map5[key];
|
|
25682
25735
|
const idxMapValLen = dataIndexMapValueLength(idxMapVal);
|
|
25683
25736
|
if (idxMapValLen === 0) {
|
|
25684
|
-
|
|
25737
|
+
map5[key] = i;
|
|
25685
25738
|
if (cbModeMultiple) {
|
|
25686
25739
|
keyArr.push(key);
|
|
25687
25740
|
}
|
|
25688
25741
|
} else if (idxMapValLen === 1) {
|
|
25689
|
-
|
|
25742
|
+
map5[key] = [idxMapVal, i];
|
|
25690
25743
|
} else {
|
|
25691
25744
|
idxMapVal.push(i);
|
|
25692
25745
|
}
|
|
@@ -26801,15 +26854,15 @@ function getDimCount(source, sysDims, dimsDef, optDimCount) {
|
|
|
26801
26854
|
});
|
|
26802
26855
|
return dimCount;
|
|
26803
26856
|
}
|
|
26804
|
-
function genCoordDimName(name,
|
|
26805
|
-
if (fromZero ||
|
|
26857
|
+
function genCoordDimName(name, map5, fromZero) {
|
|
26858
|
+
if (fromZero || map5.hasKey(name)) {
|
|
26806
26859
|
let i = 0;
|
|
26807
|
-
while (
|
|
26860
|
+
while (map5.hasKey(name + i)) {
|
|
26808
26861
|
i++;
|
|
26809
26862
|
}
|
|
26810
26863
|
name += i;
|
|
26811
26864
|
}
|
|
26812
|
-
|
|
26865
|
+
map5.set(name, true);
|
|
26813
26866
|
return name;
|
|
26814
26867
|
}
|
|
26815
26868
|
|
|
@@ -27376,13 +27429,13 @@ var OrdinalMeta = class {
|
|
|
27376
27429
|
this.categories[index] = category;
|
|
27377
27430
|
return index;
|
|
27378
27431
|
}
|
|
27379
|
-
const
|
|
27380
|
-
index =
|
|
27432
|
+
const map5 = this._getOrCreateMap();
|
|
27433
|
+
index = map5.get(category);
|
|
27381
27434
|
if (index == null) {
|
|
27382
27435
|
if (needCollect) {
|
|
27383
27436
|
index = this.categories.length;
|
|
27384
27437
|
this.categories[index] = category;
|
|
27385
|
-
|
|
27438
|
+
map5.set(category, index);
|
|
27386
27439
|
} else {
|
|
27387
27440
|
index = NaN;
|
|
27388
27441
|
}
|
|
@@ -32105,19 +32158,19 @@ function isDef(s) {
|
|
|
32105
32158
|
return s !== void 0;
|
|
32106
32159
|
}
|
|
32107
32160
|
function createKeyToOldIdx(children, beginIdx, endIdx) {
|
|
32108
|
-
const
|
|
32161
|
+
const map5 = {};
|
|
32109
32162
|
for (let i = beginIdx; i <= endIdx; ++i) {
|
|
32110
32163
|
const key = children[i].key;
|
|
32111
32164
|
if (key !== void 0) {
|
|
32112
32165
|
if (true) {
|
|
32113
|
-
if (
|
|
32166
|
+
if (map5[key] != null) {
|
|
32114
32167
|
console.error(`Duplicate key ${key}`);
|
|
32115
32168
|
}
|
|
32116
32169
|
}
|
|
32117
|
-
|
|
32170
|
+
map5[key] = i;
|
|
32118
32171
|
}
|
|
32119
32172
|
}
|
|
32120
|
-
return
|
|
32173
|
+
return map5;
|
|
32121
32174
|
}
|
|
32122
32175
|
function sameVnode(vnode1, vnode2) {
|
|
32123
32176
|
const isSameKey = vnode1.key === vnode2.key;
|
|
@@ -42987,15 +43040,15 @@ var GEO_DEFAULT_PARAMS = {
|
|
|
42987
43040
|
};
|
|
42988
43041
|
var geo2DDimensions = ["lng", "lat"];
|
|
42989
43042
|
var Geo = class extends View_default {
|
|
42990
|
-
constructor(name,
|
|
43043
|
+
constructor(name, map5, opt) {
|
|
42991
43044
|
super(name);
|
|
42992
43045
|
this.dimensions = geo2DDimensions;
|
|
42993
43046
|
this.type = "geo";
|
|
42994
43047
|
this._nameCoordMap = createHashMap();
|
|
42995
|
-
this.map =
|
|
43048
|
+
this.map = map5;
|
|
42996
43049
|
let projection = opt.projection;
|
|
42997
|
-
const source = geoSourceManager_default.load(
|
|
42998
|
-
const resource = geoSourceManager_default.getGeoResource(
|
|
43050
|
+
const source = geoSourceManager_default.load(map5, opt.nameMap, opt.nameProperty);
|
|
43051
|
+
const resource = geoSourceManager_default.getGeoResource(map5);
|
|
42999
43052
|
const resourceType = this.resourceType = resource ? resource.type : null;
|
|
43000
43053
|
const regions = this.regions = source.regions;
|
|
43001
43054
|
const defaultParams = GEO_DEFAULT_PARAMS[resource.type];
|
|
@@ -43004,7 +43057,7 @@ var Geo = class extends View_default {
|
|
|
43004
43057
|
if (projection) {
|
|
43005
43058
|
if (resourceType === "geoSVG") {
|
|
43006
43059
|
if (true) {
|
|
43007
|
-
warn(`Map ${
|
|
43060
|
+
warn(`Map ${map5} with SVG source can't use projection. Only GeoJSON source supports projection.`);
|
|
43008
43061
|
}
|
|
43009
43062
|
projection = null;
|
|
43010
43063
|
}
|
|
@@ -51285,9 +51338,9 @@ function getTransform2(controller) {
|
|
|
51285
51338
|
return getTransform(controller.group);
|
|
51286
51339
|
}
|
|
51287
51340
|
function getGlobalDirection1(controller, localDirName) {
|
|
51288
|
-
const
|
|
51341
|
+
const map5 = {w: "left", e: "right", n: "top", s: "bottom"};
|
|
51289
51342
|
const inverseMap = {left: "w", right: "e", top: "n", bottom: "s"};
|
|
51290
|
-
const dir3 = transformDirection(
|
|
51343
|
+
const dir3 = transformDirection(map5[localDirName], getTransform2(controller));
|
|
51291
51344
|
return inverseMap[dir3];
|
|
51292
51345
|
}
|
|
51293
51346
|
function getGlobalDirection2(controller, localDirNameSeq) {
|
|
@@ -54907,6 +54960,138 @@ var SymbolPath_default = SymbolPath;
|
|
|
54907
54960
|
|
|
54908
54961
|
// src/chart/linesPlot/LinesPlotView.ts
|
|
54909
54962
|
var LastZ2 = -1;
|
|
54963
|
+
function clipColorStops2(colorStops, maxSize) {
|
|
54964
|
+
const newColorStops = [];
|
|
54965
|
+
const len2 = colorStops.length;
|
|
54966
|
+
let prevOutOfRangeColorStop;
|
|
54967
|
+
let prevInRangeColorStop;
|
|
54968
|
+
function lerpStop(stop0, stop1, clippedCoord) {
|
|
54969
|
+
const coord0 = stop0.coord;
|
|
54970
|
+
const p = (clippedCoord - coord0) / (stop1.coord - coord0);
|
|
54971
|
+
const color2 = lerp2(p, [stop0.color, stop1.color]);
|
|
54972
|
+
return {coord: clippedCoord, color: color2};
|
|
54973
|
+
}
|
|
54974
|
+
for (let i = 0; i < len2; i++) {
|
|
54975
|
+
const stop2 = colorStops[i];
|
|
54976
|
+
const coord = stop2.coord;
|
|
54977
|
+
if (coord < 0) {
|
|
54978
|
+
prevOutOfRangeColorStop = stop2;
|
|
54979
|
+
} else if (coord > maxSize) {
|
|
54980
|
+
if (prevInRangeColorStop) {
|
|
54981
|
+
newColorStops.push(lerpStop(prevInRangeColorStop, stop2, maxSize));
|
|
54982
|
+
} else if (prevOutOfRangeColorStop) {
|
|
54983
|
+
newColorStops.push(lerpStop(prevOutOfRangeColorStop, stop2, 0), lerpStop(prevOutOfRangeColorStop, stop2, maxSize));
|
|
54984
|
+
}
|
|
54985
|
+
break;
|
|
54986
|
+
} else {
|
|
54987
|
+
if (prevOutOfRangeColorStop) {
|
|
54988
|
+
newColorStops.push(lerpStop(prevOutOfRangeColorStop, stop2, 0));
|
|
54989
|
+
prevOutOfRangeColorStop = null;
|
|
54990
|
+
}
|
|
54991
|
+
newColorStops.push(stop2);
|
|
54992
|
+
prevInRangeColorStop = stop2;
|
|
54993
|
+
}
|
|
54994
|
+
}
|
|
54995
|
+
return newColorStops;
|
|
54996
|
+
}
|
|
54997
|
+
function calculatebandWidth(seriesModel, data) {
|
|
54998
|
+
const baseAxis = seriesModel.getBaseAxis();
|
|
54999
|
+
let extent3;
|
|
55000
|
+
const bandWidth = baseAxis.type === "category" ? baseAxis.getBandWidth() : (extent3 = baseAxis.getExtent(), Math.abs(extent3[1] - extent3[0]) / data.count());
|
|
55001
|
+
return bandWidth;
|
|
55002
|
+
}
|
|
55003
|
+
function getVisualGradient2(data, coordSys, api2) {
|
|
55004
|
+
const visualMetaList = data.getVisual("visualMeta");
|
|
55005
|
+
if (!visualMetaList || !visualMetaList.length || !data.count()) {
|
|
55006
|
+
return;
|
|
55007
|
+
}
|
|
55008
|
+
if (coordSys.type !== "cartesian2d") {
|
|
55009
|
+
if (true) {
|
|
55010
|
+
console.warn("Visual map on line style is only supported on cartesian2d.");
|
|
55011
|
+
}
|
|
55012
|
+
return;
|
|
55013
|
+
}
|
|
55014
|
+
let coordDim;
|
|
55015
|
+
let visualMeta;
|
|
55016
|
+
for (let i = visualMetaList.length - 1; i >= 0; i--) {
|
|
55017
|
+
const dimInfo = data.getDimensionInfo(visualMetaList[i].dimension);
|
|
55018
|
+
coordDim = dimInfo && dimInfo.coordDim;
|
|
55019
|
+
if (coordDim === "x" || coordDim === "y") {
|
|
55020
|
+
visualMeta = visualMetaList[i];
|
|
55021
|
+
break;
|
|
55022
|
+
}
|
|
55023
|
+
}
|
|
55024
|
+
if (!visualMeta) {
|
|
55025
|
+
if (true) {
|
|
55026
|
+
console.warn("Visual map on line style only support x or y dimension.");
|
|
55027
|
+
}
|
|
55028
|
+
return;
|
|
55029
|
+
}
|
|
55030
|
+
const axis = coordSys.getAxis(coordDim);
|
|
55031
|
+
const colorStops = map(visualMeta.stops, function(stop2) {
|
|
55032
|
+
return {
|
|
55033
|
+
coord: axis.toGlobalCoord(axis.dataToCoord(stop2.value)),
|
|
55034
|
+
color: stop2.color
|
|
55035
|
+
};
|
|
55036
|
+
});
|
|
55037
|
+
const stopLen = colorStops.length;
|
|
55038
|
+
const outerColors = visualMeta.outerColors.slice();
|
|
55039
|
+
if (stopLen && colorStops[0].coord > colorStops[stopLen - 1].coord) {
|
|
55040
|
+
colorStops.reverse();
|
|
55041
|
+
outerColors.reverse();
|
|
55042
|
+
}
|
|
55043
|
+
const colorStopsInRange = clipColorStops2(colorStops, coordDim === "x" ? api2.getWidth() : api2.getHeight());
|
|
55044
|
+
const inRangeStopLen = colorStopsInRange.length;
|
|
55045
|
+
if (!inRangeStopLen && stopLen) {
|
|
55046
|
+
return colorStops[0].coord < 0 ? outerColors[1] ? outerColors[1] : colorStops[stopLen - 1].color : outerColors[0] ? outerColors[0] : colorStops[0].color;
|
|
55047
|
+
}
|
|
55048
|
+
const tinyExtent = 10;
|
|
55049
|
+
const minCoord = colorStopsInRange[0].coord - tinyExtent;
|
|
55050
|
+
const maxCoord = colorStopsInRange[inRangeStopLen - 1].coord + tinyExtent;
|
|
55051
|
+
const coordSpan = maxCoord - minCoord;
|
|
55052
|
+
if (coordSpan < 1e-3) {
|
|
55053
|
+
return "transparent";
|
|
55054
|
+
}
|
|
55055
|
+
each(colorStopsInRange, function(stop2) {
|
|
55056
|
+
stop2.offset = (stop2.coord - minCoord) / coordSpan;
|
|
55057
|
+
});
|
|
55058
|
+
colorStopsInRange.push({
|
|
55059
|
+
offset: inRangeStopLen ? colorStopsInRange[inRangeStopLen - 1].offset : 0.5,
|
|
55060
|
+
color: outerColors[1] || "transparent"
|
|
55061
|
+
});
|
|
55062
|
+
colorStopsInRange.unshift({
|
|
55063
|
+
offset: inRangeStopLen ? colorStopsInRange[0].offset : 0.5,
|
|
55064
|
+
color: outerColors[0] || "transparent"
|
|
55065
|
+
});
|
|
55066
|
+
const gradient = new LinearGradient_default(0, 0, 0, 0, colorStopsInRange, true);
|
|
55067
|
+
gradient[coordDim] = minCoord;
|
|
55068
|
+
gradient[coordDim + "2"] = maxCoord;
|
|
55069
|
+
return gradient;
|
|
55070
|
+
}
|
|
55071
|
+
function getAreaGradient(data, seriesModel, api2) {
|
|
55072
|
+
const colorStopsInRange = [];
|
|
55073
|
+
const areaGradient = seriesModel.get("areaGradient");
|
|
55074
|
+
const valueByType = {
|
|
55075
|
+
start: 0,
|
|
55076
|
+
end: 1
|
|
55077
|
+
};
|
|
55078
|
+
if (!areaGradient) {
|
|
55079
|
+
return;
|
|
55080
|
+
}
|
|
55081
|
+
const coordSys = seriesModel.coordinateSystem;
|
|
55082
|
+
const axis = coordSys.getAxis("y");
|
|
55083
|
+
const extent3 = axis.getExtent();
|
|
55084
|
+
const span = extent3[1] - extent3[0];
|
|
55085
|
+
each(areaGradient, function(item) {
|
|
55086
|
+
const offset = valueByType[item.type] ?? axis.toGlobalCoord(axis.dataToCoord(item.value)) / span;
|
|
55087
|
+
colorStopsInRange.push({
|
|
55088
|
+
color: item.color,
|
|
55089
|
+
offset
|
|
55090
|
+
});
|
|
55091
|
+
});
|
|
55092
|
+
const gradient = new LinearGradient_default(0, extent3[0], 0, extent3[1], colorStopsInRange, true);
|
|
55093
|
+
return gradient;
|
|
55094
|
+
}
|
|
54910
55095
|
var LinesPlotView2 = class extends Chart_default {
|
|
54911
55096
|
constructor() {
|
|
54912
55097
|
super(...arguments);
|
|
@@ -54916,8 +55101,8 @@ var LinesPlotView2 = class extends Chart_default {
|
|
|
54916
55101
|
}
|
|
54917
55102
|
render(seriesModel, ecModel, api2) {
|
|
54918
55103
|
const data = seriesModel.getData();
|
|
54919
|
-
this._renderLine(data, seriesModel);
|
|
54920
|
-
this._renderArea(data, seriesModel);
|
|
55104
|
+
this._renderLine(data, seriesModel, api2);
|
|
55105
|
+
this._renderArea(data, seriesModel, api2);
|
|
54921
55106
|
this._renderSymbol(data, seriesModel);
|
|
54922
55107
|
this._renderHistogram(data, seriesModel);
|
|
54923
55108
|
this._renderBar(data, seriesModel);
|
|
@@ -54936,7 +55121,7 @@ var LinesPlotView2 = class extends Chart_default {
|
|
|
54936
55121
|
const coordSys = seriesModel.coordinateSystem;
|
|
54937
55122
|
return coordSys && coordSys.getArea && coordSys.getArea(0.1);
|
|
54938
55123
|
}
|
|
54939
|
-
_renderLine(data, seriesModel) {
|
|
55124
|
+
_renderLine(data, seriesModel, api2) {
|
|
54940
55125
|
const linePointsByKey = data.getLayout("linePointsByKey");
|
|
54941
55126
|
const lineVisible = seriesModel.get("lineVisible");
|
|
54942
55127
|
if (lineVisible) {
|
|
@@ -54946,6 +55131,7 @@ var LinesPlotView2 = class extends Chart_default {
|
|
|
54946
55131
|
} else {
|
|
54947
55132
|
this._lineGroup.removeAll();
|
|
54948
55133
|
}
|
|
55134
|
+
const visualColor = getVisualGradient2(data, seriesModel.coordinateSystem, api2);
|
|
54949
55135
|
const lineGroup = this._lineGroup;
|
|
54950
55136
|
const z2 = seriesModel.get("z2");
|
|
54951
55137
|
each(linePointsByKey, function(item, key) {
|
|
@@ -54957,7 +55143,7 @@ var LinesPlotView2 = class extends Chart_default {
|
|
|
54957
55143
|
},
|
|
54958
55144
|
style: {
|
|
54959
55145
|
lineDash,
|
|
54960
|
-
stroke: color2,
|
|
55146
|
+
stroke: visualColor || color2,
|
|
54961
55147
|
lineWidth: +lineWidth
|
|
54962
55148
|
},
|
|
54963
55149
|
z2: isDefaultColor ? LastZ2 : z2
|
|
@@ -54970,7 +55156,7 @@ var LinesPlotView2 = class extends Chart_default {
|
|
|
54970
55156
|
this._lineGroup = null;
|
|
54971
55157
|
}
|
|
54972
55158
|
}
|
|
54973
|
-
_renderArea(data, seriesModel) {
|
|
55159
|
+
_renderArea(data, seriesModel, api2) {
|
|
54974
55160
|
const areaVisible = seriesModel.get("areaVisible");
|
|
54975
55161
|
if (areaVisible) {
|
|
54976
55162
|
if (!this._polygonGroup) {
|
|
@@ -54984,6 +55170,7 @@ var LinesPlotView2 = class extends Chart_default {
|
|
|
54984
55170
|
const histbase = seriesModel.get("histbase") || 0;
|
|
54985
55171
|
const z2 = seriesModel.get("z2");
|
|
54986
55172
|
const baseY = seriesModel.coordinateSystem.dataToPoint([0, histbase])[1];
|
|
55173
|
+
const visualColor = getAreaGradient(data, seriesModel, api2);
|
|
54987
55174
|
each(linePointsByKey, function(item, key) {
|
|
54988
55175
|
const [stroke] = key.split(":");
|
|
54989
55176
|
const {color: color2, isDefaultColor} = getFormatColor(stroke);
|
|
@@ -54993,8 +55180,8 @@ var LinesPlotView2 = class extends Chart_default {
|
|
|
54993
55180
|
baseY
|
|
54994
55181
|
},
|
|
54995
55182
|
style: {
|
|
54996
|
-
stroke:
|
|
54997
|
-
fill: color2
|
|
55183
|
+
stroke: "none",
|
|
55184
|
+
fill: visualColor || color2
|
|
54998
55185
|
},
|
|
54999
55186
|
z2: isDefaultColor ? LastZ2 : z2
|
|
55000
55187
|
});
|
|
@@ -55101,7 +55288,7 @@ var LinesPlotView2 = class extends Chart_default {
|
|
|
55101
55288
|
const barGroup = this._barGroup;
|
|
55102
55289
|
const histbase = seriesModel.get("histbase") || 0;
|
|
55103
55290
|
const z2 = seriesModel.get("z2");
|
|
55104
|
-
const barSpace = seriesModel.coordinateSystem.getAxesByScale("ordinal")[0].scale.barSpace;
|
|
55291
|
+
const barSpace = seriesModel.coordinateSystem.getAxesByScale("ordinal")[0].scale.barSpace || calculatebandWidth(seriesModel, data);
|
|
55105
55292
|
const width = Math.floor(barSpace * 0.8);
|
|
55106
55293
|
const baseY = seriesModel.coordinateSystem.dataToPoint([0, histbase])[1];
|
|
55107
55294
|
if (width <= 1) {
|
|
@@ -55363,6 +55550,281 @@ function install24(registers) {
|
|
|
55363
55550
|
registers.registerLayout(linesPlotLayout_default);
|
|
55364
55551
|
}
|
|
55365
55552
|
|
|
55553
|
+
// src/chart/strategy/SymbolPath.ts
|
|
55554
|
+
var LargeSymbolPathShape3 = class {
|
|
55555
|
+
};
|
|
55556
|
+
var SymbolPath2 = class extends Path_default {
|
|
55557
|
+
constructor(opts) {
|
|
55558
|
+
super(opts);
|
|
55559
|
+
}
|
|
55560
|
+
getDefaultShape() {
|
|
55561
|
+
return new LargeSymbolPathShape3();
|
|
55562
|
+
}
|
|
55563
|
+
buildPath(path, shape) {
|
|
55564
|
+
const points4 = shape.points;
|
|
55565
|
+
const symbolProxy = this.symbolProxy;
|
|
55566
|
+
const symbolProxyShape = symbolProxy.shape;
|
|
55567
|
+
const [width, height] = shape.size;
|
|
55568
|
+
symbolProxyShape.width = width;
|
|
55569
|
+
symbolProxyShape.height = height;
|
|
55570
|
+
for (let i = 0; i < points4.length; i++) {
|
|
55571
|
+
const point = points4[i];
|
|
55572
|
+
const [x, y] = point;
|
|
55573
|
+
if (isNaN(x) || isNaN(y)) {
|
|
55574
|
+
continue;
|
|
55575
|
+
}
|
|
55576
|
+
symbolProxyShape.x = x;
|
|
55577
|
+
symbolProxyShape.y = y;
|
|
55578
|
+
symbolProxy.buildPath(path, symbolProxyShape, true);
|
|
55579
|
+
}
|
|
55580
|
+
}
|
|
55581
|
+
};
|
|
55582
|
+
var SymbolPath_default2 = SymbolPath2;
|
|
55583
|
+
|
|
55584
|
+
// src/chart/strategy/StrategyView.ts
|
|
55585
|
+
var LongColor = "rgb(41, 98, 255)";
|
|
55586
|
+
var ShortColor = "rgb(255, 23, 68)";
|
|
55587
|
+
var StrategyView2 = class extends Chart_default {
|
|
55588
|
+
constructor() {
|
|
55589
|
+
super(...arguments);
|
|
55590
|
+
this.type = StrategyView2.type;
|
|
55591
|
+
}
|
|
55592
|
+
init() {
|
|
55593
|
+
}
|
|
55594
|
+
render(seriesModel, ecModel, api2) {
|
|
55595
|
+
const data = seriesModel.getData();
|
|
55596
|
+
this._renderSymbol(data, seriesModel);
|
|
55597
|
+
const clipPath = seriesModel.get("clip", true) && createClipPath(seriesModel.coordinateSystem, false, seriesModel);
|
|
55598
|
+
if (clipPath) {
|
|
55599
|
+
this.group.setClipPath(clipPath);
|
|
55600
|
+
} else {
|
|
55601
|
+
this.group.removeClipPath();
|
|
55602
|
+
}
|
|
55603
|
+
}
|
|
55604
|
+
_getClipShape(seriesModel) {
|
|
55605
|
+
if (!seriesModel.get("clip", true)) {
|
|
55606
|
+
return;
|
|
55607
|
+
}
|
|
55608
|
+
const coordSys = seriesModel.coordinateSystem;
|
|
55609
|
+
return coordSys && coordSys.getArea && coordSys.getArea(0.1);
|
|
55610
|
+
}
|
|
55611
|
+
_renderSymbol(data, seriesModel) {
|
|
55612
|
+
if (!this._symbolGroup) {
|
|
55613
|
+
this._symbolGroup = new Group_default();
|
|
55614
|
+
this.group.add(this._symbolGroup);
|
|
55615
|
+
} else {
|
|
55616
|
+
this._symbolGroup.removeAll();
|
|
55617
|
+
}
|
|
55618
|
+
const symbolGroup = this._symbolGroup;
|
|
55619
|
+
const z2 = seriesModel.get("z2");
|
|
55620
|
+
const upTriangle = data.getLayout("upTriangle");
|
|
55621
|
+
const upTriangleEl = new SymbolPath_default2({
|
|
55622
|
+
shape: {
|
|
55623
|
+
points: upTriangle,
|
|
55624
|
+
size: [8, 12]
|
|
55625
|
+
},
|
|
55626
|
+
style: {
|
|
55627
|
+
fill: LongColor
|
|
55628
|
+
},
|
|
55629
|
+
z2
|
|
55630
|
+
});
|
|
55631
|
+
upTriangleEl.symbolProxy = createSymbol("triangleRight", 0, 0, 0, 0);
|
|
55632
|
+
symbolGroup.add(upTriangleEl);
|
|
55633
|
+
const upArrow = data.getLayout("upArrow");
|
|
55634
|
+
const arrowUpEl = new SymbolPath_default2({
|
|
55635
|
+
shape: {
|
|
55636
|
+
points: upArrow,
|
|
55637
|
+
size: [12, 16]
|
|
55638
|
+
},
|
|
55639
|
+
style: {
|
|
55640
|
+
fill: LongColor
|
|
55641
|
+
},
|
|
55642
|
+
z2
|
|
55643
|
+
});
|
|
55644
|
+
arrowUpEl.symbolProxy = createSymbol("arrowUp", 0, 0, 0, 0);
|
|
55645
|
+
arrowUpEl.symbolProxy.shape = {
|
|
55646
|
+
...arrowUpEl.symbolProxy.shape,
|
|
55647
|
+
triangleWidth: 4,
|
|
55648
|
+
triangleHeight: 6
|
|
55649
|
+
};
|
|
55650
|
+
symbolGroup.add(arrowUpEl);
|
|
55651
|
+
const downTriangle = data.getLayout("downTriangle");
|
|
55652
|
+
const downTriangleEl = new SymbolPath_default2({
|
|
55653
|
+
shape: {
|
|
55654
|
+
points: downTriangle,
|
|
55655
|
+
size: [8, 12]
|
|
55656
|
+
},
|
|
55657
|
+
style: {
|
|
55658
|
+
fill: ShortColor
|
|
55659
|
+
},
|
|
55660
|
+
z2
|
|
55661
|
+
});
|
|
55662
|
+
downTriangleEl.symbolProxy = createSymbol("triangleLeft", 0, 0, 0, 0);
|
|
55663
|
+
symbolGroup.add(downTriangleEl);
|
|
55664
|
+
const downArrow = data.getLayout("downArrow");
|
|
55665
|
+
const arrowDownEl = new SymbolPath_default2({
|
|
55666
|
+
shape: {
|
|
55667
|
+
points: downArrow,
|
|
55668
|
+
size: [12, 16]
|
|
55669
|
+
},
|
|
55670
|
+
style: {
|
|
55671
|
+
fill: ShortColor
|
|
55672
|
+
},
|
|
55673
|
+
z2
|
|
55674
|
+
});
|
|
55675
|
+
arrowDownEl.symbolProxy = createSymbol("arrowDown", 0, 0, 0, 0);
|
|
55676
|
+
arrowDownEl.symbolProxy.shape = {
|
|
55677
|
+
...arrowDownEl.symbolProxy.shape,
|
|
55678
|
+
triangleWidth: 4,
|
|
55679
|
+
triangleHeight: 6
|
|
55680
|
+
};
|
|
55681
|
+
symbolGroup.add(arrowDownEl);
|
|
55682
|
+
const texts = data.getLayout("texts");
|
|
55683
|
+
const textColor = seriesModel.get("textColor");
|
|
55684
|
+
each(texts, function(item) {
|
|
55685
|
+
const {text, point} = item;
|
|
55686
|
+
const el = new Text_default({
|
|
55687
|
+
style: {
|
|
55688
|
+
text,
|
|
55689
|
+
align: "center",
|
|
55690
|
+
fill: textColor ?? "#fff",
|
|
55691
|
+
fontSize: 12
|
|
55692
|
+
},
|
|
55693
|
+
x: point[0],
|
|
55694
|
+
y: point[1]
|
|
55695
|
+
});
|
|
55696
|
+
symbolGroup.add(el);
|
|
55697
|
+
});
|
|
55698
|
+
}
|
|
55699
|
+
remove(ecModel, api2) {
|
|
55700
|
+
this._symbolGroup && this._symbolGroup.removeAll();
|
|
55701
|
+
this._symbolGroup = null;
|
|
55702
|
+
}
|
|
55703
|
+
dispose(ecModel, api2) {
|
|
55704
|
+
this.remove(ecModel, api2);
|
|
55705
|
+
}
|
|
55706
|
+
};
|
|
55707
|
+
var StrategyView = StrategyView2;
|
|
55708
|
+
StrategyView.type = "strategy";
|
|
55709
|
+
var StrategyView_default = StrategyView;
|
|
55710
|
+
|
|
55711
|
+
// src/chart/strategy/StrategySeries.ts
|
|
55712
|
+
var StrategySeriesModel2 = class extends Series_default {
|
|
55713
|
+
constructor() {
|
|
55714
|
+
super(...arguments);
|
|
55715
|
+
this.type = StrategySeriesModel2.type;
|
|
55716
|
+
}
|
|
55717
|
+
getInitialData(option) {
|
|
55718
|
+
if (true) {
|
|
55719
|
+
const coordSys = option.coordinateSystem;
|
|
55720
|
+
if (coordSys !== "polar" && coordSys !== "cartesian2d") {
|
|
55721
|
+
throw new Error("Strategy not support coordinateSystem besides cartesian and polar");
|
|
55722
|
+
}
|
|
55723
|
+
}
|
|
55724
|
+
return createSeriesData_default(null, this, {
|
|
55725
|
+
useEncodeDefaulter: true
|
|
55726
|
+
});
|
|
55727
|
+
}
|
|
55728
|
+
getZLevelKey() {
|
|
55729
|
+
return this.getData().count() > this.getProgressiveThreshold() ? this.id : "";
|
|
55730
|
+
}
|
|
55731
|
+
};
|
|
55732
|
+
var StrategySeriesModel = StrategySeriesModel2;
|
|
55733
|
+
StrategySeriesModel.type = "series.strategy";
|
|
55734
|
+
StrategySeriesModel.dependencies = ["grid", "polar"];
|
|
55735
|
+
StrategySeriesModel.defaultOption = {
|
|
55736
|
+
coordinateSystem: "cartesian2d",
|
|
55737
|
+
z: 2,
|
|
55738
|
+
z2: 0,
|
|
55739
|
+
legendHoverLink: true,
|
|
55740
|
+
xAxisIndex: 0,
|
|
55741
|
+
yAxisIndex: 0,
|
|
55742
|
+
large: true,
|
|
55743
|
+
largeThreshold: 600,
|
|
55744
|
+
clip: true
|
|
55745
|
+
};
|
|
55746
|
+
var StrategySeries_default = StrategySeriesModel;
|
|
55747
|
+
|
|
55748
|
+
// src/chart/strategy/StrategyLayout.ts
|
|
55749
|
+
var arrowHeight = 16;
|
|
55750
|
+
var arrowMargin = 10;
|
|
55751
|
+
var textMargin = 6;
|
|
55752
|
+
var textHeight = 26;
|
|
55753
|
+
var StrategyLayout = {
|
|
55754
|
+
seriesType: "strategy",
|
|
55755
|
+
plan: createRenderPlanner(),
|
|
55756
|
+
reset: function(seriesModel) {
|
|
55757
|
+
const coordSys = seriesModel.coordinateSystem;
|
|
55758
|
+
if (!coordSys) {
|
|
55759
|
+
if (true) {
|
|
55760
|
+
error("The lines series must have a coordinate system.");
|
|
55761
|
+
}
|
|
55762
|
+
return;
|
|
55763
|
+
}
|
|
55764
|
+
const data = seriesModel.getData();
|
|
55765
|
+
const dims = map(coordSys.dimensions, function(dim) {
|
|
55766
|
+
return data.mapDimension(dim);
|
|
55767
|
+
}).slice(0, 2);
|
|
55768
|
+
const store = data.getStore();
|
|
55769
|
+
const dimIdx0 = data.getDimensionIndex(dims[0]);
|
|
55770
|
+
return {
|
|
55771
|
+
progress(params, strategyData) {
|
|
55772
|
+
const upTriangle = [];
|
|
55773
|
+
const downTriangle = [];
|
|
55774
|
+
const upArrow = [];
|
|
55775
|
+
const downArrow = [];
|
|
55776
|
+
const texts = [];
|
|
55777
|
+
for (let i = params.start; i < params.end; i++) {
|
|
55778
|
+
const x = store.get(dimIdx0, i);
|
|
55779
|
+
const dataModal = strategyData.getItemModel(i);
|
|
55780
|
+
const upOrders = dataModal.get("upOrders");
|
|
55781
|
+
const downOrders = dataModal.get("downOrders");
|
|
55782
|
+
const baseDown = dataModal.get("baseDown");
|
|
55783
|
+
const baseUp = dataModal.get("baseUp");
|
|
55784
|
+
const baseUpPoint = coordSys.dataToPoint([x, baseUp]);
|
|
55785
|
+
const baseDownPoint = coordSys.dataToPoint([x, baseDown]);
|
|
55786
|
+
const optimizeX = baseUpPoint[0] + 0.5;
|
|
55787
|
+
each(upOrders, function(item) {
|
|
55788
|
+
upTriangle.push(coordSys.dataToPoint([x, item.price]));
|
|
55789
|
+
upArrow.push([optimizeX, baseUpPoint[1] + arrowMargin + arrowHeight / 2]);
|
|
55790
|
+
texts.push({
|
|
55791
|
+
text: `${item.comment}
|
|
55792
|
+
+${item.count}`,
|
|
55793
|
+
point: [baseUpPoint[0], baseUpPoint[1] + arrowMargin + arrowHeight + textMargin]
|
|
55794
|
+
});
|
|
55795
|
+
baseUpPoint[1] = baseUpPoint[1] + arrowMargin + arrowHeight + textMargin + textHeight;
|
|
55796
|
+
});
|
|
55797
|
+
each(downOrders, function(item) {
|
|
55798
|
+
downTriangle.push(coordSys.dataToPoint([x, item.price]));
|
|
55799
|
+
downArrow.push([optimizeX, baseDownPoint[1] - arrowMargin - arrowHeight / 2]);
|
|
55800
|
+
texts.push({text: `${item.comment}
|
|
55801
|
+
-${item.count}`, point: [
|
|
55802
|
+
baseDownPoint[0],
|
|
55803
|
+
baseDownPoint[1] - arrowMargin - arrowHeight - textMargin - textHeight
|
|
55804
|
+
]});
|
|
55805
|
+
baseDownPoint[1] = baseDownPoint[1] - arrowMargin - arrowHeight - textMargin - textHeight;
|
|
55806
|
+
});
|
|
55807
|
+
}
|
|
55808
|
+
data.setLayout({
|
|
55809
|
+
upTriangle,
|
|
55810
|
+
downTriangle,
|
|
55811
|
+
upArrow,
|
|
55812
|
+
downArrow,
|
|
55813
|
+
texts
|
|
55814
|
+
});
|
|
55815
|
+
}
|
|
55816
|
+
};
|
|
55817
|
+
}
|
|
55818
|
+
};
|
|
55819
|
+
var StrategyLayout_default = StrategyLayout;
|
|
55820
|
+
|
|
55821
|
+
// src/chart/strategy/install.ts
|
|
55822
|
+
function install25(registers) {
|
|
55823
|
+
registers.registerChartView(StrategyView_default);
|
|
55824
|
+
registers.registerSeriesModel(StrategySeries_default);
|
|
55825
|
+
registers.registerLayout(StrategyLayout_default);
|
|
55826
|
+
}
|
|
55827
|
+
|
|
55366
55828
|
// src/chart/labels/LabelsSeries.ts
|
|
55367
55829
|
var LabelsSeriesModel2 = class extends Series_default {
|
|
55368
55830
|
constructor() {
|
|
@@ -55414,14 +55876,14 @@ LabelsSeriesModel.defaultOption = {
|
|
|
55414
55876
|
var LabelsSeries_default = LabelsSeriesModel;
|
|
55415
55877
|
|
|
55416
55878
|
// src/chart/labels/SymbolPath.ts
|
|
55417
|
-
var
|
|
55879
|
+
var LargeSymbolPathShape4 = class {
|
|
55418
55880
|
};
|
|
55419
|
-
var
|
|
55881
|
+
var SymbolPath3 = class extends Path_default {
|
|
55420
55882
|
constructor(opts) {
|
|
55421
55883
|
super(opts);
|
|
55422
55884
|
}
|
|
55423
55885
|
getDefaultShape() {
|
|
55424
|
-
return new
|
|
55886
|
+
return new LargeSymbolPathShape4();
|
|
55425
55887
|
}
|
|
55426
55888
|
buildPath(path, shape) {
|
|
55427
55889
|
const points4 = shape.points;
|
|
@@ -55447,7 +55909,7 @@ var SymbolPath2 = class extends Path_default {
|
|
|
55447
55909
|
}
|
|
55448
55910
|
}
|
|
55449
55911
|
};
|
|
55450
|
-
var
|
|
55912
|
+
var SymbolPath_default3 = SymbolPath3;
|
|
55451
55913
|
|
|
55452
55914
|
// src/chart/labels/LabelsView.ts
|
|
55453
55915
|
var variableMap = {
|
|
@@ -55526,7 +55988,7 @@ var LabelsView2 = class extends Chart_default {
|
|
|
55526
55988
|
const symbolStyleMap = data.getLayout("symbolStyleMap");
|
|
55527
55989
|
each(symbolStyleMap, function(item, key) {
|
|
55528
55990
|
const isLine = lineSymbols.includes(key);
|
|
55529
|
-
const el = new
|
|
55991
|
+
const el = new SymbolPath_default3({
|
|
55530
55992
|
shape: {
|
|
55531
55993
|
points: item,
|
|
55532
55994
|
needCenter: !variableMap[key],
|
|
@@ -55572,6 +56034,16 @@ var xCrossMapping = {
|
|
|
55572
56034
|
return {w: width * 0.7, h: width * 0.7};
|
|
55573
56035
|
}
|
|
55574
56036
|
};
|
|
56037
|
+
var shapeXCrossMapping = {
|
|
56038
|
+
huge: () => ({w: 61, h: 65}),
|
|
56039
|
+
large: () => ({w: 46, h: 39}),
|
|
56040
|
+
normal: () => ({w: 27, h: 27}),
|
|
56041
|
+
small: () => ({w: 18, h: 18}),
|
|
56042
|
+
tiny: () => ({w: 11, h: 11}),
|
|
56043
|
+
auto: (width) => {
|
|
56044
|
+
return {w: width * 0.7, h: width * 0.7};
|
|
56045
|
+
}
|
|
56046
|
+
};
|
|
55575
56047
|
var lCrossMapping = {
|
|
55576
56048
|
huge: () => ({w: 60, h: 50}),
|
|
55577
56049
|
large: () => ({w: 46, h: 38}),
|
|
@@ -55582,6 +56054,16 @@ var lCrossMapping = {
|
|
|
55582
56054
|
return {w: width * 0.7, h: width * 0.7};
|
|
55583
56055
|
}
|
|
55584
56056
|
};
|
|
56057
|
+
var shapeLCrossMapping = {
|
|
56058
|
+
huge: () => ({w: 60, h: 50}),
|
|
56059
|
+
large: () => ({w: 46, h: 38}),
|
|
56060
|
+
normal: () => ({w: 30, h: 26}),
|
|
56061
|
+
small: () => ({w: 18, h: 18}),
|
|
56062
|
+
tiny: () => ({w: 11, h: 11}),
|
|
56063
|
+
auto: (width) => {
|
|
56064
|
+
return {w: width * 0.7, h: width * 0.7};
|
|
56065
|
+
}
|
|
56066
|
+
};
|
|
55585
56067
|
var triangleMapping = {
|
|
55586
56068
|
huge: () => ({w: 63, h: 51}),
|
|
55587
56069
|
large: () => ({w: 47, h: 39}),
|
|
@@ -55592,6 +56074,16 @@ var triangleMapping = {
|
|
|
55592
56074
|
return {w: width, h: Math.max(width - 6, 1)};
|
|
55593
56075
|
}
|
|
55594
56076
|
};
|
|
56077
|
+
var shapeTriangleMapping = {
|
|
56078
|
+
huge: () => ({w: 63, h: 51}),
|
|
56079
|
+
large: () => ({w: 47, h: 39}),
|
|
56080
|
+
normal: () => ({w: 33, h: 26}),
|
|
56081
|
+
small: () => ({w: 18, h: 18}),
|
|
56082
|
+
tiny: () => ({w: 11, h: 11}),
|
|
56083
|
+
auto: (width) => {
|
|
56084
|
+
return {w: width, h: Math.max(width - 6, 1)};
|
|
56085
|
+
}
|
|
56086
|
+
};
|
|
55595
56087
|
var flagMapping = {
|
|
55596
56088
|
huge: () => ({w: 61, h: 57}),
|
|
55597
56089
|
large: () => ({w: 47, h: 43}),
|
|
@@ -55602,6 +56094,16 @@ var flagMapping = {
|
|
|
55602
56094
|
return {w: width, h: Math.max(width - 2, 1)};
|
|
55603
56095
|
}
|
|
55604
56096
|
};
|
|
56097
|
+
var shapeFlagMapping = {
|
|
56098
|
+
huge: () => ({w: 61, h: 57}),
|
|
56099
|
+
large: () => ({w: 47, h: 43}),
|
|
56100
|
+
normal: () => ({w: 31, h: 29}),
|
|
56101
|
+
small: () => ({w: 18, h: 19}),
|
|
56102
|
+
tiny: () => ({w: 11, h: 10}),
|
|
56103
|
+
auto: (width) => {
|
|
56104
|
+
return {w: width, h: Math.max(width - 2, 1)};
|
|
56105
|
+
}
|
|
56106
|
+
};
|
|
55605
56107
|
var circleMapping = {
|
|
55606
56108
|
huge: () => ({w: 61, h: 61}),
|
|
55607
56109
|
large: () => ({w: 47, h: 47}),
|
|
@@ -55612,6 +56114,16 @@ var circleMapping = {
|
|
|
55612
56114
|
return {w: width, h: width};
|
|
55613
56115
|
}
|
|
55614
56116
|
};
|
|
56117
|
+
var shapeCircleMapping = {
|
|
56118
|
+
huge: () => ({w: 61, h: 61}),
|
|
56119
|
+
large: () => ({w: 47, h: 47}),
|
|
56120
|
+
normal: () => ({w: 31, h: 31}),
|
|
56121
|
+
small: () => ({w: 18, h: 18}),
|
|
56122
|
+
tiny: () => ({w: 11, h: 11}),
|
|
56123
|
+
auto: (width) => {
|
|
56124
|
+
return {w: width, h: width};
|
|
56125
|
+
}
|
|
56126
|
+
};
|
|
55615
56127
|
var labelMapping = {
|
|
55616
56128
|
huge: () => ({w: 33, h: 28, shape: {triangleWidth: 16}}),
|
|
55617
56129
|
large: () => ({w: 25, h: 21, shape: {triangleWidth: 12}}),
|
|
@@ -55643,6 +56155,16 @@ var rectMapping = {
|
|
|
55643
56155
|
return {w: width * 0.7, h: width * 0.7};
|
|
55644
56156
|
}
|
|
55645
56157
|
};
|
|
56158
|
+
var shapeRectMapping = {
|
|
56159
|
+
huge: () => ({w: 51, h: 51}),
|
|
56160
|
+
large: () => ({w: 39, h: 39}),
|
|
56161
|
+
normal: () => ({w: 27, h: 27}),
|
|
56162
|
+
small: () => ({w: 18, h: 18}),
|
|
56163
|
+
tiny: () => ({w: 11, h: 11}),
|
|
56164
|
+
auto: (width) => {
|
|
56165
|
+
return {w: width * 0.7, h: width * 0.7};
|
|
56166
|
+
}
|
|
56167
|
+
};
|
|
55646
56168
|
var getArrowShape = (width, height, baseW) => {
|
|
55647
56169
|
const w = width * 0.6;
|
|
55648
56170
|
const rectHeight = Math.max(Math.floor((baseW - w) / 3), 0);
|
|
@@ -55681,8 +56203,28 @@ var symbolSizeMapping = {
|
|
|
55681
56203
|
arrowUp: arrowMapping,
|
|
55682
56204
|
arrowDown: arrowMapping
|
|
55683
56205
|
};
|
|
55684
|
-
|
|
55685
|
-
|
|
56206
|
+
var plotShapeSymbolSizeMapping = {
|
|
56207
|
+
xCross: shapeXCrossMapping,
|
|
56208
|
+
lCross: shapeLCrossMapping,
|
|
56209
|
+
triangle: shapeTriangleMapping,
|
|
56210
|
+
triangleDown: shapeTriangleMapping,
|
|
56211
|
+
flag: shapeFlagMapping,
|
|
56212
|
+
circle: shapeCircleMapping,
|
|
56213
|
+
rect: shapeRectMapping,
|
|
56214
|
+
diamond: shapeRectMapping,
|
|
56215
|
+
arrowUp: arrowMapping,
|
|
56216
|
+
arrowDown: arrowMapping,
|
|
56217
|
+
labelUp: labelMapping,
|
|
56218
|
+
labelDown: labelMapping,
|
|
56219
|
+
labelLeft: labelMapping,
|
|
56220
|
+
labelRight: labelMapping,
|
|
56221
|
+
labelLowerLeft: labelAngleMapping,
|
|
56222
|
+
labelLowerRight: labelAngleMapping,
|
|
56223
|
+
labelUpperLeft: labelAngleMapping,
|
|
56224
|
+
labelUpperRight: labelAngleMapping
|
|
56225
|
+
};
|
|
56226
|
+
function getSymbolSize2(type, size, width, isShape = false) {
|
|
56227
|
+
const fn = (isShape ? plotShapeSymbolSizeMapping : symbolSizeMapping)[type]?.[size];
|
|
55686
56228
|
return fn ? fn(width) : {w: 1, h: 1};
|
|
55687
56229
|
}
|
|
55688
56230
|
var labelFontSizeMapping = {
|
|
@@ -55761,6 +56303,7 @@ var labelsLayout = {
|
|
|
55761
56303
|
}
|
|
55762
56304
|
const bandWidth = Math.max(1, Math.round(coordSys.getAxesByScale("ordinal")[0].scale.barSpace * 0.8));
|
|
55763
56305
|
const location = seriesModel.get("location");
|
|
56306
|
+
const isShape = seriesModel.get("isShape");
|
|
55764
56307
|
const dims = map(coordSys.dimensions, function(dim) {
|
|
55765
56308
|
return data.mapDimension(dim);
|
|
55766
56309
|
}).slice(0, 2);
|
|
@@ -55804,7 +56347,8 @@ var labelsLayout = {
|
|
|
55804
56347
|
let position2 = labelModel.get("position") || "top";
|
|
55805
56348
|
if (location === "top" || location === "belowbar") {
|
|
55806
56349
|
position2 = "bottom";
|
|
55807
|
-
}
|
|
56350
|
+
}
|
|
56351
|
+
if (isLabel || symbol === "textOutline") {
|
|
55808
56352
|
position2 = "inside";
|
|
55809
56353
|
}
|
|
55810
56354
|
if (textShow) {
|
|
@@ -55823,7 +56367,7 @@ var labelsLayout = {
|
|
|
55823
56367
|
oldOffset = [textRect.width / 2, 0];
|
|
55824
56368
|
}
|
|
55825
56369
|
}
|
|
55826
|
-
const {w, h, shape} = getSymbolSize2(symbol, size, bandWidth);
|
|
56370
|
+
const {w, h, shape} = getSymbolSize2(symbol, size, bandWidth, isShape);
|
|
55827
56371
|
if (isLabel ? !textShow || !text : true) {
|
|
55828
56372
|
symbolSize = [w, h];
|
|
55829
56373
|
}
|
|
@@ -55885,7 +56429,7 @@ var labelsLayout = {
|
|
|
55885
56429
|
var labelsLayout_default = labelsLayout;
|
|
55886
56430
|
|
|
55887
56431
|
// src/chart/labels/install.ts
|
|
55888
|
-
function
|
|
56432
|
+
function install26(registers) {
|
|
55889
56433
|
registers.registerSeriesModel(LabelsSeries_default);
|
|
55890
56434
|
registers.registerChartView(LabelsView_default);
|
|
55891
56435
|
registers.registerLayout(labelsLayout_default);
|
|
@@ -56020,7 +56564,7 @@ var hLinesLayout = {
|
|
|
56020
56564
|
var hLinesLayout_default = hLinesLayout;
|
|
56021
56565
|
|
|
56022
56566
|
// src/chart/hlines/install.ts
|
|
56023
|
-
function
|
|
56567
|
+
function install27(registers) {
|
|
56024
56568
|
registers.registerChartView(HLinesView_default);
|
|
56025
56569
|
registers.registerSeriesModel(HLinesSeries_default);
|
|
56026
56570
|
registers.registerLayout(hLinesLayout_default);
|
|
@@ -56113,48 +56657,6 @@ var FillPolyPath = class extends Path_default {
|
|
|
56113
56657
|
};
|
|
56114
56658
|
var FillPolyPath_default = FillPolyPath;
|
|
56115
56659
|
|
|
56116
|
-
// src/chart/fills/LargeFillPolyPath.ts
|
|
56117
|
-
var LargeFillPolyShape = class {
|
|
56118
|
-
constructor() {
|
|
56119
|
-
this.pointsByColor = {};
|
|
56120
|
-
}
|
|
56121
|
-
};
|
|
56122
|
-
var LargeFillPolyPath = class extends Path_default {
|
|
56123
|
-
constructor(opts) {
|
|
56124
|
-
super(opts);
|
|
56125
|
-
this.type = "largeFillPoly";
|
|
56126
|
-
}
|
|
56127
|
-
getDefaultStyle() {
|
|
56128
|
-
return {
|
|
56129
|
-
stroke: "transparent"
|
|
56130
|
-
};
|
|
56131
|
-
}
|
|
56132
|
-
getDefaultShape() {
|
|
56133
|
-
return new LargeFillPolyShape();
|
|
56134
|
-
}
|
|
56135
|
-
buildPath(ctx, shape) {
|
|
56136
|
-
const {pointsByColor} = shape;
|
|
56137
|
-
each(pointsByColor, function(points4, color2) {
|
|
56138
|
-
ctx.beginPathFill();
|
|
56139
|
-
for (let index = 0; index < points4.length; index++) {
|
|
56140
|
-
const polyPoints = points4[index];
|
|
56141
|
-
for (let i = 0; i < polyPoints.length; i++) {
|
|
56142
|
-
if (i === 0) {
|
|
56143
|
-
ctx.moveTo(polyPoints[i][0], polyPoints[i][1]);
|
|
56144
|
-
continue;
|
|
56145
|
-
}
|
|
56146
|
-
ctx.lineTo(polyPoints[i][0], polyPoints[i][1]);
|
|
56147
|
-
if (i + 1 === polyPoints.length) {
|
|
56148
|
-
ctx.closePath();
|
|
56149
|
-
}
|
|
56150
|
-
}
|
|
56151
|
-
}
|
|
56152
|
-
ctx.fillStyle(color2);
|
|
56153
|
-
});
|
|
56154
|
-
}
|
|
56155
|
-
};
|
|
56156
|
-
var LargeFillPolyPath_default = LargeFillPolyPath;
|
|
56157
|
-
|
|
56158
56660
|
// src/chart/fills/FillsView.ts
|
|
56159
56661
|
var FillsView2 = class extends Chart_default {
|
|
56160
56662
|
constructor() {
|
|
@@ -56175,54 +56677,40 @@ var FillsView2 = class extends Chart_default {
|
|
|
56175
56677
|
const z2 = seriesModel.get("z2");
|
|
56176
56678
|
const polygonGroup = this._polygonGroup;
|
|
56177
56679
|
const coordSys = seriesModel.coordinateSystem;
|
|
56178
|
-
|
|
56179
|
-
|
|
56180
|
-
|
|
56680
|
+
each(pointsByColor, function(points4, key) {
|
|
56681
|
+
const colors = key.split(":");
|
|
56682
|
+
let fill = key;
|
|
56683
|
+
let isDefaultFill = false;
|
|
56684
|
+
if (colors.length > 1) {
|
|
56685
|
+
const [topColor, topValue, bottomColor, bottomValue] = colors;
|
|
56686
|
+
const tValue = coordSys.dataToPoint([0, topValue])[1];
|
|
56687
|
+
const bValue = coordSys.dataToPoint([0, bottomValue])[1];
|
|
56688
|
+
fill = new LinearGradient_default(0, tValue, 0, bValue, [
|
|
56689
|
+
{
|
|
56690
|
+
offset: 0,
|
|
56691
|
+
color: topColor
|
|
56692
|
+
},
|
|
56693
|
+
{
|
|
56694
|
+
offset: 1,
|
|
56695
|
+
color: bottomColor
|
|
56696
|
+
}
|
|
56697
|
+
], true);
|
|
56698
|
+
} else {
|
|
56699
|
+
const {color: color2, isDefaultColor} = getFormatColor(fill);
|
|
56700
|
+
fill = color2;
|
|
56701
|
+
isDefaultFill = isDefaultColor;
|
|
56702
|
+
}
|
|
56703
|
+
const el = new FillPolyPath_default({
|
|
56181
56704
|
shape: {
|
|
56182
|
-
|
|
56705
|
+
points: points4
|
|
56183
56706
|
},
|
|
56184
56707
|
style: {
|
|
56185
|
-
fill
|
|
56708
|
+
fill
|
|
56186
56709
|
},
|
|
56187
|
-
z2
|
|
56710
|
+
z2: isDefaultFill ? -1 : z2
|
|
56188
56711
|
});
|
|
56189
56712
|
polygonGroup.add(el);
|
|
56190
|
-
}
|
|
56191
|
-
each(pointsByColor, function(points4, key) {
|
|
56192
|
-
const colors = key.split(":");
|
|
56193
|
-
let fill = key;
|
|
56194
|
-
let isDefaultFill = false;
|
|
56195
|
-
if (colors.length > 1) {
|
|
56196
|
-
const [topColor, topValue, bottomColor, bottomValue] = colors;
|
|
56197
|
-
const tValue = coordSys.dataToPoint([0, topValue])[1];
|
|
56198
|
-
const bValue = coordSys.dataToPoint([0, bottomValue])[1];
|
|
56199
|
-
fill = new LinearGradient_default(0, tValue, 0, bValue, [
|
|
56200
|
-
{
|
|
56201
|
-
offset: 0,
|
|
56202
|
-
color: topColor
|
|
56203
|
-
},
|
|
56204
|
-
{
|
|
56205
|
-
offset: 1,
|
|
56206
|
-
color: bottomColor
|
|
56207
|
-
}
|
|
56208
|
-
], true);
|
|
56209
|
-
} else {
|
|
56210
|
-
const {color: color2, isDefaultColor} = getFormatColor(fill);
|
|
56211
|
-
fill = color2;
|
|
56212
|
-
isDefaultFill = isDefaultColor;
|
|
56213
|
-
}
|
|
56214
|
-
const el = new FillPolyPath_default({
|
|
56215
|
-
shape: {
|
|
56216
|
-
points: points4
|
|
56217
|
-
},
|
|
56218
|
-
style: {
|
|
56219
|
-
fill
|
|
56220
|
-
},
|
|
56221
|
-
z2: isDefaultFill ? -1 : z2
|
|
56222
|
-
});
|
|
56223
|
-
polygonGroup.add(el);
|
|
56224
|
-
});
|
|
56225
|
-
}
|
|
56713
|
+
});
|
|
56226
56714
|
const clipPath = seriesModel.get("clip", true) && createClipPath(seriesModel.coordinateSystem, false, seriesModel);
|
|
56227
56715
|
if (clipPath) {
|
|
56228
56716
|
this.group.setClipPath(clipPath);
|
|
@@ -56248,8 +56736,8 @@ var FillsView_default = FillsView;
|
|
|
56248
56736
|
// src/chart/fills/fillsLayout.ts
|
|
56249
56737
|
function getKey(itemModel) {
|
|
56250
56738
|
let key = itemModel.option?.color;
|
|
56251
|
-
if (!key && itemModel.get("topValue")) {
|
|
56252
|
-
key = `${itemModel.get("topColor") || "
|
|
56739
|
+
if (!key && itemModel.get("topValue") !== void 0) {
|
|
56740
|
+
key = `${itemModel.get("topColor") || "rgba(255,255,255,0)"}:${itemModel.get("topValue")}:${itemModel.get("bottomColor") || "rgba(255,255,255,0)"}:${itemModel.get("bottomValue")}`;
|
|
56253
56741
|
}
|
|
56254
56742
|
return key || "transparent";
|
|
56255
56743
|
}
|
|
@@ -56359,7 +56847,7 @@ var fillsLayout = {
|
|
|
56359
56847
|
var fillsLayout_default = fillsLayout;
|
|
56360
56848
|
|
|
56361
56849
|
// src/chart/fills/install.ts
|
|
56362
|
-
function
|
|
56850
|
+
function install28(registers) {
|
|
56363
56851
|
registers.registerChartView(FillsView_default);
|
|
56364
56852
|
registers.registerSeriesModel(FillsSeries_default);
|
|
56365
56853
|
registers.registerLayout(fillsLayout_default);
|
|
@@ -56563,7 +57051,7 @@ var bgColorLayout = {
|
|
|
56563
57051
|
var BgColorLayout_default = bgColorLayout;
|
|
56564
57052
|
|
|
56565
57053
|
// src/chart/bgColor/install.ts
|
|
56566
|
-
function
|
|
57054
|
+
function install29(registers) {
|
|
56567
57055
|
registers.registerChartView(BgColorView_default);
|
|
56568
57056
|
registers.registerSeriesModel(BgColorSeries_default);
|
|
56569
57057
|
registers.registerLayout(BgColorLayout_default);
|
|
@@ -56961,7 +57449,7 @@ HeatmapSeriesModel.defaultOption = {
|
|
|
56961
57449
|
var HeatmapSeries_default = HeatmapSeriesModel;
|
|
56962
57450
|
|
|
56963
57451
|
// src/chart/heatmap/install.ts
|
|
56964
|
-
function
|
|
57452
|
+
function install30(registers) {
|
|
56965
57453
|
registers.registerChartView(HeatmapView_default);
|
|
56966
57454
|
registers.registerSeriesModel(HeatmapSeries_default);
|
|
56967
57455
|
}
|
|
@@ -57524,7 +58012,7 @@ PictorialBarSeriesModel.defaultOption = inheritDefaultOption(BaseBarSeries_defau
|
|
|
57524
58012
|
var PictorialBarSeries_default = PictorialBarSeriesModel;
|
|
57525
58013
|
|
|
57526
58014
|
// src/chart/bar/installPictorialBar.ts
|
|
57527
|
-
function
|
|
58015
|
+
function install31(registers) {
|
|
57528
58016
|
registers.registerChartView(PictorialBarView_default);
|
|
57529
58017
|
registers.registerSeriesModel(PictorialBarSeries_default);
|
|
57530
58018
|
registers.registerLayout(registers.PRIORITY.VISUAL.LAYOUT, curry(layout2, "pictorialBar"));
|
|
@@ -57925,7 +58413,7 @@ function computeBaseline(data) {
|
|
|
57925
58413
|
}
|
|
57926
58414
|
|
|
57927
58415
|
// src/chart/themeRiver/install.ts
|
|
57928
|
-
function
|
|
58416
|
+
function install32(registers) {
|
|
57929
58417
|
registers.registerChartView(ThemeRiverView_default);
|
|
57930
58418
|
registers.registerSeriesModel(ThemeRiverSeries_default);
|
|
57931
58419
|
registers.registerLayout(themeRiverLayout);
|
|
@@ -58563,7 +59051,7 @@ function sunburstVisual(ecModel) {
|
|
|
58563
59051
|
}
|
|
58564
59052
|
|
|
58565
59053
|
// src/chart/sunburst/install.ts
|
|
58566
|
-
function
|
|
59054
|
+
function install33(registers) {
|
|
58567
59055
|
registers.registerChartView(SunburstView_default);
|
|
58568
59056
|
registers.registerSeriesModel(SunburstSeries_default);
|
|
58569
59057
|
registers.registerLayout(curry(sunburstLayout, "sunburst"));
|
|
@@ -60011,7 +60499,7 @@ function hasOwnPathData(shape) {
|
|
|
60011
60499
|
}
|
|
60012
60500
|
|
|
60013
60501
|
// src/chart/custom/install.ts
|
|
60014
|
-
function
|
|
60502
|
+
function install34(registers) {
|
|
60015
60503
|
registers.registerChartView(CustomView_default);
|
|
60016
60504
|
registers.registerSeriesModel(CustomSeries_default);
|
|
60017
60505
|
}
|
|
@@ -61232,7 +61720,7 @@ function illegalPoint(point) {
|
|
|
61232
61720
|
}
|
|
61233
61721
|
|
|
61234
61722
|
// src/component/axisPointer/install.ts
|
|
61235
|
-
function
|
|
61723
|
+
function install35(registers) {
|
|
61236
61724
|
AxisView_default.registerAxisPointerClass("CartesianAxisPointer", CartesianAxisPointer_default);
|
|
61237
61725
|
registers.registerComponentModel(AxisPointerModel_default);
|
|
61238
61726
|
registers.registerComponentView(AxisPointerView_default);
|
|
@@ -61261,9 +61749,9 @@ function install34(registers) {
|
|
|
61261
61749
|
}
|
|
61262
61750
|
|
|
61263
61751
|
// src/component/grid/install.ts
|
|
61264
|
-
function
|
|
61752
|
+
function install36(registers) {
|
|
61265
61753
|
use(install6);
|
|
61266
|
-
use(
|
|
61754
|
+
use(install35);
|
|
61267
61755
|
}
|
|
61268
61756
|
|
|
61269
61757
|
// src/component/axisPointer/PolarAxisPointer.ts
|
|
@@ -62317,8 +62805,8 @@ var PolarView2 = class extends Component_default2 {
|
|
|
62317
62805
|
};
|
|
62318
62806
|
var PolarView = PolarView2;
|
|
62319
62807
|
PolarView.type = "polar";
|
|
62320
|
-
function
|
|
62321
|
-
use(
|
|
62808
|
+
function install37(registers) {
|
|
62809
|
+
use(install35);
|
|
62322
62810
|
AxisView_default.registerAxisPointerClass("PolarAxisPointer", PolarAxisPointer_default);
|
|
62323
62811
|
registers.registerCoordinateSystem("polar", polarCreator_default);
|
|
62324
62812
|
registers.registerComponentModel(PolarModel_default);
|
|
@@ -62781,8 +63269,8 @@ var SingleView2 = class extends Component_default2 {
|
|
|
62781
63269
|
};
|
|
62782
63270
|
var SingleView = SingleView2;
|
|
62783
63271
|
SingleView.type = "single";
|
|
62784
|
-
function
|
|
62785
|
-
use(
|
|
63272
|
+
function install38(registers) {
|
|
63273
|
+
use(install35);
|
|
62786
63274
|
AxisView_default.registerAxisPointerClass("SingleAxisPointer", SingleAxisPointer_default);
|
|
62787
63275
|
registers.registerComponentView(SingleView);
|
|
62788
63276
|
registers.registerComponentView(SingleAxisView_default);
|
|
@@ -63472,7 +63960,7 @@ function getCoordSys5(finder) {
|
|
|
63472
63960
|
var Calendar_default = Calendar;
|
|
63473
63961
|
|
|
63474
63962
|
// src/component/calendar/install.ts
|
|
63475
|
-
function
|
|
63963
|
+
function install39(registers) {
|
|
63476
63964
|
registers.registerComponentModel(CalendarModel_default);
|
|
63477
63965
|
registers.registerComponentView(CalendarView_default);
|
|
63478
63966
|
registers.registerCoordinateSystem("calendar", Calendar_default);
|
|
@@ -63861,7 +64349,7 @@ function setEventData(el, graphicModel, elOption) {
|
|
|
63861
64349
|
}
|
|
63862
64350
|
|
|
63863
64351
|
// src/component/graphic/install.ts
|
|
63864
|
-
function
|
|
64352
|
+
function install40(registers) {
|
|
63865
64353
|
registers.registerComponentModel(GraphicComponentModel);
|
|
63866
64354
|
registers.registerComponentView(GraphicComponentView);
|
|
63867
64355
|
registers.registerPreprocessor(function(option) {
|
|
@@ -64733,7 +65221,7 @@ function installCommon(registers) {
|
|
|
64733
65221
|
}
|
|
64734
65222
|
|
|
64735
65223
|
// src/component/dataZoom/installDataZoomSelect.ts
|
|
64736
|
-
function
|
|
65224
|
+
function install41(registers) {
|
|
64737
65225
|
registers.registerComponentModel(SelectZoomModel_default);
|
|
64738
65226
|
registers.registerComponentView(SelectZoomView_default);
|
|
64739
65227
|
installCommon(registers);
|
|
@@ -66133,7 +66621,7 @@ registerInternalOptionCreator("dataZoom", function(ecModel) {
|
|
|
66133
66621
|
var DataZoom_default = DataZoomFeature;
|
|
66134
66622
|
|
|
66135
66623
|
// src/component/toolbox/install.ts
|
|
66136
|
-
function
|
|
66624
|
+
function install42(registers) {
|
|
66137
66625
|
registers.registerComponentModel(ToolboxModel_default);
|
|
66138
66626
|
registers.registerComponentView(ToolboxView_default);
|
|
66139
66627
|
registerFeature("saveAsImage", SaveAsImage_default);
|
|
@@ -66141,7 +66629,7 @@ function install41(registers) {
|
|
|
66141
66629
|
registerFeature("dataView", DataView_default);
|
|
66142
66630
|
registerFeature("dataZoom", DataZoom_default);
|
|
66143
66631
|
registerFeature("restore", Restore_default);
|
|
66144
|
-
use(
|
|
66632
|
+
use(install41);
|
|
66145
66633
|
}
|
|
66146
66634
|
|
|
66147
66635
|
// src/component/tooltip/TooltipModel.ts
|
|
@@ -67309,8 +67797,8 @@ function findComponentReference(payload, ecModel, api2) {
|
|
|
67309
67797
|
var TooltipView_default = TooltipView;
|
|
67310
67798
|
|
|
67311
67799
|
// src/component/tooltip/install.ts
|
|
67312
|
-
function
|
|
67313
|
-
use(
|
|
67800
|
+
function install43(registers) {
|
|
67801
|
+
use(install35);
|
|
67314
67802
|
registers.registerComponentModel(TooltipModel_default);
|
|
67315
67803
|
registers.registerComponentView(TooltipView_default);
|
|
67316
67804
|
registers.registerAction({
|
|
@@ -67357,12 +67845,12 @@ function brushPreprocessor(option, isNew) {
|
|
|
67357
67845
|
}
|
|
67358
67846
|
}
|
|
67359
67847
|
function removeDuplicate(arr) {
|
|
67360
|
-
const
|
|
67848
|
+
const map5 = {};
|
|
67361
67849
|
each(arr, function(val) {
|
|
67362
|
-
|
|
67850
|
+
map5[val] = 1;
|
|
67363
67851
|
});
|
|
67364
67852
|
arr.length = 0;
|
|
67365
|
-
each(
|
|
67853
|
+
each(map5, function(flag, val) {
|
|
67366
67854
|
arr.push(val);
|
|
67367
67855
|
});
|
|
67368
67856
|
}
|
|
@@ -67926,7 +68414,7 @@ var BrushFeature = class extends ToolboxFeature {
|
|
|
67926
68414
|
var Brush_default = BrushFeature;
|
|
67927
68415
|
|
|
67928
68416
|
// src/component/brush/install.ts
|
|
67929
|
-
function
|
|
68417
|
+
function install44(registers) {
|
|
67930
68418
|
registers.registerComponentView(BrushView_default);
|
|
67931
68419
|
registers.registerComponentModel(BrushModel_default);
|
|
67932
68420
|
registers.registerPreprocessor(brushPreprocessor);
|
|
@@ -68073,7 +68561,7 @@ var TitleView2 = class extends Component_default2 {
|
|
|
68073
68561
|
};
|
|
68074
68562
|
var TitleView = TitleView2;
|
|
68075
68563
|
TitleView.type = "title";
|
|
68076
|
-
function
|
|
68564
|
+
function install45(registers) {
|
|
68077
68565
|
registers.registerComponentModel(TitleModel);
|
|
68078
68566
|
registers.registerComponentView(TitleView);
|
|
68079
68567
|
}
|
|
@@ -68405,7 +68893,7 @@ TableView.type = "table";
|
|
|
68405
68893
|
var TableView_default = TableView;
|
|
68406
68894
|
|
|
68407
68895
|
// src/component/table/install.ts
|
|
68408
|
-
function
|
|
68896
|
+
function install46(registers) {
|
|
68409
68897
|
registers.registerComponentModel(TableModel_default);
|
|
68410
68898
|
registers.registerComponentView(TableView_default);
|
|
68411
68899
|
}
|
|
@@ -69259,7 +69747,7 @@ function has(obj, attr) {
|
|
|
69259
69747
|
}
|
|
69260
69748
|
|
|
69261
69749
|
// src/component/timeline/install.ts
|
|
69262
|
-
function
|
|
69750
|
+
function install47(registers) {
|
|
69263
69751
|
registers.registerComponentModel(SliderTimelineModel_default);
|
|
69264
69752
|
registers.registerComponentView(SliderTimelineView_default);
|
|
69265
69753
|
registers.registerSubTypeDefaulter("timeline", function() {
|
|
@@ -69700,7 +70188,7 @@ function createData(coordSys, seriesModel, mpModel) {
|
|
|
69700
70188
|
var MarkPointView_default = MarkPointView;
|
|
69701
70189
|
|
|
69702
70190
|
// src/component/marker/installMarkPoint.ts
|
|
69703
|
-
function
|
|
70191
|
+
function install48(registers) {
|
|
69704
70192
|
registers.registerComponentModel(MarkPointModel_default);
|
|
69705
70193
|
registers.registerComponentView(MarkPointView_default);
|
|
69706
70194
|
registers.registerPreprocessor(function(opt) {
|
|
@@ -70018,7 +70506,7 @@ function createList2(coordSys, seriesModel, mlModel) {
|
|
|
70018
70506
|
var MarkLineView_default = MarkLineView;
|
|
70019
70507
|
|
|
70020
70508
|
// src/component/marker/installMarkLine.ts
|
|
70021
|
-
function
|
|
70509
|
+
function install49(registers) {
|
|
70022
70510
|
registers.registerComponentModel(MarkLineModel_default);
|
|
70023
70511
|
registers.registerComponentView(MarkLineView_default);
|
|
70024
70512
|
registers.registerPreprocessor(function(opt) {
|
|
@@ -70332,7 +70820,7 @@ function createList3(coordSys, seriesModel, maModel) {
|
|
|
70332
70820
|
var MarkAreaView_default = MarkAreaView;
|
|
70333
70821
|
|
|
70334
70822
|
// src/component/marker/installMarkArea.ts
|
|
70335
|
-
function
|
|
70823
|
+
function install50(registers) {
|
|
70336
70824
|
registers.registerComponentModel(MarkAreaModel_default);
|
|
70337
70825
|
registers.registerComponentView(MarkAreaView_default);
|
|
70338
70826
|
registers.registerPreprocessor(function(opt) {
|
|
@@ -70449,6 +70937,7 @@ function removeTransparency(color2) {
|
|
|
70449
70937
|
}
|
|
70450
70938
|
|
|
70451
70939
|
// src/component/marker/MarkLabelView.ts
|
|
70940
|
+
var DefaultColor = "rgb(41,98,255)";
|
|
70452
70941
|
var markerTypeCalculator2 = {
|
|
70453
70942
|
dataMin: (item, seriesModel) => {
|
|
70454
70943
|
const seriesData = seriesModel.getData();
|
|
@@ -70492,8 +70981,8 @@ var markerTypeCalculator2 = {
|
|
|
70492
70981
|
return {
|
|
70493
70982
|
value: seriesData.getByRawIndex(item.valueDim, lastIndex),
|
|
70494
70983
|
labelTextStyle: {
|
|
70495
|
-
fill: contrastColor2(fill),
|
|
70496
|
-
backgroundColor: removeTransparency(fill),
|
|
70984
|
+
fill: fill ? contrastColor2(fill) : "#fff",
|
|
70985
|
+
backgroundColor: fill ? removeTransparency(fill) : DefaultColor,
|
|
70497
70986
|
borderWidth: 0
|
|
70498
70987
|
}
|
|
70499
70988
|
};
|
|
@@ -70518,9 +71007,9 @@ var markerTypeCalculator2 = {
|
|
|
70518
71007
|
return {
|
|
70519
71008
|
value: seriesData.getByRawIndex(item.valueDim, lastIndex),
|
|
70520
71009
|
labelTextStyle: {
|
|
70521
|
-
fill,
|
|
71010
|
+
fill: fill || DefaultColor,
|
|
70522
71011
|
backgroundColor: backgroundColor2,
|
|
70523
|
-
borderColor: fill,
|
|
71012
|
+
borderColor: fill || DefaultColor,
|
|
70524
71013
|
borderWidth: 1
|
|
70525
71014
|
}
|
|
70526
71015
|
};
|
|
@@ -70869,7 +71358,7 @@ function updateText({option, gridRect, position: position2, ecModel, el, y, offs
|
|
|
70869
71358
|
el.attr("style", fontSize ? Object.assign(style, {fontSize, padding: getPaddingByStyle(fontSize, style.borderWidth)}) : style);
|
|
70870
71359
|
inner21(el).y = y;
|
|
70871
71360
|
}
|
|
70872
|
-
function createLabel({x, y, labelData, markerModel, gridRect, position: position2, labelTextStyle, fontSize}) {
|
|
71361
|
+
function createLabel({x, y, labelData, markerModel, gridRect, position: position2, labelTextStyle = {}, fontSize}) {
|
|
70873
71362
|
const {zlevel} = markerModel.option;
|
|
70874
71363
|
const {lineStyle, showLine, showName, showTitle, title} = labelData;
|
|
70875
71364
|
const textStyle = Object.assign(labelData.textStyle ?? {}, {fontSize, padding: getPaddingByStyle(fontSize, labelTextStyle.borderWidth)}, labelTextStyle);
|
|
@@ -70896,7 +71385,7 @@ function createLabel({x, y, labelData, markerModel, gridRect, position: position
|
|
|
70896
71385
|
ignore: !showTitle
|
|
70897
71386
|
});
|
|
70898
71387
|
const lineEl = new Line_default({
|
|
70899
|
-
style: Object.assign(lineStyle, labelTextStyle ? {stroke: labelTextStyle.backgroundColor} : {}),
|
|
71388
|
+
style: Object.assign(lineStyle, labelTextStyle.backgroundColor ? {stroke: labelTextStyle.backgroundColor} : {}),
|
|
70900
71389
|
shape: {
|
|
70901
71390
|
x1: showTitle && isLeft ? gridRect.x + 2 : gridRect.x,
|
|
70902
71391
|
y1: y,
|
|
@@ -70915,7 +71404,7 @@ function createLabel({x, y, labelData, markerModel, gridRect, position: position
|
|
|
70915
71404
|
group.add(textNameEl);
|
|
70916
71405
|
return group;
|
|
70917
71406
|
}
|
|
70918
|
-
function updateLabel({x, y, labelData, markerModel, gridRect, position: position2, el, labelTextStyle, fontSize}) {
|
|
71407
|
+
function updateLabel({x, y, labelData, markerModel, gridRect, position: position2, el, labelTextStyle = {}, fontSize}) {
|
|
70919
71408
|
const {lineStyle, showLine, showName, showTitle, title} = labelData;
|
|
70920
71409
|
const textStyle = Object.assign(labelData.textStyle ?? {}, {fontSize, padding: getPaddingByStyle(fontSize, labelTextStyle.borderWidth)}, labelTextStyle);
|
|
70921
71410
|
const borderWidth = textStyle.borderWidth ?? 0;
|
|
@@ -70940,7 +71429,7 @@ function updateLabel({x, y, labelData, markerModel, gridRect, position: position
|
|
|
70940
71429
|
x2: showTitle && !isLeft ? gridRect.x + gridRect.width - 2 : gridRect.x + gridRect.width,
|
|
70941
71430
|
y2: y
|
|
70942
71431
|
},
|
|
70943
|
-
style: Object.assign(lineStyle, labelTextStyle ? {stroke: labelTextStyle.backgroundColor} : {})
|
|
71432
|
+
style: Object.assign(lineStyle, labelTextStyle.backgroundColor ? {stroke: labelTextStyle.backgroundColor} : {})
|
|
70944
71433
|
});
|
|
70945
71434
|
element.ignore = false;
|
|
70946
71435
|
break;
|
|
@@ -70974,7 +71463,7 @@ function updateLabel({x, y, labelData, markerModel, gridRect, position: position
|
|
|
70974
71463
|
var MarkLabelView_default = MarkLabelView;
|
|
70975
71464
|
|
|
70976
71465
|
// src/component/marker/installMarkLabel.ts
|
|
70977
|
-
function
|
|
71466
|
+
function install51(registers) {
|
|
70978
71467
|
registers.registerComponentModel(MarkLabelModal_default);
|
|
70979
71468
|
registers.registerComponentView(MarkLabelView_default);
|
|
70980
71469
|
registers.registerPreprocessor(function(opt) {
|
|
@@ -71656,7 +72145,7 @@ function installLegendAction(registers) {
|
|
|
71656
72145
|
}
|
|
71657
72146
|
|
|
71658
72147
|
// src/component/legend/installLegendPlain.ts
|
|
71659
|
-
function
|
|
72148
|
+
function install52(registers) {
|
|
71660
72149
|
registers.registerComponentModel(LegendModel_default);
|
|
71661
72150
|
registers.registerComponentView(LegendView_default);
|
|
71662
72151
|
registers.registerProcessor(registers.PRIORITY.PROCESSOR.SERIES_FILTER, legendFilter);
|
|
@@ -71986,17 +72475,17 @@ function installScrollableLegendAction(registers) {
|
|
|
71986
72475
|
}
|
|
71987
72476
|
|
|
71988
72477
|
// src/component/legend/installLegendScroll.ts
|
|
71989
|
-
function
|
|
71990
|
-
use(
|
|
72478
|
+
function install53(registers) {
|
|
72479
|
+
use(install52);
|
|
71991
72480
|
registers.registerComponentModel(ScrollableLegendModel_default);
|
|
71992
72481
|
registers.registerComponentView(ScrollableLegendView_default);
|
|
71993
72482
|
installScrollableLegendAction(registers);
|
|
71994
72483
|
}
|
|
71995
72484
|
|
|
71996
72485
|
// src/component/legend/install.ts
|
|
71997
|
-
function
|
|
71998
|
-
use(install51);
|
|
72486
|
+
function install54(registers) {
|
|
71999
72487
|
use(install52);
|
|
72488
|
+
use(install53);
|
|
72000
72489
|
}
|
|
72001
72490
|
|
|
72002
72491
|
// src/component/dataZoom/InsideZoomModel.ts
|
|
@@ -72413,7 +72902,7 @@ var getDirectionInfo = {
|
|
|
72413
72902
|
var InsideZoomView_default = InsideZoomView;
|
|
72414
72903
|
|
|
72415
72904
|
// src/component/dataZoom/installDataZoomInside.ts
|
|
72416
|
-
function
|
|
72905
|
+
function install55(registers) {
|
|
72417
72906
|
installCommon(registers);
|
|
72418
72907
|
registers.registerComponentModel(InsideZoomModel_default);
|
|
72419
72908
|
registers.registerComponentView(InsideZoomView_default);
|
|
@@ -73160,8 +73649,8 @@ var SliderZoomView2 = class extends DataZoomView_default {
|
|
|
73160
73649
|
var SliderZoomView = SliderZoomView2;
|
|
73161
73650
|
SliderZoomView.type = "dataZoom.slider";
|
|
73162
73651
|
function getOtherDim(thisDim) {
|
|
73163
|
-
const
|
|
73164
|
-
return
|
|
73652
|
+
const map5 = {x: "y", y: "x", radius: "angle", angle: "radius"};
|
|
73653
|
+
return map5[thisDim];
|
|
73165
73654
|
}
|
|
73166
73655
|
function getCursor(orient) {
|
|
73167
73656
|
return orient === "vertical" ? "ns-resize" : "ew-resize";
|
|
@@ -73169,16 +73658,16 @@ function getCursor(orient) {
|
|
|
73169
73658
|
var SliderZoomView_default = SliderZoomView;
|
|
73170
73659
|
|
|
73171
73660
|
// src/component/dataZoom/installDataZoomSlider.ts
|
|
73172
|
-
function
|
|
73661
|
+
function install56(registers) {
|
|
73173
73662
|
registers.registerComponentModel(SliderZoomModel_default);
|
|
73174
73663
|
registers.registerComponentView(SliderZoomView_default);
|
|
73175
73664
|
installCommon(registers);
|
|
73176
73665
|
}
|
|
73177
73666
|
|
|
73178
73667
|
// src/component/dataZoom/install.ts
|
|
73179
|
-
function
|
|
73180
|
-
use(install54);
|
|
73668
|
+
function install57(registers) {
|
|
73181
73669
|
use(install55);
|
|
73670
|
+
use(install56);
|
|
73182
73671
|
}
|
|
73183
73672
|
|
|
73184
73673
|
// src/visual/visualDefault.ts
|
|
@@ -74443,7 +74932,7 @@ function installCommon2(registers) {
|
|
|
74443
74932
|
}
|
|
74444
74933
|
|
|
74445
74934
|
// src/component/visualMap/installVisualMapContinuous.ts
|
|
74446
|
-
function
|
|
74935
|
+
function install58(registers) {
|
|
74447
74936
|
registers.registerComponentModel(ContinuousModel_default);
|
|
74448
74937
|
registers.registerComponentView(ContinuousView_default);
|
|
74449
74938
|
installCommon2(registers);
|
|
@@ -74883,16 +75372,16 @@ PiecewiseVisualMapView.type = "visualMap.piecewise";
|
|
|
74883
75372
|
var PiecewiseView_default = PiecewiseVisualMapView;
|
|
74884
75373
|
|
|
74885
75374
|
// src/component/visualMap/installVisualMapPiecewise.ts
|
|
74886
|
-
function
|
|
75375
|
+
function install59(registers) {
|
|
74887
75376
|
registers.registerComponentModel(PiecewiseModel_default);
|
|
74888
75377
|
registers.registerComponentView(PiecewiseView_default);
|
|
74889
75378
|
installCommon2(registers);
|
|
74890
75379
|
}
|
|
74891
75380
|
|
|
74892
75381
|
// src/component/visualMap/install.ts
|
|
74893
|
-
function
|
|
74894
|
-
use(install57);
|
|
75382
|
+
function install60(registers) {
|
|
74895
75383
|
use(install58);
|
|
75384
|
+
use(install59);
|
|
74896
75385
|
}
|
|
74897
75386
|
|
|
74898
75387
|
// src/visual/aria.ts
|
|
@@ -75088,7 +75577,7 @@ function ariaPreprocessor(option) {
|
|
|
75088
75577
|
}
|
|
75089
75578
|
|
|
75090
75579
|
// src/component/aria/install.ts
|
|
75091
|
-
function
|
|
75580
|
+
function install61(registers) {
|
|
75092
75581
|
registers.registerPreprocessor(ariaPreprocessor);
|
|
75093
75582
|
registers.registerVisual(registers.PRIORITY.VISUAL.ARIA, ariaVisual);
|
|
75094
75583
|
}
|
|
@@ -75426,7 +75915,7 @@ var sortTransform = {
|
|
|
75426
75915
|
};
|
|
75427
75916
|
|
|
75428
75917
|
// src/component/transform/install.ts
|
|
75429
|
-
function
|
|
75918
|
+
function install62(registers) {
|
|
75430
75919
|
registers.registerTransform(filterTransform);
|
|
75431
75920
|
registers.registerTransform(sortTransform);
|
|
75432
75921
|
}
|
|
@@ -75464,7 +75953,7 @@ var DatasetView = class extends Component_default2 {
|
|
|
75464
75953
|
}
|
|
75465
75954
|
};
|
|
75466
75955
|
DatasetView.type = "dataset";
|
|
75467
|
-
function
|
|
75956
|
+
function install63(registers) {
|
|
75468
75957
|
registers.registerComponentModel(DatasetModel);
|
|
75469
75958
|
registers.registerComponentView(DatasetView);
|
|
75470
75959
|
}
|
|
@@ -77188,25 +77677,25 @@ use([
|
|
|
77188
77677
|
install24,
|
|
77189
77678
|
install25,
|
|
77190
77679
|
install26,
|
|
77191
|
-
install28,
|
|
77192
77680
|
install27,
|
|
77193
77681
|
install29,
|
|
77682
|
+
install28,
|
|
77194
77683
|
install30,
|
|
77195
77684
|
install31,
|
|
77196
77685
|
install32,
|
|
77197
|
-
install33
|
|
77686
|
+
install33,
|
|
77687
|
+
install34
|
|
77198
77688
|
]);
|
|
77199
|
-
use(install35);
|
|
77200
77689
|
use(install36);
|
|
77201
|
-
use(install10);
|
|
77202
77690
|
use(install37);
|
|
77203
|
-
use(
|
|
77691
|
+
use(install10);
|
|
77204
77692
|
use(install38);
|
|
77693
|
+
use(install17);
|
|
77205
77694
|
use(install39);
|
|
77206
|
-
use(
|
|
77695
|
+
use(install40);
|
|
77207
77696
|
use(install42);
|
|
77208
|
-
use(install34);
|
|
77209
77697
|
use(install43);
|
|
77698
|
+
use(install35);
|
|
77210
77699
|
use(install44);
|
|
77211
77700
|
use(install45);
|
|
77212
77701
|
use(install46);
|
|
@@ -77214,16 +77703,17 @@ use(install47);
|
|
|
77214
77703
|
use(install48);
|
|
77215
77704
|
use(install49);
|
|
77216
77705
|
use(install50);
|
|
77217
|
-
use(
|
|
77218
|
-
use(install56);
|
|
77706
|
+
use(install51);
|
|
77219
77707
|
use(install54);
|
|
77220
|
-
use(install55);
|
|
77221
|
-
use(install59);
|
|
77222
77708
|
use(install57);
|
|
77223
|
-
use(
|
|
77709
|
+
use(install55);
|
|
77710
|
+
use(install56);
|
|
77224
77711
|
use(install60);
|
|
77712
|
+
use(install58);
|
|
77713
|
+
use(install59);
|
|
77225
77714
|
use(install61);
|
|
77226
77715
|
use(install62);
|
|
77716
|
+
use(install63);
|
|
77227
77717
|
use(installUniversalTransition);
|
|
77228
77718
|
use(installLabelLayout);
|
|
77229
77719
|
|