lxh hai 1 mes
pai
achega
8068ab45f3
Modificáronse 100 ficheiros con 0 adicións e 16945 borrados
  1. 0 302
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/LargeLineDraw.js
  2. 0 309
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js
  3. 0 418
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/Line.js
  4. 0 167
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/LineDraw.js
  5. 0 111
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/LinePath.js
  6. 0 107
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/Polyline.js
  7. 0 333
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/Symbol.js
  8. 0 216
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/SymbolDraw.js
  9. 0 145
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js
  10. 0 114
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js
  11. 0 62
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/createRenderPlanner.js
  12. 0 162
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/createSeriesData.js
  13. 0 68
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js
  14. 0 58
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js
  15. 0 77
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/labelHelper.js
  16. 0 226
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js
  17. 0 62
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/sectorHelper.js
  18. 0 92
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/treeHelper.js
  19. 0 138
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js
  20. 0 46
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/line.js
  21. 0 152
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/line/LineSeries.js
  22. 0 1107
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/line/LineView.js
  23. 0 123
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/line/helper.js
  24. 0 69
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/line/install.js
  25. 0 165
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/line/lineAnimationDiff.js
  26. 0 353
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/line/poly.js
  27. 0 46
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/lines.js
  28. 0 310
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/lines/LinesSeries.js
  29. 0 184
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/lines/LinesView.js
  30. 0 53
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/lines/install.js
  31. 0 113
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/lines/linesLayout.js
  32. 0 74
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/lines/linesVisual.js
  33. 0 46
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/map.js
  34. 0 247
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/map/MapSeries.js
  35. 0 177
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/map/MapView.js
  36. 0 58
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/map/install.js
  37. 0 104
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/map/mapDataStatistic.js
  38. 0 86
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/map/mapSymbolLayout.js
  39. 0 46
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/parallel.js
  40. 0 127
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/parallel/ParallelSeries.js
  41. 0 221
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/parallel/ParallelView.js
  42. 0 54
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/parallel/install.js
  43. 0 69
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/parallel/parallelVisual.js
  44. 0 46
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/pictorialBar.js
  45. 0 46
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/pie.js
  46. 0 216
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/pie/PieSeries.js
  47. 0 283
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/pie/PieView.js
  48. 0 58
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/pie/install.js
  49. 0 474
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/pie/labelLayout.js
  50. 0 238
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/pie/pieLayout.js
  51. 0 46
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/radar.js
  52. 0 134
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/radar/RadarSeries.js
  53. 0 225
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/radar/RadarView.js
  54. 0 75
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/radar/backwardCompat.js
  55. 0 58
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/radar/install.js
  56. 0 82
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/radar/radarLayout.js
  57. 0 46
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sankey.js
  58. 0 215
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sankey/SankeySeries.js
  59. 0 326
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sankey/SankeyView.js
  60. 0 67
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sankey/install.js
  61. 0 489
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sankey/sankeyLayout.js
  62. 0 92
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sankey/sankeyVisual.js
  63. 0 46
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/scatter.js
  64. 0 120
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/scatter/ScatterSeries.js
  65. 0 133
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/scatter/ScatterView.js
  66. 0 55
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/scatter/install.js
  67. 0 46
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst.js
  68. 0 230
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js
  69. 0 206
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js
  70. 0 206
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst/SunburstView.js
  71. 0 58
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst/install.js
  72. 0 108
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst/sunburstAction.js
  73. 0 216
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js
  74. 0 75
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js
  75. 0 46
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/themeRiver.js
  76. 0 260
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js
  77. 0 186
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js
  78. 0 35
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/themeRiver/install.js
  79. 0 157
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js
  80. 0 46
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree.js
  81. 0 187
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/TreeSeries.js
  82. 0 622
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/TreeView.js
  83. 0 55
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/install.js
  84. 0 288
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/layoutHelper.js
  85. 0 87
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/traversalHelper.js
  86. 0 82
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/treeAction.js
  87. 0 139
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/treeLayout.js
  88. 0 57
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/treeVisual.js
  89. 0 46
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap.js
  90. 0 187
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap/Breadcrumb.js
  91. 0 368
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap/TreemapSeries.js
  92. 0 883
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap/TreemapView.js
  93. 0 55
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap/install.js
  94. 0 75
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap/treemapAction.js
  95. 0 499
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap/treemapLayout.js
  96. 0 194
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap/treemapVisual.js
  97. 0 46
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/component/aria.js
  98. 0 49
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/component/aria/install.js
  99. 0 61
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/component/aria/preprocessor.js
  100. 0 323
      node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/component/axis/AngleAxisView.js

+ 0 - 302
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/LargeLineDraw.js

@@ -1,302 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-// TODO Batch by color
-import * as graphic from '../../util/graphic.js';
-import * as lineContain from 'zrender/lib/contain/line.js';
-import * as quadraticContain from 'zrender/lib/contain/quadratic.js';
-import { getECData } from '../../util/innerStore.js';
-var LargeLinesPathShape = /** @class */function () {
-  function LargeLinesPathShape() {
-    this.polyline = false;
-    this.curveness = 0;
-    this.segs = [];
-  }
-  return LargeLinesPathShape;
-}();
-var LargeLinesPath = /** @class */function (_super) {
-  __extends(LargeLinesPath, _super);
-  function LargeLinesPath(opts) {
-    var _this = _super.call(this, opts) || this;
-    _this._off = 0;
-    _this.hoverDataIdx = -1;
-    return _this;
-  }
-  LargeLinesPath.prototype.reset = function () {
-    this.notClear = false;
-    this._off = 0;
-  };
-  LargeLinesPath.prototype.getDefaultStyle = function () {
-    return {
-      stroke: '#000',
-      fill: null
-    };
-  };
-  LargeLinesPath.prototype.getDefaultShape = function () {
-    return new LargeLinesPathShape();
-  };
-  LargeLinesPath.prototype.buildPath = function (ctx, shape) {
-    var segs = shape.segs;
-    var curveness = shape.curveness;
-    var i;
-    if (shape.polyline) {
-      for (i = this._off; i < segs.length;) {
-        var count = segs[i++];
-        if (count > 0) {
-          ctx.moveTo(segs[i++], segs[i++]);
-          for (var k = 1; k < count; k++) {
-            ctx.lineTo(segs[i++], segs[i++]);
-          }
-        }
-      }
-    } else {
-      for (i = this._off; i < segs.length;) {
-        var x0 = segs[i++];
-        var y0 = segs[i++];
-        var x1 = segs[i++];
-        var y1 = segs[i++];
-        ctx.moveTo(x0, y0);
-        if (curveness > 0) {
-          var x2 = (x0 + x1) / 2 - (y0 - y1) * curveness;
-          var y2 = (y0 + y1) / 2 - (x1 - x0) * curveness;
-          ctx.quadraticCurveTo(x2, y2, x1, y1);
-        } else {
-          ctx.lineTo(x1, y1);
-        }
-      }
-    }
-    if (this.incremental) {
-      this._off = i;
-      this.notClear = true;
-    }
-  };
-  LargeLinesPath.prototype.findDataIndex = function (x, y) {
-    var shape = this.shape;
-    var segs = shape.segs;
-    var curveness = shape.curveness;
-    var lineWidth = this.style.lineWidth;
-    if (shape.polyline) {
-      var dataIndex = 0;
-      for (var i = 0; i < segs.length;) {
-        var count = segs[i++];
-        if (count > 0) {
-          var x0 = segs[i++];
-          var y0 = segs[i++];
-          for (var k = 1; k < count; k++) {
-            var x1 = segs[i++];
-            var y1 = segs[i++];
-            if (lineContain.containStroke(x0, y0, x1, y1, lineWidth, x, y)) {
-              return dataIndex;
-            }
-          }
-        }
-        dataIndex++;
-      }
-    } else {
-      var dataIndex = 0;
-      for (var i = 0; i < segs.length;) {
-        var x0 = segs[i++];
-        var y0 = segs[i++];
-        var x1 = segs[i++];
-        var y1 = segs[i++];
-        if (curveness > 0) {
-          var x2 = (x0 + x1) / 2 - (y0 - y1) * curveness;
-          var y2 = (y0 + y1) / 2 - (x1 - x0) * curveness;
-          if (quadraticContain.containStroke(x0, y0, x2, y2, x1, y1, lineWidth, x, y)) {
-            return dataIndex;
-          }
-        } else {
-          if (lineContain.containStroke(x0, y0, x1, y1, lineWidth, x, y)) {
-            return dataIndex;
-          }
-        }
-        dataIndex++;
-      }
-    }
-    return -1;
-  };
-  LargeLinesPath.prototype.contain = function (x, y) {
-    var localPos = this.transformCoordToLocal(x, y);
-    var rect = this.getBoundingRect();
-    x = localPos[0];
-    y = localPos[1];
-    if (rect.contain(x, y)) {
-      // Cache found data index.
-      var dataIdx = this.hoverDataIdx = this.findDataIndex(x, y);
-      return dataIdx >= 0;
-    }
-    this.hoverDataIdx = -1;
-    return false;
-  };
-  LargeLinesPath.prototype.getBoundingRect = function () {
-    // Ignore stroke for large symbol draw.
-    var rect = this._rect;
-    if (!rect) {
-      var shape = this.shape;
-      var points = shape.segs;
-      var minX = Infinity;
-      var minY = Infinity;
-      var maxX = -Infinity;
-      var maxY = -Infinity;
-      for (var i = 0; i < points.length;) {
-        var x = points[i++];
-        var y = points[i++];
-        minX = Math.min(x, minX);
-        maxX = Math.max(x, maxX);
-        minY = Math.min(y, minY);
-        maxY = Math.max(y, maxY);
-      }
-      rect = this._rect = new graphic.BoundingRect(minX, minY, maxX, maxY);
-    }
-    return rect;
-  };
-  return LargeLinesPath;
-}(graphic.Path);
-var LargeLineDraw = /** @class */function () {
-  function LargeLineDraw() {
-    this.group = new graphic.Group();
-  }
-  /**
-   * Update symbols draw by new data
-   */
-  LargeLineDraw.prototype.updateData = function (data) {
-    this._clear();
-    var lineEl = this._create();
-    lineEl.setShape({
-      segs: data.getLayout('linesPoints')
-    });
-    this._setCommon(lineEl, data);
-  };
-  ;
-  /**
-   * @override
-   */
-  LargeLineDraw.prototype.incrementalPrepareUpdate = function (data) {
-    this.group.removeAll();
-    this._clear();
-  };
-  ;
-  /**
-   * @override
-   */
-  LargeLineDraw.prototype.incrementalUpdate = function (taskParams, data) {
-    var lastAdded = this._newAdded[0];
-    var linePoints = data.getLayout('linesPoints');
-    var oldSegs = lastAdded && lastAdded.shape.segs;
-    // Merging the exists. Each element has 1e4 points.
-    // Consider the performance balance between too much elements and too much points in one shape(may affect hover optimization)
-    if (oldSegs && oldSegs.length < 2e4) {
-      var oldLen = oldSegs.length;
-      var newSegs = new Float32Array(oldLen + linePoints.length);
-      // Concat two array
-      newSegs.set(oldSegs);
-      newSegs.set(linePoints, oldLen);
-      lastAdded.setShape({
-        segs: newSegs
-      });
-    } else {
-      // Clear
-      this._newAdded = [];
-      var lineEl = this._create();
-      lineEl.incremental = true;
-      lineEl.setShape({
-        segs: linePoints
-      });
-      this._setCommon(lineEl, data);
-      lineEl.__startIndex = taskParams.start;
-    }
-  };
-  /**
-   * @override
-   */
-  LargeLineDraw.prototype.remove = function () {
-    this._clear();
-  };
-  LargeLineDraw.prototype.eachRendered = function (cb) {
-    this._newAdded[0] && cb(this._newAdded[0]);
-  };
-  LargeLineDraw.prototype._create = function () {
-    var lineEl = new LargeLinesPath({
-      cursor: 'default',
-      ignoreCoarsePointer: true
-    });
-    this._newAdded.push(lineEl);
-    this.group.add(lineEl);
-    return lineEl;
-  };
-  LargeLineDraw.prototype._setCommon = function (lineEl, data, isIncremental) {
-    var hostModel = data.hostModel;
-    lineEl.setShape({
-      polyline: hostModel.get('polyline'),
-      curveness: hostModel.get(['lineStyle', 'curveness'])
-    });
-    lineEl.useStyle(hostModel.getModel('lineStyle').getLineStyle());
-    lineEl.style.strokeNoScale = true;
-    var style = data.getVisual('style');
-    if (style && style.stroke) {
-      lineEl.setStyle('stroke', style.stroke);
-    }
-    lineEl.setStyle('fill', null);
-    var ecData = getECData(lineEl);
-    // Enable tooltip
-    // PENDING May have performance issue when path is extremely large
-    ecData.seriesIndex = hostModel.seriesIndex;
-    lineEl.on('mousemove', function (e) {
-      ecData.dataIndex = null;
-      var dataIndex = lineEl.hoverDataIdx;
-      if (dataIndex > 0) {
-        // Provide dataIndex for tooltip
-        ecData.dataIndex = dataIndex + lineEl.__startIndex;
-      }
-    });
-  };
-  ;
-  LargeLineDraw.prototype._clear = function () {
-    this._newAdded = [];
-    this.group.removeAll();
-  };
-  ;
-  return LargeLineDraw;
-}();
-export default LargeLineDraw;

+ 0 - 309
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js

@@ -1,309 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-/* global Float32Array */
-// TODO Batch by color
-import * as graphic from '../../util/graphic.js';
-import { createSymbol } from '../../util/symbol.js';
-import { getECData } from '../../util/innerStore.js';
-var BOOST_SIZE_THRESHOLD = 4;
-var LargeSymbolPathShape = /** @class */function () {
-  function LargeSymbolPathShape() {}
-  return LargeSymbolPathShape;
-}();
-var LargeSymbolPath = /** @class */function (_super) {
-  __extends(LargeSymbolPath, _super);
-  function LargeSymbolPath(opts) {
-    var _this = _super.call(this, opts) || this;
-    _this._off = 0;
-    _this.hoverDataIdx = -1;
-    return _this;
-  }
-  LargeSymbolPath.prototype.getDefaultShape = function () {
-    return new LargeSymbolPathShape();
-  };
-  LargeSymbolPath.prototype.reset = function () {
-    this.notClear = false;
-    this._off = 0;
-  };
-  LargeSymbolPath.prototype.buildPath = function (path, shape) {
-    var points = shape.points;
-    var size = shape.size;
-    var symbolProxy = this.symbolProxy;
-    var symbolProxyShape = symbolProxy.shape;
-    var ctx = path.getContext ? path.getContext() : path;
-    var canBoost = ctx && size[0] < BOOST_SIZE_THRESHOLD;
-    var softClipShape = this.softClipShape;
-    var i;
-    // Do draw in afterBrush.
-    if (canBoost) {
-      this._ctx = ctx;
-      return;
-    }
-    this._ctx = null;
-    for (i = this._off; i < points.length;) {
-      var x = points[i++];
-      var y = points[i++];
-      if (isNaN(x) || isNaN(y)) {
-        continue;
-      }
-      if (softClipShape && !softClipShape.contain(x, y)) {
-        continue;
-      }
-      symbolProxyShape.x = x - size[0] / 2;
-      symbolProxyShape.y = y - size[1] / 2;
-      symbolProxyShape.width = size[0];
-      symbolProxyShape.height = size[1];
-      symbolProxy.buildPath(path, symbolProxyShape, true);
-    }
-    if (this.incremental) {
-      this._off = i;
-      this.notClear = true;
-    }
-  };
-  LargeSymbolPath.prototype.afterBrush = function () {
-    var shape = this.shape;
-    var points = shape.points;
-    var size = shape.size;
-    var ctx = this._ctx;
-    var softClipShape = this.softClipShape;
-    var i;
-    if (!ctx) {
-      return;
-    }
-    // PENDING If style or other canvas status changed?
-    for (i = this._off; i < points.length;) {
-      var x = points[i++];
-      var y = points[i++];
-      if (isNaN(x) || isNaN(y)) {
-        continue;
-      }
-      if (softClipShape && !softClipShape.contain(x, y)) {
-        continue;
-      }
-      // fillRect is faster than building a rect path and draw.
-      // And it support light globalCompositeOperation.
-      ctx.fillRect(x - size[0] / 2, y - size[1] / 2, size[0], size[1]);
-    }
-    if (this.incremental) {
-      this._off = i;
-      this.notClear = true;
-    }
-  };
-  LargeSymbolPath.prototype.findDataIndex = function (x, y) {
-    // TODO ???
-    // Consider transform
-    var shape = this.shape;
-    var points = shape.points;
-    var size = shape.size;
-    var w = Math.max(size[0], 4);
-    var h = Math.max(size[1], 4);
-    // Not consider transform
-    // Treat each element as a rect
-    // top down traverse
-    for (var idx = points.length / 2 - 1; idx >= 0; idx--) {
-      var i = idx * 2;
-      var x0 = points[i] - w / 2;
-      var y0 = points[i + 1] - h / 2;
-      if (x >= x0 && y >= y0 && x <= x0 + w && y <= y0 + h) {
-        return idx;
-      }
-    }
-    return -1;
-  };
-  LargeSymbolPath.prototype.contain = function (x, y) {
-    var localPos = this.transformCoordToLocal(x, y);
-    var rect = this.getBoundingRect();
-    x = localPos[0];
-    y = localPos[1];
-    if (rect.contain(x, y)) {
-      // Cache found data index.
-      var dataIdx = this.hoverDataIdx = this.findDataIndex(x, y);
-      return dataIdx >= 0;
-    }
-    this.hoverDataIdx = -1;
-    return false;
-  };
-  LargeSymbolPath.prototype.getBoundingRect = function () {
-    // Ignore stroke for large symbol draw.
-    var rect = this._rect;
-    if (!rect) {
-      var shape = this.shape;
-      var points = shape.points;
-      var size = shape.size;
-      var w = size[0];
-      var h = size[1];
-      var minX = Infinity;
-      var minY = Infinity;
-      var maxX = -Infinity;
-      var maxY = -Infinity;
-      for (var i = 0; i < points.length;) {
-        var x = points[i++];
-        var y = points[i++];
-        minX = Math.min(x, minX);
-        maxX = Math.max(x, maxX);
-        minY = Math.min(y, minY);
-        maxY = Math.max(y, maxY);
-      }
-      rect = this._rect = new graphic.BoundingRect(minX - w / 2, minY - h / 2, maxX - minX + w, maxY - minY + h);
-    }
-    return rect;
-  };
-  return LargeSymbolPath;
-}(graphic.Path);
-var LargeSymbolDraw = /** @class */function () {
-  function LargeSymbolDraw() {
-    this.group = new graphic.Group();
-  }
-  /**
-   * Update symbols draw by new data
-   */
-  LargeSymbolDraw.prototype.updateData = function (data, opt) {
-    this._clear();
-    var symbolEl = this._create();
-    symbolEl.setShape({
-      points: data.getLayout('points')
-    });
-    this._setCommon(symbolEl, data, opt);
-  };
-  LargeSymbolDraw.prototype.updateLayout = function (data) {
-    var points = data.getLayout('points');
-    this.group.eachChild(function (child) {
-      if (child.startIndex != null) {
-        var len = (child.endIndex - child.startIndex) * 2;
-        var byteOffset = child.startIndex * 4 * 2;
-        points = new Float32Array(points.buffer, byteOffset, len);
-      }
-      child.setShape('points', points);
-      // Reset draw cursor.
-      child.reset();
-    });
-  };
-  LargeSymbolDraw.prototype.incrementalPrepareUpdate = function (data) {
-    this._clear();
-  };
-  LargeSymbolDraw.prototype.incrementalUpdate = function (taskParams, data, opt) {
-    var lastAdded = this._newAdded[0];
-    var points = data.getLayout('points');
-    var oldPoints = lastAdded && lastAdded.shape.points;
-    // Merging the exists. Each element has 1e4 points.
-    // Consider the performance balance between too much elements and too much points in one shape(may affect hover optimization)
-    if (oldPoints && oldPoints.length < 2e4) {
-      var oldLen = oldPoints.length;
-      var newPoints = new Float32Array(oldLen + points.length);
-      // Concat two array
-      newPoints.set(oldPoints);
-      newPoints.set(points, oldLen);
-      // Update endIndex
-      lastAdded.endIndex = taskParams.end;
-      lastAdded.setShape({
-        points: newPoints
-      });
-    } else {
-      // Clear
-      this._newAdded = [];
-      var symbolEl = this._create();
-      symbolEl.startIndex = taskParams.start;
-      symbolEl.endIndex = taskParams.end;
-      symbolEl.incremental = true;
-      symbolEl.setShape({
-        points: points
-      });
-      this._setCommon(symbolEl, data, opt);
-    }
-  };
-  LargeSymbolDraw.prototype.eachRendered = function (cb) {
-    this._newAdded[0] && cb(this._newAdded[0]);
-  };
-  LargeSymbolDraw.prototype._create = function () {
-    var symbolEl = new LargeSymbolPath({
-      cursor: 'default'
-    });
-    symbolEl.ignoreCoarsePointer = true;
-    this.group.add(symbolEl);
-    this._newAdded.push(symbolEl);
-    return symbolEl;
-  };
-  LargeSymbolDraw.prototype._setCommon = function (symbolEl, data, opt) {
-    var hostModel = data.hostModel;
-    opt = opt || {};
-    var size = data.getVisual('symbolSize');
-    symbolEl.setShape('size', size instanceof Array ? size : [size, size]);
-    symbolEl.softClipShape = opt.clipShape || null;
-    // Create symbolProxy to build path for each data
-    symbolEl.symbolProxy = createSymbol(data.getVisual('symbol'), 0, 0, 0, 0);
-    // Use symbolProxy setColor method
-    symbolEl.setColor = symbolEl.symbolProxy.setColor;
-    var extrudeShadow = symbolEl.shape.size[0] < BOOST_SIZE_THRESHOLD;
-    symbolEl.useStyle(
-    // Draw shadow when doing fillRect is extremely slow.
-    hostModel.getModel('itemStyle').getItemStyle(extrudeShadow ? ['color', 'shadowBlur', 'shadowColor'] : ['color']));
-    var globalStyle = data.getVisual('style');
-    var visualColor = globalStyle && globalStyle.fill;
-    if (visualColor) {
-      symbolEl.setColor(visualColor);
-    }
-    var ecData = getECData(symbolEl);
-    // Enable tooltip
-    // PENDING May have performance issue when path is extremely large
-    ecData.seriesIndex = hostModel.seriesIndex;
-    symbolEl.on('mousemove', function (e) {
-      ecData.dataIndex = null;
-      var dataIndex = symbolEl.hoverDataIdx;
-      if (dataIndex >= 0) {
-        // Provide dataIndex for tooltip
-        ecData.dataIndex = dataIndex + (symbolEl.startIndex || 0);
-      }
-    });
-  };
-  LargeSymbolDraw.prototype.remove = function () {
-    this._clear();
-  };
-  LargeSymbolDraw.prototype._clear = function () {
-    this._newAdded = [];
-    this.group.removeAll();
-  };
-  return LargeSymbolDraw;
-}();
-export default LargeSymbolDraw;

+ 0 - 418
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/Line.js

@@ -1,418 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import { isArray, each } from 'zrender/lib/core/util.js';
-import * as vector from 'zrender/lib/core/vector.js';
-import * as symbolUtil from '../../util/symbol.js';
-import ECLinePath from './LinePath.js';
-import * as graphic from '../../util/graphic.js';
-import { toggleHoverEmphasis, enterEmphasis, leaveEmphasis, SPECIAL_STATES } from '../../util/states.js';
-import { getLabelStatesModels, setLabelStyle } from '../../label/labelStyle.js';
-import { round } from '../../util/number.js';
-var SYMBOL_CATEGORIES = ['fromSymbol', 'toSymbol'];
-function makeSymbolTypeKey(symbolCategory) {
-  return '_' + symbolCategory + 'Type';
-}
-function makeSymbolTypeValue(name, lineData, idx) {
-  var symbolType = lineData.getItemVisual(idx, name);
-  if (!symbolType || symbolType === 'none') {
-    return symbolType;
-  }
-  var symbolSize = lineData.getItemVisual(idx, name + 'Size');
-  var symbolRotate = lineData.getItemVisual(idx, name + 'Rotate');
-  var symbolOffset = lineData.getItemVisual(idx, name + 'Offset');
-  var symbolKeepAspect = lineData.getItemVisual(idx, name + 'KeepAspect');
-  var symbolSizeArr = symbolUtil.normalizeSymbolSize(symbolSize);
-  var symbolOffsetArr = symbolUtil.normalizeSymbolOffset(symbolOffset || 0, symbolSizeArr);
-  return symbolType + symbolSizeArr + symbolOffsetArr + (symbolRotate || '') + (symbolKeepAspect || '');
-}
-/**
- * @inner
- */
-function createSymbol(name, lineData, idx) {
-  var symbolType = lineData.getItemVisual(idx, name);
-  if (!symbolType || symbolType === 'none') {
-    return;
-  }
-  var symbolSize = lineData.getItemVisual(idx, name + 'Size');
-  var symbolRotate = lineData.getItemVisual(idx, name + 'Rotate');
-  var symbolOffset = lineData.getItemVisual(idx, name + 'Offset');
-  var symbolKeepAspect = lineData.getItemVisual(idx, name + 'KeepAspect');
-  var symbolSizeArr = symbolUtil.normalizeSymbolSize(symbolSize);
-  var symbolOffsetArr = symbolUtil.normalizeSymbolOffset(symbolOffset || 0, symbolSizeArr);
-  var symbolPath = symbolUtil.createSymbol(symbolType, -symbolSizeArr[0] / 2 + symbolOffsetArr[0], -symbolSizeArr[1] / 2 + symbolOffsetArr[1], symbolSizeArr[0], symbolSizeArr[1], null, symbolKeepAspect);
-  symbolPath.__specifiedRotation = symbolRotate == null || isNaN(symbolRotate) ? void 0 : +symbolRotate * Math.PI / 180 || 0;
-  symbolPath.name = name;
-  return symbolPath;
-}
-function createLine(points) {
-  var line = new ECLinePath({
-    name: 'line',
-    subPixelOptimize: true
-  });
-  setLinePoints(line.shape, points);
-  return line;
-}
-function setLinePoints(targetShape, points) {
-  targetShape.x1 = points[0][0];
-  targetShape.y1 = points[0][1];
-  targetShape.x2 = points[1][0];
-  targetShape.y2 = points[1][1];
-  targetShape.percent = 1;
-  var cp1 = points[2];
-  if (cp1) {
-    targetShape.cpx1 = cp1[0];
-    targetShape.cpy1 = cp1[1];
-  } else {
-    targetShape.cpx1 = NaN;
-    targetShape.cpy1 = NaN;
-  }
-}
-var Line = /** @class */function (_super) {
-  __extends(Line, _super);
-  function Line(lineData, idx, seriesScope) {
-    var _this = _super.call(this) || this;
-    _this._createLine(lineData, idx, seriesScope);
-    return _this;
-  }
-  Line.prototype._createLine = function (lineData, idx, seriesScope) {
-    var seriesModel = lineData.hostModel;
-    var linePoints = lineData.getItemLayout(idx);
-    var line = createLine(linePoints);
-    line.shape.percent = 0;
-    graphic.initProps(line, {
-      shape: {
-        percent: 1
-      }
-    }, seriesModel, idx);
-    this.add(line);
-    each(SYMBOL_CATEGORIES, function (symbolCategory) {
-      var symbol = createSymbol(symbolCategory, lineData, idx);
-      // symbols must added after line to make sure
-      // it will be updated after line#update.
-      // Or symbol position and rotation update in line#beforeUpdate will be one frame slow
-      this.add(symbol);
-      this[makeSymbolTypeKey(symbolCategory)] = makeSymbolTypeValue(symbolCategory, lineData, idx);
-    }, this);
-    this._updateCommonStl(lineData, idx, seriesScope);
-  };
-  // TODO More strict on the List type in parameters?
-  Line.prototype.updateData = function (lineData, idx, seriesScope) {
-    var seriesModel = lineData.hostModel;
-    var line = this.childOfName('line');
-    var linePoints = lineData.getItemLayout(idx);
-    var target = {
-      shape: {}
-    };
-    setLinePoints(target.shape, linePoints);
-    graphic.updateProps(line, target, seriesModel, idx);
-    each(SYMBOL_CATEGORIES, function (symbolCategory) {
-      var symbolType = makeSymbolTypeValue(symbolCategory, lineData, idx);
-      var key = makeSymbolTypeKey(symbolCategory);
-      // Symbol changed
-      if (this[key] !== symbolType) {
-        this.remove(this.childOfName(symbolCategory));
-        var symbol = createSymbol(symbolCategory, lineData, idx);
-        this.add(symbol);
-      }
-      this[key] = symbolType;
-    }, this);
-    this._updateCommonStl(lineData, idx, seriesScope);
-  };
-  ;
-  Line.prototype.getLinePath = function () {
-    return this.childAt(0);
-  };
-  Line.prototype._updateCommonStl = function (lineData, idx, seriesScope) {
-    var seriesModel = lineData.hostModel;
-    var line = this.childOfName('line');
-    var emphasisLineStyle = seriesScope && seriesScope.emphasisLineStyle;
-    var blurLineStyle = seriesScope && seriesScope.blurLineStyle;
-    var selectLineStyle = seriesScope && seriesScope.selectLineStyle;
-    var labelStatesModels = seriesScope && seriesScope.labelStatesModels;
-    var emphasisDisabled = seriesScope && seriesScope.emphasisDisabled;
-    var focus = seriesScope && seriesScope.focus;
-    var blurScope = seriesScope && seriesScope.blurScope;
-    // Optimization for large dataset
-    if (!seriesScope || lineData.hasItemOption) {
-      var itemModel = lineData.getItemModel(idx);
-      var emphasisModel = itemModel.getModel('emphasis');
-      emphasisLineStyle = emphasisModel.getModel('lineStyle').getLineStyle();
-      blurLineStyle = itemModel.getModel(['blur', 'lineStyle']).getLineStyle();
-      selectLineStyle = itemModel.getModel(['select', 'lineStyle']).getLineStyle();
-      emphasisDisabled = emphasisModel.get('disabled');
-      focus = emphasisModel.get('focus');
-      blurScope = emphasisModel.get('blurScope');
-      labelStatesModels = getLabelStatesModels(itemModel);
-    }
-    var lineStyle = lineData.getItemVisual(idx, 'style');
-    var visualColor = lineStyle.stroke;
-    line.useStyle(lineStyle);
-    line.style.fill = null;
-    line.style.strokeNoScale = true;
-    line.ensureState('emphasis').style = emphasisLineStyle;
-    line.ensureState('blur').style = blurLineStyle;
-    line.ensureState('select').style = selectLineStyle;
-    // Update symbol
-    each(SYMBOL_CATEGORIES, function (symbolCategory) {
-      var symbol = this.childOfName(symbolCategory);
-      if (symbol) {
-        // Share opacity and color with line.
-        symbol.setColor(visualColor);
-        symbol.style.opacity = lineStyle.opacity;
-        for (var i = 0; i < SPECIAL_STATES.length; i++) {
-          var stateName = SPECIAL_STATES[i];
-          var lineState = line.getState(stateName);
-          if (lineState) {
-            var lineStateStyle = lineState.style || {};
-            var state = symbol.ensureState(stateName);
-            var stateStyle = state.style || (state.style = {});
-            if (lineStateStyle.stroke != null) {
-              stateStyle[symbol.__isEmptyBrush ? 'stroke' : 'fill'] = lineStateStyle.stroke;
-            }
-            if (lineStateStyle.opacity != null) {
-              stateStyle.opacity = lineStateStyle.opacity;
-            }
-          }
-        }
-        symbol.markRedraw();
-      }
-    }, this);
-    var rawVal = seriesModel.getRawValue(idx);
-    setLabelStyle(this, labelStatesModels, {
-      labelDataIndex: idx,
-      labelFetcher: {
-        getFormattedLabel: function (dataIndex, stateName) {
-          return seriesModel.getFormattedLabel(dataIndex, stateName, lineData.dataType);
-        }
-      },
-      inheritColor: visualColor || '#000',
-      defaultOpacity: lineStyle.opacity,
-      defaultText: (rawVal == null ? lineData.getName(idx) : isFinite(rawVal) ? round(rawVal) : rawVal) + ''
-    });
-    var label = this.getTextContent();
-    // Always set `textStyle` even if `normalStyle.text` is null, because default
-    // values have to be set on `normalStyle`.
-    if (label) {
-      var labelNormalModel = labelStatesModels.normal;
-      label.__align = label.style.align;
-      label.__verticalAlign = label.style.verticalAlign;
-      // 'start', 'middle', 'end'
-      label.__position = labelNormalModel.get('position') || 'middle';
-      var distance = labelNormalModel.get('distance');
-      if (!isArray(distance)) {
-        distance = [distance, distance];
-      }
-      label.__labelDistance = distance;
-    }
-    this.setTextConfig({
-      position: null,
-      local: true,
-      inside: false // Can't be inside for stroke element.
-    });
-
-    toggleHoverEmphasis(this, focus, blurScope, emphasisDisabled);
-  };
-  Line.prototype.highlight = function () {
-    enterEmphasis(this);
-  };
-  Line.prototype.downplay = function () {
-    leaveEmphasis(this);
-  };
-  Line.prototype.updateLayout = function (lineData, idx) {
-    this.setLinePoints(lineData.getItemLayout(idx));
-  };
-  Line.prototype.setLinePoints = function (points) {
-    var linePath = this.childOfName('line');
-    setLinePoints(linePath.shape, points);
-    linePath.dirty();
-  };
-  Line.prototype.beforeUpdate = function () {
-    var lineGroup = this;
-    var symbolFrom = lineGroup.childOfName('fromSymbol');
-    var symbolTo = lineGroup.childOfName('toSymbol');
-    var label = lineGroup.getTextContent();
-    // Quick reject
-    if (!symbolFrom && !symbolTo && (!label || label.ignore)) {
-      return;
-    }
-    var invScale = 1;
-    var parentNode = this.parent;
-    while (parentNode) {
-      if (parentNode.scaleX) {
-        invScale /= parentNode.scaleX;
-      }
-      parentNode = parentNode.parent;
-    }
-    var line = lineGroup.childOfName('line');
-    // If line not changed
-    // FIXME Parent scale changed
-    if (!this.__dirty && !line.__dirty) {
-      return;
-    }
-    var percent = line.shape.percent;
-    var fromPos = line.pointAt(0);
-    var toPos = line.pointAt(percent);
-    var d = vector.sub([], toPos, fromPos);
-    vector.normalize(d, d);
-    function setSymbolRotation(symbol, percent) {
-      // Fix #12388
-      // when symbol is set to be 'arrow' in markLine,
-      // symbolRotate value will be ignored, and compulsively use tangent angle.
-      // rotate by default if symbol rotation is not specified
-      var specifiedRotation = symbol.__specifiedRotation;
-      if (specifiedRotation == null) {
-        var tangent = line.tangentAt(percent);
-        symbol.attr('rotation', (percent === 1 ? -1 : 1) * Math.PI / 2 - Math.atan2(tangent[1], tangent[0]));
-      } else {
-        symbol.attr('rotation', specifiedRotation);
-      }
-    }
-    if (symbolFrom) {
-      symbolFrom.setPosition(fromPos);
-      setSymbolRotation(symbolFrom, 0);
-      symbolFrom.scaleX = symbolFrom.scaleY = invScale * percent;
-      symbolFrom.markRedraw();
-    }
-    if (symbolTo) {
-      symbolTo.setPosition(toPos);
-      setSymbolRotation(symbolTo, 1);
-      symbolTo.scaleX = symbolTo.scaleY = invScale * percent;
-      symbolTo.markRedraw();
-    }
-    if (label && !label.ignore) {
-      label.x = label.y = 0;
-      label.originX = label.originY = 0;
-      var textAlign = void 0;
-      var textVerticalAlign = void 0;
-      var distance = label.__labelDistance;
-      var distanceX = distance[0] * invScale;
-      var distanceY = distance[1] * invScale;
-      var halfPercent = percent / 2;
-      var tangent = line.tangentAt(halfPercent);
-      var n = [tangent[1], -tangent[0]];
-      var cp = line.pointAt(halfPercent);
-      if (n[1] > 0) {
-        n[0] = -n[0];
-        n[1] = -n[1];
-      }
-      var dir = tangent[0] < 0 ? -1 : 1;
-      if (label.__position !== 'start' && label.__position !== 'end') {
-        var rotation = -Math.atan2(tangent[1], tangent[0]);
-        if (toPos[0] < fromPos[0]) {
-          rotation = Math.PI + rotation;
-        }
-        label.rotation = rotation;
-      }
-      var dy = void 0;
-      switch (label.__position) {
-        case 'insideStartTop':
-        case 'insideMiddleTop':
-        case 'insideEndTop':
-        case 'middle':
-          dy = -distanceY;
-          textVerticalAlign = 'bottom';
-          break;
-        case 'insideStartBottom':
-        case 'insideMiddleBottom':
-        case 'insideEndBottom':
-          dy = distanceY;
-          textVerticalAlign = 'top';
-          break;
-        default:
-          dy = 0;
-          textVerticalAlign = 'middle';
-      }
-      switch (label.__position) {
-        case 'end':
-          label.x = d[0] * distanceX + toPos[0];
-          label.y = d[1] * distanceY + toPos[1];
-          textAlign = d[0] > 0.8 ? 'left' : d[0] < -0.8 ? 'right' : 'center';
-          textVerticalAlign = d[1] > 0.8 ? 'top' : d[1] < -0.8 ? 'bottom' : 'middle';
-          break;
-        case 'start':
-          label.x = -d[0] * distanceX + fromPos[0];
-          label.y = -d[1] * distanceY + fromPos[1];
-          textAlign = d[0] > 0.8 ? 'right' : d[0] < -0.8 ? 'left' : 'center';
-          textVerticalAlign = d[1] > 0.8 ? 'bottom' : d[1] < -0.8 ? 'top' : 'middle';
-          break;
-        case 'insideStartTop':
-        case 'insideStart':
-        case 'insideStartBottom':
-          label.x = distanceX * dir + fromPos[0];
-          label.y = fromPos[1] + dy;
-          textAlign = tangent[0] < 0 ? 'right' : 'left';
-          label.originX = -distanceX * dir;
-          label.originY = -dy;
-          break;
-        case 'insideMiddleTop':
-        case 'insideMiddle':
-        case 'insideMiddleBottom':
-        case 'middle':
-          label.x = cp[0];
-          label.y = cp[1] + dy;
-          textAlign = 'center';
-          label.originY = -dy;
-          break;
-        case 'insideEndTop':
-        case 'insideEnd':
-        case 'insideEndBottom':
-          label.x = -distanceX * dir + toPos[0];
-          label.y = toPos[1] + dy;
-          textAlign = tangent[0] >= 0 ? 'right' : 'left';
-          label.originX = distanceX * dir;
-          label.originY = -dy;
-          break;
-      }
-      label.scaleX = label.scaleY = invScale;
-      label.setStyle({
-        // Use the user specified text align and baseline first
-        verticalAlign: label.__verticalAlign || textVerticalAlign,
-        align: label.__align || textAlign
-      });
-    }
-  };
-  return Line;
-}(graphic.Group);
-export default Line;

+ 0 - 167
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/LineDraw.js

@@ -1,167 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as graphic from '../../util/graphic.js';
-import LineGroup from './Line.js';
-import { getLabelStatesModels } from '../../label/labelStyle.js';
-var LineDraw = /** @class */function () {
-  function LineDraw(LineCtor) {
-    this.group = new graphic.Group();
-    this._LineCtor = LineCtor || LineGroup;
-  }
-  LineDraw.prototype.updateData = function (lineData) {
-    var _this = this;
-    // Remove progressive els.
-    this._progressiveEls = null;
-    var lineDraw = this;
-    var group = lineDraw.group;
-    var oldLineData = lineDraw._lineData;
-    lineDraw._lineData = lineData;
-    // There is no oldLineData only when first rendering or switching from
-    // stream mode to normal mode, where previous elements should be removed.
-    if (!oldLineData) {
-      group.removeAll();
-    }
-    var seriesScope = makeSeriesScope(lineData);
-    lineData.diff(oldLineData).add(function (idx) {
-      _this._doAdd(lineData, idx, seriesScope);
-    }).update(function (newIdx, oldIdx) {
-      _this._doUpdate(oldLineData, lineData, oldIdx, newIdx, seriesScope);
-    }).remove(function (idx) {
-      group.remove(oldLineData.getItemGraphicEl(idx));
-    }).execute();
-  };
-  ;
-  LineDraw.prototype.updateLayout = function () {
-    var lineData = this._lineData;
-    // Do not support update layout in incremental mode.
-    if (!lineData) {
-      return;
-    }
-    lineData.eachItemGraphicEl(function (el, idx) {
-      el.updateLayout(lineData, idx);
-    }, this);
-  };
-  ;
-  LineDraw.prototype.incrementalPrepareUpdate = function (lineData) {
-    this._seriesScope = makeSeriesScope(lineData);
-    this._lineData = null;
-    this.group.removeAll();
-  };
-  ;
-  LineDraw.prototype.incrementalUpdate = function (taskParams, lineData) {
-    this._progressiveEls = [];
-    function updateIncrementalAndHover(el) {
-      if (!el.isGroup && !isEffectObject(el)) {
-        el.incremental = true;
-        el.ensureState('emphasis').hoverLayer = true;
-      }
-    }
-    for (var idx = taskParams.start; idx < taskParams.end; idx++) {
-      var itemLayout = lineData.getItemLayout(idx);
-      if (lineNeedsDraw(itemLayout)) {
-        var el = new this._LineCtor(lineData, idx, this._seriesScope);
-        el.traverse(updateIncrementalAndHover);
-        this.group.add(el);
-        lineData.setItemGraphicEl(idx, el);
-        this._progressiveEls.push(el);
-      }
-    }
-  };
-  ;
-  LineDraw.prototype.remove = function () {
-    this.group.removeAll();
-  };
-  ;
-  LineDraw.prototype.eachRendered = function (cb) {
-    graphic.traverseElements(this._progressiveEls || this.group, cb);
-  };
-  LineDraw.prototype._doAdd = function (lineData, idx, seriesScope) {
-    var itemLayout = lineData.getItemLayout(idx);
-    if (!lineNeedsDraw(itemLayout)) {
-      return;
-    }
-    var el = new this._LineCtor(lineData, idx, seriesScope);
-    lineData.setItemGraphicEl(idx, el);
-    this.group.add(el);
-  };
-  LineDraw.prototype._doUpdate = function (oldLineData, newLineData, oldIdx, newIdx, seriesScope) {
-    var itemEl = oldLineData.getItemGraphicEl(oldIdx);
-    if (!lineNeedsDraw(newLineData.getItemLayout(newIdx))) {
-      this.group.remove(itemEl);
-      return;
-    }
-    if (!itemEl) {
-      itemEl = new this._LineCtor(newLineData, newIdx, seriesScope);
-    } else {
-      itemEl.updateData(newLineData, newIdx, seriesScope);
-    }
-    newLineData.setItemGraphicEl(newIdx, itemEl);
-    this.group.add(itemEl);
-  };
-  return LineDraw;
-}();
-function isEffectObject(el) {
-  return el.animators && el.animators.length > 0;
-}
-function makeSeriesScope(lineData) {
-  var hostModel = lineData.hostModel;
-  var emphasisModel = hostModel.getModel('emphasis');
-  return {
-    lineStyle: hostModel.getModel('lineStyle').getLineStyle(),
-    emphasisLineStyle: emphasisModel.getModel(['lineStyle']).getLineStyle(),
-    blurLineStyle: hostModel.getModel(['blur', 'lineStyle']).getLineStyle(),
-    selectLineStyle: hostModel.getModel(['select', 'lineStyle']).getLineStyle(),
-    emphasisDisabled: emphasisModel.get('disabled'),
-    blurScope: emphasisModel.get('blurScope'),
-    focus: emphasisModel.get('focus'),
-    labelStatesModels: getLabelStatesModels(hostModel)
-  };
-}
-function isPointNaN(pt) {
-  return isNaN(pt[0]) || isNaN(pt[1]);
-}
-function lineNeedsDraw(pts) {
-  return pts && !isPointNaN(pts[0]) && !isPointNaN(pts[1]);
-}
-export default LineDraw;

+ 0 - 111
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/LinePath.js

@@ -1,111 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-/**
- * Line path for bezier and straight line draw
- */
-import * as graphic from '../../util/graphic.js';
-import * as vec2 from 'zrender/lib/core/vector.js';
-var straightLineProto = graphic.Line.prototype;
-var bezierCurveProto = graphic.BezierCurve.prototype;
-var StraightLineShape = /** @class */function () {
-  function StraightLineShape() {
-    // Start point
-    this.x1 = 0;
-    this.y1 = 0;
-    // End point
-    this.x2 = 0;
-    this.y2 = 0;
-    this.percent = 1;
-  }
-  return StraightLineShape;
-}();
-var CurveShape = /** @class */function (_super) {
-  __extends(CurveShape, _super);
-  function CurveShape() {
-    return _super !== null && _super.apply(this, arguments) || this;
-  }
-  return CurveShape;
-}(StraightLineShape);
-function isStraightLine(shape) {
-  return isNaN(+shape.cpx1) || isNaN(+shape.cpy1);
-}
-var ECLinePath = /** @class */function (_super) {
-  __extends(ECLinePath, _super);
-  function ECLinePath(opts) {
-    var _this = _super.call(this, opts) || this;
-    _this.type = 'ec-line';
-    return _this;
-  }
-  ECLinePath.prototype.getDefaultStyle = function () {
-    return {
-      stroke: '#000',
-      fill: null
-    };
-  };
-  ECLinePath.prototype.getDefaultShape = function () {
-    return new StraightLineShape();
-  };
-  ECLinePath.prototype.buildPath = function (ctx, shape) {
-    if (isStraightLine(shape)) {
-      straightLineProto.buildPath.call(this, ctx, shape);
-    } else {
-      bezierCurveProto.buildPath.call(this, ctx, shape);
-    }
-  };
-  ECLinePath.prototype.pointAt = function (t) {
-    if (isStraightLine(this.shape)) {
-      return straightLineProto.pointAt.call(this, t);
-    } else {
-      return bezierCurveProto.pointAt.call(this, t);
-    }
-  };
-  ECLinePath.prototype.tangentAt = function (t) {
-    var shape = this.shape;
-    var p = isStraightLine(shape) ? [shape.x2 - shape.x1, shape.y2 - shape.y1] : bezierCurveProto.tangentAt.call(this, t);
-    return vec2.normalize(p, p);
-  };
-  return ECLinePath;
-}(graphic.Path);
-export default ECLinePath;

+ 0 - 107
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/Polyline.js

@@ -1,107 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import * as graphic from '../../util/graphic.js';
-import { toggleHoverEmphasis } from '../../util/states.js';
-var Polyline = /** @class */function (_super) {
-  __extends(Polyline, _super);
-  function Polyline(lineData, idx, seriesScope) {
-    var _this = _super.call(this) || this;
-    _this._createPolyline(lineData, idx, seriesScope);
-    return _this;
-  }
-  Polyline.prototype._createPolyline = function (lineData, idx, seriesScope) {
-    // let seriesModel = lineData.hostModel;
-    var points = lineData.getItemLayout(idx);
-    var line = new graphic.Polyline({
-      shape: {
-        points: points
-      }
-    });
-    this.add(line);
-    this._updateCommonStl(lineData, idx, seriesScope);
-  };
-  ;
-  Polyline.prototype.updateData = function (lineData, idx, seriesScope) {
-    var seriesModel = lineData.hostModel;
-    var line = this.childAt(0);
-    var target = {
-      shape: {
-        points: lineData.getItemLayout(idx)
-      }
-    };
-    graphic.updateProps(line, target, seriesModel, idx);
-    this._updateCommonStl(lineData, idx, seriesScope);
-  };
-  ;
-  Polyline.prototype._updateCommonStl = function (lineData, idx, seriesScope) {
-    var line = this.childAt(0);
-    var itemModel = lineData.getItemModel(idx);
-    var emphasisLineStyle = seriesScope && seriesScope.emphasisLineStyle;
-    var focus = seriesScope && seriesScope.focus;
-    var blurScope = seriesScope && seriesScope.blurScope;
-    var emphasisDisabled = seriesScope && seriesScope.emphasisDisabled;
-    if (!seriesScope || lineData.hasItemOption) {
-      var emphasisModel = itemModel.getModel('emphasis');
-      emphasisLineStyle = emphasisModel.getModel('lineStyle').getLineStyle();
-      emphasisDisabled = emphasisModel.get('disabled');
-      focus = emphasisModel.get('focus');
-      blurScope = emphasisModel.get('blurScope');
-    }
-    line.useStyle(lineData.getItemVisual(idx, 'style'));
-    line.style.fill = null;
-    line.style.strokeNoScale = true;
-    var lineEmphasisState = line.ensureState('emphasis');
-    lineEmphasisState.style = emphasisLineStyle;
-    toggleHoverEmphasis(this, focus, blurScope, emphasisDisabled);
-  };
-  ;
-  Polyline.prototype.updateLayout = function (lineData, idx) {
-    var polyline = this.childAt(0);
-    polyline.setShape('points', lineData.getItemLayout(idx));
-  };
-  ;
-  return Polyline;
-}(graphic.Group);
-export default Polyline;

+ 0 - 333
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/Symbol.js

@@ -1,333 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import { createSymbol, normalizeSymbolOffset, normalizeSymbolSize } from '../../util/symbol.js';
-import * as graphic from '../../util/graphic.js';
-import { getECData } from '../../util/innerStore.js';
-import { enterEmphasis, leaveEmphasis, toggleHoverEmphasis } from '../../util/states.js';
-import { getDefaultLabel } from './labelHelper.js';
-import { extend } from 'zrender/lib/core/util.js';
-import { setLabelStyle, getLabelStatesModels } from '../../label/labelStyle.js';
-import ZRImage from 'zrender/lib/graphic/Image.js';
-import { saveOldStyle } from '../../animation/basicTransition.js';
-var Symbol = /** @class */function (_super) {
-  __extends(Symbol, _super);
-  function Symbol(data, idx, seriesScope, opts) {
-    var _this = _super.call(this) || this;
-    _this.updateData(data, idx, seriesScope, opts);
-    return _this;
-  }
-  Symbol.prototype._createSymbol = function (symbolType, data, idx, symbolSize, keepAspect) {
-    // Remove paths created before
-    this.removeAll();
-    // let symbolPath = createSymbol(
-    //     symbolType, -0.5, -0.5, 1, 1, color
-    // );
-    // If width/height are set too small (e.g., set to 1) on ios10
-    // and macOS Sierra, a circle stroke become a rect, no matter what
-    // the scale is set. So we set width/height as 2. See #4150.
-    var symbolPath = createSymbol(symbolType, -1, -1, 2, 2, null, keepAspect);
-    symbolPath.attr({
-      z2: 100,
-      culling: true,
-      scaleX: symbolSize[0] / 2,
-      scaleY: symbolSize[1] / 2
-    });
-    // Rewrite drift method
-    symbolPath.drift = driftSymbol;
-    this._symbolType = symbolType;
-    this.add(symbolPath);
-  };
-  /**
-   * Stop animation
-   * @param {boolean} toLastFrame
-   */
-  Symbol.prototype.stopSymbolAnimation = function (toLastFrame) {
-    this.childAt(0).stopAnimation(null, toLastFrame);
-  };
-  Symbol.prototype.getSymbolType = function () {
-    return this._symbolType;
-  };
-  /**
-   * FIXME:
-   * Caution: This method breaks the encapsulation of this module,
-   * but it indeed brings convenience. So do not use the method
-   * unless you detailedly know all the implements of `Symbol`,
-   * especially animation.
-   *
-   * Get symbol path element.
-   */
-  Symbol.prototype.getSymbolPath = function () {
-    return this.childAt(0);
-  };
-  /**
-   * Highlight symbol
-   */
-  Symbol.prototype.highlight = function () {
-    enterEmphasis(this.childAt(0));
-  };
-  /**
-   * Downplay symbol
-   */
-  Symbol.prototype.downplay = function () {
-    leaveEmphasis(this.childAt(0));
-  };
-  /**
-   * @param {number} zlevel
-   * @param {number} z
-   */
-  Symbol.prototype.setZ = function (zlevel, z) {
-    var symbolPath = this.childAt(0);
-    symbolPath.zlevel = zlevel;
-    symbolPath.z = z;
-  };
-  Symbol.prototype.setDraggable = function (draggable, hasCursorOption) {
-    var symbolPath = this.childAt(0);
-    symbolPath.draggable = draggable;
-    symbolPath.cursor = !hasCursorOption && draggable ? 'move' : symbolPath.cursor;
-  };
-  /**
-   * Update symbol properties
-   */
-  Symbol.prototype.updateData = function (data, idx, seriesScope, opts) {
-    this.silent = false;
-    var symbolType = data.getItemVisual(idx, 'symbol') || 'circle';
-    var seriesModel = data.hostModel;
-    var symbolSize = Symbol.getSymbolSize(data, idx);
-    var isInit = symbolType !== this._symbolType;
-    var disableAnimation = opts && opts.disableAnimation;
-    if (isInit) {
-      var keepAspect = data.getItemVisual(idx, 'symbolKeepAspect');
-      this._createSymbol(symbolType, data, idx, symbolSize, keepAspect);
-    } else {
-      var symbolPath = this.childAt(0);
-      symbolPath.silent = false;
-      var target = {
-        scaleX: symbolSize[0] / 2,
-        scaleY: symbolSize[1] / 2
-      };
-      disableAnimation ? symbolPath.attr(target) : graphic.updateProps(symbolPath, target, seriesModel, idx);
-      saveOldStyle(symbolPath);
-    }
-    this._updateCommon(data, idx, symbolSize, seriesScope, opts);
-    if (isInit) {
-      var symbolPath = this.childAt(0);
-      if (!disableAnimation) {
-        var target = {
-          scaleX: this._sizeX,
-          scaleY: this._sizeY,
-          style: {
-            // Always fadeIn. Because it has fadeOut animation when symbol is removed..
-            opacity: symbolPath.style.opacity
-          }
-        };
-        symbolPath.scaleX = symbolPath.scaleY = 0;
-        symbolPath.style.opacity = 0;
-        graphic.initProps(symbolPath, target, seriesModel, idx);
-      }
-    }
-    if (disableAnimation) {
-      // Must stop leave transition manually if don't call initProps or updateProps.
-      this.childAt(0).stopAnimation('leave');
-    }
-  };
-  Symbol.prototype._updateCommon = function (data, idx, symbolSize, seriesScope, opts) {
-    var symbolPath = this.childAt(0);
-    var seriesModel = data.hostModel;
-    var emphasisItemStyle;
-    var blurItemStyle;
-    var selectItemStyle;
-    var focus;
-    var blurScope;
-    var emphasisDisabled;
-    var labelStatesModels;
-    var hoverScale;
-    var cursorStyle;
-    if (seriesScope) {
-      emphasisItemStyle = seriesScope.emphasisItemStyle;
-      blurItemStyle = seriesScope.blurItemStyle;
-      selectItemStyle = seriesScope.selectItemStyle;
-      focus = seriesScope.focus;
-      blurScope = seriesScope.blurScope;
-      labelStatesModels = seriesScope.labelStatesModels;
-      hoverScale = seriesScope.hoverScale;
-      cursorStyle = seriesScope.cursorStyle;
-      emphasisDisabled = seriesScope.emphasisDisabled;
-    }
-    if (!seriesScope || data.hasItemOption) {
-      var itemModel = seriesScope && seriesScope.itemModel ? seriesScope.itemModel : data.getItemModel(idx);
-      var emphasisModel = itemModel.getModel('emphasis');
-      emphasisItemStyle = emphasisModel.getModel('itemStyle').getItemStyle();
-      selectItemStyle = itemModel.getModel(['select', 'itemStyle']).getItemStyle();
-      blurItemStyle = itemModel.getModel(['blur', 'itemStyle']).getItemStyle();
-      focus = emphasisModel.get('focus');
-      blurScope = emphasisModel.get('blurScope');
-      emphasisDisabled = emphasisModel.get('disabled');
-      labelStatesModels = getLabelStatesModels(itemModel);
-      hoverScale = emphasisModel.getShallow('scale');
-      cursorStyle = itemModel.getShallow('cursor');
-    }
-    var symbolRotate = data.getItemVisual(idx, 'symbolRotate');
-    symbolPath.attr('rotation', (symbolRotate || 0) * Math.PI / 180 || 0);
-    var symbolOffset = normalizeSymbolOffset(data.getItemVisual(idx, 'symbolOffset'), symbolSize);
-    if (symbolOffset) {
-      symbolPath.x = symbolOffset[0];
-      symbolPath.y = symbolOffset[1];
-    }
-    cursorStyle && symbolPath.attr('cursor', cursorStyle);
-    var symbolStyle = data.getItemVisual(idx, 'style');
-    var visualColor = symbolStyle.fill;
-    if (symbolPath instanceof ZRImage) {
-      var pathStyle = symbolPath.style;
-      symbolPath.useStyle(extend({
-        // TODO other properties like x, y ?
-        image: pathStyle.image,
-        x: pathStyle.x,
-        y: pathStyle.y,
-        width: pathStyle.width,
-        height: pathStyle.height
-      }, symbolStyle));
-    } else {
-      if (symbolPath.__isEmptyBrush) {
-        // fill and stroke will be swapped if it's empty.
-        // So we cloned a new style to avoid it affecting the original style in visual storage.
-        // TODO Better implementation. No empty logic!
-        symbolPath.useStyle(extend({}, symbolStyle));
-      } else {
-        symbolPath.useStyle(symbolStyle);
-      }
-      // Disable decal because symbol scale will been applied on the decal.
-      symbolPath.style.decal = null;
-      symbolPath.setColor(visualColor, opts && opts.symbolInnerColor);
-      symbolPath.style.strokeNoScale = true;
-    }
-    var liftZ = data.getItemVisual(idx, 'liftZ');
-    var z2Origin = this._z2;
-    if (liftZ != null) {
-      if (z2Origin == null) {
-        this._z2 = symbolPath.z2;
-        symbolPath.z2 += liftZ;
-      }
-    } else if (z2Origin != null) {
-      symbolPath.z2 = z2Origin;
-      this._z2 = null;
-    }
-    var useNameLabel = opts && opts.useNameLabel;
-    setLabelStyle(symbolPath, labelStatesModels, {
-      labelFetcher: seriesModel,
-      labelDataIndex: idx,
-      defaultText: getLabelDefaultText,
-      inheritColor: visualColor,
-      defaultOpacity: symbolStyle.opacity
-    });
-    // Do not execute util needed.
-    function getLabelDefaultText(idx) {
-      return useNameLabel ? data.getName(idx) : getDefaultLabel(data, idx);
-    }
-    this._sizeX = symbolSize[0] / 2;
-    this._sizeY = symbolSize[1] / 2;
-    var emphasisState = symbolPath.ensureState('emphasis');
-    emphasisState.style = emphasisItemStyle;
-    symbolPath.ensureState('select').style = selectItemStyle;
-    symbolPath.ensureState('blur').style = blurItemStyle;
-    // null / undefined / true means to use default strategy.
-    // 0 / false / negative number / NaN / Infinity means no scale.
-    var scaleRatio = hoverScale == null || hoverScale === true ? Math.max(1.1, 3 / this._sizeY)
-    // PENDING: restrict hoverScale > 1? It seems unreasonable to scale down
-    : isFinite(hoverScale) && hoverScale > 0 ? +hoverScale : 1;
-    // always set scale to allow resetting
-    emphasisState.scaleX = this._sizeX * scaleRatio;
-    emphasisState.scaleY = this._sizeY * scaleRatio;
-    this.setSymbolScale(1);
-    toggleHoverEmphasis(this, focus, blurScope, emphasisDisabled);
-  };
-  Symbol.prototype.setSymbolScale = function (scale) {
-    this.scaleX = this.scaleY = scale;
-  };
-  Symbol.prototype.fadeOut = function (cb, seriesModel, opt) {
-    var symbolPath = this.childAt(0);
-    var dataIndex = getECData(this).dataIndex;
-    var animationOpt = opt && opt.animation;
-    // Avoid mistaken hover when fading out
-    this.silent = symbolPath.silent = true;
-    // Not show text when animating
-    if (opt && opt.fadeLabel) {
-      var textContent = symbolPath.getTextContent();
-      if (textContent) {
-        graphic.removeElement(textContent, {
-          style: {
-            opacity: 0
-          }
-        }, seriesModel, {
-          dataIndex: dataIndex,
-          removeOpt: animationOpt,
-          cb: function () {
-            symbolPath.removeTextContent();
-          }
-        });
-      }
-    } else {
-      symbolPath.removeTextContent();
-    }
-    graphic.removeElement(symbolPath, {
-      style: {
-        opacity: 0
-      },
-      scaleX: 0,
-      scaleY: 0
-    }, seriesModel, {
-      dataIndex: dataIndex,
-      cb: cb,
-      removeOpt: animationOpt
-    });
-  };
-  Symbol.getSymbolSize = function (data, idx) {
-    return normalizeSymbolSize(data.getItemVisual(idx, 'symbolSize'));
-  };
-  return Symbol;
-}(graphic.Group);
-function driftSymbol(dx, dy) {
-  this.parent.drift(dx, dy);
-}
-export default Symbol;

+ 0 - 216
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/SymbolDraw.js

@@ -1,216 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as graphic from '../../util/graphic.js';
-import SymbolClz from './Symbol.js';
-import { isObject } from 'zrender/lib/core/util.js';
-import { getLabelStatesModels } from '../../label/labelStyle.js';
-function symbolNeedsDraw(data, point, idx, opt) {
-  return point && !isNaN(point[0]) && !isNaN(point[1]) && !(opt.isIgnore && opt.isIgnore(idx))
-  // We do not set clipShape on group, because it will cut part of
-  // the symbol element shape. We use the same clip shape here as
-  // the line clip.
-  && !(opt.clipShape && !opt.clipShape.contain(point[0], point[1])) && data.getItemVisual(idx, 'symbol') !== 'none';
-}
-function normalizeUpdateOpt(opt) {
-  if (opt != null && !isObject(opt)) {
-    opt = {
-      isIgnore: opt
-    };
-  }
-  return opt || {};
-}
-function makeSeriesScope(data) {
-  var seriesModel = data.hostModel;
-  var emphasisModel = seriesModel.getModel('emphasis');
-  return {
-    emphasisItemStyle: emphasisModel.getModel('itemStyle').getItemStyle(),
-    blurItemStyle: seriesModel.getModel(['blur', 'itemStyle']).getItemStyle(),
-    selectItemStyle: seriesModel.getModel(['select', 'itemStyle']).getItemStyle(),
-    focus: emphasisModel.get('focus'),
-    blurScope: emphasisModel.get('blurScope'),
-    emphasisDisabled: emphasisModel.get('disabled'),
-    hoverScale: emphasisModel.get('scale'),
-    labelStatesModels: getLabelStatesModels(seriesModel),
-    cursorStyle: seriesModel.get('cursor')
-  };
-}
-var SymbolDraw = /** @class */function () {
-  function SymbolDraw(SymbolCtor) {
-    this.group = new graphic.Group();
-    this._SymbolCtor = SymbolCtor || SymbolClz;
-  }
-  /**
-   * Update symbols draw by new data
-   */
-  SymbolDraw.prototype.updateData = function (data, opt) {
-    // Remove progressive els.
-    this._progressiveEls = null;
-    opt = normalizeUpdateOpt(opt);
-    var group = this.group;
-    var seriesModel = data.hostModel;
-    var oldData = this._data;
-    var SymbolCtor = this._SymbolCtor;
-    var disableAnimation = opt.disableAnimation;
-    var seriesScope = makeSeriesScope(data);
-    var symbolUpdateOpt = {
-      disableAnimation: disableAnimation
-    };
-    var getSymbolPoint = opt.getSymbolPoint || function (idx) {
-      return data.getItemLayout(idx);
-    };
-    // There is no oldLineData only when first rendering or switching from
-    // stream mode to normal mode, where previous elements should be removed.
-    if (!oldData) {
-      group.removeAll();
-    }
-    data.diff(oldData).add(function (newIdx) {
-      var point = getSymbolPoint(newIdx);
-      if (symbolNeedsDraw(data, point, newIdx, opt)) {
-        var symbolEl = new SymbolCtor(data, newIdx, seriesScope, symbolUpdateOpt);
-        symbolEl.setPosition(point);
-        data.setItemGraphicEl(newIdx, symbolEl);
-        group.add(symbolEl);
-      }
-    }).update(function (newIdx, oldIdx) {
-      var symbolEl = oldData.getItemGraphicEl(oldIdx);
-      var point = getSymbolPoint(newIdx);
-      if (!symbolNeedsDraw(data, point, newIdx, opt)) {
-        group.remove(symbolEl);
-        return;
-      }
-      var newSymbolType = data.getItemVisual(newIdx, 'symbol') || 'circle';
-      var oldSymbolType = symbolEl && symbolEl.getSymbolType && symbolEl.getSymbolType();
-      if (!symbolEl
-      // Create a new if symbol type changed.
-      || oldSymbolType && oldSymbolType !== newSymbolType) {
-        group.remove(symbolEl);
-        symbolEl = new SymbolCtor(data, newIdx, seriesScope, symbolUpdateOpt);
-        symbolEl.setPosition(point);
-      } else {
-        symbolEl.updateData(data, newIdx, seriesScope, symbolUpdateOpt);
-        var target = {
-          x: point[0],
-          y: point[1]
-        };
-        disableAnimation ? symbolEl.attr(target) : graphic.updateProps(symbolEl, target, seriesModel);
-      }
-      // Add back
-      group.add(symbolEl);
-      data.setItemGraphicEl(newIdx, symbolEl);
-    }).remove(function (oldIdx) {
-      var el = oldData.getItemGraphicEl(oldIdx);
-      el && el.fadeOut(function () {
-        group.remove(el);
-      }, seriesModel);
-    }).execute();
-    this._getSymbolPoint = getSymbolPoint;
-    this._data = data;
-  };
-  ;
-  SymbolDraw.prototype.updateLayout = function () {
-    var _this = this;
-    var data = this._data;
-    if (data) {
-      // Not use animation
-      data.eachItemGraphicEl(function (el, idx) {
-        var point = _this._getSymbolPoint(idx);
-        el.setPosition(point);
-        el.markRedraw();
-      });
-    }
-  };
-  ;
-  SymbolDraw.prototype.incrementalPrepareUpdate = function (data) {
-    this._seriesScope = makeSeriesScope(data);
-    this._data = null;
-    this.group.removeAll();
-  };
-  ;
-  /**
-   * Update symbols draw by new data
-   */
-  SymbolDraw.prototype.incrementalUpdate = function (taskParams, data, opt) {
-    // Clear
-    this._progressiveEls = [];
-    opt = normalizeUpdateOpt(opt);
-    function updateIncrementalAndHover(el) {
-      if (!el.isGroup) {
-        el.incremental = true;
-        el.ensureState('emphasis').hoverLayer = true;
-      }
-    }
-    for (var idx = taskParams.start; idx < taskParams.end; idx++) {
-      var point = data.getItemLayout(idx);
-      if (symbolNeedsDraw(data, point, idx, opt)) {
-        var el = new this._SymbolCtor(data, idx, this._seriesScope);
-        el.traverse(updateIncrementalAndHover);
-        el.setPosition(point);
-        this.group.add(el);
-        data.setItemGraphicEl(idx, el);
-        this._progressiveEls.push(el);
-      }
-    }
-  };
-  ;
-  SymbolDraw.prototype.eachRendered = function (cb) {
-    graphic.traverseElements(this._progressiveEls || this.group, cb);
-  };
-  SymbolDraw.prototype.remove = function (enableAnimation) {
-    var group = this.group;
-    var data = this._data;
-    // Incremental model do not have this._data.
-    if (data && enableAnimation) {
-      data.eachItemGraphicEl(function (el) {
-        el.fadeOut(function () {
-          group.remove(el);
-        }, data.hostModel);
-      });
-    } else {
-      group.removeAll();
-    }
-  };
-  ;
-  return SymbolDraw;
-}();
-export default SymbolDraw;

+ 0 - 145
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js

@@ -1,145 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as graphic from '../../util/graphic.js';
-import { round } from '../../util/number.js';
-import { isFunction } from 'zrender/lib/core/util.js';
-function createGridClipPath(cartesian, hasAnimation, seriesModel, done, during) {
-  var rect = cartesian.getArea();
-  var x = rect.x;
-  var y = rect.y;
-  var width = rect.width;
-  var height = rect.height;
-  var lineWidth = seriesModel.get(['lineStyle', 'width']) || 2;
-  // Expand the clip path a bit to avoid the border is clipped and looks thinner
-  x -= lineWidth / 2;
-  y -= lineWidth / 2;
-  width += lineWidth;
-  height += lineWidth;
-  // fix: https://github.com/apache/incubator-echarts/issues/11369
-  width = Math.ceil(width);
-  if (x !== Math.floor(x)) {
-    x = Math.floor(x);
-    // if no extra 1px on `width`, it will still be clipped since `x` is floored
-    width++;
-  }
-  var clipPath = new graphic.Rect({
-    shape: {
-      x: x,
-      y: y,
-      width: width,
-      height: height
-    }
-  });
-  if (hasAnimation) {
-    var baseAxis = cartesian.getBaseAxis();
-    var isHorizontal = baseAxis.isHorizontal();
-    var isAxisInversed = baseAxis.inverse;
-    if (isHorizontal) {
-      if (isAxisInversed) {
-        clipPath.shape.x += width;
-      }
-      clipPath.shape.width = 0;
-    } else {
-      if (!isAxisInversed) {
-        clipPath.shape.y += height;
-      }
-      clipPath.shape.height = 0;
-    }
-    var duringCb = isFunction(during) ? function (percent) {
-      during(percent, clipPath);
-    } : null;
-    graphic.initProps(clipPath, {
-      shape: {
-        width: width,
-        height: height,
-        x: x,
-        y: y
-      }
-    }, seriesModel, null, done, duringCb);
-  }
-  return clipPath;
-}
-function createPolarClipPath(polar, hasAnimation, seriesModel) {
-  var sectorArea = polar.getArea();
-  // Avoid float number rounding error for symbol on the edge of axis extent.
-  var r0 = round(sectorArea.r0, 1);
-  var r = round(sectorArea.r, 1);
-  var clipPath = new graphic.Sector({
-    shape: {
-      cx: round(polar.cx, 1),
-      cy: round(polar.cy, 1),
-      r0: r0,
-      r: r,
-      startAngle: sectorArea.startAngle,
-      endAngle: sectorArea.endAngle,
-      clockwise: sectorArea.clockwise
-    }
-  });
-  if (hasAnimation) {
-    var isRadial = polar.getBaseAxis().dim === 'angle';
-    if (isRadial) {
-      clipPath.shape.endAngle = sectorArea.startAngle;
-    } else {
-      clipPath.shape.r = r0;
-    }
-    graphic.initProps(clipPath, {
-      shape: {
-        endAngle: sectorArea.endAngle,
-        r: r
-      }
-    }, seriesModel);
-  }
-  return clipPath;
-}
-function createClipPath(coordSys, hasAnimation, seriesModel, done, during) {
-  if (!coordSys) {
-    return null;
-  } else if (coordSys.type === 'polar') {
-    return createPolarClipPath(coordSys, hasAnimation, seriesModel);
-  } else if (coordSys.type === 'cartesian2d') {
-    return createGridClipPath(coordSys, hasAnimation, seriesModel, done, during);
-  }
-  return null;
-}
-export { createGridClipPath, createPolarClipPath, createClipPath };

+ 0 - 114
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js

@@ -1,114 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as zrUtil from 'zrender/lib/core/util.js';
-import SeriesData from '../../data/SeriesData.js';
-import Graph from '../../data/Graph.js';
-import linkSeriesData from '../../data/helper/linkSeriesData.js';
-import prepareSeriesDataSchema from '../../data/helper/createDimensions.js';
-import CoordinateSystem from '../../core/CoordinateSystem.js';
-import createSeriesData from './createSeriesData.js';
-import { convertOptionIdName } from '../../util/model.js';
-export default function createGraphFromNodeEdge(nodes, edges, seriesModel, directed, beforeLink) {
-  // ??? TODO
-  // support dataset?
-  var graph = new Graph(directed);
-  for (var i = 0; i < nodes.length; i++) {
-    graph.addNode(zrUtil.retrieve(
-    // Id, name, dataIndex
-    nodes[i].id, nodes[i].name, i), i);
-  }
-  var linkNameList = [];
-  var validEdges = [];
-  var linkCount = 0;
-  for (var i = 0; i < edges.length; i++) {
-    var link = edges[i];
-    var source = link.source;
-    var target = link.target;
-    // addEdge may fail when source or target not exists
-    if (graph.addEdge(source, target, linkCount)) {
-      validEdges.push(link);
-      linkNameList.push(zrUtil.retrieve(convertOptionIdName(link.id, null), source + ' > ' + target));
-      linkCount++;
-    }
-  }
-  var coordSys = seriesModel.get('coordinateSystem');
-  var nodeData;
-  if (coordSys === 'cartesian2d' || coordSys === 'polar') {
-    nodeData = createSeriesData(nodes, seriesModel);
-  } else {
-    var coordSysCtor = CoordinateSystem.get(coordSys);
-    var coordDimensions = coordSysCtor ? coordSysCtor.dimensions || [] : [];
-    // FIXME: Some geo do not need `value` dimenson, whereas `calendar` needs
-    // `value` dimension, but graph need `value` dimension. It's better to
-    // uniform this behavior.
-    if (zrUtil.indexOf(coordDimensions, 'value') < 0) {
-      coordDimensions.concat(['value']);
-    }
-    var dimensions = prepareSeriesDataSchema(nodes, {
-      coordDimensions: coordDimensions,
-      encodeDefine: seriesModel.getEncode()
-    }).dimensions;
-    nodeData = new SeriesData(dimensions, seriesModel);
-    nodeData.initData(nodes);
-  }
-  var edgeData = new SeriesData(['value'], seriesModel);
-  edgeData.initData(validEdges, linkNameList);
-  beforeLink && beforeLink(nodeData, edgeData);
-  linkSeriesData({
-    mainData: nodeData,
-    struct: graph,
-    structAttr: 'graph',
-    datas: {
-      node: nodeData,
-      edge: edgeData
-    },
-    datasAttr: {
-      node: 'data',
-      edge: 'edgeData'
-    }
-  });
-  // Update dataIndex of nodes and edges because invalid edge may be removed
-  graph.update();
-  return graph;
-}

+ 0 - 62
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/createRenderPlanner.js

@@ -1,62 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { makeInner } from '../../util/model.js';
-/**
- * @return {string} If large mode changed, return string 'reset';
- */
-export default function createRenderPlanner() {
-  var inner = makeInner();
-  return function (seriesModel) {
-    var fields = inner(seriesModel);
-    var pipelineContext = seriesModel.pipelineContext;
-    var originalLarge = !!fields.large;
-    var originalProgressive = !!fields.progressiveRender;
-    // FIXME: if the planner works on a filtered series, `pipelineContext` does not
-    // exists. See #11611 . Probably we need to modify this structure, see the comment
-    // on `performRawSeries` in `Schedular.js`.
-    var large = fields.large = !!(pipelineContext && pipelineContext.large);
-    var progressive = fields.progressiveRender = !!(pipelineContext && pipelineContext.progressiveRender);
-    return !!(originalLarge !== large || originalProgressive !== progressive) && 'reset';
-  };
-}

+ 0 - 162
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/createSeriesData.js

@@ -1,162 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as zrUtil from 'zrender/lib/core/util.js';
-import SeriesData from '../../data/SeriesData.js';
-import prepareSeriesDataSchema from '../../data/helper/createDimensions.js';
-import { getDimensionTypeByAxis } from '../../data/helper/dimensionHelper.js';
-import { getDataItemValue } from '../../util/model.js';
-import CoordinateSystem from '../../core/CoordinateSystem.js';
-import { getCoordSysInfoBySeries } from '../../model/referHelper.js';
-import { createSourceFromSeriesDataOption } from '../../data/Source.js';
-import { enableDataStack } from '../../data/helper/dataStackHelper.js';
-import { makeSeriesEncodeForAxisCoordSys } from '../../data/helper/sourceHelper.js';
-import { SOURCE_FORMAT_ORIGINAL } from '../../util/types.js';
-function getCoordSysDimDefs(seriesModel, coordSysInfo) {
-  var coordSysName = seriesModel.get('coordinateSystem');
-  var registeredCoordSys = CoordinateSystem.get(coordSysName);
-  var coordSysDimDefs;
-  if (coordSysInfo && coordSysInfo.coordSysDims) {
-    coordSysDimDefs = zrUtil.map(coordSysInfo.coordSysDims, function (dim) {
-      var dimInfo = {
-        name: dim
-      };
-      var axisModel = coordSysInfo.axisMap.get(dim);
-      if (axisModel) {
-        var axisType = axisModel.get('type');
-        dimInfo.type = getDimensionTypeByAxis(axisType);
-      }
-      return dimInfo;
-    });
-  }
-  if (!coordSysDimDefs) {
-    // Get dimensions from registered coordinate system
-    coordSysDimDefs = registeredCoordSys && (registeredCoordSys.getDimensionsInfo ? registeredCoordSys.getDimensionsInfo() : registeredCoordSys.dimensions.slice()) || ['x', 'y'];
-  }
-  return coordSysDimDefs;
-}
-function injectOrdinalMeta(dimInfoList, createInvertedIndices, coordSysInfo) {
-  var firstCategoryDimIndex;
-  var hasNameEncode;
-  coordSysInfo && zrUtil.each(dimInfoList, function (dimInfo, dimIndex) {
-    var coordDim = dimInfo.coordDim;
-    var categoryAxisModel = coordSysInfo.categoryAxisMap.get(coordDim);
-    if (categoryAxisModel) {
-      if (firstCategoryDimIndex == null) {
-        firstCategoryDimIndex = dimIndex;
-      }
-      dimInfo.ordinalMeta = categoryAxisModel.getOrdinalMeta();
-      if (createInvertedIndices) {
-        dimInfo.createInvertedIndices = true;
-      }
-    }
-    if (dimInfo.otherDims.itemName != null) {
-      hasNameEncode = true;
-    }
-  });
-  if (!hasNameEncode && firstCategoryDimIndex != null) {
-    dimInfoList[firstCategoryDimIndex].otherDims.itemName = 0;
-  }
-  return firstCategoryDimIndex;
-}
-/**
- * Caution: there are side effects to `sourceManager` in this method.
- * Should better only be called in `Series['getInitialData']`.
- */
-function createSeriesData(sourceRaw, seriesModel, opt) {
-  opt = opt || {};
-  var sourceManager = seriesModel.getSourceManager();
-  var source;
-  var isOriginalSource = false;
-  if (sourceRaw) {
-    isOriginalSource = true;
-    source = createSourceFromSeriesDataOption(sourceRaw);
-  } else {
-    source = sourceManager.getSource();
-    // Is series.data. not dataset.
-    isOriginalSource = source.sourceFormat === SOURCE_FORMAT_ORIGINAL;
-  }
-  var coordSysInfo = getCoordSysInfoBySeries(seriesModel);
-  var coordSysDimDefs = getCoordSysDimDefs(seriesModel, coordSysInfo);
-  var useEncodeDefaulter = opt.useEncodeDefaulter;
-  var encodeDefaulter = zrUtil.isFunction(useEncodeDefaulter) ? useEncodeDefaulter : useEncodeDefaulter ? zrUtil.curry(makeSeriesEncodeForAxisCoordSys, coordSysDimDefs, seriesModel) : null;
-  var createDimensionOptions = {
-    coordDimensions: coordSysDimDefs,
-    generateCoord: opt.generateCoord,
-    encodeDefine: seriesModel.getEncode(),
-    encodeDefaulter: encodeDefaulter,
-    canOmitUnusedDimensions: !isOriginalSource
-  };
-  var schema = prepareSeriesDataSchema(source, createDimensionOptions);
-  var firstCategoryDimIndex = injectOrdinalMeta(schema.dimensions, opt.createInvertedIndices, coordSysInfo);
-  var store = !isOriginalSource ? sourceManager.getSharedDataStore(schema) : null;
-  var stackCalculationInfo = enableDataStack(seriesModel, {
-    schema: schema,
-    store: store
-  });
-  var data = new SeriesData(schema, seriesModel);
-  data.setCalculationInfo(stackCalculationInfo);
-  var dimValueGetter = firstCategoryDimIndex != null && isNeedCompleteOrdinalData(source) ? function (itemOpt, dimName, dataIndex, dimIndex) {
-    // Use dataIndex as ordinal value in categoryAxis
-    return dimIndex === firstCategoryDimIndex ? dataIndex : this.defaultDimValueGetter(itemOpt, dimName, dataIndex, dimIndex);
-  } : null;
-  data.hasItemOption = false;
-  data.initData(
-  // Try to reuse the data store in sourceManager if using dataset.
-  isOriginalSource ? source : store, null, dimValueGetter);
-  return data;
-}
-function isNeedCompleteOrdinalData(source) {
-  if (source.sourceFormat === SOURCE_FORMAT_ORIGINAL) {
-    var sampleItem = firstDataNotNull(source.data || []);
-    return !zrUtil.isArray(getDataItemValue(sampleItem));
-  }
-}
-function firstDataNotNull(arr) {
-  var i = 0;
-  while (i < arr.length && arr[i] == null) {
-    i++;
-  }
-  return arr[i];
-}
-export default createSeriesData;

+ 0 - 68
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js

@@ -1,68 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import prepareSeriesDataSchema from '../../data/helper/createDimensions.js';
-import SeriesData from '../../data/SeriesData.js';
-import { extend, isArray } from 'zrender/lib/core/util.js';
-/**
- * [Usage]:
- * (1)
- * createListSimply(seriesModel, ['value']);
- * (2)
- * createListSimply(seriesModel, {
- *     coordDimensions: ['value'],
- *     dimensionsCount: 5
- * });
- */
-export default function createSeriesDataSimply(seriesModel, opt, nameList) {
-  opt = isArray(opt) && {
-    coordDimensions: opt
-  } || extend({
-    encodeDefine: seriesModel.getEncode()
-  }, opt);
-  var source = seriesModel.getSource();
-  var dimensions = prepareSeriesDataSchema(source, opt).dimensions;
-  var list = new SeriesData(dimensions, seriesModel);
-  list.initData(source, nameList);
-  return list;
-}

+ 0 - 58
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js

@@ -1,58 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { getDecalFromPalette } from '../../model/mixin/palette.js';
-export default function enableAriaDecalForTree(seriesModel) {
-  var data = seriesModel.getData();
-  var tree = data.tree;
-  var decalPaletteScope = {};
-  tree.eachNode(function (node) {
-    // Use decal of level 1 node
-    var current = node;
-    while (current && current.depth > 1) {
-      current = current.parentNode;
-    }
-    var decal = getDecalFromPalette(seriesModel.ecModel, current.name || current.dataIndex + '', decalPaletteScope);
-    node.setVisual('decal', decal);
-  });
-}

+ 0 - 77
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/labelHelper.js

@@ -1,77 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { retrieveRawValue } from '../../data/helper/dataProvider.js';
-import { isArray } from 'zrender/lib/core/util.js';
-/**
- * @return label string. Not null/undefined
- */
-export function getDefaultLabel(data, dataIndex) {
-  var labelDims = data.mapDimensionsAll('defaultedLabel');
-  var len = labelDims.length;
-  // Simple optimization (in lots of cases, label dims length is 1)
-  if (len === 1) {
-    var rawVal = retrieveRawValue(data, dataIndex, labelDims[0]);
-    return rawVal != null ? rawVal + '' : null;
-  } else if (len) {
-    var vals = [];
-    for (var i = 0; i < labelDims.length; i++) {
-      vals.push(retrieveRawValue(data, dataIndex, labelDims[i]));
-    }
-    return vals.join(' ');
-  }
-}
-export function getDefaultInterpolatedLabel(data, interpolatedValue) {
-  var labelDims = data.mapDimensionsAll('defaultedLabel');
-  if (!isArray(interpolatedValue)) {
-    return interpolatedValue + '';
-  }
-  var vals = [];
-  for (var i = 0; i < labelDims.length; i++) {
-    var dimIndex = data.getDimensionIndex(labelDims[i]);
-    if (dimIndex >= 0) {
-      vals.push(interpolatedValue[dimIndex]);
-    }
-  }
-  return vals.join(' ');
-}

+ 0 - 226
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js

@@ -1,226 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-// @ts-nocheck
-import * as zrUtil from 'zrender/lib/core/util.js';
-var KEY_DELIMITER = '-->';
-/**
- * params handler
- * @param {module:echarts/model/SeriesModel} seriesModel
- * @returns {*}
- */
-var getAutoCurvenessParams = function (seriesModel) {
-  return seriesModel.get('autoCurveness') || null;
-};
-/**
- * Generate a list of edge curvatures, 20 is the default
- * @param {module:echarts/model/SeriesModel} seriesModel
- * @param {number} appendLength
- * @return  20 => [0, -0.2, 0.2, -0.4, 0.4, -0.6, 0.6, -0.8, 0.8, -1, 1, -1.2, 1.2, -1.4, 1.4, -1.6, 1.6, -1.8, 1.8, -2]
- */
-var createCurveness = function (seriesModel, appendLength) {
-  var autoCurvenessParmas = getAutoCurvenessParams(seriesModel);
-  var length = 20;
-  var curvenessList = [];
-  // handler the function set
-  if (zrUtil.isNumber(autoCurvenessParmas)) {
-    length = autoCurvenessParmas;
-  } else if (zrUtil.isArray(autoCurvenessParmas)) {
-    seriesModel.__curvenessList = autoCurvenessParmas;
-    return;
-  }
-  // append length
-  if (appendLength > length) {
-    length = appendLength;
-  }
-  // make sure the length is even
-  var len = length % 2 ? length + 2 : length + 3;
-  curvenessList = [];
-  for (var i = 0; i < len; i++) {
-    curvenessList.push((i % 2 ? i + 1 : i) / 10 * (i % 2 ? -1 : 1));
-  }
-  seriesModel.__curvenessList = curvenessList;
-};
-/**
- * Create different cache key data in the positive and negative directions, in order to set the curvature later
- * @param {number|string|module:echarts/data/Graph.Node} n1
- * @param {number|string|module:echarts/data/Graph.Node} n2
- * @param {module:echarts/model/SeriesModel} seriesModel
- * @returns {string} key
- */
-var getKeyOfEdges = function (n1, n2, seriesModel) {
-  var source = [n1.id, n1.dataIndex].join('.');
-  var target = [n2.id, n2.dataIndex].join('.');
-  return [seriesModel.uid, source, target].join(KEY_DELIMITER);
-};
-/**
- * get opposite key
- * @param {string} key
- * @returns {string}
- */
-var getOppositeKey = function (key) {
-  var keys = key.split(KEY_DELIMITER);
-  return [keys[0], keys[2], keys[1]].join(KEY_DELIMITER);
-};
-/**
- * get edgeMap with key
- * @param edge
- * @param {module:echarts/model/SeriesModel} seriesModel
- */
-var getEdgeFromMap = function (edge, seriesModel) {
-  var key = getKeyOfEdges(edge.node1, edge.node2, seriesModel);
-  return seriesModel.__edgeMap[key];
-};
-/**
- * calculate all cases total length
- * @param edge
- * @param seriesModel
- * @returns {number}
- */
-var getTotalLengthBetweenNodes = function (edge, seriesModel) {
-  var len = getEdgeMapLengthWithKey(getKeyOfEdges(edge.node1, edge.node2, seriesModel), seriesModel);
-  var lenV = getEdgeMapLengthWithKey(getKeyOfEdges(edge.node2, edge.node1, seriesModel), seriesModel);
-  return len + lenV;
-};
-/**
- *
- * @param key
- */
-var getEdgeMapLengthWithKey = function (key, seriesModel) {
-  var edgeMap = seriesModel.__edgeMap;
-  return edgeMap[key] ? edgeMap[key].length : 0;
-};
-/**
- * Count the number of edges between the same two points, used to obtain the curvature table and the parity of the edge
- * @see /graph/GraphSeries.js@getInitialData
- * @param {module:echarts/model/SeriesModel} seriesModel
- */
-export function initCurvenessList(seriesModel) {
-  if (!getAutoCurvenessParams(seriesModel)) {
-    return;
-  }
-  seriesModel.__curvenessList = [];
-  seriesModel.__edgeMap = {};
-  // calc the array of curveness List
-  createCurveness(seriesModel);
-}
-/**
- * set edgeMap with key
- * @param {number|string|module:echarts/data/Graph.Node} n1
- * @param {number|string|module:echarts/data/Graph.Node} n2
- * @param {module:echarts/model/SeriesModel} seriesModel
- * @param {number} index
- */
-export function createEdgeMapForCurveness(n1, n2, seriesModel, index) {
-  if (!getAutoCurvenessParams(seriesModel)) {
-    return;
-  }
-  var key = getKeyOfEdges(n1, n2, seriesModel);
-  var edgeMap = seriesModel.__edgeMap;
-  var oppositeEdges = edgeMap[getOppositeKey(key)];
-  // set direction
-  if (edgeMap[key] && !oppositeEdges) {
-    edgeMap[key].isForward = true;
-  } else if (oppositeEdges && edgeMap[key]) {
-    oppositeEdges.isForward = true;
-    edgeMap[key].isForward = false;
-  }
-  edgeMap[key] = edgeMap[key] || [];
-  edgeMap[key].push(index);
-}
-/**
- * get curvature for edge
- * @param edge
- * @param {module:echarts/model/SeriesModel} seriesModel
- * @param index
- */
-export function getCurvenessForEdge(edge, seriesModel, index, needReverse) {
-  var autoCurvenessParams = getAutoCurvenessParams(seriesModel);
-  var isArrayParam = zrUtil.isArray(autoCurvenessParams);
-  if (!autoCurvenessParams) {
-    return null;
-  }
-  var edgeArray = getEdgeFromMap(edge, seriesModel);
-  if (!edgeArray) {
-    return null;
-  }
-  var edgeIndex = -1;
-  for (var i = 0; i < edgeArray.length; i++) {
-    if (edgeArray[i] === index) {
-      edgeIndex = i;
-      break;
-    }
-  }
-  // if totalLen is Longer createCurveness
-  var totalLen = getTotalLengthBetweenNodes(edge, seriesModel);
-  createCurveness(seriesModel, totalLen);
-  edge.lineStyle = edge.lineStyle || {};
-  // if is opposite edge, must set curvenss to opposite number
-  var curKey = getKeyOfEdges(edge.node1, edge.node2, seriesModel);
-  var curvenessList = seriesModel.__curvenessList;
-  // if pass array no need parity
-  var parityCorrection = isArrayParam ? 0 : totalLen % 2 ? 0 : 1;
-  if (!edgeArray.isForward) {
-    // the opposite edge show outside
-    var oppositeKey = getOppositeKey(curKey);
-    var len = getEdgeMapLengthWithKey(oppositeKey, seriesModel);
-    var resValue = curvenessList[edgeIndex + len + parityCorrection];
-    // isNeedReverse, simple, force type need reverse the curveness in the junction of the forword and the opposite
-    if (needReverse) {
-      // set as array may make the parity handle with the len of opposite
-      if (isArrayParam) {
-        if (autoCurvenessParams && autoCurvenessParams[0] === 0) {
-          return (len + parityCorrection) % 2 ? resValue : -resValue;
-        } else {
-          return ((len % 2 ? 0 : 1) + parityCorrection) % 2 ? resValue : -resValue;
-        }
-      } else {
-        return (len + parityCorrection) % 2 ? resValue : -resValue;
-      }
-    } else {
-      return curvenessList[edgeIndex + len + parityCorrection];
-    }
-  } else {
-    return curvenessList[parityCorrection + edgeIndex];
-  }
-}

+ 0 - 62
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/sectorHelper.js

@@ -1,62 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { isArray, map } from 'zrender/lib/core/util.js';
-import { parsePercent } from 'zrender/lib/contain/text.js';
-export function getSectorCornerRadius(model, shape, zeroIfNull) {
-  var cornerRadius = model.get('borderRadius');
-  if (cornerRadius == null) {
-    return zeroIfNull ? {
-      cornerRadius: 0
-    } : null;
-  }
-  if (!isArray(cornerRadius)) {
-    cornerRadius = [cornerRadius, cornerRadius, cornerRadius, cornerRadius];
-  }
-  var dr = Math.abs(shape.r || 0 - shape.r0 || 0);
-  return {
-    cornerRadius: map(cornerRadius, function (cr) {
-      return parsePercent(cr, dr);
-    })
-  };
-}

+ 0 - 92
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/treeHelper.js

@@ -1,92 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as zrUtil from 'zrender/lib/core/util.js';
-export function retrieveTargetInfo(payload, validPayloadTypes, seriesModel) {
-  if (payload && zrUtil.indexOf(validPayloadTypes, payload.type) >= 0) {
-    var root = seriesModel.getData().tree.root;
-    var targetNode = payload.targetNode;
-    if (zrUtil.isString(targetNode)) {
-      targetNode = root.getNodeById(targetNode);
-    }
-    if (targetNode && root.contains(targetNode)) {
-      return {
-        node: targetNode
-      };
-    }
-    var targetNodeId = payload.targetNodeId;
-    if (targetNodeId != null && (targetNode = root.getNodeById(targetNodeId))) {
-      return {
-        node: targetNode
-      };
-    }
-  }
-}
-// Not includes the given node at the last item.
-export function getPathToRoot(node) {
-  var path = [];
-  while (node) {
-    node = node.parentNode;
-    node && path.push(node);
-  }
-  return path.reverse();
-}
-export function aboveViewRoot(viewRoot, node) {
-  var viewPath = getPathToRoot(viewRoot);
-  return zrUtil.indexOf(viewPath, node) >= 0;
-}
-// From root to the input node (the input node will be included).
-export function wrapTreePathInfo(node, seriesModel) {
-  var treePathInfo = [];
-  while (node) {
-    var nodeDataIndex = node.dataIndex;
-    treePathInfo.push({
-      name: node.name,
-      dataIndex: nodeDataIndex,
-      value: seriesModel.getRawValue(nodeDataIndex)
-    });
-    node = node.parentNode;
-  }
-  treePathInfo.reverse();
-  return treePathInfo;
-}

+ 0 - 138
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js

@@ -1,138 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import createSeriesDataSimply from './createSeriesDataSimply.js';
-import * as zrUtil from 'zrender/lib/core/util.js';
-import { getDimensionTypeByAxis } from '../../data/helper/dimensionHelper.js';
-import { makeSeriesEncodeForAxisCoordSys } from '../../data/helper/sourceHelper.js';
-var WhiskerBoxCommonMixin = /** @class */function () {
-  function WhiskerBoxCommonMixin() {}
-  /**
-   * @override
-   */
-  WhiskerBoxCommonMixin.prototype.getInitialData = function (option, ecModel) {
-    // When both types of xAxis and yAxis are 'value', layout is
-    // needed to be specified by user. Otherwise, layout can be
-    // judged by which axis is category.
-    var ordinalMeta;
-    var xAxisModel = ecModel.getComponent('xAxis', this.get('xAxisIndex'));
-    var yAxisModel = ecModel.getComponent('yAxis', this.get('yAxisIndex'));
-    var xAxisType = xAxisModel.get('type');
-    var yAxisType = yAxisModel.get('type');
-    var addOrdinal;
-    // FIXME
-    // Consider time axis.
-    if (xAxisType === 'category') {
-      option.layout = 'horizontal';
-      ordinalMeta = xAxisModel.getOrdinalMeta();
-      addOrdinal = true;
-    } else if (yAxisType === 'category') {
-      option.layout = 'vertical';
-      ordinalMeta = yAxisModel.getOrdinalMeta();
-      addOrdinal = true;
-    } else {
-      option.layout = option.layout || 'horizontal';
-    }
-    var coordDims = ['x', 'y'];
-    var baseAxisDimIndex = option.layout === 'horizontal' ? 0 : 1;
-    var baseAxisDim = this._baseAxisDim = coordDims[baseAxisDimIndex];
-    var otherAxisDim = coordDims[1 - baseAxisDimIndex];
-    var axisModels = [xAxisModel, yAxisModel];
-    var baseAxisType = axisModels[baseAxisDimIndex].get('type');
-    var otherAxisType = axisModels[1 - baseAxisDimIndex].get('type');
-    var data = option.data;
-    // Clone a new data for next setOption({}) usage.
-    // Avoid modifying current data will affect further update.
-    if (data && addOrdinal) {
-      var newOptionData_1 = [];
-      zrUtil.each(data, function (item, index) {
-        var newItem;
-        if (zrUtil.isArray(item)) {
-          newItem = item.slice();
-          // Modify current using data.
-          item.unshift(index);
-        } else if (zrUtil.isArray(item.value)) {
-          newItem = zrUtil.extend({}, item);
-          newItem.value = newItem.value.slice();
-          // Modify current using data.
-          item.value.unshift(index);
-        } else {
-          newItem = item;
-        }
-        newOptionData_1.push(newItem);
-      });
-      option.data = newOptionData_1;
-    }
-    var defaultValueDimensions = this.defaultValueDimensions;
-    var coordDimensions = [{
-      name: baseAxisDim,
-      type: getDimensionTypeByAxis(baseAxisType),
-      ordinalMeta: ordinalMeta,
-      otherDims: {
-        tooltip: false,
-        itemName: 0
-      },
-      dimsDef: ['base']
-    }, {
-      name: otherAxisDim,
-      type: getDimensionTypeByAxis(otherAxisType),
-      dimsDef: defaultValueDimensions.slice()
-    }];
-    return createSeriesDataSimply(this, {
-      coordDimensions: coordDimensions,
-      dimensionsCount: defaultValueDimensions.length + 1,
-      encodeDefaulter: zrUtil.curry(makeSeriesEncodeForAxisCoordSys, coordDimensions, this)
-    });
-  };
-  /**
-   * If horizontal, base axis is x, otherwise y.
-   * @override
-   */
-  WhiskerBoxCommonMixin.prototype.getBaseAxis = function () {
-    var dim = this._baseAxisDim;
-    return this.ecModel.getComponent(dim + 'Axis', this.get(dim + 'AxisIndex')).axis;
-  };
-  return WhiskerBoxCommonMixin;
-}();
-;
-export { WhiskerBoxCommonMixin };

+ 0 - 46
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/line.js

@@ -1,46 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../extension.js';
-import { install } from './line/install.js';
-use(install);

+ 0 - 152
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/line/LineSeries.js

@@ -1,152 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import createSeriesData from '../helper/createSeriesData.js';
-import SeriesModel from '../../model/Series.js';
-import { createSymbol } from '../../util/symbol.js';
-import { Group } from '../../util/graphic.js';
-var LineSeriesModel = /** @class */function (_super) {
-  __extends(LineSeriesModel, _super);
-  function LineSeriesModel() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = LineSeriesModel.type;
-    _this.hasSymbolVisual = true;
-    return _this;
-  }
-  LineSeriesModel.prototype.getInitialData = function (option) {
-    if (process.env.NODE_ENV !== 'production') {
-      var coordSys = option.coordinateSystem;
-      if (coordSys !== 'polar' && coordSys !== 'cartesian2d') {
-        throw new Error('Line not support coordinateSystem besides cartesian and polar');
-      }
-    }
-    return createSeriesData(null, this, {
-      useEncodeDefaulter: true
-    });
-  };
-  LineSeriesModel.prototype.getLegendIcon = function (opt) {
-    var group = new Group();
-    var line = createSymbol('line', 0, opt.itemHeight / 2, opt.itemWidth, 0, opt.lineStyle.stroke, false);
-    group.add(line);
-    line.setStyle(opt.lineStyle);
-    var visualType = this.getData().getVisual('symbol');
-    var visualRotate = this.getData().getVisual('symbolRotate');
-    var symbolType = visualType === 'none' ? 'circle' : visualType;
-    // Symbol size is 80% when there is a line
-    var size = opt.itemHeight * 0.8;
-    var symbol = createSymbol(symbolType, (opt.itemWidth - size) / 2, (opt.itemHeight - size) / 2, size, size, opt.itemStyle.fill);
-    group.add(symbol);
-    symbol.setStyle(opt.itemStyle);
-    var symbolRotate = opt.iconRotate === 'inherit' ? visualRotate : opt.iconRotate || 0;
-    symbol.rotation = symbolRotate * Math.PI / 180;
-    symbol.setOrigin([opt.itemWidth / 2, opt.itemHeight / 2]);
-    if (symbolType.indexOf('empty') > -1) {
-      symbol.style.stroke = symbol.style.fill;
-      symbol.style.fill = '#fff';
-      symbol.style.lineWidth = 2;
-    }
-    return group;
-  };
-  LineSeriesModel.type = 'series.line';
-  LineSeriesModel.dependencies = ['grid', 'polar'];
-  LineSeriesModel.defaultOption = {
-    // zlevel: 0,
-    z: 3,
-    coordinateSystem: 'cartesian2d',
-    legendHoverLink: true,
-    clip: true,
-    label: {
-      position: 'top'
-    },
-    // itemStyle: {
-    // },
-    endLabel: {
-      show: false,
-      valueAnimation: true,
-      distance: 8
-    },
-    lineStyle: {
-      width: 2,
-      type: 'solid'
-    },
-    emphasis: {
-      scale: true
-    },
-    // areaStyle: {
-    // origin of areaStyle. Valid values:
-    // `'auto'/null/undefined`: from axisLine to data
-    // `'start'`: from min to data
-    // `'end'`: from data to max
-    // origin: 'auto'
-    // },
-    // false, 'start', 'end', 'middle'
-    step: false,
-    // Disabled if step is true
-    smooth: false,
-    smoothMonotone: null,
-    symbol: 'emptyCircle',
-    symbolSize: 4,
-    symbolRotate: null,
-    showSymbol: true,
-    // `false`: follow the label interval strategy.
-    // `true`: show all symbols.
-    // `'auto'`: If possible, show all symbols, otherwise
-    //           follow the label interval strategy.
-    showAllSymbol: 'auto',
-    // Whether to connect break point.
-    connectNulls: false,
-    // Sampling for large data. Can be: 'average', 'max', 'min', 'sum', 'lttb'.
-    sampling: 'none',
-    animationEasing: 'linear',
-    // Disable progressive
-    progressive: 0,
-    hoverLayerThreshold: Infinity,
-    universalTransition: {
-      divideShape: 'clone'
-    },
-    triggerLineEvent: false
-  };
-  return LineSeriesModel;
-}(SeriesModel);
-export default LineSeriesModel;

+ 0 - 1107
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/line/LineView.js

@@ -1,1107 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-// FIXME step not support polar
-import * as zrUtil from 'zrender/lib/core/util.js';
-import SymbolDraw from '../helper/SymbolDraw.js';
-import SymbolClz from '../helper/Symbol.js';
-import lineAnimationDiff from './lineAnimationDiff.js';
-import * as graphic from '../../util/graphic.js';
-import * as modelUtil from '../../util/model.js';
-import { ECPolyline, ECPolygon } from './poly.js';
-import ChartView from '../../view/Chart.js';
-import { prepareDataCoordInfo, getStackedOnPoint } from './helper.js';
-import { createGridClipPath, createPolarClipPath } from '../helper/createClipPathFromCoordSys.js';
-import { isCoordinateSystemType } from '../../coord/CoordinateSystem.js';
-import { setStatesStylesFromModel, setStatesFlag, toggleHoverEmphasis, SPECIAL_STATES } from '../../util/states.js';
-import { setLabelStyle, getLabelStatesModels, labelInner } from '../../label/labelStyle.js';
-import { getDefaultLabel, getDefaultInterpolatedLabel } from '../helper/labelHelper.js';
-import { getECData } from '../../util/innerStore.js';
-import { createFloat32Array } from '../../util/vendor.js';
-import { convertToColorString } from '../../util/format.js';
-import { lerp } from 'zrender/lib/tool/color.js';
-function isPointsSame(points1, points2) {
-  if (points1.length !== points2.length) {
-    return;
-  }
-  for (var i = 0; i < points1.length; i++) {
-    if (points1[i] !== points2[i]) {
-      return;
-    }
-  }
-  return true;
-}
-function bboxFromPoints(points) {
-  var minX = Infinity;
-  var minY = Infinity;
-  var maxX = -Infinity;
-  var maxY = -Infinity;
-  for (var i = 0; i < points.length;) {
-    var x = points[i++];
-    var y = points[i++];
-    if (!isNaN(x)) {
-      minX = Math.min(x, minX);
-      maxX = Math.max(x, maxX);
-    }
-    if (!isNaN(y)) {
-      minY = Math.min(y, minY);
-      maxY = Math.max(y, maxY);
-    }
-  }
-  return [[minX, minY], [maxX, maxY]];
-}
-function getBoundingDiff(points1, points2) {
-  var _a = bboxFromPoints(points1),
-    min1 = _a[0],
-    max1 = _a[1];
-  var _b = bboxFromPoints(points2),
-    min2 = _b[0],
-    max2 = _b[1];
-  // Get a max value from each corner of two boundings.
-  return Math.max(Math.abs(min1[0] - min2[0]), Math.abs(min1[1] - min2[1]), Math.abs(max1[0] - max2[0]), Math.abs(max1[1] - max2[1]));
-}
-function getSmooth(smooth) {
-  return zrUtil.isNumber(smooth) ? smooth : smooth ? 0.5 : 0;
-}
-function getStackedOnPoints(coordSys, data, dataCoordInfo) {
-  if (!dataCoordInfo.valueDim) {
-    return [];
-  }
-  var len = data.count();
-  var points = createFloat32Array(len * 2);
-  for (var idx = 0; idx < len; idx++) {
-    var pt = getStackedOnPoint(dataCoordInfo, coordSys, data, idx);
-    points[idx * 2] = pt[0];
-    points[idx * 2 + 1] = pt[1];
-  }
-  return points;
-}
-function turnPointsIntoStep(points, coordSys, stepTurnAt, connectNulls) {
-  var baseAxis = coordSys.getBaseAxis();
-  var baseIndex = baseAxis.dim === 'x' || baseAxis.dim === 'radius' ? 0 : 1;
-  var stepPoints = [];
-  var i = 0;
-  var stepPt = [];
-  var pt = [];
-  var nextPt = [];
-  var filteredPoints = [];
-  if (connectNulls) {
-    for (i = 0; i < points.length; i += 2) {
-      if (!isNaN(points[i]) && !isNaN(points[i + 1])) {
-        filteredPoints.push(points[i], points[i + 1]);
-      }
-    }
-    points = filteredPoints;
-  }
-  for (i = 0; i < points.length - 2; i += 2) {
-    nextPt[0] = points[i + 2];
-    nextPt[1] = points[i + 3];
-    pt[0] = points[i];
-    pt[1] = points[i + 1];
-    stepPoints.push(pt[0], pt[1]);
-    switch (stepTurnAt) {
-      case 'end':
-        stepPt[baseIndex] = nextPt[baseIndex];
-        stepPt[1 - baseIndex] = pt[1 - baseIndex];
-        stepPoints.push(stepPt[0], stepPt[1]);
-        break;
-      case 'middle':
-        var middle = (pt[baseIndex] + nextPt[baseIndex]) / 2;
-        var stepPt2 = [];
-        stepPt[baseIndex] = stepPt2[baseIndex] = middle;
-        stepPt[1 - baseIndex] = pt[1 - baseIndex];
-        stepPt2[1 - baseIndex] = nextPt[1 - baseIndex];
-        stepPoints.push(stepPt[0], stepPt[1]);
-        stepPoints.push(stepPt2[0], stepPt2[1]);
-        break;
-      default:
-        // default is start
-        stepPt[baseIndex] = pt[baseIndex];
-        stepPt[1 - baseIndex] = nextPt[1 - baseIndex];
-        stepPoints.push(stepPt[0], stepPt[1]);
-    }
-  }
-  // Last points
-  stepPoints.push(points[i++], points[i++]);
-  return stepPoints;
-}
-/**
- * Clip color stops to edge. Avoid creating too large gradients.
- * Which may lead to blurry when GPU acceleration is enabled. See #15680
- *
- * The stops has been sorted from small to large.
- */
-function clipColorStops(colorStops, maxSize) {
-  var newColorStops = [];
-  var len = colorStops.length;
-  // coord will always < 0 in prevOutOfRangeColorStop.
-  var prevOutOfRangeColorStop;
-  var prevInRangeColorStop;
-  function lerpStop(stop0, stop1, clippedCoord) {
-    var coord0 = stop0.coord;
-    var p = (clippedCoord - coord0) / (stop1.coord - coord0);
-    var color = lerp(p, [stop0.color, stop1.color]);
-    return {
-      coord: clippedCoord,
-      color: color
-    };
-  }
-  for (var i = 0; i < len; i++) {
-    var stop_1 = colorStops[i];
-    var coord = stop_1.coord;
-    if (coord < 0) {
-      prevOutOfRangeColorStop = stop_1;
-    } else if (coord > maxSize) {
-      if (prevInRangeColorStop) {
-        newColorStops.push(lerpStop(prevInRangeColorStop, stop_1, maxSize));
-      } else if (prevOutOfRangeColorStop) {
-        // If there are two stops and coord range is between these two stops
-        newColorStops.push(lerpStop(prevOutOfRangeColorStop, stop_1, 0), lerpStop(prevOutOfRangeColorStop, stop_1, maxSize));
-      }
-      // All following stop will be out of range. So just ignore them.
-      break;
-    } else {
-      if (prevOutOfRangeColorStop) {
-        newColorStops.push(lerpStop(prevOutOfRangeColorStop, stop_1, 0));
-        // Reset
-        prevOutOfRangeColorStop = null;
-      }
-      newColorStops.push(stop_1);
-      prevInRangeColorStop = stop_1;
-    }
-  }
-  return newColorStops;
-}
-function getVisualGradient(data, coordSys, api) {
-  var visualMetaList = data.getVisual('visualMeta');
-  if (!visualMetaList || !visualMetaList.length || !data.count()) {
-    // When data.count() is 0, gradient range can not be calculated.
-    return;
-  }
-  if (coordSys.type !== 'cartesian2d') {
-    if (process.env.NODE_ENV !== 'production') {
-      console.warn('Visual map on line style is only supported on cartesian2d.');
-    }
-    return;
-  }
-  var coordDim;
-  var visualMeta;
-  for (var i = visualMetaList.length - 1; i >= 0; i--) {
-    var dimInfo = data.getDimensionInfo(visualMetaList[i].dimension);
-    coordDim = dimInfo && dimInfo.coordDim;
-    // Can only be x or y
-    if (coordDim === 'x' || coordDim === 'y') {
-      visualMeta = visualMetaList[i];
-      break;
-    }
-  }
-  if (!visualMeta) {
-    if (process.env.NODE_ENV !== 'production') {
-      console.warn('Visual map on line style only support x or y dimension.');
-    }
-    return;
-  }
-  // If the area to be rendered is bigger than area defined by LinearGradient,
-  // the canvas spec prescribes that the color of the first stop and the last
-  // stop should be used. But if two stops are added at offset 0, in effect
-  // browsers use the color of the second stop to render area outside
-  // LinearGradient. So we can only infinitesimally extend area defined in
-  // LinearGradient to render `outerColors`.
-  var axis = coordSys.getAxis(coordDim);
-  // dataToCoord mapping may not be linear, but must be monotonic.
-  var colorStops = zrUtil.map(visualMeta.stops, function (stop) {
-    // offset will be calculated later.
-    return {
-      coord: axis.toGlobalCoord(axis.dataToCoord(stop.value)),
-      color: stop.color
-    };
-  });
-  var stopLen = colorStops.length;
-  var outerColors = visualMeta.outerColors.slice();
-  if (stopLen && colorStops[0].coord > colorStops[stopLen - 1].coord) {
-    colorStops.reverse();
-    outerColors.reverse();
-  }
-  var colorStopsInRange = clipColorStops(colorStops, coordDim === 'x' ? api.getWidth() : api.getHeight());
-  var inRangeStopLen = colorStopsInRange.length;
-  if (!inRangeStopLen && stopLen) {
-    // All stops are out of range. All will be the same color.
-    return colorStops[0].coord < 0 ? outerColors[1] ? outerColors[1] : colorStops[stopLen - 1].color : outerColors[0] ? outerColors[0] : colorStops[0].color;
-  }
-  var tinyExtent = 10; // Arbitrary value: 10px
-  var minCoord = colorStopsInRange[0].coord - tinyExtent;
-  var maxCoord = colorStopsInRange[inRangeStopLen - 1].coord + tinyExtent;
-  var coordSpan = maxCoord - minCoord;
-  if (coordSpan < 1e-3) {
-    return 'transparent';
-  }
-  zrUtil.each(colorStopsInRange, function (stop) {
-    stop.offset = (stop.coord - minCoord) / coordSpan;
-  });
-  colorStopsInRange.push({
-    // NOTE: inRangeStopLen may still be 0 if stoplen is zero.
-    offset: inRangeStopLen ? colorStopsInRange[inRangeStopLen - 1].offset : 0.5,
-    color: outerColors[1] || 'transparent'
-  });
-  colorStopsInRange.unshift({
-    offset: inRangeStopLen ? colorStopsInRange[0].offset : 0.5,
-    color: outerColors[0] || 'transparent'
-  });
-  var gradient = new graphic.LinearGradient(0, 0, 0, 0, colorStopsInRange, true);
-  gradient[coordDim] = minCoord;
-  gradient[coordDim + '2'] = maxCoord;
-  return gradient;
-}
-function getIsIgnoreFunc(seriesModel, data, coordSys) {
-  var showAllSymbol = seriesModel.get('showAllSymbol');
-  var isAuto = showAllSymbol === 'auto';
-  if (showAllSymbol && !isAuto) {
-    return;
-  }
-  var categoryAxis = coordSys.getAxesByScale('ordinal')[0];
-  if (!categoryAxis) {
-    return;
-  }
-  // Note that category label interval strategy might bring some weird effect
-  // in some scenario: users may wonder why some of the symbols are not
-  // displayed. So we show all symbols as possible as we can.
-  if (isAuto
-  // Simplify the logic, do not determine label overlap here.
-  && canShowAllSymbolForCategory(categoryAxis, data)) {
-    return;
-  }
-  // Otherwise follow the label interval strategy on category axis.
-  var categoryDataDim = data.mapDimension(categoryAxis.dim);
-  var labelMap = {};
-  zrUtil.each(categoryAxis.getViewLabels(), function (labelItem) {
-    var ordinalNumber = categoryAxis.scale.getRawOrdinalNumber(labelItem.tickValue);
-    labelMap[ordinalNumber] = 1;
-  });
-  return function (dataIndex) {
-    return !labelMap.hasOwnProperty(data.get(categoryDataDim, dataIndex));
-  };
-}
-function canShowAllSymbolForCategory(categoryAxis, data) {
-  // In most cases, line is monotonous on category axis, and the label size
-  // is close with each other. So we check the symbol size and some of the
-  // label size alone with the category axis to estimate whether all symbol
-  // can be shown without overlap.
-  var axisExtent = categoryAxis.getExtent();
-  var availSize = Math.abs(axisExtent[1] - axisExtent[0]) / categoryAxis.scale.count();
-  isNaN(availSize) && (availSize = 0); // 0/0 is NaN.
-  // Sampling some points, max 5.
-  var dataLen = data.count();
-  var step = Math.max(1, Math.round(dataLen / 5));
-  for (var dataIndex = 0; dataIndex < dataLen; dataIndex += step) {
-    if (SymbolClz.getSymbolSize(data, dataIndex
-    // Only for cartesian, where `isHorizontal` exists.
-    )[categoryAxis.isHorizontal() ? 1 : 0]
-    // Empirical number
-    * 1.5 > availSize) {
-      return false;
-    }
-  }
-  return true;
-}
-function isPointNull(x, y) {
-  return isNaN(x) || isNaN(y);
-}
-function getLastIndexNotNull(points) {
-  var len = points.length / 2;
-  for (; len > 0; len--) {
-    if (!isPointNull(points[len * 2 - 2], points[len * 2 - 1])) {
-      break;
-    }
-  }
-  return len - 1;
-}
-function getPointAtIndex(points, idx) {
-  return [points[idx * 2], points[idx * 2 + 1]];
-}
-function getIndexRange(points, xOrY, dim) {
-  var len = points.length / 2;
-  var dimIdx = dim === 'x' ? 0 : 1;
-  var a;
-  var b;
-  var prevIndex = 0;
-  var nextIndex = -1;
-  for (var i = 0; i < len; i++) {
-    b = points[i * 2 + dimIdx];
-    if (isNaN(b) || isNaN(points[i * 2 + 1 - dimIdx])) {
-      continue;
-    }
-    if (i === 0) {
-      a = b;
-      continue;
-    }
-    if (a <= xOrY && b >= xOrY || a >= xOrY && b <= xOrY) {
-      nextIndex = i;
-      break;
-    }
-    prevIndex = i;
-    a = b;
-  }
-  return {
-    range: [prevIndex, nextIndex],
-    t: (xOrY - a) / (b - a)
-  };
-}
-function anyStateShowEndLabel(seriesModel) {
-  if (seriesModel.get(['endLabel', 'show'])) {
-    return true;
-  }
-  for (var i = 0; i < SPECIAL_STATES.length; i++) {
-    if (seriesModel.get([SPECIAL_STATES[i], 'endLabel', 'show'])) {
-      return true;
-    }
-  }
-  return false;
-}
-function createLineClipPath(lineView, coordSys, hasAnimation, seriesModel) {
-  if (isCoordinateSystemType(coordSys, 'cartesian2d')) {
-    var endLabelModel_1 = seriesModel.getModel('endLabel');
-    var valueAnimation_1 = endLabelModel_1.get('valueAnimation');
-    var data_1 = seriesModel.getData();
-    var labelAnimationRecord_1 = {
-      lastFrameIndex: 0
-    };
-    var during = anyStateShowEndLabel(seriesModel) ? function (percent, clipRect) {
-      lineView._endLabelOnDuring(percent, clipRect, data_1, labelAnimationRecord_1, valueAnimation_1, endLabelModel_1, coordSys);
-    } : null;
-    var isHorizontal = coordSys.getBaseAxis().isHorizontal();
-    var clipPath = createGridClipPath(coordSys, hasAnimation, seriesModel, function () {
-      var endLabel = lineView._endLabel;
-      if (endLabel && hasAnimation) {
-        if (labelAnimationRecord_1.originalX != null) {
-          endLabel.attr({
-            x: labelAnimationRecord_1.originalX,
-            y: labelAnimationRecord_1.originalY
-          });
-        }
-      }
-    }, during);
-    // Expand clip shape to avoid clipping when line value exceeds axis
-    if (!seriesModel.get('clip', true)) {
-      var rectShape = clipPath.shape;
-      var expandSize = Math.max(rectShape.width, rectShape.height);
-      if (isHorizontal) {
-        rectShape.y -= expandSize;
-        rectShape.height += expandSize * 2;
-      } else {
-        rectShape.x -= expandSize;
-        rectShape.width += expandSize * 2;
-      }
-    }
-    // Set to the final frame. To make sure label layout is right.
-    if (during) {
-      during(1, clipPath);
-    }
-    return clipPath;
-  } else {
-    if (process.env.NODE_ENV !== 'production') {
-      if (seriesModel.get(['endLabel', 'show'])) {
-        console.warn('endLabel is not supported for lines in polar systems.');
-      }
-    }
-    return createPolarClipPath(coordSys, hasAnimation, seriesModel);
-  }
-}
-function getEndLabelStateSpecified(endLabelModel, coordSys) {
-  var baseAxis = coordSys.getBaseAxis();
-  var isHorizontal = baseAxis.isHorizontal();
-  var isBaseInversed = baseAxis.inverse;
-  var align = isHorizontal ? isBaseInversed ? 'right' : 'left' : 'center';
-  var verticalAlign = isHorizontal ? 'middle' : isBaseInversed ? 'top' : 'bottom';
-  return {
-    normal: {
-      align: endLabelModel.get('align') || align,
-      verticalAlign: endLabelModel.get('verticalAlign') || verticalAlign
-    }
-  };
-}
-var LineView = /** @class */function (_super) {
-  __extends(LineView, _super);
-  function LineView() {
-    return _super !== null && _super.apply(this, arguments) || this;
-  }
-  LineView.prototype.init = function () {
-    var lineGroup = new graphic.Group();
-    var symbolDraw = new SymbolDraw();
-    this.group.add(symbolDraw.group);
-    this._symbolDraw = symbolDraw;
-    this._lineGroup = lineGroup;
-  };
-  LineView.prototype.render = function (seriesModel, ecModel, api) {
-    var _this = this;
-    var coordSys = seriesModel.coordinateSystem;
-    var group = this.group;
-    var data = seriesModel.getData();
-    var lineStyleModel = seriesModel.getModel('lineStyle');
-    var areaStyleModel = seriesModel.getModel('areaStyle');
-    var points = data.getLayout('points') || [];
-    var isCoordSysPolar = coordSys.type === 'polar';
-    var prevCoordSys = this._coordSys;
-    var symbolDraw = this._symbolDraw;
-    var polyline = this._polyline;
-    var polygon = this._polygon;
-    var lineGroup = this._lineGroup;
-    var hasAnimation = !ecModel.ssr && seriesModel.get('animation');
-    var isAreaChart = !areaStyleModel.isEmpty();
-    var valueOrigin = areaStyleModel.get('origin');
-    var dataCoordInfo = prepareDataCoordInfo(coordSys, data, valueOrigin);
-    var stackedOnPoints = isAreaChart && getStackedOnPoints(coordSys, data, dataCoordInfo);
-    var showSymbol = seriesModel.get('showSymbol');
-    var connectNulls = seriesModel.get('connectNulls');
-    var isIgnoreFunc = showSymbol && !isCoordSysPolar && getIsIgnoreFunc(seriesModel, data, coordSys);
-    // Remove temporary symbols
-    var oldData = this._data;
-    oldData && oldData.eachItemGraphicEl(function (el, idx) {
-      if (el.__temp) {
-        group.remove(el);
-        oldData.setItemGraphicEl(idx, null);
-      }
-    });
-    // Remove previous created symbols if showSymbol changed to false
-    if (!showSymbol) {
-      symbolDraw.remove();
-    }
-    group.add(lineGroup);
-    // FIXME step not support polar
-    var step = !isCoordSysPolar ? seriesModel.get('step') : false;
-    var clipShapeForSymbol;
-    if (coordSys && coordSys.getArea && seriesModel.get('clip', true)) {
-      clipShapeForSymbol = coordSys.getArea();
-      // Avoid float number rounding error for symbol on the edge of axis extent.
-      // See #7913 and `test/dataZoom-clip.html`.
-      if (clipShapeForSymbol.width != null) {
-        clipShapeForSymbol.x -= 0.1;
-        clipShapeForSymbol.y -= 0.1;
-        clipShapeForSymbol.width += 0.2;
-        clipShapeForSymbol.height += 0.2;
-      } else if (clipShapeForSymbol.r0) {
-        clipShapeForSymbol.r0 -= 0.5;
-        clipShapeForSymbol.r += 0.5;
-      }
-    }
-    this._clipShapeForSymbol = clipShapeForSymbol;
-    var visualColor = getVisualGradient(data, coordSys, api) || data.getVisual('style')[data.getVisual('drawType')];
-    // Initialization animation or coordinate system changed
-    if (!(polyline && prevCoordSys.type === coordSys.type && step === this._step)) {
-      showSymbol && symbolDraw.updateData(data, {
-        isIgnore: isIgnoreFunc,
-        clipShape: clipShapeForSymbol,
-        disableAnimation: true,
-        getSymbolPoint: function (idx) {
-          return [points[idx * 2], points[idx * 2 + 1]];
-        }
-      });
-      hasAnimation && this._initSymbolLabelAnimation(data, coordSys, clipShapeForSymbol);
-      if (step) {
-        // TODO If stacked series is not step
-        points = turnPointsIntoStep(points, coordSys, step, connectNulls);
-        if (stackedOnPoints) {
-          stackedOnPoints = turnPointsIntoStep(stackedOnPoints, coordSys, step, connectNulls);
-        }
-      }
-      polyline = this._newPolyline(points);
-      if (isAreaChart) {
-        polygon = this._newPolygon(points, stackedOnPoints);
-      } // If areaStyle is removed
-      else if (polygon) {
-        lineGroup.remove(polygon);
-        polygon = this._polygon = null;
-      }
-      // NOTE: Must update _endLabel before setClipPath.
-      if (!isCoordSysPolar) {
-        this._initOrUpdateEndLabel(seriesModel, coordSys, convertToColorString(visualColor));
-      }
-      lineGroup.setClipPath(createLineClipPath(this, coordSys, true, seriesModel));
-    } else {
-      if (isAreaChart && !polygon) {
-        // If areaStyle is added
-        polygon = this._newPolygon(points, stackedOnPoints);
-      } else if (polygon && !isAreaChart) {
-        // If areaStyle is removed
-        lineGroup.remove(polygon);
-        polygon = this._polygon = null;
-      }
-      // NOTE: Must update _endLabel before setClipPath.
-      if (!isCoordSysPolar) {
-        this._initOrUpdateEndLabel(seriesModel, coordSys, convertToColorString(visualColor));
-      }
-      // Update clipPath
-      var oldClipPath = lineGroup.getClipPath();
-      if (oldClipPath) {
-        var newClipPath = createLineClipPath(this, coordSys, false, seriesModel);
-        graphic.initProps(oldClipPath, {
-          shape: newClipPath.shape
-        }, seriesModel);
-      } else {
-        lineGroup.setClipPath(createLineClipPath(this, coordSys, true, seriesModel));
-      }
-      // Always update, or it is wrong in the case turning on legend
-      // because points are not changed.
-      showSymbol && symbolDraw.updateData(data, {
-        isIgnore: isIgnoreFunc,
-        clipShape: clipShapeForSymbol,
-        disableAnimation: true,
-        getSymbolPoint: function (idx) {
-          return [points[idx * 2], points[idx * 2 + 1]];
-        }
-      });
-      // In the case data zoom triggered refreshing frequently
-      // Data may not change if line has a category axis. So it should animate nothing.
-      if (!isPointsSame(this._stackedOnPoints, stackedOnPoints) || !isPointsSame(this._points, points)) {
-        if (hasAnimation) {
-          this._doUpdateAnimation(data, stackedOnPoints, coordSys, api, step, valueOrigin, connectNulls);
-        } else {
-          // Not do it in update with animation
-          if (step) {
-            // TODO If stacked series is not step
-            points = turnPointsIntoStep(points, coordSys, step, connectNulls);
-            if (stackedOnPoints) {
-              stackedOnPoints = turnPointsIntoStep(stackedOnPoints, coordSys, step, connectNulls);
-            }
-          }
-          polyline.setShape({
-            points: points
-          });
-          polygon && polygon.setShape({
-            points: points,
-            stackedOnPoints: stackedOnPoints
-          });
-        }
-      }
-    }
-    var emphasisModel = seriesModel.getModel('emphasis');
-    var focus = emphasisModel.get('focus');
-    var blurScope = emphasisModel.get('blurScope');
-    var emphasisDisabled = emphasisModel.get('disabled');
-    polyline.useStyle(zrUtil.defaults(
-    // Use color in lineStyle first
-    lineStyleModel.getLineStyle(), {
-      fill: 'none',
-      stroke: visualColor,
-      lineJoin: 'bevel'
-    }));
-    setStatesStylesFromModel(polyline, seriesModel, 'lineStyle');
-    if (polyline.style.lineWidth > 0 && seriesModel.get(['emphasis', 'lineStyle', 'width']) === 'bolder') {
-      var emphasisLineStyle = polyline.getState('emphasis').style;
-      emphasisLineStyle.lineWidth = +polyline.style.lineWidth + 1;
-    }
-    // Needs seriesIndex for focus
-    getECData(polyline).seriesIndex = seriesModel.seriesIndex;
-    toggleHoverEmphasis(polyline, focus, blurScope, emphasisDisabled);
-    var smooth = getSmooth(seriesModel.get('smooth'));
-    var smoothMonotone = seriesModel.get('smoothMonotone');
-    polyline.setShape({
-      smooth: smooth,
-      smoothMonotone: smoothMonotone,
-      connectNulls: connectNulls
-    });
-    if (polygon) {
-      var stackedOnSeries = data.getCalculationInfo('stackedOnSeries');
-      var stackedOnSmooth = 0;
-      polygon.useStyle(zrUtil.defaults(areaStyleModel.getAreaStyle(), {
-        fill: visualColor,
-        opacity: 0.7,
-        lineJoin: 'bevel',
-        decal: data.getVisual('style').decal
-      }));
-      if (stackedOnSeries) {
-        stackedOnSmooth = getSmooth(stackedOnSeries.get('smooth'));
-      }
-      polygon.setShape({
-        smooth: smooth,
-        stackedOnSmooth: stackedOnSmooth,
-        smoothMonotone: smoothMonotone,
-        connectNulls: connectNulls
-      });
-      setStatesStylesFromModel(polygon, seriesModel, 'areaStyle');
-      // Needs seriesIndex for focus
-      getECData(polygon).seriesIndex = seriesModel.seriesIndex;
-      toggleHoverEmphasis(polygon, focus, blurScope, emphasisDisabled);
-    }
-    var changePolyState = function (toState) {
-      _this._changePolyState(toState);
-    };
-    data.eachItemGraphicEl(function (el) {
-      // Switch polyline / polygon state if element changed its state.
-      el && (el.onHoverStateChange = changePolyState);
-    });
-    this._polyline.onHoverStateChange = changePolyState;
-    this._data = data;
-    // Save the coordinate system for transition animation when data changed
-    this._coordSys = coordSys;
-    this._stackedOnPoints = stackedOnPoints;
-    this._points = points;
-    this._step = step;
-    this._valueOrigin = valueOrigin;
-    if (seriesModel.get('triggerLineEvent')) {
-      this.packEventData(seriesModel, polyline);
-      polygon && this.packEventData(seriesModel, polygon);
-    }
-  };
-  LineView.prototype.packEventData = function (seriesModel, el) {
-    getECData(el).eventData = {
-      componentType: 'series',
-      componentSubType: 'line',
-      componentIndex: seriesModel.componentIndex,
-      seriesIndex: seriesModel.seriesIndex,
-      seriesName: seriesModel.name,
-      seriesType: 'line'
-    };
-  };
-  LineView.prototype.highlight = function (seriesModel, ecModel, api, payload) {
-    var data = seriesModel.getData();
-    var dataIndex = modelUtil.queryDataIndex(data, payload);
-    this._changePolyState('emphasis');
-    if (!(dataIndex instanceof Array) && dataIndex != null && dataIndex >= 0) {
-      var points = data.getLayout('points');
-      var symbol = data.getItemGraphicEl(dataIndex);
-      if (!symbol) {
-        // Create a temporary symbol if it is not exists
-        var x = points[dataIndex * 2];
-        var y = points[dataIndex * 2 + 1];
-        if (isNaN(x) || isNaN(y)) {
-          // Null data
-          return;
-        }
-        // fix #11360: shouldn't draw symbol outside clipShapeForSymbol
-        if (this._clipShapeForSymbol && !this._clipShapeForSymbol.contain(x, y)) {
-          return;
-        }
-        var zlevel = seriesModel.get('zlevel') || 0;
-        var z = seriesModel.get('z') || 0;
-        symbol = new SymbolClz(data, dataIndex);
-        symbol.x = x;
-        symbol.y = y;
-        symbol.setZ(zlevel, z);
-        // ensure label text of the temporary symbol is in front of line and area polygon
-        var symbolLabel = symbol.getSymbolPath().getTextContent();
-        if (symbolLabel) {
-          symbolLabel.zlevel = zlevel;
-          symbolLabel.z = z;
-          symbolLabel.z2 = this._polyline.z2 + 1;
-        }
-        symbol.__temp = true;
-        data.setItemGraphicEl(dataIndex, symbol);
-        // Stop scale animation
-        symbol.stopSymbolAnimation(true);
-        this.group.add(symbol);
-      }
-      symbol.highlight();
-    } else {
-      // Highlight whole series
-      ChartView.prototype.highlight.call(this, seriesModel, ecModel, api, payload);
-    }
-  };
-  LineView.prototype.downplay = function (seriesModel, ecModel, api, payload) {
-    var data = seriesModel.getData();
-    var dataIndex = modelUtil.queryDataIndex(data, payload);
-    this._changePolyState('normal');
-    if (dataIndex != null && dataIndex >= 0) {
-      var symbol = data.getItemGraphicEl(dataIndex);
-      if (symbol) {
-        if (symbol.__temp) {
-          data.setItemGraphicEl(dataIndex, null);
-          this.group.remove(symbol);
-        } else {
-          symbol.downplay();
-        }
-      }
-    } else {
-      // FIXME
-      // can not downplay completely.
-      // Downplay whole series
-      ChartView.prototype.downplay.call(this, seriesModel, ecModel, api, payload);
-    }
-  };
-  LineView.prototype._changePolyState = function (toState) {
-    var polygon = this._polygon;
-    setStatesFlag(this._polyline, toState);
-    polygon && setStatesFlag(polygon, toState);
-  };
-  LineView.prototype._newPolyline = function (points) {
-    var polyline = this._polyline;
-    // Remove previous created polyline
-    if (polyline) {
-      this._lineGroup.remove(polyline);
-    }
-    polyline = new ECPolyline({
-      shape: {
-        points: points
-      },
-      segmentIgnoreThreshold: 2,
-      z2: 10
-    });
-    this._lineGroup.add(polyline);
-    this._polyline = polyline;
-    return polyline;
-  };
-  LineView.prototype._newPolygon = function (points, stackedOnPoints) {
-    var polygon = this._polygon;
-    // Remove previous created polygon
-    if (polygon) {
-      this._lineGroup.remove(polygon);
-    }
-    polygon = new ECPolygon({
-      shape: {
-        points: points,
-        stackedOnPoints: stackedOnPoints
-      },
-      segmentIgnoreThreshold: 2
-    });
-    this._lineGroup.add(polygon);
-    this._polygon = polygon;
-    return polygon;
-  };
-  LineView.prototype._initSymbolLabelAnimation = function (data, coordSys, clipShape) {
-    var isHorizontalOrRadial;
-    var isCoordSysPolar;
-    var baseAxis = coordSys.getBaseAxis();
-    var isAxisInverse = baseAxis.inverse;
-    if (coordSys.type === 'cartesian2d') {
-      isHorizontalOrRadial = baseAxis.isHorizontal();
-      isCoordSysPolar = false;
-    } else if (coordSys.type === 'polar') {
-      isHorizontalOrRadial = baseAxis.dim === 'angle';
-      isCoordSysPolar = true;
-    }
-    var seriesModel = data.hostModel;
-    var seriesDuration = seriesModel.get('animationDuration');
-    if (zrUtil.isFunction(seriesDuration)) {
-      seriesDuration = seriesDuration(null);
-    }
-    var seriesDelay = seriesModel.get('animationDelay') || 0;
-    var seriesDelayValue = zrUtil.isFunction(seriesDelay) ? seriesDelay(null) : seriesDelay;
-    data.eachItemGraphicEl(function (symbol, idx) {
-      var el = symbol;
-      if (el) {
-        var point = [symbol.x, symbol.y];
-        var start = void 0;
-        var end = void 0;
-        var current = void 0;
-        if (clipShape) {
-          if (isCoordSysPolar) {
-            var polarClip = clipShape;
-            var coord = coordSys.pointToCoord(point);
-            if (isHorizontalOrRadial) {
-              start = polarClip.startAngle;
-              end = polarClip.endAngle;
-              current = -coord[1] / 180 * Math.PI;
-            } else {
-              start = polarClip.r0;
-              end = polarClip.r;
-              current = coord[0];
-            }
-          } else {
-            var gridClip = clipShape;
-            if (isHorizontalOrRadial) {
-              start = gridClip.x;
-              end = gridClip.x + gridClip.width;
-              current = symbol.x;
-            } else {
-              start = gridClip.y + gridClip.height;
-              end = gridClip.y;
-              current = symbol.y;
-            }
-          }
-        }
-        var ratio = end === start ? 0 : (current - start) / (end - start);
-        if (isAxisInverse) {
-          ratio = 1 - ratio;
-        }
-        var delay = zrUtil.isFunction(seriesDelay) ? seriesDelay(idx) : seriesDuration * ratio + seriesDelayValue;
-        var symbolPath = el.getSymbolPath();
-        var text = symbolPath.getTextContent();
-        el.attr({
-          scaleX: 0,
-          scaleY: 0
-        });
-        el.animateTo({
-          scaleX: 1,
-          scaleY: 1
-        }, {
-          duration: 200,
-          setToFinal: true,
-          delay: delay
-        });
-        if (text) {
-          text.animateFrom({
-            style: {
-              opacity: 0
-            }
-          }, {
-            duration: 300,
-            delay: delay
-          });
-        }
-        symbolPath.disableLabelAnimation = true;
-      }
-    });
-  };
-  LineView.prototype._initOrUpdateEndLabel = function (seriesModel, coordSys, inheritColor) {
-    var endLabelModel = seriesModel.getModel('endLabel');
-    if (anyStateShowEndLabel(seriesModel)) {
-      var data_2 = seriesModel.getData();
-      var polyline = this._polyline;
-      // series may be filtered.
-      var points = data_2.getLayout('points');
-      if (!points) {
-        polyline.removeTextContent();
-        this._endLabel = null;
-        return;
-      }
-      var endLabel = this._endLabel;
-      if (!endLabel) {
-        endLabel = this._endLabel = new graphic.Text({
-          z2: 200 // should be higher than item symbol
-        });
-
-        endLabel.ignoreClip = true;
-        polyline.setTextContent(this._endLabel);
-        polyline.disableLabelAnimation = true;
-      }
-      // Find last non-NaN data to display data
-      var dataIndex = getLastIndexNotNull(points);
-      if (dataIndex >= 0) {
-        setLabelStyle(polyline, getLabelStatesModels(seriesModel, 'endLabel'), {
-          inheritColor: inheritColor,
-          labelFetcher: seriesModel,
-          labelDataIndex: dataIndex,
-          defaultText: function (dataIndex, opt, interpolatedValue) {
-            return interpolatedValue != null ? getDefaultInterpolatedLabel(data_2, interpolatedValue) : getDefaultLabel(data_2, dataIndex);
-          },
-          enableTextSetter: true
-        }, getEndLabelStateSpecified(endLabelModel, coordSys));
-        polyline.textConfig.position = null;
-      }
-    } else if (this._endLabel) {
-      this._polyline.removeTextContent();
-      this._endLabel = null;
-    }
-  };
-  LineView.prototype._endLabelOnDuring = function (percent, clipRect, data, animationRecord, valueAnimation, endLabelModel, coordSys) {
-    var endLabel = this._endLabel;
-    var polyline = this._polyline;
-    if (endLabel) {
-      // NOTE: Don't remove percent < 1. percent === 1 means the first frame during render.
-      // The label is not prepared at this time.
-      if (percent < 1 && animationRecord.originalX == null) {
-        animationRecord.originalX = endLabel.x;
-        animationRecord.originalY = endLabel.y;
-      }
-      var points = data.getLayout('points');
-      var seriesModel = data.hostModel;
-      var connectNulls = seriesModel.get('connectNulls');
-      var precision = endLabelModel.get('precision');
-      var distance = endLabelModel.get('distance') || 0;
-      var baseAxis = coordSys.getBaseAxis();
-      var isHorizontal = baseAxis.isHorizontal();
-      var isBaseInversed = baseAxis.inverse;
-      var clipShape = clipRect.shape;
-      var xOrY = isBaseInversed ? isHorizontal ? clipShape.x : clipShape.y + clipShape.height : isHorizontal ? clipShape.x + clipShape.width : clipShape.y;
-      var distanceX = (isHorizontal ? distance : 0) * (isBaseInversed ? -1 : 1);
-      var distanceY = (isHorizontal ? 0 : -distance) * (isBaseInversed ? -1 : 1);
-      var dim = isHorizontal ? 'x' : 'y';
-      var dataIndexRange = getIndexRange(points, xOrY, dim);
-      var indices = dataIndexRange.range;
-      var diff = indices[1] - indices[0];
-      var value = void 0;
-      if (diff >= 1) {
-        // diff > 1 && connectNulls, which is on the null data.
-        if (diff > 1 && !connectNulls) {
-          var pt = getPointAtIndex(points, indices[0]);
-          endLabel.attr({
-            x: pt[0] + distanceX,
-            y: pt[1] + distanceY
-          });
-          valueAnimation && (value = seriesModel.getRawValue(indices[0]));
-        } else {
-          var pt = polyline.getPointOn(xOrY, dim);
-          pt && endLabel.attr({
-            x: pt[0] + distanceX,
-            y: pt[1] + distanceY
-          });
-          var startValue = seriesModel.getRawValue(indices[0]);
-          var endValue = seriesModel.getRawValue(indices[1]);
-          valueAnimation && (value = modelUtil.interpolateRawValues(data, precision, startValue, endValue, dataIndexRange.t));
-        }
-        animationRecord.lastFrameIndex = indices[0];
-      } else {
-        // If diff <= 0, which is the range is not found(Include NaN)
-        // Choose the first point or last point.
-        var idx = percent === 1 || animationRecord.lastFrameIndex > 0 ? indices[0] : 0;
-        var pt = getPointAtIndex(points, idx);
-        valueAnimation && (value = seriesModel.getRawValue(idx));
-        endLabel.attr({
-          x: pt[0] + distanceX,
-          y: pt[1] + distanceY
-        });
-      }
-      if (valueAnimation) {
-        var inner = labelInner(endLabel);
-        if (typeof inner.setLabelText === 'function') {
-          inner.setLabelText(value);
-        }
-      }
-    }
-  };
-  /**
-   * @private
-   */
-  // FIXME Two value axis
-  LineView.prototype._doUpdateAnimation = function (data, stackedOnPoints, coordSys, api, step, valueOrigin, connectNulls) {
-    var polyline = this._polyline;
-    var polygon = this._polygon;
-    var seriesModel = data.hostModel;
-    var diff = lineAnimationDiff(this._data, data, this._stackedOnPoints, stackedOnPoints, this._coordSys, coordSys, this._valueOrigin, valueOrigin);
-    var current = diff.current;
-    var stackedOnCurrent = diff.stackedOnCurrent;
-    var next = diff.next;
-    var stackedOnNext = diff.stackedOnNext;
-    if (step) {
-      // TODO If stacked series is not step
-      current = turnPointsIntoStep(diff.current, coordSys, step, connectNulls);
-      stackedOnCurrent = turnPointsIntoStep(diff.stackedOnCurrent, coordSys, step, connectNulls);
-      next = turnPointsIntoStep(diff.next, coordSys, step, connectNulls);
-      stackedOnNext = turnPointsIntoStep(diff.stackedOnNext, coordSys, step, connectNulls);
-    }
-    // Don't apply animation if diff is large.
-    // For better result and avoid memory explosion problems like
-    // https://github.com/apache/incubator-echarts/issues/12229
-    if (getBoundingDiff(current, next) > 3000 || polygon && getBoundingDiff(stackedOnCurrent, stackedOnNext) > 3000) {
-      polyline.stopAnimation();
-      polyline.setShape({
-        points: next
-      });
-      if (polygon) {
-        polygon.stopAnimation();
-        polygon.setShape({
-          points: next,
-          stackedOnPoints: stackedOnNext
-        });
-      }
-      return;
-    }
-    polyline.shape.__points = diff.current;
-    polyline.shape.points = current;
-    var target = {
-      shape: {
-        points: next
-      }
-    };
-    // Also animate the original points.
-    // If points reference is changed when turning into step line.
-    if (diff.current !== current) {
-      target.shape.__points = diff.next;
-    }
-    // Stop previous animation.
-    polyline.stopAnimation();
-    graphic.updateProps(polyline, target, seriesModel);
-    if (polygon) {
-      polygon.setShape({
-        // Reuse the points with polyline.
-        points: current,
-        stackedOnPoints: stackedOnCurrent
-      });
-      polygon.stopAnimation();
-      graphic.updateProps(polygon, {
-        shape: {
-          stackedOnPoints: stackedOnNext
-        }
-      }, seriesModel);
-      // If use attr directly in updateProps.
-      if (polyline.shape.points !== polygon.shape.points) {
-        polygon.shape.points = polyline.shape.points;
-      }
-    }
-    var updatedDataInfo = [];
-    var diffStatus = diff.status;
-    for (var i = 0; i < diffStatus.length; i++) {
-      var cmd = diffStatus[i].cmd;
-      if (cmd === '=') {
-        var el = data.getItemGraphicEl(diffStatus[i].idx1);
-        if (el) {
-          updatedDataInfo.push({
-            el: el,
-            ptIdx: i // Index of points
-          });
-        }
-      }
-    }
-
-    if (polyline.animators && polyline.animators.length) {
-      polyline.animators[0].during(function () {
-        polygon && polygon.dirtyShape();
-        var points = polyline.shape.__points;
-        for (var i = 0; i < updatedDataInfo.length; i++) {
-          var el = updatedDataInfo[i].el;
-          var offset = updatedDataInfo[i].ptIdx * 2;
-          el.x = points[offset];
-          el.y = points[offset + 1];
-          el.markRedraw();
-        }
-      });
-    }
-  };
-  LineView.prototype.remove = function (ecModel) {
-    var group = this.group;
-    var oldData = this._data;
-    this._lineGroup.removeAll();
-    this._symbolDraw.remove(true);
-    // Remove temporary created elements when highlighting
-    oldData && oldData.eachItemGraphicEl(function (el, idx) {
-      if (el.__temp) {
-        group.remove(el);
-        oldData.setItemGraphicEl(idx, null);
-      }
-    });
-    this._polyline = this._polygon = this._coordSys = this._points = this._stackedOnPoints = this._endLabel = this._data = null;
-  };
-  LineView.type = 'line';
-  return LineView;
-}(ChartView);
-export default LineView;

+ 0 - 123
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/line/helper.js

@@ -1,123 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { isDimensionStacked } from '../../data/helper/dataStackHelper.js';
-import { isNumber, map } from 'zrender/lib/core/util.js';
-export function prepareDataCoordInfo(coordSys, data, valueOrigin) {
-  var baseAxis = coordSys.getBaseAxis();
-  var valueAxis = coordSys.getOtherAxis(baseAxis);
-  var valueStart = getValueStart(valueAxis, valueOrigin);
-  var baseAxisDim = baseAxis.dim;
-  var valueAxisDim = valueAxis.dim;
-  var valueDim = data.mapDimension(valueAxisDim);
-  var baseDim = data.mapDimension(baseAxisDim);
-  var baseDataOffset = valueAxisDim === 'x' || valueAxisDim === 'radius' ? 1 : 0;
-  var dims = map(coordSys.dimensions, function (coordDim) {
-    return data.mapDimension(coordDim);
-  });
-  var stacked = false;
-  var stackResultDim = data.getCalculationInfo('stackResultDimension');
-  if (isDimensionStacked(data, dims[0] /* , dims[1] */)) {
-    // jshint ignore:line
-    stacked = true;
-    dims[0] = stackResultDim;
-  }
-  if (isDimensionStacked(data, dims[1] /* , dims[0] */)) {
-    // jshint ignore:line
-    stacked = true;
-    dims[1] = stackResultDim;
-  }
-  return {
-    dataDimsForPoint: dims,
-    valueStart: valueStart,
-    valueAxisDim: valueAxisDim,
-    baseAxisDim: baseAxisDim,
-    stacked: !!stacked,
-    valueDim: valueDim,
-    baseDim: baseDim,
-    baseDataOffset: baseDataOffset,
-    stackedOverDimension: data.getCalculationInfo('stackedOverDimension')
-  };
-}
-function getValueStart(valueAxis, valueOrigin) {
-  var valueStart = 0;
-  var extent = valueAxis.scale.getExtent();
-  if (valueOrigin === 'start') {
-    valueStart = extent[0];
-  } else if (valueOrigin === 'end') {
-    valueStart = extent[1];
-  }
-  // If origin is specified as a number, use it as
-  // valueStart directly
-  else if (isNumber(valueOrigin) && !isNaN(valueOrigin)) {
-    valueStart = valueOrigin;
-  }
-  // auto
-  else {
-    // Both positive
-    if (extent[0] > 0) {
-      valueStart = extent[0];
-    }
-    // Both negative
-    else if (extent[1] < 0) {
-      valueStart = extent[1];
-    }
-    // If is one positive, and one negative, onZero shall be true
-  }
-
-  return valueStart;
-}
-export function getStackedOnPoint(dataCoordInfo, coordSys, data, idx) {
-  var value = NaN;
-  if (dataCoordInfo.stacked) {
-    value = data.get(data.getCalculationInfo('stackedOverDimension'), idx);
-  }
-  if (isNaN(value)) {
-    value = dataCoordInfo.valueStart;
-  }
-  var baseDataOffset = dataCoordInfo.baseDataOffset;
-  var stackedData = [];
-  stackedData[baseDataOffset] = data.get(dataCoordInfo.baseDim, idx);
-  stackedData[1 - baseDataOffset] = value;
-  return coordSys.dataToPoint(stackedData);
-}

+ 0 - 69
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/line/install.js

@@ -1,69 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import LineSeries from './LineSeries.js';
-import LineView from './LineView.js';
-// In case developer forget to include grid component
-import layoutPoints from '../../layout/points.js';
-import dataSample from '../../processor/dataSample.js';
-export function install(registers) {
-  registers.registerChartView(LineView);
-  registers.registerSeriesModel(LineSeries);
-  registers.registerLayout(layoutPoints('line', true));
-  registers.registerVisual({
-    seriesType: 'line',
-    reset: function (seriesModel) {
-      var data = seriesModel.getData();
-      // Visual coding for legend
-      var lineStyle = seriesModel.getModel('lineStyle').getLineStyle();
-      if (lineStyle && !lineStyle.stroke) {
-        // Fill in visual should be palette color if
-        // has color callback
-        lineStyle.stroke = data.getVisual('style').fill;
-      }
-      data.setVisual('legendLineStyle', lineStyle);
-    }
-  });
-  // Down sample after filter
-  registers.registerProcessor(registers.PRIORITY.PROCESSOR.STATISTIC, dataSample('line'));
-}

+ 0 - 165
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/line/lineAnimationDiff.js

@@ -1,165 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { prepareDataCoordInfo, getStackedOnPoint } from './helper.js';
-import { createFloat32Array } from '../../util/vendor.js';
-function diffData(oldData, newData) {
-  var diffResult = [];
-  newData.diff(oldData).add(function (idx) {
-    diffResult.push({
-      cmd: '+',
-      idx: idx
-    });
-  }).update(function (newIdx, oldIdx) {
-    diffResult.push({
-      cmd: '=',
-      idx: oldIdx,
-      idx1: newIdx
-    });
-  }).remove(function (idx) {
-    diffResult.push({
-      cmd: '-',
-      idx: idx
-    });
-  }).execute();
-  return diffResult;
-}
-export default function lineAnimationDiff(oldData, newData, oldStackedOnPoints, newStackedOnPoints, oldCoordSys, newCoordSys, oldValueOrigin, newValueOrigin) {
-  var diff = diffData(oldData, newData);
-  // let newIdList = newData.mapArray(newData.getId);
-  // let oldIdList = oldData.mapArray(oldData.getId);
-  // convertToIntId(newIdList, oldIdList);
-  // // FIXME One data ?
-  // diff = arrayDiff(oldIdList, newIdList);
-  var currPoints = [];
-  var nextPoints = [];
-  // Points for stacking base line
-  var currStackedPoints = [];
-  var nextStackedPoints = [];
-  var status = [];
-  var sortedIndices = [];
-  var rawIndices = [];
-  var newDataOldCoordInfo = prepareDataCoordInfo(oldCoordSys, newData, oldValueOrigin);
-  // const oldDataNewCoordInfo = prepareDataCoordInfo(newCoordSys, oldData, newValueOrigin);
-  var oldPoints = oldData.getLayout('points') || [];
-  var newPoints = newData.getLayout('points') || [];
-  for (var i = 0; i < diff.length; i++) {
-    var diffItem = diff[i];
-    var pointAdded = true;
-    var oldIdx2 = void 0;
-    var newIdx2 = void 0;
-    // FIXME, animation is not so perfect when dataZoom window moves fast
-    // Which is in case remvoing or add more than one data in the tail or head
-    switch (diffItem.cmd) {
-      case '=':
-        oldIdx2 = diffItem.idx * 2;
-        newIdx2 = diffItem.idx1 * 2;
-        var currentX = oldPoints[oldIdx2];
-        var currentY = oldPoints[oldIdx2 + 1];
-        var nextX = newPoints[newIdx2];
-        var nextY = newPoints[newIdx2 + 1];
-        // If previous data is NaN, use next point directly
-        if (isNaN(currentX) || isNaN(currentY)) {
-          currentX = nextX;
-          currentY = nextY;
-        }
-        currPoints.push(currentX, currentY);
-        nextPoints.push(nextX, nextY);
-        currStackedPoints.push(oldStackedOnPoints[oldIdx2], oldStackedOnPoints[oldIdx2 + 1]);
-        nextStackedPoints.push(newStackedOnPoints[newIdx2], newStackedOnPoints[newIdx2 + 1]);
-        rawIndices.push(newData.getRawIndex(diffItem.idx1));
-        break;
-      case '+':
-        var newIdx = diffItem.idx;
-        var newDataDimsForPoint = newDataOldCoordInfo.dataDimsForPoint;
-        var oldPt = oldCoordSys.dataToPoint([newData.get(newDataDimsForPoint[0], newIdx), newData.get(newDataDimsForPoint[1], newIdx)]);
-        newIdx2 = newIdx * 2;
-        currPoints.push(oldPt[0], oldPt[1]);
-        nextPoints.push(newPoints[newIdx2], newPoints[newIdx2 + 1]);
-        var stackedOnPoint = getStackedOnPoint(newDataOldCoordInfo, oldCoordSys, newData, newIdx);
-        currStackedPoints.push(stackedOnPoint[0], stackedOnPoint[1]);
-        nextStackedPoints.push(newStackedOnPoints[newIdx2], newStackedOnPoints[newIdx2 + 1]);
-        rawIndices.push(newData.getRawIndex(newIdx));
-        break;
-      case '-':
-        pointAdded = false;
-    }
-    // Original indices
-    if (pointAdded) {
-      status.push(diffItem);
-      sortedIndices.push(sortedIndices.length);
-    }
-  }
-  // Diff result may be crossed if all items are changed
-  // Sort by data index
-  sortedIndices.sort(function (a, b) {
-    return rawIndices[a] - rawIndices[b];
-  });
-  var len = currPoints.length;
-  var sortedCurrPoints = createFloat32Array(len);
-  var sortedNextPoints = createFloat32Array(len);
-  var sortedCurrStackedPoints = createFloat32Array(len);
-  var sortedNextStackedPoints = createFloat32Array(len);
-  var sortedStatus = [];
-  for (var i = 0; i < sortedIndices.length; i++) {
-    var idx = sortedIndices[i];
-    var i2 = i * 2;
-    var idx2 = idx * 2;
-    sortedCurrPoints[i2] = currPoints[idx2];
-    sortedCurrPoints[i2 + 1] = currPoints[idx2 + 1];
-    sortedNextPoints[i2] = nextPoints[idx2];
-    sortedNextPoints[i2 + 1] = nextPoints[idx2 + 1];
-    sortedCurrStackedPoints[i2] = currStackedPoints[idx2];
-    sortedCurrStackedPoints[i2 + 1] = currStackedPoints[idx2 + 1];
-    sortedNextStackedPoints[i2] = nextStackedPoints[idx2];
-    sortedNextStackedPoints[i2 + 1] = nextStackedPoints[idx2 + 1];
-    sortedStatus[i] = status[idx];
-  }
-  return {
-    current: sortedCurrPoints,
-    next: sortedNextPoints,
-    stackedOnCurrent: sortedCurrStackedPoints,
-    stackedOnNext: sortedNextStackedPoints,
-    status: sortedStatus
-  };
-}

+ 0 - 353
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/line/poly.js

@@ -1,353 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-// Poly path support NaN point
-import Path from 'zrender/lib/graphic/Path.js';
-import PathProxy from 'zrender/lib/core/PathProxy.js';
-import { cubicRootAt, cubicAt } from 'zrender/lib/core/curve.js';
-var mathMin = Math.min;
-var mathMax = Math.max;
-function isPointNull(x, y) {
-  return isNaN(x) || isNaN(y);
-}
-/**
- * Draw smoothed line in non-monotone, in may cause undesired curve in extreme
- * situations. This should be used when points are non-monotone neither in x or
- * y dimension.
- */
-function drawSegment(ctx, points, start, segLen, allLen, dir, smooth, smoothMonotone, connectNulls) {
-  var prevX;
-  var prevY;
-  var cpx0;
-  var cpy0;
-  var cpx1;
-  var cpy1;
-  var idx = start;
-  var k = 0;
-  for (; k < segLen; k++) {
-    var x = points[idx * 2];
-    var y = points[idx * 2 + 1];
-    if (idx >= allLen || idx < 0) {
-      break;
-    }
-    if (isPointNull(x, y)) {
-      if (connectNulls) {
-        idx += dir;
-        continue;
-      }
-      break;
-    }
-    if (idx === start) {
-      ctx[dir > 0 ? 'moveTo' : 'lineTo'](x, y);
-      cpx0 = x;
-      cpy0 = y;
-    } else {
-      var dx = x - prevX;
-      var dy = y - prevY;
-      // Ignore tiny segment.
-      if (dx * dx + dy * dy < 0.5) {
-        idx += dir;
-        continue;
-      }
-      if (smooth > 0) {
-        var nextIdx = idx + dir;
-        var nextX = points[nextIdx * 2];
-        var nextY = points[nextIdx * 2 + 1];
-        // Ignore duplicate point
-        while (nextX === x && nextY === y && k < segLen) {
-          k++;
-          nextIdx += dir;
-          idx += dir;
-          nextX = points[nextIdx * 2];
-          nextY = points[nextIdx * 2 + 1];
-          x = points[idx * 2];
-          y = points[idx * 2 + 1];
-          dx = x - prevX;
-          dy = y - prevY;
-        }
-        var tmpK = k + 1;
-        if (connectNulls) {
-          // Find next point not null
-          while (isPointNull(nextX, nextY) && tmpK < segLen) {
-            tmpK++;
-            nextIdx += dir;
-            nextX = points[nextIdx * 2];
-            nextY = points[nextIdx * 2 + 1];
-          }
-        }
-        var ratioNextSeg = 0.5;
-        var vx = 0;
-        var vy = 0;
-        var nextCpx0 = void 0;
-        var nextCpy0 = void 0;
-        // Is last point
-        if (tmpK >= segLen || isPointNull(nextX, nextY)) {
-          cpx1 = x;
-          cpy1 = y;
-        } else {
-          vx = nextX - prevX;
-          vy = nextY - prevY;
-          var dx0 = x - prevX;
-          var dx1 = nextX - x;
-          var dy0 = y - prevY;
-          var dy1 = nextY - y;
-          var lenPrevSeg = void 0;
-          var lenNextSeg = void 0;
-          if (smoothMonotone === 'x') {
-            lenPrevSeg = Math.abs(dx0);
-            lenNextSeg = Math.abs(dx1);
-            var dir_1 = vx > 0 ? 1 : -1;
-            cpx1 = x - dir_1 * lenPrevSeg * smooth;
-            cpy1 = y;
-            nextCpx0 = x + dir_1 * lenNextSeg * smooth;
-            nextCpy0 = y;
-          } else if (smoothMonotone === 'y') {
-            lenPrevSeg = Math.abs(dy0);
-            lenNextSeg = Math.abs(dy1);
-            var dir_2 = vy > 0 ? 1 : -1;
-            cpx1 = x;
-            cpy1 = y - dir_2 * lenPrevSeg * smooth;
-            nextCpx0 = x;
-            nextCpy0 = y + dir_2 * lenNextSeg * smooth;
-          } else {
-            lenPrevSeg = Math.sqrt(dx0 * dx0 + dy0 * dy0);
-            lenNextSeg = Math.sqrt(dx1 * dx1 + dy1 * dy1);
-            // Use ratio of seg length
-            ratioNextSeg = lenNextSeg / (lenNextSeg + lenPrevSeg);
-            cpx1 = x - vx * smooth * (1 - ratioNextSeg);
-            cpy1 = y - vy * smooth * (1 - ratioNextSeg);
-            // cp0 of next segment
-            nextCpx0 = x + vx * smooth * ratioNextSeg;
-            nextCpy0 = y + vy * smooth * ratioNextSeg;
-            // Smooth constraint between point and next point.
-            // Avoid exceeding extreme after smoothing.
-            nextCpx0 = mathMin(nextCpx0, mathMax(nextX, x));
-            nextCpy0 = mathMin(nextCpy0, mathMax(nextY, y));
-            nextCpx0 = mathMax(nextCpx0, mathMin(nextX, x));
-            nextCpy0 = mathMax(nextCpy0, mathMin(nextY, y));
-            // Reclaculate cp1 based on the adjusted cp0 of next seg.
-            vx = nextCpx0 - x;
-            vy = nextCpy0 - y;
-            cpx1 = x - vx * lenPrevSeg / lenNextSeg;
-            cpy1 = y - vy * lenPrevSeg / lenNextSeg;
-            // Smooth constraint between point and prev point.
-            // Avoid exceeding extreme after smoothing.
-            cpx1 = mathMin(cpx1, mathMax(prevX, x));
-            cpy1 = mathMin(cpy1, mathMax(prevY, y));
-            cpx1 = mathMax(cpx1, mathMin(prevX, x));
-            cpy1 = mathMax(cpy1, mathMin(prevY, y));
-            // Adjust next cp0 again.
-            vx = x - cpx1;
-            vy = y - cpy1;
-            nextCpx0 = x + vx * lenNextSeg / lenPrevSeg;
-            nextCpy0 = y + vy * lenNextSeg / lenPrevSeg;
-          }
-        }
-        ctx.bezierCurveTo(cpx0, cpy0, cpx1, cpy1, x, y);
-        cpx0 = nextCpx0;
-        cpy0 = nextCpy0;
-      } else {
-        ctx.lineTo(x, y);
-      }
-    }
-    prevX = x;
-    prevY = y;
-    idx += dir;
-  }
-  return k;
-}
-var ECPolylineShape = /** @class */function () {
-  function ECPolylineShape() {
-    this.smooth = 0;
-    this.smoothConstraint = true;
-  }
-  return ECPolylineShape;
-}();
-var ECPolyline = /** @class */function (_super) {
-  __extends(ECPolyline, _super);
-  function ECPolyline(opts) {
-    var _this = _super.call(this, opts) || this;
-    _this.type = 'ec-polyline';
-    return _this;
-  }
-  ECPolyline.prototype.getDefaultStyle = function () {
-    return {
-      stroke: '#000',
-      fill: null
-    };
-  };
-  ECPolyline.prototype.getDefaultShape = function () {
-    return new ECPolylineShape();
-  };
-  ECPolyline.prototype.buildPath = function (ctx, shape) {
-    var points = shape.points;
-    var i = 0;
-    var len = points.length / 2;
-    // const result = getBoundingBox(points, shape.smoothConstraint);
-    if (shape.connectNulls) {
-      // Must remove first and last null values avoid draw error in polygon
-      for (; len > 0; len--) {
-        if (!isPointNull(points[len * 2 - 2], points[len * 2 - 1])) {
-          break;
-        }
-      }
-      for (; i < len; i++) {
-        if (!isPointNull(points[i * 2], points[i * 2 + 1])) {
-          break;
-        }
-      }
-    }
-    while (i < len) {
-      i += drawSegment(ctx, points, i, len, len, 1, shape.smooth, shape.smoothMonotone, shape.connectNulls) + 1;
-    }
-  };
-  ECPolyline.prototype.getPointOn = function (xOrY, dim) {
-    if (!this.path) {
-      this.createPathProxy();
-      this.buildPath(this.path, this.shape);
-    }
-    var path = this.path;
-    var data = path.data;
-    var CMD = PathProxy.CMD;
-    var x0;
-    var y0;
-    var isDimX = dim === 'x';
-    var roots = [];
-    for (var i = 0; i < data.length;) {
-      var cmd = data[i++];
-      var x = void 0;
-      var y = void 0;
-      var x2 = void 0;
-      var y2 = void 0;
-      var x3 = void 0;
-      var y3 = void 0;
-      var t = void 0;
-      switch (cmd) {
-        case CMD.M:
-          x0 = data[i++];
-          y0 = data[i++];
-          break;
-        case CMD.L:
-          x = data[i++];
-          y = data[i++];
-          t = isDimX ? (xOrY - x0) / (x - x0) : (xOrY - y0) / (y - y0);
-          if (t <= 1 && t >= 0) {
-            var val = isDimX ? (y - y0) * t + y0 : (x - x0) * t + x0;
-            return isDimX ? [xOrY, val] : [val, xOrY];
-          }
-          x0 = x;
-          y0 = y;
-          break;
-        case CMD.C:
-          x = data[i++];
-          y = data[i++];
-          x2 = data[i++];
-          y2 = data[i++];
-          x3 = data[i++];
-          y3 = data[i++];
-          var nRoot = isDimX ? cubicRootAt(x0, x, x2, x3, xOrY, roots) : cubicRootAt(y0, y, y2, y3, xOrY, roots);
-          if (nRoot > 0) {
-            for (var i_1 = 0; i_1 < nRoot; i_1++) {
-              var t_1 = roots[i_1];
-              if (t_1 <= 1 && t_1 >= 0) {
-                var val = isDimX ? cubicAt(y0, y, y2, y3, t_1) : cubicAt(x0, x, x2, x3, t_1);
-                return isDimX ? [xOrY, val] : [val, xOrY];
-              }
-            }
-          }
-          x0 = x3;
-          y0 = y3;
-          break;
-      }
-    }
-  };
-  return ECPolyline;
-}(Path);
-export { ECPolyline };
-var ECPolygonShape = /** @class */function (_super) {
-  __extends(ECPolygonShape, _super);
-  function ECPolygonShape() {
-    return _super !== null && _super.apply(this, arguments) || this;
-  }
-  return ECPolygonShape;
-}(ECPolylineShape);
-var ECPolygon = /** @class */function (_super) {
-  __extends(ECPolygon, _super);
-  function ECPolygon(opts) {
-    var _this = _super.call(this, opts) || this;
-    _this.type = 'ec-polygon';
-    return _this;
-  }
-  ECPolygon.prototype.getDefaultShape = function () {
-    return new ECPolygonShape();
-  };
-  ECPolygon.prototype.buildPath = function (ctx, shape) {
-    var points = shape.points;
-    var stackedOnPoints = shape.stackedOnPoints;
-    var i = 0;
-    var len = points.length / 2;
-    var smoothMonotone = shape.smoothMonotone;
-    if (shape.connectNulls) {
-      // Must remove first and last null values avoid draw error in polygon
-      for (; len > 0; len--) {
-        if (!isPointNull(points[len * 2 - 2], points[len * 2 - 1])) {
-          break;
-        }
-      }
-      for (; i < len; i++) {
-        if (!isPointNull(points[i * 2], points[i * 2 + 1])) {
-          break;
-        }
-      }
-    }
-    while (i < len) {
-      var k = drawSegment(ctx, points, i, len, len, 1, shape.smooth, smoothMonotone, shape.connectNulls);
-      drawSegment(ctx, stackedOnPoints, i + k - 1, k, len, -1, shape.stackedOnSmooth, smoothMonotone, shape.connectNulls);
-      i += k + 1;
-      ctx.closePath();
-    }
-  };
-  return ECPolygon;
-}(Path);
-export { ECPolygon };

+ 0 - 46
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/lines.js

@@ -1,46 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../extension.js';
-import { install } from './lines/install.js';
-use(install);

+ 0 - 310
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/lines/LinesSeries.js

@@ -1,310 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-/* global Uint32Array, Float64Array, Float32Array */
-import SeriesModel from '../../model/Series.js';
-import SeriesData from '../../data/SeriesData.js';
-import { concatArray, mergeAll, map, isNumber } from 'zrender/lib/core/util.js';
-import CoordinateSystem from '../../core/CoordinateSystem.js';
-import { createTooltipMarkup } from '../../component/tooltip/tooltipMarkup.js';
-var Uint32Arr = typeof Uint32Array === 'undefined' ? Array : Uint32Array;
-var Float64Arr = typeof Float64Array === 'undefined' ? Array : Float64Array;
-function compatEc2(seriesOpt) {
-  var data = seriesOpt.data;
-  if (data && data[0] && data[0][0] && data[0][0].coord) {
-    if (process.env.NODE_ENV !== 'production') {
-      console.warn('Lines data configuration has been changed to' + ' { coords:[[1,2],[2,3]] }');
-    }
-    seriesOpt.data = map(data, function (itemOpt) {
-      var coords = [itemOpt[0].coord, itemOpt[1].coord];
-      var target = {
-        coords: coords
-      };
-      if (itemOpt[0].name) {
-        target.fromName = itemOpt[0].name;
-      }
-      if (itemOpt[1].name) {
-        target.toName = itemOpt[1].name;
-      }
-      return mergeAll([target, itemOpt[0], itemOpt[1]]);
-    });
-  }
-}
-var LinesSeriesModel = /** @class */function (_super) {
-  __extends(LinesSeriesModel, _super);
-  function LinesSeriesModel() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = LinesSeriesModel.type;
-    _this.visualStyleAccessPath = 'lineStyle';
-    _this.visualDrawType = 'stroke';
-    return _this;
-  }
-  LinesSeriesModel.prototype.init = function (option) {
-    // The input data may be null/undefined.
-    option.data = option.data || [];
-    // Not using preprocessor because mergeOption may not have series.type
-    compatEc2(option);
-    var result = this._processFlatCoordsArray(option.data);
-    this._flatCoords = result.flatCoords;
-    this._flatCoordsOffset = result.flatCoordsOffset;
-    if (result.flatCoords) {
-      option.data = new Float32Array(result.count);
-    }
-    _super.prototype.init.apply(this, arguments);
-  };
-  LinesSeriesModel.prototype.mergeOption = function (option) {
-    compatEc2(option);
-    if (option.data) {
-      // Only update when have option data to merge.
-      var result = this._processFlatCoordsArray(option.data);
-      this._flatCoords = result.flatCoords;
-      this._flatCoordsOffset = result.flatCoordsOffset;
-      if (result.flatCoords) {
-        option.data = new Float32Array(result.count);
-      }
-    }
-    _super.prototype.mergeOption.apply(this, arguments);
-  };
-  LinesSeriesModel.prototype.appendData = function (params) {
-    var result = this._processFlatCoordsArray(params.data);
-    if (result.flatCoords) {
-      if (!this._flatCoords) {
-        this._flatCoords = result.flatCoords;
-        this._flatCoordsOffset = result.flatCoordsOffset;
-      } else {
-        this._flatCoords = concatArray(this._flatCoords, result.flatCoords);
-        this._flatCoordsOffset = concatArray(this._flatCoordsOffset, result.flatCoordsOffset);
-      }
-      params.data = new Float32Array(result.count);
-    }
-    this.getRawData().appendData(params.data);
-  };
-  LinesSeriesModel.prototype._getCoordsFromItemModel = function (idx) {
-    var itemModel = this.getData().getItemModel(idx);
-    var coords = itemModel.option instanceof Array ? itemModel.option : itemModel.getShallow('coords');
-    if (process.env.NODE_ENV !== 'production') {
-      if (!(coords instanceof Array && coords.length > 0 && coords[0] instanceof Array)) {
-        throw new Error('Invalid coords ' + JSON.stringify(coords) + '. Lines must have 2d coords array in data item.');
-      }
-    }
-    return coords;
-  };
-  LinesSeriesModel.prototype.getLineCoordsCount = function (idx) {
-    if (this._flatCoordsOffset) {
-      return this._flatCoordsOffset[idx * 2 + 1];
-    } else {
-      return this._getCoordsFromItemModel(idx).length;
-    }
-  };
-  LinesSeriesModel.prototype.getLineCoords = function (idx, out) {
-    if (this._flatCoordsOffset) {
-      var offset = this._flatCoordsOffset[idx * 2];
-      var len = this._flatCoordsOffset[idx * 2 + 1];
-      for (var i = 0; i < len; i++) {
-        out[i] = out[i] || [];
-        out[i][0] = this._flatCoords[offset + i * 2];
-        out[i][1] = this._flatCoords[offset + i * 2 + 1];
-      }
-      return len;
-    } else {
-      var coords = this._getCoordsFromItemModel(idx);
-      for (var i = 0; i < coords.length; i++) {
-        out[i] = out[i] || [];
-        out[i][0] = coords[i][0];
-        out[i][1] = coords[i][1];
-      }
-      return coords.length;
-    }
-  };
-  LinesSeriesModel.prototype._processFlatCoordsArray = function (data) {
-    var startOffset = 0;
-    if (this._flatCoords) {
-      startOffset = this._flatCoords.length;
-    }
-    // Stored as a typed array. In format
-    // Points Count(2) | x | y | x | y | Points Count(3) | x |  y | x | y | x | y |
-    if (isNumber(data[0])) {
-      var len = data.length;
-      // Store offset and len of each segment
-      var coordsOffsetAndLenStorage = new Uint32Arr(len);
-      var coordsStorage = new Float64Arr(len);
-      var coordsCursor = 0;
-      var offsetCursor = 0;
-      var dataCount = 0;
-      for (var i = 0; i < len;) {
-        dataCount++;
-        var count = data[i++];
-        // Offset
-        coordsOffsetAndLenStorage[offsetCursor++] = coordsCursor + startOffset;
-        // Len
-        coordsOffsetAndLenStorage[offsetCursor++] = count;
-        for (var k = 0; k < count; k++) {
-          var x = data[i++];
-          var y = data[i++];
-          coordsStorage[coordsCursor++] = x;
-          coordsStorage[coordsCursor++] = y;
-          if (i > len) {
-            if (process.env.NODE_ENV !== 'production') {
-              throw new Error('Invalid data format.');
-            }
-          }
-        }
-      }
-      return {
-        flatCoordsOffset: new Uint32Array(coordsOffsetAndLenStorage.buffer, 0, offsetCursor),
-        flatCoords: coordsStorage,
-        count: dataCount
-      };
-    }
-    return {
-      flatCoordsOffset: null,
-      flatCoords: null,
-      count: data.length
-    };
-  };
-  LinesSeriesModel.prototype.getInitialData = function (option, ecModel) {
-    if (process.env.NODE_ENV !== 'production') {
-      var CoordSys = CoordinateSystem.get(option.coordinateSystem);
-      if (!CoordSys) {
-        throw new Error('Unknown coordinate system ' + option.coordinateSystem);
-      }
-    }
-    var lineData = new SeriesData(['value'], this);
-    lineData.hasItemOption = false;
-    lineData.initData(option.data, [], function (dataItem, dimName, dataIndex, dimIndex) {
-      // dataItem is simply coords
-      if (dataItem instanceof Array) {
-        return NaN;
-      } else {
-        lineData.hasItemOption = true;
-        var value = dataItem.value;
-        if (value != null) {
-          return value instanceof Array ? value[dimIndex] : value;
-        }
-      }
-    });
-    return lineData;
-  };
-  LinesSeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) {
-    var data = this.getData();
-    var itemModel = data.getItemModel(dataIndex);
-    var name = itemModel.get('name');
-    if (name) {
-      return name;
-    }
-    var fromName = itemModel.get('fromName');
-    var toName = itemModel.get('toName');
-    var nameArr = [];
-    fromName != null && nameArr.push(fromName);
-    toName != null && nameArr.push(toName);
-    return createTooltipMarkup('nameValue', {
-      name: nameArr.join(' > ')
-    });
-  };
-  LinesSeriesModel.prototype.preventIncremental = function () {
-    return !!this.get(['effect', 'show']);
-  };
-  LinesSeriesModel.prototype.getProgressive = function () {
-    var progressive = this.option.progressive;
-    if (progressive == null) {
-      return this.option.large ? 1e4 : this.get('progressive');
-    }
-    return progressive;
-  };
-  LinesSeriesModel.prototype.getProgressiveThreshold = function () {
-    var progressiveThreshold = this.option.progressiveThreshold;
-    if (progressiveThreshold == null) {
-      return this.option.large ? 2e4 : this.get('progressiveThreshold');
-    }
-    return progressiveThreshold;
-  };
-  LinesSeriesModel.prototype.getZLevelKey = function () {
-    var effectModel = this.getModel('effect');
-    var trailLength = effectModel.get('trailLength');
-    return this.getData().count() > this.getProgressiveThreshold()
-    // Each progressive series has individual key.
-    ? this.id : effectModel.get('show') && trailLength > 0 ? trailLength + '' : '';
-  };
-  LinesSeriesModel.type = 'series.lines';
-  LinesSeriesModel.dependencies = ['grid', 'polar', 'geo', 'calendar'];
-  LinesSeriesModel.defaultOption = {
-    coordinateSystem: 'geo',
-    // zlevel: 0,
-    z: 2,
-    legendHoverLink: true,
-    // Cartesian coordinate system
-    xAxisIndex: 0,
-    yAxisIndex: 0,
-    symbol: ['none', 'none'],
-    symbolSize: [10, 10],
-    // Geo coordinate system
-    geoIndex: 0,
-    effect: {
-      show: false,
-      period: 4,
-      constantSpeed: 0,
-      symbol: 'circle',
-      symbolSize: 3,
-      loop: true,
-      trailLength: 0.2
-    },
-    large: false,
-    // Available when large is true
-    largeThreshold: 2000,
-    polyline: false,
-    clip: true,
-    label: {
-      show: false,
-      position: 'end'
-      // distance: 5,
-      // formatter: 标签文本格式器,同Tooltip.formatter,不支持异步回调
-    },
-
-    lineStyle: {
-      opacity: 0.5
-    }
-  };
-  return LinesSeriesModel;
-}(SeriesModel);
-export default LinesSeriesModel;

+ 0 - 184
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/lines/LinesView.js

@@ -1,184 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import LineDraw from '../helper/LineDraw.js';
-import EffectLine from '../helper/EffectLine.js';
-import Line from '../helper/Line.js';
-import Polyline from '../helper/Polyline.js';
-import EffectPolyline from '../helper/EffectPolyline.js';
-import LargeLineDraw from '../helper/LargeLineDraw.js';
-import linesLayout from './linesLayout.js';
-import { createClipPath } from '../helper/createClipPathFromCoordSys.js';
-import ChartView from '../../view/Chart.js';
-var LinesView = /** @class */function (_super) {
-  __extends(LinesView, _super);
-  function LinesView() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = LinesView.type;
-    return _this;
-  }
-  LinesView.prototype.render = function (seriesModel, ecModel, api) {
-    var data = seriesModel.getData();
-    var lineDraw = this._updateLineDraw(data, seriesModel);
-    var zlevel = seriesModel.get('zlevel');
-    var trailLength = seriesModel.get(['effect', 'trailLength']);
-    var zr = api.getZr();
-    // Avoid the drag cause ghost shadow
-    // FIXME Better way ?
-    // SVG doesn't support
-    var isSvg = zr.painter.getType() === 'svg';
-    if (!isSvg) {
-      zr.painter.getLayer(zlevel).clear(true);
-    }
-    // Config layer with motion blur
-    if (this._lastZlevel != null && !isSvg) {
-      zr.configLayer(this._lastZlevel, {
-        motionBlur: false
-      });
-    }
-    if (this._showEffect(seriesModel) && trailLength > 0) {
-      if (!isSvg) {
-        zr.configLayer(zlevel, {
-          motionBlur: true,
-          lastFrameAlpha: Math.max(Math.min(trailLength / 10 + 0.9, 1), 0)
-        });
-      } else if (process.env.NODE_ENV !== 'production') {
-        console.warn('SVG render mode doesn\'t support lines with trail effect');
-      }
-    }
-    lineDraw.updateData(data);
-    var clipPath = seriesModel.get('clip', true) && createClipPath(seriesModel.coordinateSystem, false, seriesModel);
-    if (clipPath) {
-      this.group.setClipPath(clipPath);
-    } else {
-      this.group.removeClipPath();
-    }
-    this._lastZlevel = zlevel;
-    this._finished = true;
-  };
-  LinesView.prototype.incrementalPrepareRender = function (seriesModel, ecModel, api) {
-    var data = seriesModel.getData();
-    var lineDraw = this._updateLineDraw(data, seriesModel);
-    lineDraw.incrementalPrepareUpdate(data);
-    this._clearLayer(api);
-    this._finished = false;
-  };
-  LinesView.prototype.incrementalRender = function (taskParams, seriesModel, ecModel) {
-    this._lineDraw.incrementalUpdate(taskParams, seriesModel.getData());
-    this._finished = taskParams.end === seriesModel.getData().count();
-  };
-  LinesView.prototype.eachRendered = function (cb) {
-    this._lineDraw && this._lineDraw.eachRendered(cb);
-  };
-  LinesView.prototype.updateTransform = function (seriesModel, ecModel, api) {
-    var data = seriesModel.getData();
-    var pipelineContext = seriesModel.pipelineContext;
-    if (!this._finished || pipelineContext.large || pipelineContext.progressiveRender) {
-      // TODO Don't have to do update in large mode. Only do it when there are millions of data.
-      return {
-        update: true
-      };
-    } else {
-      // TODO Use same logic with ScatterView.
-      // Manually update layout
-      var res = linesLayout.reset(seriesModel, ecModel, api);
-      if (res.progress) {
-        res.progress({
-          start: 0,
-          end: data.count(),
-          count: data.count()
-        }, data);
-      }
-      // Not in large mode
-      this._lineDraw.updateLayout();
-      this._clearLayer(api);
-    }
-  };
-  LinesView.prototype._updateLineDraw = function (data, seriesModel) {
-    var lineDraw = this._lineDraw;
-    var hasEffect = this._showEffect(seriesModel);
-    var isPolyline = !!seriesModel.get('polyline');
-    var pipelineContext = seriesModel.pipelineContext;
-    var isLargeDraw = pipelineContext.large;
-    if (process.env.NODE_ENV !== 'production') {
-      if (hasEffect && isLargeDraw) {
-        console.warn('Large lines not support effect');
-      }
-    }
-    if (!lineDraw || hasEffect !== this._hasEffet || isPolyline !== this._isPolyline || isLargeDraw !== this._isLargeDraw) {
-      if (lineDraw) {
-        lineDraw.remove();
-      }
-      lineDraw = this._lineDraw = isLargeDraw ? new LargeLineDraw() : new LineDraw(isPolyline ? hasEffect ? EffectPolyline : Polyline : hasEffect ? EffectLine : Line);
-      this._hasEffet = hasEffect;
-      this._isPolyline = isPolyline;
-      this._isLargeDraw = isLargeDraw;
-    }
-    this.group.add(lineDraw.group);
-    return lineDraw;
-  };
-  LinesView.prototype._showEffect = function (seriesModel) {
-    return !!seriesModel.get(['effect', 'show']);
-  };
-  LinesView.prototype._clearLayer = function (api) {
-    // Not use motion when dragging or zooming
-    var zr = api.getZr();
-    var isSvg = zr.painter.getType() === 'svg';
-    if (!isSvg && this._lastZlevel != null) {
-      zr.painter.getLayer(this._lastZlevel).clear(true);
-    }
-  };
-  LinesView.prototype.remove = function (ecModel, api) {
-    this._lineDraw && this._lineDraw.remove();
-    this._lineDraw = null;
-    // Clear motion when lineDraw is removed
-    this._clearLayer(api);
-  };
-  LinesView.prototype.dispose = function (ecModel, api) {
-    this.remove(ecModel, api);
-  };
-  LinesView.type = 'lines';
-  return LinesView;
-}(ChartView);
-export default LinesView;

+ 0 - 53
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/lines/install.js

@@ -1,53 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import LinesView from './LinesView.js';
-import LinesSeriesModel from './LinesSeries.js';
-import linesLayout from './linesLayout.js';
-import linesVisual from './linesVisual.js';
-export function install(registers) {
-  registers.registerChartView(LinesView);
-  registers.registerSeriesModel(LinesSeriesModel);
-  registers.registerLayout(linesLayout);
-  registers.registerVisual(linesVisual);
-}

+ 0 - 113
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/lines/linesLayout.js

@@ -1,113 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-/* global Float32Array */
-import createRenderPlanner from '../helper/createRenderPlanner.js';
-import { error } from '../../util/log.js';
-var linesLayout = {
-  seriesType: 'lines',
-  plan: createRenderPlanner(),
-  reset: function (seriesModel) {
-    var coordSys = seriesModel.coordinateSystem;
-    if (!coordSys) {
-      if (process.env.NODE_ENV !== 'production') {
-        error('The lines series must have a coordinate system.');
-      }
-      return;
-    }
-    var isPolyline = seriesModel.get('polyline');
-    var isLarge = seriesModel.pipelineContext.large;
-    return {
-      progress: function (params, lineData) {
-        var lineCoords = [];
-        if (isLarge) {
-          var points = void 0;
-          var segCount = params.end - params.start;
-          if (isPolyline) {
-            var totalCoordsCount = 0;
-            for (var i = params.start; i < params.end; i++) {
-              totalCoordsCount += seriesModel.getLineCoordsCount(i);
-            }
-            points = new Float32Array(segCount + totalCoordsCount * 2);
-          } else {
-            points = new Float32Array(segCount * 4);
-          }
-          var offset = 0;
-          var pt = [];
-          for (var i = params.start; i < params.end; i++) {
-            var len = seriesModel.getLineCoords(i, lineCoords);
-            if (isPolyline) {
-              points[offset++] = len;
-            }
-            for (var k = 0; k < len; k++) {
-              pt = coordSys.dataToPoint(lineCoords[k], false, pt);
-              points[offset++] = pt[0];
-              points[offset++] = pt[1];
-            }
-          }
-          lineData.setLayout('linesPoints', points);
-        } else {
-          for (var i = params.start; i < params.end; i++) {
-            var itemModel = lineData.getItemModel(i);
-            var len = seriesModel.getLineCoords(i, lineCoords);
-            var pts = [];
-            if (isPolyline) {
-              for (var j = 0; j < len; j++) {
-                pts.push(coordSys.dataToPoint(lineCoords[j]));
-              }
-            } else {
-              pts[0] = coordSys.dataToPoint(lineCoords[0]);
-              pts[1] = coordSys.dataToPoint(lineCoords[1]);
-              var curveness = itemModel.get(['lineStyle', 'curveness']);
-              if (+curveness) {
-                pts[2] = [(pts[0][0] + pts[1][0]) / 2 - (pts[0][1] - pts[1][1]) * curveness, (pts[0][1] + pts[1][1]) / 2 - (pts[1][0] - pts[0][0]) * curveness];
-              }
-            }
-            lineData.setItemLayout(i, pts);
-          }
-        }
-      }
-    };
-  }
-};
-export default linesLayout;

+ 0 - 74
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/lines/linesVisual.js

@@ -1,74 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-function normalize(a) {
-  if (!(a instanceof Array)) {
-    a = [a, a];
-  }
-  return a;
-}
-var linesVisual = {
-  seriesType: 'lines',
-  reset: function (seriesModel) {
-    var symbolType = normalize(seriesModel.get('symbol'));
-    var symbolSize = normalize(seriesModel.get('symbolSize'));
-    var data = seriesModel.getData();
-    data.setVisual('fromSymbol', symbolType && symbolType[0]);
-    data.setVisual('toSymbol', symbolType && symbolType[1]);
-    data.setVisual('fromSymbolSize', symbolSize && symbolSize[0]);
-    data.setVisual('toSymbolSize', symbolSize && symbolSize[1]);
-    function dataEach(data, idx) {
-      var itemModel = data.getItemModel(idx);
-      var symbolType = normalize(itemModel.getShallow('symbol', true));
-      var symbolSize = normalize(itemModel.getShallow('symbolSize', true));
-      symbolType[0] && data.setItemVisual(idx, 'fromSymbol', symbolType[0]);
-      symbolType[1] && data.setItemVisual(idx, 'toSymbol', symbolType[1]);
-      symbolSize[0] && data.setItemVisual(idx, 'fromSymbolSize', symbolSize[0]);
-      symbolSize[1] && data.setItemVisual(idx, 'toSymbolSize', symbolSize[1]);
-    }
-    return {
-      dataEach: data.hasItemOption ? dataEach : null
-    };
-  }
-};
-export default linesVisual;

+ 0 - 46
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/map.js

@@ -1,46 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../extension.js';
-import { install } from './map/install.js';
-use(install);

+ 0 - 247
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/map/MapSeries.js

@@ -1,247 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import * as zrUtil from 'zrender/lib/core/util.js';
-import createSeriesDataSimply from '../helper/createSeriesDataSimply.js';
-import SeriesModel from '../../model/Series.js';
-import geoSourceManager from '../../coord/geo/geoSourceManager.js';
-import { makeSeriesEncodeForNameBased } from '../../data/helper/sourceHelper.js';
-import { createTooltipMarkup } from '../../component/tooltip/tooltipMarkup.js';
-import { createSymbol } from '../../util/symbol.js';
-var MapSeries = /** @class */function (_super) {
-  __extends(MapSeries, _super);
-  function MapSeries() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = MapSeries.type;
-    // Only first map series of same mapType will drawMap.
-    _this.needsDrawMap = false;
-    // Group of all map series with same mapType
-    _this.seriesGroup = [];
-    _this.getTooltipPosition = function (dataIndex) {
-      if (dataIndex != null) {
-        var name_1 = this.getData().getName(dataIndex);
-        var geo = this.coordinateSystem;
-        var region = geo.getRegion(name_1);
-        return region && geo.dataToPoint(region.getCenter());
-      }
-    };
-    return _this;
-  }
-  MapSeries.prototype.getInitialData = function (option) {
-    var data = createSeriesDataSimply(this, {
-      coordDimensions: ['value'],
-      encodeDefaulter: zrUtil.curry(makeSeriesEncodeForNameBased, this)
-    });
-    var dataNameMap = zrUtil.createHashMap();
-    var toAppendNames = [];
-    for (var i = 0, len = data.count(); i < len; i++) {
-      var name_2 = data.getName(i);
-      dataNameMap.set(name_2, true);
-    }
-    var geoSource = geoSourceManager.load(this.getMapType(), this.option.nameMap, this.option.nameProperty);
-    zrUtil.each(geoSource.regions, function (region) {
-      var name = region.name;
-      if (!dataNameMap.get(name)) {
-        toAppendNames.push(name);
-      }
-    });
-    // Complete data with missing regions. The consequent processes (like visual
-    // map and render) can not be performed without a "full data". For example,
-    // find `dataIndex` by name.
-    data.appendValues([], toAppendNames);
-    return data;
-  };
-  /**
-   * If no host geo model, return null, which means using a
-   * inner exclusive geo model.
-   */
-  MapSeries.prototype.getHostGeoModel = function () {
-    var geoIndex = this.option.geoIndex;
-    return geoIndex != null ? this.ecModel.getComponent('geo', geoIndex) : null;
-  };
-  MapSeries.prototype.getMapType = function () {
-    return (this.getHostGeoModel() || this).option.map;
-  };
-  // _fillOption(option, mapName) {
-  // Shallow clone
-  // option = zrUtil.extend({}, option);
-  // option.data = geoCreator.getFilledRegions(option.data, mapName, option.nameMap);
-  // return option;
-  // }
-  MapSeries.prototype.getRawValue = function (dataIndex) {
-    // Use value stored in data instead because it is calculated from multiple series
-    // FIXME Provide all value of multiple series ?
-    var data = this.getData();
-    return data.get(data.mapDimension('value'), dataIndex);
-  };
-  /**
-   * Get model of region
-   */
-  MapSeries.prototype.getRegionModel = function (regionName) {
-    var data = this.getData();
-    return data.getItemModel(data.indexOfName(regionName));
-  };
-  /**
-   * Map tooltip formatter
-   */
-  MapSeries.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) {
-    // FIXME orignalData and data is a bit confusing
-    var data = this.getData();
-    var value = this.getRawValue(dataIndex);
-    var name = data.getName(dataIndex);
-    var seriesGroup = this.seriesGroup;
-    var seriesNames = [];
-    for (var i = 0; i < seriesGroup.length; i++) {
-      var otherIndex = seriesGroup[i].originalData.indexOfName(name);
-      var valueDim = data.mapDimension('value');
-      if (!isNaN(seriesGroup[i].originalData.get(valueDim, otherIndex))) {
-        seriesNames.push(seriesGroup[i].name);
-      }
-    }
-    return createTooltipMarkup('section', {
-      header: seriesNames.join(', '),
-      noHeader: !seriesNames.length,
-      blocks: [createTooltipMarkup('nameValue', {
-        name: name,
-        value: value
-      })]
-    });
-  };
-  MapSeries.prototype.setZoom = function (zoom) {
-    this.option.zoom = zoom;
-  };
-  MapSeries.prototype.setCenter = function (center) {
-    this.option.center = center;
-  };
-  MapSeries.prototype.getLegendIcon = function (opt) {
-    var iconType = opt.icon || 'roundRect';
-    var icon = createSymbol(iconType, 0, 0, opt.itemWidth, opt.itemHeight, opt.itemStyle.fill);
-    icon.setStyle(opt.itemStyle);
-    // Map do not use itemStyle.borderWidth as border width
-    icon.style.stroke = 'none';
-    // No rotation because no series visual symbol for map
-    if (iconType.indexOf('empty') > -1) {
-      icon.style.stroke = icon.style.fill;
-      icon.style.fill = '#fff';
-      icon.style.lineWidth = 2;
-    }
-    return icon;
-  };
-  MapSeries.type = 'series.map';
-  MapSeries.dependencies = ['geo'];
-  MapSeries.layoutMode = 'box';
-  MapSeries.defaultOption = {
-    // 一级层叠
-    // zlevel: 0,
-    // 二级层叠
-    z: 2,
-    coordinateSystem: 'geo',
-    // map should be explicitly specified since ec3.
-    map: '',
-    // If `geoIndex` is not specified, a exclusive geo will be
-    // created. Otherwise use the specified geo component, and
-    // `map` and `mapType` are ignored.
-    // geoIndex: 0,
-    // 'center' | 'left' | 'right' | 'x%' | {number}
-    left: 'center',
-    // 'center' | 'top' | 'bottom' | 'x%' | {number}
-    top: 'center',
-    // right
-    // bottom
-    // width:
-    // height
-    // Aspect is width / height. Inited to be geoJson bbox aspect
-    // This parameter is used for scale this aspect
-    // Default value:
-    // for geoSVG source: 1,
-    // for geoJSON source: 0.75.
-    aspectScale: null,
-    // Layout with center and size
-    // If you want to put map in a fixed size box with right aspect ratio
-    // This two properties may be more convenient.
-    // layoutCenter: [50%, 50%]
-    // layoutSize: 100
-    showLegendSymbol: true,
-    // Define left-top, right-bottom coords to control view
-    // For example, [ [180, 90], [-180, -90] ],
-    // higher priority than center and zoom
-    boundingCoords: null,
-    // Default on center of map
-    center: null,
-    zoom: 1,
-    scaleLimit: null,
-    selectedMode: true,
-    label: {
-      show: false,
-      color: '#000'
-    },
-    // scaleLimit: null,
-    itemStyle: {
-      borderWidth: 0.5,
-      borderColor: '#444',
-      areaColor: '#eee'
-    },
-    emphasis: {
-      label: {
-        show: true,
-        color: 'rgb(100,0,0)'
-      },
-      itemStyle: {
-        areaColor: 'rgba(255,215,0,0.8)'
-      }
-    },
-    select: {
-      label: {
-        show: true,
-        color: 'rgb(100,0,0)'
-      },
-      itemStyle: {
-        color: 'rgba(255,215,0,0.8)'
-      }
-    },
-    nameProperty: 'name'
-  };
-  return MapSeries;
-}(SeriesModel);
-export default MapSeries;

+ 0 - 177
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/map/MapView.js

@@ -1,177 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import * as graphic from '../../util/graphic.js';
-import MapDraw from '../../component/helper/MapDraw.js';
-import ChartView from '../../view/Chart.js';
-import { setLabelStyle, getLabelStatesModels } from '../../label/labelStyle.js';
-import { setStatesFlag, Z2_EMPHASIS_LIFT } from '../../util/states.js';
-var MapView = /** @class */function (_super) {
-  __extends(MapView, _super);
-  function MapView() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = MapView.type;
-    return _this;
-  }
-  MapView.prototype.render = function (mapModel, ecModel, api, payload) {
-    // Not render if it is an toggleSelect action from self
-    if (payload && payload.type === 'mapToggleSelect' && payload.from === this.uid) {
-      return;
-    }
-    var group = this.group;
-    group.removeAll();
-    if (mapModel.getHostGeoModel()) {
-      return;
-    }
-    if (this._mapDraw && payload && payload.type === 'geoRoam') {
-      this._mapDraw.resetForLabelLayout();
-    }
-    // Not update map if it is an roam action from self
-    if (!(payload && payload.type === 'geoRoam' && payload.componentType === 'series' && payload.seriesId === mapModel.id)) {
-      if (mapModel.needsDrawMap) {
-        var mapDraw = this._mapDraw || new MapDraw(api);
-        group.add(mapDraw.group);
-        mapDraw.draw(mapModel, ecModel, api, this, payload);
-        this._mapDraw = mapDraw;
-      } else {
-        // Remove drawn map
-        this._mapDraw && this._mapDraw.remove();
-        this._mapDraw = null;
-      }
-    } else {
-      var mapDraw = this._mapDraw;
-      mapDraw && group.add(mapDraw.group);
-    }
-    mapModel.get('showLegendSymbol') && ecModel.getComponent('legend') && this._renderSymbols(mapModel, ecModel, api);
-  };
-  MapView.prototype.remove = function () {
-    this._mapDraw && this._mapDraw.remove();
-    this._mapDraw = null;
-    this.group.removeAll();
-  };
-  MapView.prototype.dispose = function () {
-    this._mapDraw && this._mapDraw.remove();
-    this._mapDraw = null;
-  };
-  MapView.prototype._renderSymbols = function (mapModel, ecModel, api) {
-    var originalData = mapModel.originalData;
-    var group = this.group;
-    originalData.each(originalData.mapDimension('value'), function (value, originalDataIndex) {
-      if (isNaN(value)) {
-        return;
-      }
-      var layout = originalData.getItemLayout(originalDataIndex);
-      if (!layout || !layout.point) {
-        // Not exists in map
-        return;
-      }
-      var point = layout.point;
-      var offset = layout.offset;
-      var circle = new graphic.Circle({
-        style: {
-          // Because the special of map draw.
-          // Which needs statistic of multiple series and draw on one map.
-          // And each series also need a symbol with legend color
-          //
-          // Layout and visual are put one the different data
-          // TODO
-          fill: mapModel.getData().getVisual('style').fill
-        },
-        shape: {
-          cx: point[0] + offset * 9,
-          cy: point[1],
-          r: 3
-        },
-        silent: true,
-        // Do not overlap the first series, on which labels are displayed.
-        z2: 8 + (!offset ? Z2_EMPHASIS_LIFT + 1 : 0)
-      });
-      // Only the series that has the first value on the same region is in charge of rendering the label.
-      // But consider the case:
-      // series: [
-      //     {id: 'X', type: 'map', map: 'm', {data: [{name: 'A', value: 11}, {name: 'B', {value: 22}]},
-      //     {id: 'Y', type: 'map', map: 'm', {data: [{name: 'A', value: 21}, {name: 'C', {value: 33}]}
-      // ]
-      // The offset `0` of item `A` is at series `X`, but of item `C` is at series `Y`.
-      // For backward compatibility, we follow the rule that render label `A` by the
-      // settings on series `X` but render label `C` by the settings on series `Y`.
-      if (!offset) {
-        var fullData = mapModel.mainSeries.getData();
-        var name_1 = originalData.getName(originalDataIndex);
-        var fullIndex_1 = fullData.indexOfName(name_1);
-        var itemModel = originalData.getItemModel(originalDataIndex);
-        var labelModel = itemModel.getModel('label');
-        var regionGroup = fullData.getItemGraphicEl(fullIndex_1);
-        // `getFormattedLabel` needs to use `getData` inside. Here
-        // `mapModel.getData()` is shallow cloned from `mainSeries.getData()`.
-        // FIXME
-        // If this is not the `mainSeries`, the item model (like label formatter)
-        // set on original data item will never get. But it has been working
-        // like that from the beginning, and this scenario is rarely encountered.
-        // So it won't be fixed until we have to.
-        setLabelStyle(circle, getLabelStatesModels(itemModel), {
-          labelFetcher: {
-            getFormattedLabel: function (idx, state) {
-              return mapModel.getFormattedLabel(fullIndex_1, state);
-            }
-          },
-          defaultText: name_1
-        });
-        circle.disableLabelAnimation = true;
-        if (!labelModel.get('position')) {
-          circle.setTextConfig({
-            position: 'bottom'
-          });
-        }
-        regionGroup.onHoverStateChange = function (toState) {
-          setStatesFlag(circle, toState);
-        };
-      }
-      group.add(circle);
-    });
-  };
-  MapView.type = 'map';
-  return MapView;
-}(ChartView);
-export default MapView;

+ 0 - 58
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/map/install.js

@@ -1,58 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../../extension.js';
-import MapView from './MapView.js';
-import MapSeries from './MapSeries.js';
-import mapDataStatistic from './mapDataStatistic.js';
-import mapSymbolLayout from './mapSymbolLayout.js';
-import { createLegacyDataSelectAction } from '../../legacy/dataSelectAction.js';
-import { install as installGeo } from '../../component/geo/install.js';
-export function install(registers) {
-  use(installGeo);
-  registers.registerChartView(MapView);
-  registers.registerSeriesModel(MapSeries);
-  registers.registerLayout(mapSymbolLayout);
-  registers.registerProcessor(registers.PRIORITY.PROCESSOR.STATISTIC, mapDataStatistic);
-  createLegacyDataSelectAction('map', registers.registerAction);
-}

+ 0 - 104
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/map/mapDataStatistic.js

@@ -1,104 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as zrUtil from 'zrender/lib/core/util.js';
-// FIXME 公用?
-function dataStatistics(datas, statisticType) {
-  var dataNameMap = {};
-  zrUtil.each(datas, function (data) {
-    data.each(data.mapDimension('value'), function (value, idx) {
-      // Add prefix to avoid conflict with Object.prototype.
-      var mapKey = 'ec-' + data.getName(idx);
-      dataNameMap[mapKey] = dataNameMap[mapKey] || [];
-      if (!isNaN(value)) {
-        dataNameMap[mapKey].push(value);
-      }
-    });
-  });
-  return datas[0].map(datas[0].mapDimension('value'), function (value, idx) {
-    var mapKey = 'ec-' + datas[0].getName(idx);
-    var sum = 0;
-    var min = Infinity;
-    var max = -Infinity;
-    var len = dataNameMap[mapKey].length;
-    for (var i = 0; i < len; i++) {
-      min = Math.min(min, dataNameMap[mapKey][i]);
-      max = Math.max(max, dataNameMap[mapKey][i]);
-      sum += dataNameMap[mapKey][i];
-    }
-    var result;
-    if (statisticType === 'min') {
-      result = min;
-    } else if (statisticType === 'max') {
-      result = max;
-    } else if (statisticType === 'average') {
-      result = sum / len;
-    } else {
-      result = sum;
-    }
-    return len === 0 ? NaN : result;
-  });
-}
-export default function mapDataStatistic(ecModel) {
-  var seriesGroups = {};
-  ecModel.eachSeriesByType('map', function (seriesModel) {
-    var hostGeoModel = seriesModel.getHostGeoModel();
-    var key = hostGeoModel ? 'o' + hostGeoModel.id : 'i' + seriesModel.getMapType();
-    (seriesGroups[key] = seriesGroups[key] || []).push(seriesModel);
-  });
-  zrUtil.each(seriesGroups, function (seriesList, key) {
-    var data = dataStatistics(zrUtil.map(seriesList, function (seriesModel) {
-      return seriesModel.getData();
-    }), seriesList[0].get('mapValueCalculation'));
-    for (var i = 0; i < seriesList.length; i++) {
-      seriesList[i].originalData = seriesList[i].getData();
-    }
-    // FIXME Put where?
-    for (var i = 0; i < seriesList.length; i++) {
-      seriesList[i].seriesGroup = seriesList;
-      seriesList[i].needsDrawMap = i === 0 && !seriesList[i].getHostGeoModel();
-      seriesList[i].setData(data.cloneShallow());
-      seriesList[i].mainSeries = seriesList[0];
-    }
-  });
-}

+ 0 - 86
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/map/mapSymbolLayout.js

@@ -1,86 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as zrUtil from 'zrender/lib/core/util.js';
-export default function mapSymbolLayout(ecModel) {
-  var processedMapType = {};
-  ecModel.eachSeriesByType('map', function (mapSeries) {
-    var mapType = mapSeries.getMapType();
-    if (mapSeries.getHostGeoModel() || processedMapType[mapType]) {
-      return;
-    }
-    var mapSymbolOffsets = {};
-    zrUtil.each(mapSeries.seriesGroup, function (subMapSeries) {
-      var geo = subMapSeries.coordinateSystem;
-      var data = subMapSeries.originalData;
-      if (subMapSeries.get('showLegendSymbol') && ecModel.getComponent('legend')) {
-        data.each(data.mapDimension('value'), function (value, idx) {
-          var name = data.getName(idx);
-          var region = geo.getRegion(name);
-          // If input series.data is [11, 22, '-'/null/undefined, 44],
-          // it will be filled with NaN: [11, 22, NaN, 44] and NaN will
-          // not be drawn. So here must validate if value is NaN.
-          if (!region || isNaN(value)) {
-            return;
-          }
-          var offset = mapSymbolOffsets[name] || 0;
-          var point = geo.dataToPoint(region.getCenter());
-          mapSymbolOffsets[name] = offset + 1;
-          data.setItemLayout(idx, {
-            point: point,
-            offset: offset
-          });
-        });
-      }
-    });
-    // Show label of those region not has legendIcon (which is offset 0)
-    var data = mapSeries.getData();
-    data.each(function (idx) {
-      var name = data.getName(idx);
-      var layout = data.getItemLayout(idx) || {};
-      layout.showLabel = !mapSymbolOffsets[name];
-      data.setItemLayout(idx, layout);
-    });
-    processedMapType[mapType] = true;
-  });
-}

+ 0 - 46
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/parallel.js

@@ -1,46 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../extension.js';
-import { install } from './parallel/install.js';
-use(install);

+ 0 - 127
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/parallel/ParallelSeries.js

@@ -1,127 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import { each, bind } from 'zrender/lib/core/util.js';
-import SeriesModel from '../../model/Series.js';
-import createSeriesData from '../helper/createSeriesData.js';
-var ParallelSeriesModel = /** @class */function (_super) {
-  __extends(ParallelSeriesModel, _super);
-  function ParallelSeriesModel() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = ParallelSeriesModel.type;
-    _this.visualStyleAccessPath = 'lineStyle';
-    _this.visualDrawType = 'stroke';
-    return _this;
-  }
-  ParallelSeriesModel.prototype.getInitialData = function (option, ecModel) {
-    return createSeriesData(null, this, {
-      useEncodeDefaulter: bind(makeDefaultEncode, null, this)
-    });
-  };
-  /**
-   * User can get data raw indices on 'axisAreaSelected' event received.
-   *
-   * @return Raw indices
-   */
-  ParallelSeriesModel.prototype.getRawIndicesByActiveState = function (activeState) {
-    var coordSys = this.coordinateSystem;
-    var data = this.getData();
-    var indices = [];
-    coordSys.eachActiveState(data, function (theActiveState, dataIndex) {
-      if (activeState === theActiveState) {
-        indices.push(data.getRawIndex(dataIndex));
-      }
-    });
-    return indices;
-  };
-  ParallelSeriesModel.type = 'series.parallel';
-  ParallelSeriesModel.dependencies = ['parallel'];
-  ParallelSeriesModel.defaultOption = {
-    // zlevel: 0,
-    z: 2,
-    coordinateSystem: 'parallel',
-    parallelIndex: 0,
-    label: {
-      show: false
-    },
-    inactiveOpacity: 0.05,
-    activeOpacity: 1,
-    lineStyle: {
-      width: 1,
-      opacity: 0.45,
-      type: 'solid'
-    },
-    emphasis: {
-      label: {
-        show: false
-      }
-    },
-    progressive: 500,
-    smooth: false,
-    animationEasing: 'linear'
-  };
-  return ParallelSeriesModel;
-}(SeriesModel);
-function makeDefaultEncode(seriesModel) {
-  // The mapping of parallelAxis dimension to data dimension can
-  // be specified in parallelAxis.option.dim. For example, if
-  // parallelAxis.option.dim is 'dim3', it mapping to the third
-  // dimension of data. But `data.encode` has higher priority.
-  // Moreover, parallelModel.dimension should not be regarded as data
-  // dimensions. Consider dimensions = ['dim4', 'dim2', 'dim6'];
-  var parallelModel = seriesModel.ecModel.getComponent('parallel', seriesModel.get('parallelIndex'));
-  if (!parallelModel) {
-    return;
-  }
-  var encodeDefine = {};
-  each(parallelModel.dimensions, function (axisDim) {
-    var dataDimIndex = convertDimNameToNumber(axisDim);
-    encodeDefine[axisDim] = dataDimIndex;
-  });
-  return encodeDefine;
-}
-function convertDimNameToNumber(dimName) {
-  return +dimName.replace('dim', '');
-}
-export default ParallelSeriesModel;

+ 0 - 221
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/parallel/ParallelView.js

@@ -1,221 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import * as graphic from '../../util/graphic.js';
-import { setStatesStylesFromModel, toggleHoverEmphasis } from '../../util/states.js';
-import ChartView from '../../view/Chart.js';
-import { numericToNumber } from '../../util/number.js';
-import { eqNaN } from 'zrender/lib/core/util.js';
-import { saveOldStyle } from '../../animation/basicTransition.js';
-var DEFAULT_SMOOTH = 0.3;
-var ParallelView = /** @class */function (_super) {
-  __extends(ParallelView, _super);
-  function ParallelView() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = ParallelView.type;
-    _this._dataGroup = new graphic.Group();
-    _this._initialized = false;
-    return _this;
-  }
-  ParallelView.prototype.init = function () {
-    this.group.add(this._dataGroup);
-  };
-  /**
-   * @override
-   */
-  ParallelView.prototype.render = function (seriesModel, ecModel, api, payload) {
-    // Clear previously rendered progressive elements.
-    this._progressiveEls = null;
-    var dataGroup = this._dataGroup;
-    var data = seriesModel.getData();
-    var oldData = this._data;
-    var coordSys = seriesModel.coordinateSystem;
-    var dimensions = coordSys.dimensions;
-    var seriesScope = makeSeriesScope(seriesModel);
-    data.diff(oldData).add(add).update(update).remove(remove).execute();
-    function add(newDataIndex) {
-      var line = addEl(data, dataGroup, newDataIndex, dimensions, coordSys);
-      updateElCommon(line, data, newDataIndex, seriesScope);
-    }
-    function update(newDataIndex, oldDataIndex) {
-      var line = oldData.getItemGraphicEl(oldDataIndex);
-      var points = createLinePoints(data, newDataIndex, dimensions, coordSys);
-      data.setItemGraphicEl(newDataIndex, line);
-      graphic.updateProps(line, {
-        shape: {
-          points: points
-        }
-      }, seriesModel, newDataIndex);
-      saveOldStyle(line);
-      updateElCommon(line, data, newDataIndex, seriesScope);
-    }
-    function remove(oldDataIndex) {
-      var line = oldData.getItemGraphicEl(oldDataIndex);
-      dataGroup.remove(line);
-    }
-    // First create
-    if (!this._initialized) {
-      this._initialized = true;
-      var clipPath = createGridClipShape(coordSys, seriesModel, function () {
-        // Callback will be invoked immediately if there is no animation
-        setTimeout(function () {
-          dataGroup.removeClipPath();
-        });
-      });
-      dataGroup.setClipPath(clipPath);
-    }
-    this._data = data;
-  };
-  ParallelView.prototype.incrementalPrepareRender = function (seriesModel, ecModel, api) {
-    this._initialized = true;
-    this._data = null;
-    this._dataGroup.removeAll();
-  };
-  ParallelView.prototype.incrementalRender = function (taskParams, seriesModel, ecModel) {
-    var data = seriesModel.getData();
-    var coordSys = seriesModel.coordinateSystem;
-    var dimensions = coordSys.dimensions;
-    var seriesScope = makeSeriesScope(seriesModel);
-    var progressiveEls = this._progressiveEls = [];
-    for (var dataIndex = taskParams.start; dataIndex < taskParams.end; dataIndex++) {
-      var line = addEl(data, this._dataGroup, dataIndex, dimensions, coordSys);
-      line.incremental = true;
-      updateElCommon(line, data, dataIndex, seriesScope);
-      progressiveEls.push(line);
-    }
-  };
-  ParallelView.prototype.remove = function () {
-    this._dataGroup && this._dataGroup.removeAll();
-    this._data = null;
-  };
-  ParallelView.type = 'parallel';
-  return ParallelView;
-}(ChartView);
-function createGridClipShape(coordSys, seriesModel, cb) {
-  var parallelModel = coordSys.model;
-  var rect = coordSys.getRect();
-  var rectEl = new graphic.Rect({
-    shape: {
-      x: rect.x,
-      y: rect.y,
-      width: rect.width,
-      height: rect.height
-    }
-  });
-  var dim = parallelModel.get('layout') === 'horizontal' ? 'width' : 'height';
-  rectEl.setShape(dim, 0);
-  graphic.initProps(rectEl, {
-    shape: {
-      width: rect.width,
-      height: rect.height
-    }
-  }, seriesModel, cb);
-  return rectEl;
-}
-function createLinePoints(data, dataIndex, dimensions, coordSys) {
-  var points = [];
-  for (var i = 0; i < dimensions.length; i++) {
-    var dimName = dimensions[i];
-    var value = data.get(data.mapDimension(dimName), dataIndex);
-    if (!isEmptyValue(value, coordSys.getAxis(dimName).type)) {
-      points.push(coordSys.dataToPoint(value, dimName));
-    }
-  }
-  return points;
-}
-function addEl(data, dataGroup, dataIndex, dimensions, coordSys) {
-  var points = createLinePoints(data, dataIndex, dimensions, coordSys);
-  var line = new graphic.Polyline({
-    shape: {
-      points: points
-    },
-    // silent: true,
-    z2: 10
-  });
-  dataGroup.add(line);
-  data.setItemGraphicEl(dataIndex, line);
-  return line;
-}
-function makeSeriesScope(seriesModel) {
-  var smooth = seriesModel.get('smooth', true);
-  smooth === true && (smooth = DEFAULT_SMOOTH);
-  smooth = numericToNumber(smooth);
-  eqNaN(smooth) && (smooth = 0);
-  return {
-    smooth: smooth
-  };
-}
-function updateElCommon(el, data, dataIndex, seriesScope) {
-  el.useStyle(data.getItemVisual(dataIndex, 'style'));
-  el.style.fill = null;
-  el.setShape('smooth', seriesScope.smooth);
-  var itemModel = data.getItemModel(dataIndex);
-  var emphasisModel = itemModel.getModel('emphasis');
-  setStatesStylesFromModel(el, itemModel, 'lineStyle');
-  toggleHoverEmphasis(el, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled'));
-}
-// function simpleDiff(oldData, newData, dimensions) {
-//     let oldLen;
-//     if (!oldData
-//         || !oldData.__plProgressive
-//         || (oldLen = oldData.count()) !== newData.count()
-//     ) {
-//         return true;
-//     }
-//     let dimLen = dimensions.length;
-//     for (let i = 0; i < oldLen; i++) {
-//         for (let j = 0; j < dimLen; j++) {
-//             if (oldData.get(dimensions[j], i) !== newData.get(dimensions[j], i)) {
-//                 return true;
-//             }
-//         }
-//     }
-//     return false;
-// }
-// FIXME put in common util?
-function isEmptyValue(val, axisType) {
-  return axisType === 'category' ? val == null : val == null || isNaN(val); // axisType === 'value'
-}
-
-export default ParallelView;

+ 0 - 54
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/parallel/install.js

@@ -1,54 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../../extension.js';
-import ParallelView from './ParallelView.js';
-import ParallelSeriesModel from './ParallelSeries.js';
-import parallelVisual from './parallelVisual.js';
-import { install as installParallelComponent } from '../../component/parallel/install.js';
-export function install(registers) {
-  use(installParallelComponent);
-  registers.registerChartView(ParallelView);
-  registers.registerSeriesModel(ParallelSeriesModel);
-  registers.registerVisual(registers.PRIORITY.VISUAL.BRUSH, parallelVisual);
-}

+ 0 - 69
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/parallel/parallelVisual.js

@@ -1,69 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-var opacityAccessPath = ['lineStyle', 'opacity'];
-var parallelVisual = {
-  seriesType: 'parallel',
-  reset: function (seriesModel, ecModel) {
-    var coordSys = seriesModel.coordinateSystem;
-    var opacityMap = {
-      normal: seriesModel.get(['lineStyle', 'opacity']),
-      active: seriesModel.get('activeOpacity'),
-      inactive: seriesModel.get('inactiveOpacity')
-    };
-    return {
-      progress: function (params, data) {
-        coordSys.eachActiveState(data, function (activeState, dataIndex) {
-          var opacity = opacityMap[activeState];
-          if (activeState === 'normal' && data.hasItemOption) {
-            var itemOpacity = data.getItemModel(dataIndex).get(opacityAccessPath, true);
-            itemOpacity != null && (opacity = itemOpacity);
-          }
-          var existsStyle = data.ensureUniqueItemVisual(dataIndex, 'style');
-          existsStyle.opacity = opacity;
-        }, params.start, params.end);
-      }
-    };
-  }
-};
-export default parallelVisual;

+ 0 - 46
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/pictorialBar.js

@@ -1,46 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../extension.js';
-import { install } from './bar/installPictorialBar.js';
-use(install);

+ 0 - 46
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/pie.js

@@ -1,46 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../extension.js';
-import { install } from './pie/install.js';
-use(install);

+ 0 - 216
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/pie/PieSeries.js

@@ -1,216 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import createSeriesDataSimply from '../helper/createSeriesDataSimply.js';
-import * as zrUtil from 'zrender/lib/core/util.js';
-import * as modelUtil from '../../util/model.js';
-import { getPercentSeats } from '../../util/number.js';
-import { makeSeriesEncodeForNameBased } from '../../data/helper/sourceHelper.js';
-import LegendVisualProvider from '../../visual/LegendVisualProvider.js';
-import SeriesModel from '../../model/Series.js';
-var innerData = modelUtil.makeInner();
-var PieSeriesModel = /** @class */function (_super) {
-  __extends(PieSeriesModel, _super);
-  function PieSeriesModel() {
-    return _super !== null && _super.apply(this, arguments) || this;
-  }
-  /**
-   * @overwrite
-   */
-  PieSeriesModel.prototype.init = function (option) {
-    _super.prototype.init.apply(this, arguments);
-    // Enable legend selection for each data item
-    // Use a function instead of direct access because data reference may changed
-    this.legendVisualProvider = new LegendVisualProvider(zrUtil.bind(this.getData, this), zrUtil.bind(this.getRawData, this));
-    this._defaultLabelLine(option);
-  };
-  /**
-   * @overwrite
-   */
-  PieSeriesModel.prototype.mergeOption = function () {
-    _super.prototype.mergeOption.apply(this, arguments);
-  };
-  /**
-   * @overwrite
-   */
-  PieSeriesModel.prototype.getInitialData = function () {
-    return createSeriesDataSimply(this, {
-      coordDimensions: ['value'],
-      encodeDefaulter: zrUtil.curry(makeSeriesEncodeForNameBased, this)
-    });
-  };
-  /**
-   * @overwrite
-   */
-  PieSeriesModel.prototype.getDataParams = function (dataIndex) {
-    var data = this.getData();
-    // update seats when data is changed
-    var dataInner = innerData(data);
-    var seats = dataInner.seats;
-    if (!seats) {
-      var valueList_1 = [];
-      data.each(data.mapDimension('value'), function (value) {
-        valueList_1.push(value);
-      });
-      seats = dataInner.seats = getPercentSeats(valueList_1, data.hostModel.get('percentPrecision'));
-    }
-    var params = _super.prototype.getDataParams.call(this, dataIndex);
-    // seats may be empty when sum is 0
-    params.percent = seats[dataIndex] || 0;
-    params.$vars.push('percent');
-    return params;
-  };
-  PieSeriesModel.prototype._defaultLabelLine = function (option) {
-    // Extend labelLine emphasis
-    modelUtil.defaultEmphasis(option, 'labelLine', ['show']);
-    var labelLineNormalOpt = option.labelLine;
-    var labelLineEmphasisOpt = option.emphasis.labelLine;
-    // Not show label line if `label.normal.show = false`
-    labelLineNormalOpt.show = labelLineNormalOpt.show && option.label.show;
-    labelLineEmphasisOpt.show = labelLineEmphasisOpt.show && option.emphasis.label.show;
-  };
-  PieSeriesModel.type = 'series.pie';
-  PieSeriesModel.defaultOption = {
-    // zlevel: 0,
-    z: 2,
-    legendHoverLink: true,
-    colorBy: 'data',
-    // 默认全局居中
-    center: ['50%', '50%'],
-    radius: [0, '75%'],
-    // 默认顺时针
-    clockwise: true,
-    startAngle: 90,
-    endAngle: 'auto',
-    padAngle: 0,
-    // 最小角度改为0
-    minAngle: 0,
-    // If the angle of a sector less than `minShowLabelAngle`,
-    // the label will not be displayed.
-    minShowLabelAngle: 0,
-    // 选中时扇区偏移量
-    selectedOffset: 10,
-    // 选择模式,默认关闭,可选single,multiple
-    // selectedMode: false,
-    // 南丁格尔玫瑰图模式,'radius'(半径) | 'area'(面积)
-    // roseType: null,
-    percentPrecision: 2,
-    // If still show when all data zero.
-    stillShowZeroSum: true,
-    // cursor: null,
-    left: 0,
-    top: 0,
-    right: 0,
-    bottom: 0,
-    width: null,
-    height: null,
-    label: {
-      // color: 'inherit',
-      // If rotate around circle
-      rotate: 0,
-      show: true,
-      overflow: 'truncate',
-      // 'outer', 'inside', 'center'
-      position: 'outer',
-      // 'none', 'labelLine', 'edge'. Works only when position is 'outer'
-      alignTo: 'none',
-      // Closest distance between label and chart edge.
-      // Works only position is 'outer' and alignTo is 'edge'.
-      edgeDistance: '25%',
-      // Works only position is 'outer' and alignTo is not 'edge'.
-      bleedMargin: 10,
-      // Distance between text and label line.
-      distanceToLabelLine: 5
-      // formatter: 标签文本格式器,同 tooltip.formatter,不支持异步回调
-      // 默认使用全局文本样式,详见 textStyle
-      // distance: 当position为inner时有效,为label位置到圆心的距离与圆半径(环状图为内外半径和)的比例系数
-    },
-
-    // Enabled when label.normal.position is 'outer'
-    labelLine: {
-      show: true,
-      // 引导线两段中的第一段长度
-      length: 15,
-      // 引导线两段中的第二段长度
-      length2: 15,
-      smooth: false,
-      minTurnAngle: 90,
-      maxSurfaceAngle: 90,
-      lineStyle: {
-        // color: 各异,
-        width: 1,
-        type: 'solid'
-      }
-    },
-    itemStyle: {
-      borderWidth: 1,
-      borderJoin: 'round'
-    },
-    showEmptyCircle: true,
-    emptyCircleStyle: {
-      color: 'lightgray',
-      opacity: 1
-    },
-    labelLayout: {
-      // Hide the overlapped label.
-      hideOverlap: true
-    },
-    emphasis: {
-      scale: true,
-      scaleSize: 5
-    },
-    // If use strategy to avoid label overlapping
-    avoidLabelOverlap: true,
-    // Animation type. Valid values: expansion, scale
-    animationType: 'expansion',
-    animationDuration: 1000,
-    // Animation type when update. Valid values: transition, expansion
-    animationTypeUpdate: 'transition',
-    animationEasingUpdate: 'cubicInOut',
-    animationDurationUpdate: 500,
-    animationEasing: 'cubicInOut'
-  };
-  return PieSeriesModel;
-}(SeriesModel);
-export default PieSeriesModel;

+ 0 - 283
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/pie/PieView.js

@@ -1,283 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import { extend, retrieve3 } from 'zrender/lib/core/util.js';
-import * as graphic from '../../util/graphic.js';
-import { setStatesStylesFromModel, toggleHoverEmphasis } from '../../util/states.js';
-import ChartView from '../../view/Chart.js';
-import labelLayout from './labelLayout.js';
-import { setLabelLineStyle, getLabelLineStatesModels } from '../../label/labelGuideHelper.js';
-import { setLabelStyle, getLabelStatesModels } from '../../label/labelStyle.js';
-import { getSectorCornerRadius } from '../helper/sectorHelper.js';
-import { saveOldStyle } from '../../animation/basicTransition.js';
-import { getBasicPieLayout, getSeriesLayoutData } from './pieLayout.js';
-/**
- * Piece of pie including Sector, Label, LabelLine
- */
-var PiePiece = /** @class */function (_super) {
-  __extends(PiePiece, _super);
-  function PiePiece(data, idx, startAngle) {
-    var _this = _super.call(this) || this;
-    _this.z2 = 2;
-    var text = new graphic.Text();
-    _this.setTextContent(text);
-    _this.updateData(data, idx, startAngle, true);
-    return _this;
-  }
-  PiePiece.prototype.updateData = function (data, idx, startAngle, firstCreate) {
-    var sector = this;
-    var seriesModel = data.hostModel;
-    var itemModel = data.getItemModel(idx);
-    var emphasisModel = itemModel.getModel('emphasis');
-    var layout = data.getItemLayout(idx);
-    // cornerRadius & innerCornerRadius doesn't exist in the item layout. Use `0` if null value is specified.
-    // see `setItemLayout` in `pieLayout.ts`.
-    var sectorShape = extend(getSectorCornerRadius(itemModel.getModel('itemStyle'), layout, true), layout);
-    // Ignore NaN data.
-    if (isNaN(sectorShape.startAngle)) {
-      // Use NaN shape to avoid drawing shape.
-      sector.setShape(sectorShape);
-      return;
-    }
-    if (firstCreate) {
-      sector.setShape(sectorShape);
-      var animationType = seriesModel.getShallow('animationType');
-      if (seriesModel.ecModel.ssr) {
-        // Use scale animation in SSR mode(opacity?)
-        // Because CSS SVG animation doesn't support very customized shape animation.
-        graphic.initProps(sector, {
-          scaleX: 0,
-          scaleY: 0
-        }, seriesModel, {
-          dataIndex: idx,
-          isFrom: true
-        });
-        sector.originX = sectorShape.cx;
-        sector.originY = sectorShape.cy;
-      } else if (animationType === 'scale') {
-        sector.shape.r = layout.r0;
-        graphic.initProps(sector, {
-          shape: {
-            r: layout.r
-          }
-        }, seriesModel, idx);
-      }
-      // Expansion
-      else {
-        if (startAngle != null) {
-          sector.setShape({
-            startAngle: startAngle,
-            endAngle: startAngle
-          });
-          graphic.initProps(sector, {
-            shape: {
-              startAngle: layout.startAngle,
-              endAngle: layout.endAngle
-            }
-          }, seriesModel, idx);
-        } else {
-          sector.shape.endAngle = layout.startAngle;
-          graphic.updateProps(sector, {
-            shape: {
-              endAngle: layout.endAngle
-            }
-          }, seriesModel, idx);
-        }
-      }
-    } else {
-      saveOldStyle(sector);
-      // Transition animation from the old shape
-      graphic.updateProps(sector, {
-        shape: sectorShape
-      }, seriesModel, idx);
-    }
-    sector.useStyle(data.getItemVisual(idx, 'style'));
-    setStatesStylesFromModel(sector, itemModel);
-    var midAngle = (layout.startAngle + layout.endAngle) / 2;
-    var offset = seriesModel.get('selectedOffset');
-    var dx = Math.cos(midAngle) * offset;
-    var dy = Math.sin(midAngle) * offset;
-    var cursorStyle = itemModel.getShallow('cursor');
-    cursorStyle && sector.attr('cursor', cursorStyle);
-    this._updateLabel(seriesModel, data, idx);
-    sector.ensureState('emphasis').shape = extend({
-      r: layout.r + (emphasisModel.get('scale') ? emphasisModel.get('scaleSize') || 0 : 0)
-    }, getSectorCornerRadius(emphasisModel.getModel('itemStyle'), layout));
-    extend(sector.ensureState('select'), {
-      x: dx,
-      y: dy,
-      shape: getSectorCornerRadius(itemModel.getModel(['select', 'itemStyle']), layout)
-    });
-    extend(sector.ensureState('blur'), {
-      shape: getSectorCornerRadius(itemModel.getModel(['blur', 'itemStyle']), layout)
-    });
-    var labelLine = sector.getTextGuideLine();
-    var labelText = sector.getTextContent();
-    labelLine && extend(labelLine.ensureState('select'), {
-      x: dx,
-      y: dy
-    });
-    // TODO: needs dx, dy in zrender?
-    extend(labelText.ensureState('select'), {
-      x: dx,
-      y: dy
-    });
-    toggleHoverEmphasis(this, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled'));
-  };
-  PiePiece.prototype._updateLabel = function (seriesModel, data, idx) {
-    var sector = this;
-    var itemModel = data.getItemModel(idx);
-    var labelLineModel = itemModel.getModel('labelLine');
-    var style = data.getItemVisual(idx, 'style');
-    var visualColor = style && style.fill;
-    var visualOpacity = style && style.opacity;
-    setLabelStyle(sector, getLabelStatesModels(itemModel), {
-      labelFetcher: data.hostModel,
-      labelDataIndex: idx,
-      inheritColor: visualColor,
-      defaultOpacity: visualOpacity,
-      defaultText: seriesModel.getFormattedLabel(idx, 'normal') || data.getName(idx)
-    });
-    var labelText = sector.getTextContent();
-    // Set textConfig on sector.
-    sector.setTextConfig({
-      // reset position, rotation
-      position: null,
-      rotation: null
-    });
-    // Make sure update style on labelText after setLabelStyle.
-    // Because setLabelStyle will replace a new style on it.
-    labelText.attr({
-      z2: 10
-    });
-    var labelPosition = seriesModel.get(['label', 'position']);
-    if (labelPosition !== 'outside' && labelPosition !== 'outer') {
-      sector.removeTextGuideLine();
-    } else {
-      var polyline = this.getTextGuideLine();
-      if (!polyline) {
-        polyline = new graphic.Polyline();
-        this.setTextGuideLine(polyline);
-      }
-      // Default use item visual color
-      setLabelLineStyle(this, getLabelLineStatesModels(itemModel), {
-        stroke: visualColor,
-        opacity: retrieve3(labelLineModel.get(['lineStyle', 'opacity']), visualOpacity, 1)
-      });
-    }
-  };
-  return PiePiece;
-}(graphic.Sector);
-// Pie view
-var PieView = /** @class */function (_super) {
-  __extends(PieView, _super);
-  function PieView() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.ignoreLabelLineUpdate = true;
-    return _this;
-  }
-  PieView.prototype.render = function (seriesModel, ecModel, api, payload) {
-    var data = seriesModel.getData();
-    var oldData = this._data;
-    var group = this.group;
-    var startAngle;
-    // First render
-    if (!oldData && data.count() > 0) {
-      var shape = data.getItemLayout(0);
-      for (var s = 1; isNaN(shape && shape.startAngle) && s < data.count(); ++s) {
-        shape = data.getItemLayout(s);
-      }
-      if (shape) {
-        startAngle = shape.startAngle;
-      }
-    }
-    // remove empty-circle if it exists
-    if (this._emptyCircleSector) {
-      group.remove(this._emptyCircleSector);
-    }
-    // when all data are filtered, show lightgray empty circle
-    if (data.count() === 0 && seriesModel.get('showEmptyCircle')) {
-      var layoutData = getSeriesLayoutData(seriesModel);
-      var sector = new graphic.Sector({
-        shape: extend(getBasicPieLayout(seriesModel, api), layoutData)
-      });
-      sector.useStyle(seriesModel.getModel('emptyCircleStyle').getItemStyle());
-      this._emptyCircleSector = sector;
-      group.add(sector);
-    }
-    data.diff(oldData).add(function (idx) {
-      var piePiece = new PiePiece(data, idx, startAngle);
-      data.setItemGraphicEl(idx, piePiece);
-      group.add(piePiece);
-    }).update(function (newIdx, oldIdx) {
-      var piePiece = oldData.getItemGraphicEl(oldIdx);
-      piePiece.updateData(data, newIdx, startAngle);
-      piePiece.off('click');
-      group.add(piePiece);
-      data.setItemGraphicEl(newIdx, piePiece);
-    }).remove(function (idx) {
-      var piePiece = oldData.getItemGraphicEl(idx);
-      graphic.removeElementWithFadeOut(piePiece, seriesModel, idx);
-    }).execute();
-    labelLayout(seriesModel);
-    // Always use initial animation.
-    if (seriesModel.get('animationTypeUpdate') !== 'expansion') {
-      this._data = data;
-    }
-  };
-  PieView.prototype.dispose = function () {};
-  PieView.prototype.containPoint = function (point, seriesModel) {
-    var data = seriesModel.getData();
-    var itemLayout = data.getItemLayout(0);
-    if (itemLayout) {
-      var dx = point[0] - itemLayout.cx;
-      var dy = point[1] - itemLayout.cy;
-      var radius = Math.sqrt(dx * dx + dy * dy);
-      return radius <= itemLayout.r && radius >= itemLayout.r0;
-    }
-  };
-  PieView.type = 'pie';
-  return PieView;
-}(ChartView);
-export default PieView;

+ 0 - 58
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/pie/install.js

@@ -1,58 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { createLegacyDataSelectAction } from '../../legacy/dataSelectAction.js';
-import pieLayout from '../pie/pieLayout.js';
-import dataFilter from '../../processor/dataFilter.js';
-import { curry } from 'zrender/lib/core/util.js';
-import PieView from './PieView.js';
-import PieSeriesModel from './PieSeries.js';
-import negativeDataFilter from '../../processor/negativeDataFilter.js';
-export function install(registers) {
-  registers.registerChartView(PieView);
-  registers.registerSeriesModel(PieSeriesModel);
-  createLegacyDataSelectAction('pie', registers.registerAction);
-  registers.registerLayout(curry(pieLayout, 'pie'));
-  registers.registerProcessor(dataFilter('pie'));
-  registers.registerProcessor(negativeDataFilter('pie'));
-}

+ 0 - 474
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/pie/labelLayout.js

@@ -1,474 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-// FIXME emphasis label position is not same with normal label position
-import { parsePercent } from '../../util/number.js';
-import { Point } from '../../util/graphic.js';
-import { each, isNumber } from 'zrender/lib/core/util.js';
-import { limitTurnAngle, limitSurfaceAngle } from '../../label/labelGuideHelper.js';
-import { shiftLayoutOnY } from '../../label/labelLayoutHelper.js';
-var RADIAN = Math.PI / 180;
-function adjustSingleSide(list, cx, cy, r, dir, viewWidth, viewHeight, viewLeft, viewTop, farthestX) {
-  if (list.length < 2) {
-    return;
-  }
-  ;
-  function recalculateXOnSemiToAlignOnEllipseCurve(semi) {
-    var rB = semi.rB;
-    var rB2 = rB * rB;
-    for (var i = 0; i < semi.list.length; i++) {
-      var item = semi.list[i];
-      var dy = Math.abs(item.label.y - cy);
-      // horizontal r is always same with original r because x is not changed.
-      var rA = r + item.len;
-      var rA2 = rA * rA;
-      // Use ellipse implicit function to calculate x
-      var dx = Math.sqrt((1 - Math.abs(dy * dy / rB2)) * rA2);
-      var newX = cx + (dx + item.len2) * dir;
-      var deltaX = newX - item.label.x;
-      var newTargetWidth = item.targetTextWidth - deltaX * dir;
-      // text x is changed, so need to recalculate width.
-      constrainTextWidth(item, newTargetWidth, true);
-      item.label.x = newX;
-    }
-  }
-  // Adjust X based on the shifted y. Make tight labels aligned on an ellipse curve.
-  function recalculateX(items) {
-    // Extremes of
-    var topSemi = {
-      list: [],
-      maxY: 0
-    };
-    var bottomSemi = {
-      list: [],
-      maxY: 0
-    };
-    for (var i = 0; i < items.length; i++) {
-      if (items[i].labelAlignTo !== 'none') {
-        continue;
-      }
-      var item = items[i];
-      var semi = item.label.y > cy ? bottomSemi : topSemi;
-      var dy = Math.abs(item.label.y - cy);
-      if (dy >= semi.maxY) {
-        var dx = item.label.x - cx - item.len2 * dir;
-        // horizontal r is always same with original r because x is not changed.
-        var rA = r + item.len;
-        // Canculate rB based on the topest / bottemest label.
-        var rB = Math.abs(dx) < rA ? Math.sqrt(dy * dy / (1 - dx * dx / rA / rA)) : rA;
-        semi.rB = rB;
-        semi.maxY = dy;
-      }
-      semi.list.push(item);
-    }
-    recalculateXOnSemiToAlignOnEllipseCurve(topSemi);
-    recalculateXOnSemiToAlignOnEllipseCurve(bottomSemi);
-  }
-  var len = list.length;
-  for (var i = 0; i < len; i++) {
-    if (list[i].position === 'outer' && list[i].labelAlignTo === 'labelLine') {
-      var dx = list[i].label.x - farthestX;
-      list[i].linePoints[1][0] += dx;
-      list[i].label.x = farthestX;
-    }
-  }
-  if (shiftLayoutOnY(list, viewTop, viewTop + viewHeight)) {
-    recalculateX(list);
-  }
-}
-function avoidOverlap(labelLayoutList, cx, cy, r, viewWidth, viewHeight, viewLeft, viewTop) {
-  var leftList = [];
-  var rightList = [];
-  var leftmostX = Number.MAX_VALUE;
-  var rightmostX = -Number.MAX_VALUE;
-  for (var i = 0; i < labelLayoutList.length; i++) {
-    var label = labelLayoutList[i].label;
-    if (isPositionCenter(labelLayoutList[i])) {
-      continue;
-    }
-    if (label.x < cx) {
-      leftmostX = Math.min(leftmostX, label.x);
-      leftList.push(labelLayoutList[i]);
-    } else {
-      rightmostX = Math.max(rightmostX, label.x);
-      rightList.push(labelLayoutList[i]);
-    }
-  }
-  for (var i = 0; i < labelLayoutList.length; i++) {
-    var layout = labelLayoutList[i];
-    if (!isPositionCenter(layout) && layout.linePoints) {
-      if (layout.labelStyleWidth != null) {
-        continue;
-      }
-      var label = layout.label;
-      var linePoints = layout.linePoints;
-      var targetTextWidth = void 0;
-      if (layout.labelAlignTo === 'edge') {
-        if (label.x < cx) {
-          targetTextWidth = linePoints[2][0] - layout.labelDistance - viewLeft - layout.edgeDistance;
-        } else {
-          targetTextWidth = viewLeft + viewWidth - layout.edgeDistance - linePoints[2][0] - layout.labelDistance;
-        }
-      } else if (layout.labelAlignTo === 'labelLine') {
-        if (label.x < cx) {
-          targetTextWidth = leftmostX - viewLeft - layout.bleedMargin;
-        } else {
-          targetTextWidth = viewLeft + viewWidth - rightmostX - layout.bleedMargin;
-        }
-      } else {
-        if (label.x < cx) {
-          targetTextWidth = label.x - viewLeft - layout.bleedMargin;
-        } else {
-          targetTextWidth = viewLeft + viewWidth - label.x - layout.bleedMargin;
-        }
-      }
-      layout.targetTextWidth = targetTextWidth;
-      constrainTextWidth(layout, targetTextWidth);
-    }
-  }
-  adjustSingleSide(rightList, cx, cy, r, 1, viewWidth, viewHeight, viewLeft, viewTop, rightmostX);
-  adjustSingleSide(leftList, cx, cy, r, -1, viewWidth, viewHeight, viewLeft, viewTop, leftmostX);
-  for (var i = 0; i < labelLayoutList.length; i++) {
-    var layout = labelLayoutList[i];
-    if (!isPositionCenter(layout) && layout.linePoints) {
-      var label = layout.label;
-      var linePoints = layout.linePoints;
-      var isAlignToEdge = layout.labelAlignTo === 'edge';
-      var padding = label.style.padding;
-      var paddingH = padding ? padding[1] + padding[3] : 0;
-      // textRect.width already contains paddingH if bgColor is set
-      var extraPaddingH = label.style.backgroundColor ? 0 : paddingH;
-      var realTextWidth = layout.rect.width + extraPaddingH;
-      var dist = linePoints[1][0] - linePoints[2][0];
-      if (isAlignToEdge) {
-        if (label.x < cx) {
-          linePoints[2][0] = viewLeft + layout.edgeDistance + realTextWidth + layout.labelDistance;
-        } else {
-          linePoints[2][0] = viewLeft + viewWidth - layout.edgeDistance - realTextWidth - layout.labelDistance;
-        }
-      } else {
-        if (label.x < cx) {
-          linePoints[2][0] = label.x + layout.labelDistance;
-        } else {
-          linePoints[2][0] = label.x - layout.labelDistance;
-        }
-        linePoints[1][0] = linePoints[2][0] + dist;
-      }
-      linePoints[1][1] = linePoints[2][1] = label.y;
-    }
-  }
-}
-/**
- * Set max width of each label, and then wrap each label to the max width.
- *
- * @param layout label layout
- * @param availableWidth max width for the label to display
- * @param forceRecalculate recaculate the text layout even if the current width
- * is smaller than `availableWidth`. This is useful when the text was previously
- * wrapped by calling `constrainTextWidth` but now `availableWidth` changed, in
- * which case, previous wrapping should be redo.
- */
-function constrainTextWidth(layout, availableWidth, forceRecalculate) {
-  if (forceRecalculate === void 0) {
-    forceRecalculate = false;
-  }
-  if (layout.labelStyleWidth != null) {
-    // User-defined style.width has the highest priority.
-    return;
-  }
-  var label = layout.label;
-  var style = label.style;
-  var textRect = layout.rect;
-  var bgColor = style.backgroundColor;
-  var padding = style.padding;
-  var paddingH = padding ? padding[1] + padding[3] : 0;
-  var overflow = style.overflow;
-  // textRect.width already contains paddingH if bgColor is set
-  var oldOuterWidth = textRect.width + (bgColor ? 0 : paddingH);
-  if (availableWidth < oldOuterWidth || forceRecalculate) {
-    var oldHeight = textRect.height;
-    if (overflow && overflow.match('break')) {
-      // Temporarily set background to be null to calculate
-      // the bounding box without background.
-      label.setStyle('backgroundColor', null);
-      // Set constraining width
-      label.setStyle('width', availableWidth - paddingH);
-      // This is the real bounding box of the text without padding.
-      var innerRect = label.getBoundingRect();
-      label.setStyle('width', Math.ceil(innerRect.width));
-      label.setStyle('backgroundColor', bgColor);
-    } else {
-      var availableInnerWidth = availableWidth - paddingH;
-      var newWidth = availableWidth < oldOuterWidth
-      // Current text is too wide, use `availableWidth` as max width.
-      ? availableInnerWidth :
-      // Current available width is enough, but the text may have
-      // already been wrapped with a smaller available width.
-      forceRecalculate ? availableInnerWidth > layout.unconstrainedWidth
-      // Current available is larger than text width,
-      // so don't constrain width (otherwise it may have
-      // empty space in the background).
-      ? null
-      // Current available is smaller than text width, so
-      // use the current available width as constraining
-      // width.
-      : availableInnerWidth
-      // Current available width is enough, so no need to
-      // constrain.
-      : null;
-      label.setStyle('width', newWidth);
-    }
-    var newRect = label.getBoundingRect();
-    textRect.width = newRect.width;
-    var margin = (label.style.margin || 0) + 2.1;
-    textRect.height = newRect.height + margin;
-    textRect.y -= (textRect.height - oldHeight) / 2;
-  }
-}
-function isPositionCenter(sectorShape) {
-  // Not change x for center label
-  return sectorShape.position === 'center';
-}
-export default function pieLabelLayout(seriesModel) {
-  var data = seriesModel.getData();
-  var labelLayoutList = [];
-  var cx;
-  var cy;
-  var hasLabelRotate = false;
-  var minShowLabelRadian = (seriesModel.get('minShowLabelAngle') || 0) * RADIAN;
-  var viewRect = data.getLayout('viewRect');
-  var r = data.getLayout('r');
-  var viewWidth = viewRect.width;
-  var viewLeft = viewRect.x;
-  var viewTop = viewRect.y;
-  var viewHeight = viewRect.height;
-  function setNotShow(el) {
-    el.ignore = true;
-  }
-  function isLabelShown(label) {
-    if (!label.ignore) {
-      return true;
-    }
-    for (var key in label.states) {
-      if (label.states[key].ignore === false) {
-        return true;
-      }
-    }
-    return false;
-  }
-  data.each(function (idx) {
-    var sector = data.getItemGraphicEl(idx);
-    var sectorShape = sector.shape;
-    var label = sector.getTextContent();
-    var labelLine = sector.getTextGuideLine();
-    var itemModel = data.getItemModel(idx);
-    var labelModel = itemModel.getModel('label');
-    // Use position in normal or emphasis
-    var labelPosition = labelModel.get('position') || itemModel.get(['emphasis', 'label', 'position']);
-    var labelDistance = labelModel.get('distanceToLabelLine');
-    var labelAlignTo = labelModel.get('alignTo');
-    var edgeDistance = parsePercent(labelModel.get('edgeDistance'), viewWidth);
-    var bleedMargin = labelModel.get('bleedMargin');
-    var labelLineModel = itemModel.getModel('labelLine');
-    var labelLineLen = labelLineModel.get('length');
-    labelLineLen = parsePercent(labelLineLen, viewWidth);
-    var labelLineLen2 = labelLineModel.get('length2');
-    labelLineLen2 = parsePercent(labelLineLen2, viewWidth);
-    if (Math.abs(sectorShape.endAngle - sectorShape.startAngle) < minShowLabelRadian) {
-      each(label.states, setNotShow);
-      label.ignore = true;
-      if (labelLine) {
-        each(labelLine.states, setNotShow);
-        labelLine.ignore = true;
-      }
-      return;
-    }
-    if (!isLabelShown(label)) {
-      return;
-    }
-    var midAngle = (sectorShape.startAngle + sectorShape.endAngle) / 2;
-    var nx = Math.cos(midAngle);
-    var ny = Math.sin(midAngle);
-    var textX;
-    var textY;
-    var linePoints;
-    var textAlign;
-    cx = sectorShape.cx;
-    cy = sectorShape.cy;
-    var isLabelInside = labelPosition === 'inside' || labelPosition === 'inner';
-    if (labelPosition === 'center') {
-      textX = sectorShape.cx;
-      textY = sectorShape.cy;
-      textAlign = 'center';
-    } else {
-      var x1 = (isLabelInside ? (sectorShape.r + sectorShape.r0) / 2 * nx : sectorShape.r * nx) + cx;
-      var y1 = (isLabelInside ? (sectorShape.r + sectorShape.r0) / 2 * ny : sectorShape.r * ny) + cy;
-      textX = x1 + nx * 3;
-      textY = y1 + ny * 3;
-      if (!isLabelInside) {
-        // For roseType
-        var x2 = x1 + nx * (labelLineLen + r - sectorShape.r);
-        var y2 = y1 + ny * (labelLineLen + r - sectorShape.r);
-        var x3 = x2 + (nx < 0 ? -1 : 1) * labelLineLen2;
-        var y3 = y2;
-        if (labelAlignTo === 'edge') {
-          // Adjust textX because text align of edge is opposite
-          textX = nx < 0 ? viewLeft + edgeDistance : viewLeft + viewWidth - edgeDistance;
-        } else {
-          textX = x3 + (nx < 0 ? -labelDistance : labelDistance);
-        }
-        textY = y3;
-        linePoints = [[x1, y1], [x2, y2], [x3, y3]];
-      }
-      textAlign = isLabelInside ? 'center' : labelAlignTo === 'edge' ? nx > 0 ? 'right' : 'left' : nx > 0 ? 'left' : 'right';
-    }
-    var PI = Math.PI;
-    var labelRotate = 0;
-    var rotate = labelModel.get('rotate');
-    if (isNumber(rotate)) {
-      labelRotate = rotate * (PI / 180);
-    } else if (labelPosition === 'center') {
-      labelRotate = 0;
-    } else if (rotate === 'radial' || rotate === true) {
-      var radialAngle = nx < 0 ? -midAngle + PI : -midAngle;
-      labelRotate = radialAngle;
-    } else if (rotate === 'tangential' && labelPosition !== 'outside' && labelPosition !== 'outer') {
-      var rad = Math.atan2(nx, ny);
-      if (rad < 0) {
-        rad = PI * 2 + rad;
-      }
-      var isDown = ny > 0;
-      if (isDown) {
-        rad = PI + rad;
-      }
-      labelRotate = rad - PI;
-    }
-    hasLabelRotate = !!labelRotate;
-    label.x = textX;
-    label.y = textY;
-    label.rotation = labelRotate;
-    label.setStyle({
-      verticalAlign: 'middle'
-    });
-    // Not sectorShape the inside label
-    if (!isLabelInside) {
-      var textRect = label.getBoundingRect().clone();
-      textRect.applyTransform(label.getComputedTransform());
-      // Text has a default 1px stroke. Exclude this.
-      var margin = (label.style.margin || 0) + 2.1;
-      textRect.y -= margin / 2;
-      textRect.height += margin;
-      labelLayoutList.push({
-        label: label,
-        labelLine: labelLine,
-        position: labelPosition,
-        len: labelLineLen,
-        len2: labelLineLen2,
-        minTurnAngle: labelLineModel.get('minTurnAngle'),
-        maxSurfaceAngle: labelLineModel.get('maxSurfaceAngle'),
-        surfaceNormal: new Point(nx, ny),
-        linePoints: linePoints,
-        textAlign: textAlign,
-        labelDistance: labelDistance,
-        labelAlignTo: labelAlignTo,
-        edgeDistance: edgeDistance,
-        bleedMargin: bleedMargin,
-        rect: textRect,
-        unconstrainedWidth: textRect.width,
-        labelStyleWidth: label.style.width
-      });
-    } else {
-      label.setStyle({
-        align: textAlign
-      });
-      var selectState = label.states.select;
-      if (selectState) {
-        selectState.x += label.x;
-        selectState.y += label.y;
-      }
-    }
-    sector.setTextConfig({
-      inside: isLabelInside
-    });
-  });
-  if (!hasLabelRotate && seriesModel.get('avoidLabelOverlap')) {
-    avoidOverlap(labelLayoutList, cx, cy, r, viewWidth, viewHeight, viewLeft, viewTop);
-  }
-  for (var i = 0; i < labelLayoutList.length; i++) {
-    var layout = labelLayoutList[i];
-    var label = layout.label;
-    var labelLine = layout.labelLine;
-    var notShowLabel = isNaN(label.x) || isNaN(label.y);
-    if (label) {
-      label.setStyle({
-        align: layout.textAlign
-      });
-      if (notShowLabel) {
-        each(label.states, setNotShow);
-        label.ignore = true;
-      }
-      var selectState = label.states.select;
-      if (selectState) {
-        selectState.x += label.x;
-        selectState.y += label.y;
-      }
-    }
-    if (labelLine) {
-      var linePoints = layout.linePoints;
-      if (notShowLabel || !linePoints) {
-        each(labelLine.states, setNotShow);
-        labelLine.ignore = true;
-      } else {
-        limitTurnAngle(linePoints, layout.minTurnAngle);
-        limitSurfaceAngle(linePoints, layout.surfaceNormal, layout.maxSurfaceAngle);
-        labelLine.setShape({
-          points: linePoints
-        });
-        // Set the anchor to the midpoint of sector
-        label.__hostTarget.textGuideLineConfig = {
-          anchor: new Point(linePoints[0][0], linePoints[0][1])
-        };
-      }
-    }
-  }
-}

+ 0 - 238
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/pie/pieLayout.js

@@ -1,238 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { parsePercent, linearMap } from '../../util/number.js';
-import * as layout from '../../util/layout.js';
-import * as zrUtil from 'zrender/lib/core/util.js';
-import { normalizeArcAngles } from 'zrender/lib/core/PathProxy.js';
-import { makeInner } from '../../util/model.js';
-var PI2 = Math.PI * 2;
-var RADIAN = Math.PI / 180;
-function getViewRect(seriesModel, api) {
-  return layout.getLayoutRect(seriesModel.getBoxLayoutParams(), {
-    width: api.getWidth(),
-    height: api.getHeight()
-  });
-}
-export function getBasicPieLayout(seriesModel, api) {
-  var viewRect = getViewRect(seriesModel, api);
-  // center can be string or number when coordinateSystem is specified
-  var center = seriesModel.get('center');
-  var radius = seriesModel.get('radius');
-  if (!zrUtil.isArray(radius)) {
-    radius = [0, radius];
-  }
-  var width = parsePercent(viewRect.width, api.getWidth());
-  var height = parsePercent(viewRect.height, api.getHeight());
-  var size = Math.min(width, height);
-  var r0 = parsePercent(radius[0], size / 2);
-  var r = parsePercent(radius[1], size / 2);
-  var cx;
-  var cy;
-  var coordSys = seriesModel.coordinateSystem;
-  if (coordSys) {
-    // percentage is not allowed when coordinate system is specified
-    var point = coordSys.dataToPoint(center);
-    cx = point[0] || 0;
-    cy = point[1] || 0;
-  } else {
-    if (!zrUtil.isArray(center)) {
-      center = [center, center];
-    }
-    cx = parsePercent(center[0], width) + viewRect.x;
-    cy = parsePercent(center[1], height) + viewRect.y;
-  }
-  return {
-    cx: cx,
-    cy: cy,
-    r0: r0,
-    r: r
-  };
-}
-export default function pieLayout(seriesType, ecModel, api) {
-  ecModel.eachSeriesByType(seriesType, function (seriesModel) {
-    var data = seriesModel.getData();
-    var valueDim = data.mapDimension('value');
-    var viewRect = getViewRect(seriesModel, api);
-    var _a = getBasicPieLayout(seriesModel, api),
-      cx = _a.cx,
-      cy = _a.cy,
-      r = _a.r,
-      r0 = _a.r0;
-    var startAngle = -seriesModel.get('startAngle') * RADIAN;
-    var endAngle = seriesModel.get('endAngle');
-    var padAngle = seriesModel.get('padAngle') * RADIAN;
-    endAngle = endAngle === 'auto' ? startAngle - PI2 : -endAngle * RADIAN;
-    var minAngle = seriesModel.get('minAngle') * RADIAN;
-    var minAndPadAngle = minAngle + padAngle;
-    var validDataCount = 0;
-    data.each(valueDim, function (value) {
-      !isNaN(value) && validDataCount++;
-    });
-    var sum = data.getSum(valueDim);
-    // Sum may be 0
-    var unitRadian = Math.PI / (sum || validDataCount) * 2;
-    var clockwise = seriesModel.get('clockwise');
-    var roseType = seriesModel.get('roseType');
-    var stillShowZeroSum = seriesModel.get('stillShowZeroSum');
-    // [0...max]
-    var extent = data.getDataExtent(valueDim);
-    extent[0] = 0;
-    var dir = clockwise ? 1 : -1;
-    var angles = [startAngle, endAngle];
-    var halfPadAngle = dir * padAngle / 2;
-    normalizeArcAngles(angles, !clockwise);
-    startAngle = angles[0], endAngle = angles[1];
-    var layoutData = getSeriesLayoutData(seriesModel);
-    layoutData.startAngle = startAngle;
-    layoutData.endAngle = endAngle;
-    layoutData.clockwise = clockwise;
-    var angleRange = Math.abs(endAngle - startAngle);
-    // In the case some sector angle is smaller than minAngle
-    var restAngle = angleRange;
-    var valueSumLargerThanMinAngle = 0;
-    var currentAngle = startAngle;
-    data.setLayout({
-      viewRect: viewRect,
-      r: r
-    });
-    data.each(valueDim, function (value, idx) {
-      var angle;
-      if (isNaN(value)) {
-        data.setItemLayout(idx, {
-          angle: NaN,
-          startAngle: NaN,
-          endAngle: NaN,
-          clockwise: clockwise,
-          cx: cx,
-          cy: cy,
-          r0: r0,
-          r: roseType ? NaN : r
-        });
-        return;
-      }
-      // FIXME 兼容 2.0 但是 roseType 是 area 的时候才是这样?
-      if (roseType !== 'area') {
-        angle = sum === 0 && stillShowZeroSum ? unitRadian : value * unitRadian;
-      } else {
-        angle = angleRange / validDataCount;
-      }
-      if (angle < minAndPadAngle) {
-        angle = minAndPadAngle;
-        restAngle -= minAndPadAngle;
-      } else {
-        valueSumLargerThanMinAngle += value;
-      }
-      var endAngle = currentAngle + dir * angle;
-      // calculate display angle
-      var actualStartAngle = 0;
-      var actualEndAngle = 0;
-      if (padAngle > angle) {
-        actualStartAngle = currentAngle + dir * angle / 2;
-        actualEndAngle = actualStartAngle;
-      } else {
-        actualStartAngle = currentAngle + halfPadAngle;
-        actualEndAngle = endAngle - halfPadAngle;
-      }
-      data.setItemLayout(idx, {
-        angle: angle,
-        startAngle: actualStartAngle,
-        endAngle: actualEndAngle,
-        clockwise: clockwise,
-        cx: cx,
-        cy: cy,
-        r0: r0,
-        r: roseType ? linearMap(value, extent, [r0, r]) : r
-      });
-      currentAngle = endAngle;
-    });
-    // Some sector is constrained by minAngle and padAngle
-    // Rest sectors needs recalculate angle
-    if (restAngle < PI2 && validDataCount) {
-      // Average the angle if rest angle is not enough after all angles is
-      // Constrained by minAngle and padAngle
-      if (restAngle <= 1e-3) {
-        var angle_1 = angleRange / validDataCount;
-        data.each(valueDim, function (value, idx) {
-          if (!isNaN(value)) {
-            var layout_1 = data.getItemLayout(idx);
-            layout_1.angle = angle_1;
-            var actualStartAngle = 0;
-            var actualEndAngle = 0;
-            if (angle_1 < padAngle) {
-              actualStartAngle = startAngle + dir * (idx + 1 / 2) * angle_1;
-              actualEndAngle = actualStartAngle;
-            } else {
-              actualStartAngle = startAngle + dir * idx * angle_1 + halfPadAngle;
-              actualEndAngle = startAngle + dir * (idx + 1) * angle_1 - halfPadAngle;
-            }
-            layout_1.startAngle = actualStartAngle;
-            layout_1.endAngle = actualEndAngle;
-          }
-        });
-      } else {
-        unitRadian = restAngle / valueSumLargerThanMinAngle;
-        currentAngle = startAngle;
-        data.each(valueDim, function (value, idx) {
-          if (!isNaN(value)) {
-            var layout_2 = data.getItemLayout(idx);
-            var angle = layout_2.angle === minAndPadAngle ? minAndPadAngle : value * unitRadian;
-            var actualStartAngle = 0;
-            var actualEndAngle = 0;
-            if (angle < padAngle) {
-              actualStartAngle = currentAngle + dir * angle / 2;
-              actualEndAngle = actualStartAngle;
-            } else {
-              actualStartAngle = currentAngle + halfPadAngle;
-              actualEndAngle = currentAngle + dir * angle - halfPadAngle;
-            }
-            layout_2.startAngle = actualStartAngle;
-            layout_2.endAngle = actualEndAngle;
-            currentAngle += dir * angle;
-          }
-        });
-      }
-    }
-  });
-}
-export var getSeriesLayoutData = makeInner();

+ 0 - 46
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/radar.js

@@ -1,46 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../extension.js';
-import { install } from './radar/install.js';
-use(install);

+ 0 - 134
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/radar/RadarSeries.js

@@ -1,134 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import SeriesModel from '../../model/Series.js';
-import createSeriesDataSimply from '../helper/createSeriesDataSimply.js';
-import * as zrUtil from 'zrender/lib/core/util.js';
-import LegendVisualProvider from '../../visual/LegendVisualProvider.js';
-import { createTooltipMarkup, retrieveVisualColorForTooltipMarker } from '../../component/tooltip/tooltipMarkup.js';
-var RadarSeriesModel = /** @class */function (_super) {
-  __extends(RadarSeriesModel, _super);
-  function RadarSeriesModel() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = RadarSeriesModel.type;
-    _this.hasSymbolVisual = true;
-    return _this;
-  }
-  // Overwrite
-  RadarSeriesModel.prototype.init = function (option) {
-    _super.prototype.init.apply(this, arguments);
-    // Enable legend selection for each data item
-    // Use a function instead of direct access because data reference may changed
-    this.legendVisualProvider = new LegendVisualProvider(zrUtil.bind(this.getData, this), zrUtil.bind(this.getRawData, this));
-  };
-  RadarSeriesModel.prototype.getInitialData = function (option, ecModel) {
-    return createSeriesDataSimply(this, {
-      generateCoord: 'indicator_',
-      generateCoordCount: Infinity
-    });
-  };
-  RadarSeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) {
-    var data = this.getData();
-    var coordSys = this.coordinateSystem;
-    var indicatorAxes = coordSys.getIndicatorAxes();
-    var name = this.getData().getName(dataIndex);
-    var nameToDisplay = name === '' ? this.name : name;
-    var markerColor = retrieveVisualColorForTooltipMarker(this, dataIndex);
-    return createTooltipMarkup('section', {
-      header: nameToDisplay,
-      sortBlocks: true,
-      blocks: zrUtil.map(indicatorAxes, function (axis) {
-        var val = data.get(data.mapDimension(axis.dim), dataIndex);
-        return createTooltipMarkup('nameValue', {
-          markerType: 'subItem',
-          markerColor: markerColor,
-          name: axis.name,
-          value: val,
-          sortParam: val
-        });
-      })
-    });
-  };
-  RadarSeriesModel.prototype.getTooltipPosition = function (dataIndex) {
-    if (dataIndex != null) {
-      var data_1 = this.getData();
-      var coordSys = this.coordinateSystem;
-      var values = data_1.getValues(zrUtil.map(coordSys.dimensions, function (dim) {
-        return data_1.mapDimension(dim);
-      }), dataIndex);
-      for (var i = 0, len = values.length; i < len; i++) {
-        if (!isNaN(values[i])) {
-          var indicatorAxes = coordSys.getIndicatorAxes();
-          return coordSys.coordToPoint(indicatorAxes[i].dataToCoord(values[i]), i);
-        }
-      }
-    }
-  };
-  RadarSeriesModel.type = 'series.radar';
-  RadarSeriesModel.dependencies = ['radar'];
-  RadarSeriesModel.defaultOption = {
-    // zlevel: 0,
-    z: 2,
-    colorBy: 'data',
-    coordinateSystem: 'radar',
-    legendHoverLink: true,
-    radarIndex: 0,
-    lineStyle: {
-      width: 2,
-      type: 'solid',
-      join: 'round'
-    },
-    label: {
-      position: 'top'
-    },
-    // areaStyle: {
-    // },
-    // itemStyle: {}
-    symbolSize: 8
-    // symbolRotate: null
-  };
-
-  return RadarSeriesModel;
-}(SeriesModel);
-export default RadarSeriesModel;

+ 0 - 225
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/radar/RadarView.js

@@ -1,225 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import * as graphic from '../../util/graphic.js';
-import { setStatesStylesFromModel, toggleHoverEmphasis } from '../../util/states.js';
-import * as zrUtil from 'zrender/lib/core/util.js';
-import * as symbolUtil from '../../util/symbol.js';
-import ChartView from '../../view/Chart.js';
-import { setLabelStyle, getLabelStatesModels } from '../../label/labelStyle.js';
-import ZRImage from 'zrender/lib/graphic/Image.js';
-import { saveOldStyle } from '../../animation/basicTransition.js';
-var RadarView = /** @class */function (_super) {
-  __extends(RadarView, _super);
-  function RadarView() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = RadarView.type;
-    return _this;
-  }
-  RadarView.prototype.render = function (seriesModel, ecModel, api) {
-    var polar = seriesModel.coordinateSystem;
-    var group = this.group;
-    var data = seriesModel.getData();
-    var oldData = this._data;
-    function createSymbol(data, idx) {
-      var symbolType = data.getItemVisual(idx, 'symbol') || 'circle';
-      if (symbolType === 'none') {
-        return;
-      }
-      var symbolSize = symbolUtil.normalizeSymbolSize(data.getItemVisual(idx, 'symbolSize'));
-      var symbolPath = symbolUtil.createSymbol(symbolType, -1, -1, 2, 2);
-      var symbolRotate = data.getItemVisual(idx, 'symbolRotate') || 0;
-      symbolPath.attr({
-        style: {
-          strokeNoScale: true
-        },
-        z2: 100,
-        scaleX: symbolSize[0] / 2,
-        scaleY: symbolSize[1] / 2,
-        rotation: symbolRotate * Math.PI / 180 || 0
-      });
-      return symbolPath;
-    }
-    function updateSymbols(oldPoints, newPoints, symbolGroup, data, idx, isInit) {
-      // Simply rerender all
-      symbolGroup.removeAll();
-      for (var i = 0; i < newPoints.length - 1; i++) {
-        var symbolPath = createSymbol(data, idx);
-        if (symbolPath) {
-          symbolPath.__dimIdx = i;
-          if (oldPoints[i]) {
-            symbolPath.setPosition(oldPoints[i]);
-            graphic[isInit ? 'initProps' : 'updateProps'](symbolPath, {
-              x: newPoints[i][0],
-              y: newPoints[i][1]
-            }, seriesModel, idx);
-          } else {
-            symbolPath.setPosition(newPoints[i]);
-          }
-          symbolGroup.add(symbolPath);
-        }
-      }
-    }
-    function getInitialPoints(points) {
-      return zrUtil.map(points, function (pt) {
-        return [polar.cx, polar.cy];
-      });
-    }
-    data.diff(oldData).add(function (idx) {
-      var points = data.getItemLayout(idx);
-      if (!points) {
-        return;
-      }
-      var polygon = new graphic.Polygon();
-      var polyline = new graphic.Polyline();
-      var target = {
-        shape: {
-          points: points
-        }
-      };
-      polygon.shape.points = getInitialPoints(points);
-      polyline.shape.points = getInitialPoints(points);
-      graphic.initProps(polygon, target, seriesModel, idx);
-      graphic.initProps(polyline, target, seriesModel, idx);
-      var itemGroup = new graphic.Group();
-      var symbolGroup = new graphic.Group();
-      itemGroup.add(polyline);
-      itemGroup.add(polygon);
-      itemGroup.add(symbolGroup);
-      updateSymbols(polyline.shape.points, points, symbolGroup, data, idx, true);
-      data.setItemGraphicEl(idx, itemGroup);
-    }).update(function (newIdx, oldIdx) {
-      var itemGroup = oldData.getItemGraphicEl(oldIdx);
-      var polyline = itemGroup.childAt(0);
-      var polygon = itemGroup.childAt(1);
-      var symbolGroup = itemGroup.childAt(2);
-      var target = {
-        shape: {
-          points: data.getItemLayout(newIdx)
-        }
-      };
-      if (!target.shape.points) {
-        return;
-      }
-      updateSymbols(polyline.shape.points, target.shape.points, symbolGroup, data, newIdx, false);
-      saveOldStyle(polygon);
-      saveOldStyle(polyline);
-      graphic.updateProps(polyline, target, seriesModel);
-      graphic.updateProps(polygon, target, seriesModel);
-      data.setItemGraphicEl(newIdx, itemGroup);
-    }).remove(function (idx) {
-      group.remove(oldData.getItemGraphicEl(idx));
-    }).execute();
-    data.eachItemGraphicEl(function (itemGroup, idx) {
-      var itemModel = data.getItemModel(idx);
-      var polyline = itemGroup.childAt(0);
-      var polygon = itemGroup.childAt(1);
-      var symbolGroup = itemGroup.childAt(2);
-      // Radar uses the visual encoded from itemStyle.
-      var itemStyle = data.getItemVisual(idx, 'style');
-      var color = itemStyle.fill;
-      group.add(itemGroup);
-      polyline.useStyle(zrUtil.defaults(itemModel.getModel('lineStyle').getLineStyle(), {
-        fill: 'none',
-        stroke: color
-      }));
-      setStatesStylesFromModel(polyline, itemModel, 'lineStyle');
-      setStatesStylesFromModel(polygon, itemModel, 'areaStyle');
-      var areaStyleModel = itemModel.getModel('areaStyle');
-      var polygonIgnore = areaStyleModel.isEmpty() && areaStyleModel.parentModel.isEmpty();
-      polygon.ignore = polygonIgnore;
-      zrUtil.each(['emphasis', 'select', 'blur'], function (stateName) {
-        var stateModel = itemModel.getModel([stateName, 'areaStyle']);
-        var stateIgnore = stateModel.isEmpty() && stateModel.parentModel.isEmpty();
-        // Won't be ignore if normal state is not ignore.
-        polygon.ensureState(stateName).ignore = stateIgnore && polygonIgnore;
-      });
-      polygon.useStyle(zrUtil.defaults(areaStyleModel.getAreaStyle(), {
-        fill: color,
-        opacity: 0.7,
-        decal: itemStyle.decal
-      }));
-      var emphasisModel = itemModel.getModel('emphasis');
-      var itemHoverStyle = emphasisModel.getModel('itemStyle').getItemStyle();
-      symbolGroup.eachChild(function (symbolPath) {
-        if (symbolPath instanceof ZRImage) {
-          var pathStyle = symbolPath.style;
-          symbolPath.useStyle(zrUtil.extend({
-            // TODO other properties like x, y ?
-            image: pathStyle.image,
-            x: pathStyle.x,
-            y: pathStyle.y,
-            width: pathStyle.width,
-            height: pathStyle.height
-          }, itemStyle));
-        } else {
-          symbolPath.useStyle(itemStyle);
-          symbolPath.setColor(color);
-          symbolPath.style.strokeNoScale = true;
-        }
-        var pathEmphasisState = symbolPath.ensureState('emphasis');
-        pathEmphasisState.style = zrUtil.clone(itemHoverStyle);
-        var defaultText = data.getStore().get(data.getDimensionIndex(symbolPath.__dimIdx), idx);
-        (defaultText == null || isNaN(defaultText)) && (defaultText = '');
-        setLabelStyle(symbolPath, getLabelStatesModels(itemModel), {
-          labelFetcher: data.hostModel,
-          labelDataIndex: idx,
-          labelDimIndex: symbolPath.__dimIdx,
-          defaultText: defaultText,
-          inheritColor: color,
-          defaultOpacity: itemStyle.opacity
-        });
-      });
-      toggleHoverEmphasis(itemGroup, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled'));
-    });
-    this._data = data;
-  };
-  RadarView.prototype.remove = function () {
-    this.group.removeAll();
-    this._data = null;
-  };
-  RadarView.type = 'radar';
-  return RadarView;
-}(ChartView);
-export default RadarView;

+ 0 - 75
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/radar/backwardCompat.js

@@ -1,75 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-// @ts-nocheck
-// Backward compat for radar chart in 2
-import * as zrUtil from 'zrender/lib/core/util.js';
-export default function radarBackwardCompat(option) {
-  var polarOptArr = option.polar;
-  if (polarOptArr) {
-    if (!zrUtil.isArray(polarOptArr)) {
-      polarOptArr = [polarOptArr];
-    }
-    var polarNotRadar_1 = [];
-    zrUtil.each(polarOptArr, function (polarOpt, idx) {
-      if (polarOpt.indicator) {
-        if (polarOpt.type && !polarOpt.shape) {
-          polarOpt.shape = polarOpt.type;
-        }
-        option.radar = option.radar || [];
-        if (!zrUtil.isArray(option.radar)) {
-          option.radar = [option.radar];
-        }
-        option.radar.push(polarOpt);
-      } else {
-        polarNotRadar_1.push(polarOpt);
-      }
-    });
-    option.polar = polarNotRadar_1;
-  }
-  zrUtil.each(option.series, function (seriesOpt) {
-    if (seriesOpt && seriesOpt.type === 'radar' && seriesOpt.polarIndex) {
-      seriesOpt.radarIndex = seriesOpt.polarIndex;
-    }
-  });
-}

+ 0 - 58
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/radar/install.js

@@ -1,58 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../../extension.js';
-import radarLayout from '../radar/radarLayout.js';
-import dataFilter from '../../processor/dataFilter.js';
-import backwardCompat from '../radar/backwardCompat.js';
-import RadarView from './RadarView.js';
-import RadarSeriesModel from './RadarSeries.js';
-import { install as installRadarComponent } from '../../component/radar/install.js';
-export function install(registers) {
-  use(installRadarComponent);
-  registers.registerChartView(RadarView);
-  registers.registerSeriesModel(RadarSeriesModel);
-  registers.registerLayout(radarLayout);
-  registers.registerProcessor(dataFilter('radar'));
-  registers.registerPreprocessor(backwardCompat);
-}

+ 0 - 82
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/radar/radarLayout.js

@@ -1,82 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as zrUtil from 'zrender/lib/core/util.js';
-export default function radarLayout(ecModel) {
-  ecModel.eachSeriesByType('radar', function (seriesModel) {
-    var data = seriesModel.getData();
-    var points = [];
-    var coordSys = seriesModel.coordinateSystem;
-    if (!coordSys) {
-      return;
-    }
-    var axes = coordSys.getIndicatorAxes();
-    zrUtil.each(axes, function (axis, axisIndex) {
-      data.each(data.mapDimension(axes[axisIndex].dim), function (val, dataIndex) {
-        points[dataIndex] = points[dataIndex] || [];
-        var point = coordSys.dataToPoint(val, axisIndex);
-        points[dataIndex][axisIndex] = isValidPoint(point) ? point : getValueMissingPoint(coordSys);
-      });
-    });
-    // Close polygon
-    data.each(function (idx) {
-      // TODO
-      // Is it appropriate to connect to the next data when some data is missing?
-      // Or, should trade it like `connectNull` in line chart?
-      var firstPoint = zrUtil.find(points[idx], function (point) {
-        return isValidPoint(point);
-      }) || getValueMissingPoint(coordSys);
-      // Copy the first actual point to the end of the array
-      points[idx].push(firstPoint.slice());
-      data.setItemLayout(idx, points[idx]);
-    });
-  });
-}
-function isValidPoint(point) {
-  return !isNaN(point[0]) && !isNaN(point[1]);
-}
-function getValueMissingPoint(coordSys) {
-  // It is error-prone to input [NaN, NaN] into polygon, polygon.
-  // (probably cause problem when refreshing or animating)
-  return [coordSys.cx, coordSys.cy];
-}

+ 0 - 46
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sankey.js

@@ -1,46 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../extension.js';
-import { install } from './sankey/install.js';
-use(install);

+ 0 - 215
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sankey/SankeySeries.js

@@ -1,215 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import SeriesModel from '../../model/Series.js';
-import createGraphFromNodeEdge from '../helper/createGraphFromNodeEdge.js';
-import Model from '../../model/Model.js';
-import { createTooltipMarkup } from '../../component/tooltip/tooltipMarkup.js';
-var SankeySeriesModel = /** @class */function (_super) {
-  __extends(SankeySeriesModel, _super);
-  function SankeySeriesModel() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = SankeySeriesModel.type;
-    return _this;
-  }
-  /**
-   * Init a graph data structure from data in option series
-   */
-  SankeySeriesModel.prototype.getInitialData = function (option, ecModel) {
-    var links = option.edges || option.links;
-    var nodes = option.data || option.nodes;
-    var levels = option.levels;
-    this.levelModels = [];
-    var levelModels = this.levelModels;
-    for (var i = 0; i < levels.length; i++) {
-      if (levels[i].depth != null && levels[i].depth >= 0) {
-        levelModels[levels[i].depth] = new Model(levels[i], this, ecModel);
-      } else {
-        if (process.env.NODE_ENV !== 'production') {
-          throw new Error('levels[i].depth is mandatory and should be natural number');
-        }
-      }
-    }
-    if (nodes && links) {
-      var graph = createGraphFromNodeEdge(nodes, links, this, true, beforeLink);
-      return graph.data;
-    }
-    function beforeLink(nodeData, edgeData) {
-      nodeData.wrapMethod('getItemModel', function (model, idx) {
-        var seriesModel = model.parentModel;
-        var layout = seriesModel.getData().getItemLayout(idx);
-        if (layout) {
-          var nodeDepth = layout.depth;
-          var levelModel = seriesModel.levelModels[nodeDepth];
-          if (levelModel) {
-            model.parentModel = levelModel;
-          }
-        }
-        return model;
-      });
-      edgeData.wrapMethod('getItemModel', function (model, idx) {
-        var seriesModel = model.parentModel;
-        var edge = seriesModel.getGraph().getEdgeByIndex(idx);
-        var layout = edge.node1.getLayout();
-        if (layout) {
-          var depth = layout.depth;
-          var levelModel = seriesModel.levelModels[depth];
-          if (levelModel) {
-            model.parentModel = levelModel;
-          }
-        }
-        return model;
-      });
-    }
-  };
-  SankeySeriesModel.prototype.setNodePosition = function (dataIndex, localPosition) {
-    var nodes = this.option.data || this.option.nodes;
-    var dataItem = nodes[dataIndex];
-    dataItem.localX = localPosition[0];
-    dataItem.localY = localPosition[1];
-  };
-  /**
-   * Return the graphic data structure
-   *
-   * @return graphic data structure
-   */
-  SankeySeriesModel.prototype.getGraph = function () {
-    return this.getData().graph;
-  };
-  /**
-   * Get edge data of graphic data structure
-   *
-   * @return data structure of list
-   */
-  SankeySeriesModel.prototype.getEdgeData = function () {
-    return this.getGraph().edgeData;
-  };
-  SankeySeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) {
-    function noValue(val) {
-      return isNaN(val) || val == null;
-    }
-    // dataType === 'node' or empty do not show tooltip by default
-    if (dataType === 'edge') {
-      var params = this.getDataParams(dataIndex, dataType);
-      var rawDataOpt = params.data;
-      var edgeValue = params.value;
-      var edgeName = rawDataOpt.source + ' -- ' + rawDataOpt.target;
-      return createTooltipMarkup('nameValue', {
-        name: edgeName,
-        value: edgeValue,
-        noValue: noValue(edgeValue)
-      });
-    }
-    // dataType === 'node'
-    else {
-      var node = this.getGraph().getNodeByIndex(dataIndex);
-      var value = node.getLayout().value;
-      var name_1 = this.getDataParams(dataIndex, dataType).data.name;
-      return createTooltipMarkup('nameValue', {
-        name: name_1 != null ? name_1 + '' : null,
-        value: value,
-        noValue: noValue(value)
-      });
-    }
-  };
-  SankeySeriesModel.prototype.optionUpdated = function () {};
-  // Override Series.getDataParams()
-  SankeySeriesModel.prototype.getDataParams = function (dataIndex, dataType) {
-    var params = _super.prototype.getDataParams.call(this, dataIndex, dataType);
-    if (params.value == null && dataType === 'node') {
-      var node = this.getGraph().getNodeByIndex(dataIndex);
-      var nodeValue = node.getLayout().value;
-      params.value = nodeValue;
-    }
-    return params;
-  };
-  SankeySeriesModel.type = 'series.sankey';
-  SankeySeriesModel.defaultOption = {
-    // zlevel: 0,
-    z: 2,
-    coordinateSystem: 'view',
-    left: '5%',
-    top: '5%',
-    right: '20%',
-    bottom: '5%',
-    orient: 'horizontal',
-    nodeWidth: 20,
-    nodeGap: 8,
-    draggable: true,
-    layoutIterations: 32,
-    label: {
-      show: true,
-      position: 'right',
-      fontSize: 12
-    },
-    edgeLabel: {
-      show: false,
-      fontSize: 12
-    },
-    levels: [],
-    nodeAlign: 'justify',
-    lineStyle: {
-      color: '#314656',
-      opacity: 0.2,
-      curveness: 0.5
-    },
-    emphasis: {
-      label: {
-        show: true
-      },
-      lineStyle: {
-        opacity: 0.5
-      }
-    },
-    select: {
-      itemStyle: {
-        borderColor: '#212121'
-      }
-    },
-    animationEasing: 'linear',
-    animationDuration: 1000
-  };
-  return SankeySeriesModel;
-}(SeriesModel);
-export default SankeySeriesModel;

+ 0 - 326
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sankey/SankeyView.js

@@ -1,326 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import * as graphic from '../../util/graphic.js';
-import { enterEmphasis, leaveEmphasis, toggleHoverEmphasis, setStatesStylesFromModel } from '../../util/states.js';
-import ChartView from '../../view/Chart.js';
-import { setLabelStyle, getLabelStatesModels } from '../../label/labelStyle.js';
-import { getECData } from '../../util/innerStore.js';
-import { isString, retrieve3 } from 'zrender/lib/core/util.js';
-var SankeyPathShape = /** @class */function () {
-  function SankeyPathShape() {
-    this.x1 = 0;
-    this.y1 = 0;
-    this.x2 = 0;
-    this.y2 = 0;
-    this.cpx1 = 0;
-    this.cpy1 = 0;
-    this.cpx2 = 0;
-    this.cpy2 = 0;
-    this.extent = 0;
-  }
-  return SankeyPathShape;
-}();
-var SankeyPath = /** @class */function (_super) {
-  __extends(SankeyPath, _super);
-  function SankeyPath(opts) {
-    return _super.call(this, opts) || this;
-  }
-  SankeyPath.prototype.getDefaultShape = function () {
-    return new SankeyPathShape();
-  };
-  SankeyPath.prototype.buildPath = function (ctx, shape) {
-    var extent = shape.extent;
-    ctx.moveTo(shape.x1, shape.y1);
-    ctx.bezierCurveTo(shape.cpx1, shape.cpy1, shape.cpx2, shape.cpy2, shape.x2, shape.y2);
-    if (shape.orient === 'vertical') {
-      ctx.lineTo(shape.x2 + extent, shape.y2);
-      ctx.bezierCurveTo(shape.cpx2 + extent, shape.cpy2, shape.cpx1 + extent, shape.cpy1, shape.x1 + extent, shape.y1);
-    } else {
-      ctx.lineTo(shape.x2, shape.y2 + extent);
-      ctx.bezierCurveTo(shape.cpx2, shape.cpy2 + extent, shape.cpx1, shape.cpy1 + extent, shape.x1, shape.y1 + extent);
-    }
-    ctx.closePath();
-  };
-  SankeyPath.prototype.highlight = function () {
-    enterEmphasis(this);
-  };
-  SankeyPath.prototype.downplay = function () {
-    leaveEmphasis(this);
-  };
-  return SankeyPath;
-}(graphic.Path);
-var SankeyView = /** @class */function (_super) {
-  __extends(SankeyView, _super);
-  function SankeyView() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = SankeyView.type;
-    _this._focusAdjacencyDisabled = false;
-    return _this;
-  }
-  SankeyView.prototype.render = function (seriesModel, ecModel, api) {
-    var sankeyView = this;
-    var graph = seriesModel.getGraph();
-    var group = this.group;
-    var layoutInfo = seriesModel.layoutInfo;
-    // view width
-    var width = layoutInfo.width;
-    // view height
-    var height = layoutInfo.height;
-    var nodeData = seriesModel.getData();
-    var edgeData = seriesModel.getData('edge');
-    var orient = seriesModel.get('orient');
-    this._model = seriesModel;
-    group.removeAll();
-    group.x = layoutInfo.x;
-    group.y = layoutInfo.y;
-    // generate a bezire Curve for each edge
-    graph.eachEdge(function (edge) {
-      var curve = new SankeyPath();
-      var ecData = getECData(curve);
-      ecData.dataIndex = edge.dataIndex;
-      ecData.seriesIndex = seriesModel.seriesIndex;
-      ecData.dataType = 'edge';
-      var edgeModel = edge.getModel();
-      var lineStyleModel = edgeModel.getModel('lineStyle');
-      var curvature = lineStyleModel.get('curveness');
-      var n1Layout = edge.node1.getLayout();
-      var node1Model = edge.node1.getModel();
-      var dragX1 = node1Model.get('localX');
-      var dragY1 = node1Model.get('localY');
-      var n2Layout = edge.node2.getLayout();
-      var node2Model = edge.node2.getModel();
-      var dragX2 = node2Model.get('localX');
-      var dragY2 = node2Model.get('localY');
-      var edgeLayout = edge.getLayout();
-      var x1;
-      var y1;
-      var x2;
-      var y2;
-      var cpx1;
-      var cpy1;
-      var cpx2;
-      var cpy2;
-      curve.shape.extent = Math.max(1, edgeLayout.dy);
-      curve.shape.orient = orient;
-      if (orient === 'vertical') {
-        x1 = (dragX1 != null ? dragX1 * width : n1Layout.x) + edgeLayout.sy;
-        y1 = (dragY1 != null ? dragY1 * height : n1Layout.y) + n1Layout.dy;
-        x2 = (dragX2 != null ? dragX2 * width : n2Layout.x) + edgeLayout.ty;
-        y2 = dragY2 != null ? dragY2 * height : n2Layout.y;
-        cpx1 = x1;
-        cpy1 = y1 * (1 - curvature) + y2 * curvature;
-        cpx2 = x2;
-        cpy2 = y1 * curvature + y2 * (1 - curvature);
-      } else {
-        x1 = (dragX1 != null ? dragX1 * width : n1Layout.x) + n1Layout.dx;
-        y1 = (dragY1 != null ? dragY1 * height : n1Layout.y) + edgeLayout.sy;
-        x2 = dragX2 != null ? dragX2 * width : n2Layout.x;
-        y2 = (dragY2 != null ? dragY2 * height : n2Layout.y) + edgeLayout.ty;
-        cpx1 = x1 * (1 - curvature) + x2 * curvature;
-        cpy1 = y1;
-        cpx2 = x1 * curvature + x2 * (1 - curvature);
-        cpy2 = y2;
-      }
-      curve.setShape({
-        x1: x1,
-        y1: y1,
-        x2: x2,
-        y2: y2,
-        cpx1: cpx1,
-        cpy1: cpy1,
-        cpx2: cpx2,
-        cpy2: cpy2
-      });
-      curve.useStyle(lineStyleModel.getItemStyle());
-      // Special color, use source node color or target node color
-      applyCurveStyle(curve.style, orient, edge);
-      var defaultEdgeLabelText = "" + edgeModel.get('value');
-      var edgeLabelStateModels = getLabelStatesModels(edgeModel, 'edgeLabel');
-      setLabelStyle(curve, edgeLabelStateModels, {
-        labelFetcher: {
-          getFormattedLabel: function (dataIndex, stateName, dataType, labelDimIndex, formatter, extendParams) {
-            return seriesModel.getFormattedLabel(dataIndex, stateName, 'edge', labelDimIndex,
-            // ensure edgeLabel formatter is provided
-            // to prevent the inheritance from `label.formatter` of the series
-            retrieve3(formatter, edgeLabelStateModels.normal && edgeLabelStateModels.normal.get('formatter'), defaultEdgeLabelText), extendParams);
-          }
-        },
-        labelDataIndex: edge.dataIndex,
-        defaultText: defaultEdgeLabelText
-      });
-      curve.setTextConfig({
-        position: 'inside'
-      });
-      var emphasisModel = edgeModel.getModel('emphasis');
-      setStatesStylesFromModel(curve, edgeModel, 'lineStyle', function (model) {
-        var style = model.getItemStyle();
-        applyCurveStyle(style, orient, edge);
-        return style;
-      });
-      group.add(curve);
-      edgeData.setItemGraphicEl(edge.dataIndex, curve);
-      var focus = emphasisModel.get('focus');
-      toggleHoverEmphasis(curve, focus === 'adjacency' ? edge.getAdjacentDataIndices() : focus === 'trajectory' ? edge.getTrajectoryDataIndices() : focus, emphasisModel.get('blurScope'), emphasisModel.get('disabled'));
-    });
-    // Generate a rect for each node
-    graph.eachNode(function (node) {
-      var layout = node.getLayout();
-      var itemModel = node.getModel();
-      var dragX = itemModel.get('localX');
-      var dragY = itemModel.get('localY');
-      var emphasisModel = itemModel.getModel('emphasis');
-      var borderRadius = itemModel.get(['itemStyle', 'borderRadius']) || 0;
-      var rect = new graphic.Rect({
-        shape: {
-          x: dragX != null ? dragX * width : layout.x,
-          y: dragY != null ? dragY * height : layout.y,
-          width: layout.dx,
-          height: layout.dy,
-          r: borderRadius
-        },
-        style: itemModel.getModel('itemStyle').getItemStyle(),
-        z2: 10
-      });
-      setLabelStyle(rect, getLabelStatesModels(itemModel), {
-        labelFetcher: {
-          getFormattedLabel: function (dataIndex, stateName) {
-            return seriesModel.getFormattedLabel(dataIndex, stateName, 'node');
-          }
-        },
-        labelDataIndex: node.dataIndex,
-        defaultText: node.id
-      });
-      rect.disableLabelAnimation = true;
-      rect.setStyle('fill', node.getVisual('color'));
-      rect.setStyle('decal', node.getVisual('style').decal);
-      setStatesStylesFromModel(rect, itemModel);
-      group.add(rect);
-      nodeData.setItemGraphicEl(node.dataIndex, rect);
-      getECData(rect).dataType = 'node';
-      var focus = emphasisModel.get('focus');
-      toggleHoverEmphasis(rect, focus === 'adjacency' ? node.getAdjacentDataIndices() : focus === 'trajectory' ? node.getTrajectoryDataIndices() : focus, emphasisModel.get('blurScope'), emphasisModel.get('disabled'));
-    });
-    nodeData.eachItemGraphicEl(function (el, dataIndex) {
-      var itemModel = nodeData.getItemModel(dataIndex);
-      if (itemModel.get('draggable')) {
-        el.drift = function (dx, dy) {
-          sankeyView._focusAdjacencyDisabled = true;
-          this.shape.x += dx;
-          this.shape.y += dy;
-          this.dirty();
-          api.dispatchAction({
-            type: 'dragNode',
-            seriesId: seriesModel.id,
-            dataIndex: nodeData.getRawIndex(dataIndex),
-            localX: this.shape.x / width,
-            localY: this.shape.y / height
-          });
-        };
-        el.ondragend = function () {
-          sankeyView._focusAdjacencyDisabled = false;
-        };
-        el.draggable = true;
-        el.cursor = 'move';
-      }
-    });
-    if (!this._data && seriesModel.isAnimationEnabled()) {
-      group.setClipPath(createGridClipShape(group.getBoundingRect(), seriesModel, function () {
-        group.removeClipPath();
-      }));
-    }
-    this._data = seriesModel.getData();
-  };
-  SankeyView.prototype.dispose = function () {};
-  SankeyView.type = 'sankey';
-  return SankeyView;
-}(ChartView);
-/**
- * Special color, use source node color or target node color
- * @param curveProps curve's style to parse
- * @param orient direction
- * @param edge current curve data
- */
-function applyCurveStyle(curveProps, orient, edge) {
-  switch (curveProps.fill) {
-    case 'source':
-      curveProps.fill = edge.node1.getVisual('color');
-      curveProps.decal = edge.node1.getVisual('style').decal;
-      break;
-    case 'target':
-      curveProps.fill = edge.node2.getVisual('color');
-      curveProps.decal = edge.node2.getVisual('style').decal;
-      break;
-    case 'gradient':
-      var sourceColor = edge.node1.getVisual('color');
-      var targetColor = edge.node2.getVisual('color');
-      if (isString(sourceColor) && isString(targetColor)) {
-        curveProps.fill = new graphic.LinearGradient(0, 0, +(orient === 'horizontal'), +(orient === 'vertical'), [{
-          color: sourceColor,
-          offset: 0
-        }, {
-          color: targetColor,
-          offset: 1
-        }]);
-      }
-  }
-}
-// Add animation to the view
-function createGridClipShape(rect, seriesModel, cb) {
-  var rectEl = new graphic.Rect({
-    shape: {
-      x: rect.x - 10,
-      y: rect.y - 10,
-      width: 0,
-      height: rect.height + 20
-    }
-  });
-  graphic.initProps(rectEl, {
-    shape: {
-      width: rect.width + 20
-    }
-  }, seriesModel, cb);
-  return rectEl;
-}
-export default SankeyView;

+ 0 - 67
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sankey/install.js

@@ -1,67 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import SankeyView from './SankeyView.js';
-import SankeySeriesModel from './SankeySeries.js';
-import sankeyLayout from './sankeyLayout.js';
-import sankeyVisual from './sankeyVisual.js';
-export function install(registers) {
-  registers.registerChartView(SankeyView);
-  registers.registerSeriesModel(SankeySeriesModel);
-  registers.registerLayout(sankeyLayout);
-  registers.registerVisual(sankeyVisual);
-  registers.registerAction({
-    type: 'dragNode',
-    event: 'dragnode',
-    // here can only use 'update' now, other value is not support in echarts.
-    update: 'update'
-  }, function (payload, ecModel) {
-    ecModel.eachComponent({
-      mainType: 'series',
-      subType: 'sankey',
-      query: payload
-    }, function (seriesModel) {
-      seriesModel.setNodePosition(payload.dataIndex, [payload.localX, payload.localY]);
-    });
-  });
-}

+ 0 - 489
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sankey/sankeyLayout.js

@@ -1,489 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as layout from '../../util/layout.js';
-import * as zrUtil from 'zrender/lib/core/util.js';
-import { groupData } from '../../util/model.js';
-export default function sankeyLayout(ecModel, api) {
-  ecModel.eachSeriesByType('sankey', function (seriesModel) {
-    var nodeWidth = seriesModel.get('nodeWidth');
-    var nodeGap = seriesModel.get('nodeGap');
-    var layoutInfo = getViewRect(seriesModel, api);
-    seriesModel.layoutInfo = layoutInfo;
-    var width = layoutInfo.width;
-    var height = layoutInfo.height;
-    var graph = seriesModel.getGraph();
-    var nodes = graph.nodes;
-    var edges = graph.edges;
-    computeNodeValues(nodes);
-    var filteredNodes = zrUtil.filter(nodes, function (node) {
-      return node.getLayout().value === 0;
-    });
-    var iterations = filteredNodes.length !== 0 ? 0 : seriesModel.get('layoutIterations');
-    var orient = seriesModel.get('orient');
-    var nodeAlign = seriesModel.get('nodeAlign');
-    layoutSankey(nodes, edges, nodeWidth, nodeGap, width, height, iterations, orient, nodeAlign);
-  });
-}
-/**
- * Get the layout position of the whole view
- */
-function getViewRect(seriesModel, api) {
-  return layout.getLayoutRect(seriesModel.getBoxLayoutParams(), {
-    width: api.getWidth(),
-    height: api.getHeight()
-  });
-}
-function layoutSankey(nodes, edges, nodeWidth, nodeGap, width, height, iterations, orient, nodeAlign) {
-  computeNodeBreadths(nodes, edges, nodeWidth, width, height, orient, nodeAlign);
-  computeNodeDepths(nodes, edges, height, width, nodeGap, iterations, orient);
-  computeEdgeDepths(nodes, orient);
-}
-/**
- * Compute the value of each node by summing the associated edge's value
- */
-function computeNodeValues(nodes) {
-  zrUtil.each(nodes, function (node) {
-    var value1 = sum(node.outEdges, getEdgeValue);
-    var value2 = sum(node.inEdges, getEdgeValue);
-    var nodeRawValue = node.getValue() || 0;
-    var value = Math.max(value1, value2, nodeRawValue);
-    node.setLayout({
-      value: value
-    }, true);
-  });
-}
-/**
- * Compute the x-position for each node.
- *
- * Here we use Kahn algorithm to detect cycle when we traverse
- * the node to computer the initial x position.
- */
-function computeNodeBreadths(nodes, edges, nodeWidth, width, height, orient, nodeAlign) {
-  // Used to mark whether the edge is deleted. if it is deleted,
-  // the value is 0, otherwise it is 1.
-  var remainEdges = [];
-  // Storage each node's indegree.
-  var indegreeArr = [];
-  // Used to storage the node with indegree is equal to 0.
-  var zeroIndegrees = [];
-  var nextTargetNode = [];
-  var x = 0;
-  // let kx = 0;
-  for (var i = 0; i < edges.length; i++) {
-    remainEdges[i] = 1;
-  }
-  for (var i = 0; i < nodes.length; i++) {
-    indegreeArr[i] = nodes[i].inEdges.length;
-    if (indegreeArr[i] === 0) {
-      zeroIndegrees.push(nodes[i]);
-    }
-  }
-  var maxNodeDepth = -1;
-  // Traversing nodes using topological sorting to calculate the
-  // horizontal(if orient === 'horizontal') or vertical(if orient === 'vertical')
-  // position of the nodes.
-  while (zeroIndegrees.length) {
-    for (var idx = 0; idx < zeroIndegrees.length; idx++) {
-      var node = zeroIndegrees[idx];
-      var item = node.hostGraph.data.getRawDataItem(node.dataIndex);
-      var isItemDepth = item.depth != null && item.depth >= 0;
-      if (isItemDepth && item.depth > maxNodeDepth) {
-        maxNodeDepth = item.depth;
-      }
-      node.setLayout({
-        depth: isItemDepth ? item.depth : x
-      }, true);
-      orient === 'vertical' ? node.setLayout({
-        dy: nodeWidth
-      }, true) : node.setLayout({
-        dx: nodeWidth
-      }, true);
-      for (var edgeIdx = 0; edgeIdx < node.outEdges.length; edgeIdx++) {
-        var edge = node.outEdges[edgeIdx];
-        var indexEdge = edges.indexOf(edge);
-        remainEdges[indexEdge] = 0;
-        var targetNode = edge.node2;
-        var nodeIndex = nodes.indexOf(targetNode);
-        if (--indegreeArr[nodeIndex] === 0 && nextTargetNode.indexOf(targetNode) < 0) {
-          nextTargetNode.push(targetNode);
-        }
-      }
-    }
-    ++x;
-    zeroIndegrees = nextTargetNode;
-    nextTargetNode = [];
-  }
-  for (var i = 0; i < remainEdges.length; i++) {
-    if (remainEdges[i] === 1) {
-      throw new Error('Sankey is a DAG, the original data has cycle!');
-    }
-  }
-  var maxDepth = maxNodeDepth > x - 1 ? maxNodeDepth : x - 1;
-  if (nodeAlign && nodeAlign !== 'left') {
-    adjustNodeWithNodeAlign(nodes, nodeAlign, orient, maxDepth);
-  }
-  var kx = orient === 'vertical' ? (height - nodeWidth) / maxDepth : (width - nodeWidth) / maxDepth;
-  scaleNodeBreadths(nodes, kx, orient);
-}
-function isNodeDepth(node) {
-  var item = node.hostGraph.data.getRawDataItem(node.dataIndex);
-  return item.depth != null && item.depth >= 0;
-}
-function adjustNodeWithNodeAlign(nodes, nodeAlign, orient, maxDepth) {
-  if (nodeAlign === 'right') {
-    var nextSourceNode = [];
-    var remainNodes = nodes;
-    var nodeHeight = 0;
-    while (remainNodes.length) {
-      for (var i = 0; i < remainNodes.length; i++) {
-        var node = remainNodes[i];
-        node.setLayout({
-          skNodeHeight: nodeHeight
-        }, true);
-        for (var j = 0; j < node.inEdges.length; j++) {
-          var edge = node.inEdges[j];
-          if (nextSourceNode.indexOf(edge.node1) < 0) {
-            nextSourceNode.push(edge.node1);
-          }
-        }
-      }
-      remainNodes = nextSourceNode;
-      nextSourceNode = [];
-      ++nodeHeight;
-    }
-    zrUtil.each(nodes, function (node) {
-      if (!isNodeDepth(node)) {
-        node.setLayout({
-          depth: Math.max(0, maxDepth - node.getLayout().skNodeHeight)
-        }, true);
-      }
-    });
-  } else if (nodeAlign === 'justify') {
-    moveSinksRight(nodes, maxDepth);
-  }
-}
-/**
- * All the node without outEgdes are assigned maximum x-position and
- *     be aligned in the last column.
- *
- * @param nodes.  node of sankey view.
- * @param maxDepth.  use to assign to node without outEdges as x-position.
- */
-function moveSinksRight(nodes, maxDepth) {
-  zrUtil.each(nodes, function (node) {
-    if (!isNodeDepth(node) && !node.outEdges.length) {
-      node.setLayout({
-        depth: maxDepth
-      }, true);
-    }
-  });
-}
-/**
- * Scale node x-position to the width
- *
- * @param nodes  node of sankey view
- * @param kx   multiple used to scale nodes
- */
-function scaleNodeBreadths(nodes, kx, orient) {
-  zrUtil.each(nodes, function (node) {
-    var nodeDepth = node.getLayout().depth * kx;
-    orient === 'vertical' ? node.setLayout({
-      y: nodeDepth
-    }, true) : node.setLayout({
-      x: nodeDepth
-    }, true);
-  });
-}
-/**
- * Using Gauss-Seidel iterations method to compute the node depth(y-position)
- *
- * @param nodes  node of sankey view
- * @param edges  edge of sankey view
- * @param height  the whole height of the area to draw the view
- * @param nodeGap  the vertical distance between two nodes
- *     in the same column.
- * @param iterations  the number of iterations for the algorithm
- */
-function computeNodeDepths(nodes, edges, height, width, nodeGap, iterations, orient) {
-  var nodesByBreadth = prepareNodesByBreadth(nodes, orient);
-  initializeNodeDepth(nodesByBreadth, edges, height, width, nodeGap, orient);
-  resolveCollisions(nodesByBreadth, nodeGap, height, width, orient);
-  for (var alpha = 1; iterations > 0; iterations--) {
-    // 0.99 is a experience parameter, ensure that each iterations of
-    // changes as small as possible.
-    alpha *= 0.99;
-    relaxRightToLeft(nodesByBreadth, alpha, orient);
-    resolveCollisions(nodesByBreadth, nodeGap, height, width, orient);
-    relaxLeftToRight(nodesByBreadth, alpha, orient);
-    resolveCollisions(nodesByBreadth, nodeGap, height, width, orient);
-  }
-}
-function prepareNodesByBreadth(nodes, orient) {
-  var nodesByBreadth = [];
-  var keyAttr = orient === 'vertical' ? 'y' : 'x';
-  var groupResult = groupData(nodes, function (node) {
-    return node.getLayout()[keyAttr];
-  });
-  groupResult.keys.sort(function (a, b) {
-    return a - b;
-  });
-  zrUtil.each(groupResult.keys, function (key) {
-    nodesByBreadth.push(groupResult.buckets.get(key));
-  });
-  return nodesByBreadth;
-}
-/**
- * Compute the original y-position for each node
- */
-function initializeNodeDepth(nodesByBreadth, edges, height, width, nodeGap, orient) {
-  var minKy = Infinity;
-  zrUtil.each(nodesByBreadth, function (nodes) {
-    var n = nodes.length;
-    var sum = 0;
-    zrUtil.each(nodes, function (node) {
-      sum += node.getLayout().value;
-    });
-    var ky = orient === 'vertical' ? (width - (n - 1) * nodeGap) / sum : (height - (n - 1) * nodeGap) / sum;
-    if (ky < minKy) {
-      minKy = ky;
-    }
-  });
-  zrUtil.each(nodesByBreadth, function (nodes) {
-    zrUtil.each(nodes, function (node, i) {
-      var nodeDy = node.getLayout().value * minKy;
-      if (orient === 'vertical') {
-        node.setLayout({
-          x: i
-        }, true);
-        node.setLayout({
-          dx: nodeDy
-        }, true);
-      } else {
-        node.setLayout({
-          y: i
-        }, true);
-        node.setLayout({
-          dy: nodeDy
-        }, true);
-      }
-    });
-  });
-  zrUtil.each(edges, function (edge) {
-    var edgeDy = +edge.getValue() * minKy;
-    edge.setLayout({
-      dy: edgeDy
-    }, true);
-  });
-}
-/**
- * Resolve the collision of initialized depth (y-position)
- */
-function resolveCollisions(nodesByBreadth, nodeGap, height, width, orient) {
-  var keyAttr = orient === 'vertical' ? 'x' : 'y';
-  zrUtil.each(nodesByBreadth, function (nodes) {
-    nodes.sort(function (a, b) {
-      return a.getLayout()[keyAttr] - b.getLayout()[keyAttr];
-    });
-    var nodeX;
-    var node;
-    var dy;
-    var y0 = 0;
-    var n = nodes.length;
-    var nodeDyAttr = orient === 'vertical' ? 'dx' : 'dy';
-    for (var i = 0; i < n; i++) {
-      node = nodes[i];
-      dy = y0 - node.getLayout()[keyAttr];
-      if (dy > 0) {
-        nodeX = node.getLayout()[keyAttr] + dy;
-        orient === 'vertical' ? node.setLayout({
-          x: nodeX
-        }, true) : node.setLayout({
-          y: nodeX
-        }, true);
-      }
-      y0 = node.getLayout()[keyAttr] + node.getLayout()[nodeDyAttr] + nodeGap;
-    }
-    var viewWidth = orient === 'vertical' ? width : height;
-    // If the bottommost node goes outside the bounds, push it back up
-    dy = y0 - nodeGap - viewWidth;
-    if (dy > 0) {
-      nodeX = node.getLayout()[keyAttr] - dy;
-      orient === 'vertical' ? node.setLayout({
-        x: nodeX
-      }, true) : node.setLayout({
-        y: nodeX
-      }, true);
-      y0 = nodeX;
-      for (var i = n - 2; i >= 0; --i) {
-        node = nodes[i];
-        dy = node.getLayout()[keyAttr] + node.getLayout()[nodeDyAttr] + nodeGap - y0;
-        if (dy > 0) {
-          nodeX = node.getLayout()[keyAttr] - dy;
-          orient === 'vertical' ? node.setLayout({
-            x: nodeX
-          }, true) : node.setLayout({
-            y: nodeX
-          }, true);
-        }
-        y0 = node.getLayout()[keyAttr];
-      }
-    }
-  });
-}
-/**
- * Change the y-position of the nodes, except most the right side nodes
- * @param nodesByBreadth
- * @param alpha  parameter used to adjust the nodes y-position
- */
-function relaxRightToLeft(nodesByBreadth, alpha, orient) {
-  zrUtil.each(nodesByBreadth.slice().reverse(), function (nodes) {
-    zrUtil.each(nodes, function (node) {
-      if (node.outEdges.length) {
-        var y = sum(node.outEdges, weightedTarget, orient) / sum(node.outEdges, getEdgeValue);
-        if (isNaN(y)) {
-          var len = node.outEdges.length;
-          y = len ? sum(node.outEdges, centerTarget, orient) / len : 0;
-        }
-        if (orient === 'vertical') {
-          var nodeX = node.getLayout().x + (y - center(node, orient)) * alpha;
-          node.setLayout({
-            x: nodeX
-          }, true);
-        } else {
-          var nodeY = node.getLayout().y + (y - center(node, orient)) * alpha;
-          node.setLayout({
-            y: nodeY
-          }, true);
-        }
-      }
-    });
-  });
-}
-function weightedTarget(edge, orient) {
-  return center(edge.node2, orient) * edge.getValue();
-}
-function centerTarget(edge, orient) {
-  return center(edge.node2, orient);
-}
-function weightedSource(edge, orient) {
-  return center(edge.node1, orient) * edge.getValue();
-}
-function centerSource(edge, orient) {
-  return center(edge.node1, orient);
-}
-function center(node, orient) {
-  return orient === 'vertical' ? node.getLayout().x + node.getLayout().dx / 2 : node.getLayout().y + node.getLayout().dy / 2;
-}
-function getEdgeValue(edge) {
-  return edge.getValue();
-}
-function sum(array, cb, orient) {
-  var sum = 0;
-  var len = array.length;
-  var i = -1;
-  while (++i < len) {
-    var value = +cb(array[i], orient);
-    if (!isNaN(value)) {
-      sum += value;
-    }
-  }
-  return sum;
-}
-/**
- * Change the y-position of the nodes, except most the left side nodes
- */
-function relaxLeftToRight(nodesByBreadth, alpha, orient) {
-  zrUtil.each(nodesByBreadth, function (nodes) {
-    zrUtil.each(nodes, function (node) {
-      if (node.inEdges.length) {
-        var y = sum(node.inEdges, weightedSource, orient) / sum(node.inEdges, getEdgeValue);
-        if (isNaN(y)) {
-          var len = node.inEdges.length;
-          y = len ? sum(node.inEdges, centerSource, orient) / len : 0;
-        }
-        if (orient === 'vertical') {
-          var nodeX = node.getLayout().x + (y - center(node, orient)) * alpha;
-          node.setLayout({
-            x: nodeX
-          }, true);
-        } else {
-          var nodeY = node.getLayout().y + (y - center(node, orient)) * alpha;
-          node.setLayout({
-            y: nodeY
-          }, true);
-        }
-      }
-    });
-  });
-}
-/**
- * Compute the depth(y-position) of each edge
- */
-function computeEdgeDepths(nodes, orient) {
-  var keyAttr = orient === 'vertical' ? 'x' : 'y';
-  zrUtil.each(nodes, function (node) {
-    node.outEdges.sort(function (a, b) {
-      return a.node2.getLayout()[keyAttr] - b.node2.getLayout()[keyAttr];
-    });
-    node.inEdges.sort(function (a, b) {
-      return a.node1.getLayout()[keyAttr] - b.node1.getLayout()[keyAttr];
-    });
-  });
-  zrUtil.each(nodes, function (node) {
-    var sy = 0;
-    var ty = 0;
-    zrUtil.each(node.outEdges, function (edge) {
-      edge.setLayout({
-        sy: sy
-      }, true);
-      sy += edge.getLayout().dy;
-    });
-    zrUtil.each(node.inEdges, function (edge) {
-      edge.setLayout({
-        ty: ty
-      }, true);
-      ty += edge.getLayout().dy;
-    });
-  });
-}

+ 0 - 92
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sankey/sankeyVisual.js

@@ -1,92 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as zrUtil from 'zrender/lib/core/util.js';
-import VisualMapping from '../../visual/VisualMapping.js';
-export default function sankeyVisual(ecModel) {
-  ecModel.eachSeriesByType('sankey', function (seriesModel) {
-    var graph = seriesModel.getGraph();
-    var nodes = graph.nodes;
-    var edges = graph.edges;
-    if (nodes.length) {
-      var minValue_1 = Infinity;
-      var maxValue_1 = -Infinity;
-      zrUtil.each(nodes, function (node) {
-        var nodeValue = node.getLayout().value;
-        if (nodeValue < minValue_1) {
-          minValue_1 = nodeValue;
-        }
-        if (nodeValue > maxValue_1) {
-          maxValue_1 = nodeValue;
-        }
-      });
-      zrUtil.each(nodes, function (node) {
-        var mapping = new VisualMapping({
-          type: 'color',
-          mappingMethod: 'linear',
-          dataExtent: [minValue_1, maxValue_1],
-          visual: seriesModel.get('color')
-        });
-        var mapValueToColor = mapping.mapValueToVisual(node.getLayout().value);
-        var customColor = node.getModel().get(['itemStyle', 'color']);
-        if (customColor != null) {
-          node.setVisual('color', customColor);
-          node.setVisual('style', {
-            fill: customColor
-          });
-        } else {
-          node.setVisual('color', mapValueToColor);
-          node.setVisual('style', {
-            fill: mapValueToColor
-          });
-        }
-      });
-    }
-    if (edges.length) {
-      zrUtil.each(edges, function (edge) {
-        var edgeStyle = edge.getModel().get('lineStyle');
-        edge.setVisual('style', edgeStyle);
-      });
-    }
-  });
-}

+ 0 - 46
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/scatter.js

@@ -1,46 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../extension.js';
-import { install } from './scatter/install.js';
-use(install);

+ 0 - 120
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/scatter/ScatterSeries.js

@@ -1,120 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import createSeriesData from '../helper/createSeriesData.js';
-import SeriesModel from '../../model/Series.js';
-var ScatterSeriesModel = /** @class */function (_super) {
-  __extends(ScatterSeriesModel, _super);
-  function ScatterSeriesModel() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = ScatterSeriesModel.type;
-    _this.hasSymbolVisual = true;
-    return _this;
-  }
-  ScatterSeriesModel.prototype.getInitialData = function (option, ecModel) {
-    return createSeriesData(null, this, {
-      useEncodeDefaulter: true
-    });
-  };
-  ScatterSeriesModel.prototype.getProgressive = function () {
-    var progressive = this.option.progressive;
-    if (progressive == null) {
-      // PENDING
-      return this.option.large ? 5e3 : this.get('progressive');
-    }
-    return progressive;
-  };
-  ScatterSeriesModel.prototype.getProgressiveThreshold = function () {
-    var progressiveThreshold = this.option.progressiveThreshold;
-    if (progressiveThreshold == null) {
-      // PENDING
-      return this.option.large ? 1e4 : this.get('progressiveThreshold');
-    }
-    return progressiveThreshold;
-  };
-  ScatterSeriesModel.prototype.brushSelector = function (dataIndex, data, selectors) {
-    return selectors.point(data.getItemLayout(dataIndex));
-  };
-  ScatterSeriesModel.prototype.getZLevelKey = function () {
-    // Each progressive series has individual key.
-    return this.getData().count() > this.getProgressiveThreshold() ? this.id : '';
-  };
-  ScatterSeriesModel.type = 'series.scatter';
-  ScatterSeriesModel.dependencies = ['grid', 'polar', 'geo', 'singleAxis', 'calendar'];
-  ScatterSeriesModel.defaultOption = {
-    coordinateSystem: 'cartesian2d',
-    // zlevel: 0,
-    z: 2,
-    legendHoverLink: true,
-    symbolSize: 10,
-    // symbolRotate: null,  // 图形旋转控制
-    large: false,
-    // Available when large is true
-    largeThreshold: 2000,
-    // cursor: null,
-    itemStyle: {
-      opacity: 0.8
-      // color: 各异
-    },
-
-    emphasis: {
-      scale: true
-    },
-    // If clip the overflow graphics
-    // Works on cartesian / polar series
-    clip: true,
-    select: {
-      itemStyle: {
-        borderColor: '#212121'
-      }
-    },
-    universalTransition: {
-      divideShape: 'clone'
-    }
-    // progressive: null
-  };
-
-  return ScatterSeriesModel;
-}(SeriesModel);
-export default ScatterSeriesModel;

+ 0 - 133
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/scatter/ScatterView.js

@@ -1,133 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import SymbolDraw from '../helper/SymbolDraw.js';
-import LargeSymbolDraw from '../helper/LargeSymbolDraw.js';
-import pointsLayout from '../../layout/points.js';
-import ChartView from '../../view/Chart.js';
-var ScatterView = /** @class */function (_super) {
-  __extends(ScatterView, _super);
-  function ScatterView() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = ScatterView.type;
-    return _this;
-  }
-  ScatterView.prototype.render = function (seriesModel, ecModel, api) {
-    var data = seriesModel.getData();
-    var symbolDraw = this._updateSymbolDraw(data, seriesModel);
-    symbolDraw.updateData(data, {
-      // TODO
-      // If this parameter should be a shape or a bounding volume
-      // shape will be more general.
-      // But bounding volume like bounding rect will be much faster in the contain calculation
-      clipShape: this._getClipShape(seriesModel)
-    });
-    this._finished = true;
-  };
-  ScatterView.prototype.incrementalPrepareRender = function (seriesModel, ecModel, api) {
-    var data = seriesModel.getData();
-    var symbolDraw = this._updateSymbolDraw(data, seriesModel);
-    symbolDraw.incrementalPrepareUpdate(data);
-    this._finished = false;
-  };
-  ScatterView.prototype.incrementalRender = function (taskParams, seriesModel, ecModel) {
-    this._symbolDraw.incrementalUpdate(taskParams, seriesModel.getData(), {
-      clipShape: this._getClipShape(seriesModel)
-    });
-    this._finished = taskParams.end === seriesModel.getData().count();
-  };
-  ScatterView.prototype.updateTransform = function (seriesModel, ecModel, api) {
-    var data = seriesModel.getData();
-    // Must mark group dirty and make sure the incremental layer will be cleared
-    // PENDING
-    this.group.dirty();
-    if (!this._finished || data.count() > 1e4) {
-      return {
-        update: true
-      };
-    } else {
-      var res = pointsLayout('').reset(seriesModel, ecModel, api);
-      if (res.progress) {
-        res.progress({
-          start: 0,
-          end: data.count(),
-          count: data.count()
-        }, data);
-      }
-      this._symbolDraw.updateLayout(data);
-    }
-  };
-  ScatterView.prototype.eachRendered = function (cb) {
-    this._symbolDraw && this._symbolDraw.eachRendered(cb);
-  };
-  ScatterView.prototype._getClipShape = function (seriesModel) {
-    if (!seriesModel.get('clip', true)) {
-      return;
-    }
-    var coordSys = seriesModel.coordinateSystem;
-    // PENDING make `0.1` configurable, for example, `clipTolerance`?
-    return coordSys && coordSys.getArea && coordSys.getArea(.1);
-  };
-  ScatterView.prototype._updateSymbolDraw = function (data, seriesModel) {
-    var symbolDraw = this._symbolDraw;
-    var pipelineContext = seriesModel.pipelineContext;
-    var isLargeDraw = pipelineContext.large;
-    if (!symbolDraw || isLargeDraw !== this._isLargeDraw) {
-      symbolDraw && symbolDraw.remove();
-      symbolDraw = this._symbolDraw = isLargeDraw ? new LargeSymbolDraw() : new SymbolDraw();
-      this._isLargeDraw = isLargeDraw;
-      this.group.removeAll();
-    }
-    this.group.add(symbolDraw.group);
-    return symbolDraw;
-  };
-  ScatterView.prototype.remove = function (ecModel, api) {
-    this._symbolDraw && this._symbolDraw.remove(true);
-    this._symbolDraw = null;
-  };
-  ScatterView.prototype.dispose = function () {};
-  ScatterView.type = 'scatter';
-  return ScatterView;
-}(ChartView);
-export default ScatterView;

+ 0 - 55
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/scatter/install.js

@@ -1,55 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../../extension.js';
-import ScatterSeriesModel from './ScatterSeries.js';
-import ScatterView from './ScatterView.js';
-import { install as installGridSimple } from '../../component/grid/installSimple.js';
-import layoutPoints from '../../layout/points.js';
-export function install(registers) {
-  // In case developer forget to include grid component
-  use(installGridSimple);
-  registers.registerSeriesModel(ScatterSeriesModel);
-  registers.registerChartView(ScatterView);
-  registers.registerLayout(layoutPoints('scatter'));
-}

+ 0 - 46
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst.js

@@ -1,46 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../extension.js';
-import { install } from './sunburst/install.js';
-use(install);

+ 0 - 230
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js

@@ -1,230 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import * as zrUtil from 'zrender/lib/core/util.js';
-import * as graphic from '../../util/graphic.js';
-import { toggleHoverEmphasis, SPECIAL_STATES, DISPLAY_STATES } from '../../util/states.js';
-import { createTextStyle } from '../../label/labelStyle.js';
-import { getECData } from '../../util/innerStore.js';
-import { getSectorCornerRadius } from '../helper/sectorHelper.js';
-import { createOrUpdatePatternFromDecal } from '../../util/decal.js';
-import { saveOldStyle } from '../../animation/basicTransition.js';
-import { normalizeRadian } from 'zrender/lib/contain/util.js';
-import { isRadianAroundZero } from '../../util/number.js';
-var DEFAULT_SECTOR_Z = 2;
-var DEFAULT_TEXT_Z = 4;
-/**
- * Sunburstce of Sunburst including Sector, Label, LabelLine
- */
-var SunburstPiece = /** @class */function (_super) {
-  __extends(SunburstPiece, _super);
-  function SunburstPiece(node, seriesModel, ecModel, api) {
-    var _this = _super.call(this) || this;
-    _this.z2 = DEFAULT_SECTOR_Z;
-    _this.textConfig = {
-      inside: true
-    };
-    getECData(_this).seriesIndex = seriesModel.seriesIndex;
-    var text = new graphic.Text({
-      z2: DEFAULT_TEXT_Z,
-      silent: node.getModel().get(['label', 'silent'])
-    });
-    _this.setTextContent(text);
-    _this.updateData(true, node, seriesModel, ecModel, api);
-    return _this;
-  }
-  SunburstPiece.prototype.updateData = function (firstCreate, node,
-  // state: 'emphasis' | 'normal' | 'highlight' | 'downplay',
-  seriesModel, ecModel, api) {
-    this.node = node;
-    node.piece = this;
-    seriesModel = seriesModel || this._seriesModel;
-    ecModel = ecModel || this._ecModel;
-    var sector = this;
-    getECData(sector).dataIndex = node.dataIndex;
-    var itemModel = node.getModel();
-    var emphasisModel = itemModel.getModel('emphasis');
-    var layout = node.getLayout();
-    var sectorShape = zrUtil.extend({}, layout);
-    sectorShape.label = null;
-    var normalStyle = node.getVisual('style');
-    normalStyle.lineJoin = 'bevel';
-    var decal = node.getVisual('decal');
-    if (decal) {
-      normalStyle.decal = createOrUpdatePatternFromDecal(decal, api);
-    }
-    var cornerRadius = getSectorCornerRadius(itemModel.getModel('itemStyle'), sectorShape, true);
-    zrUtil.extend(sectorShape, cornerRadius);
-    zrUtil.each(SPECIAL_STATES, function (stateName) {
-      var state = sector.ensureState(stateName);
-      var itemStyleModel = itemModel.getModel([stateName, 'itemStyle']);
-      state.style = itemStyleModel.getItemStyle();
-      // border radius
-      var cornerRadius = getSectorCornerRadius(itemStyleModel, sectorShape);
-      if (cornerRadius) {
-        state.shape = cornerRadius;
-      }
-    });
-    if (firstCreate) {
-      sector.setShape(sectorShape);
-      sector.shape.r = layout.r0;
-      graphic.initProps(sector, {
-        shape: {
-          r: layout.r
-        }
-      }, seriesModel, node.dataIndex);
-    } else {
-      // Disable animation for gradient since no interpolation method
-      // is supported for gradient
-      graphic.updateProps(sector, {
-        shape: sectorShape
-      }, seriesModel);
-      saveOldStyle(sector);
-    }
-    sector.useStyle(normalStyle);
-    this._updateLabel(seriesModel);
-    var cursorStyle = itemModel.getShallow('cursor');
-    cursorStyle && sector.attr('cursor', cursorStyle);
-    this._seriesModel = seriesModel || this._seriesModel;
-    this._ecModel = ecModel || this._ecModel;
-    var focus = emphasisModel.get('focus');
-    var focusOrIndices = focus === 'ancestor' ? node.getAncestorsIndices() : focus === 'descendant' ? node.getDescendantIndices() : focus;
-    toggleHoverEmphasis(this, focusOrIndices, emphasisModel.get('blurScope'), emphasisModel.get('disabled'));
-  };
-  SunburstPiece.prototype._updateLabel = function (seriesModel) {
-    var _this = this;
-    var itemModel = this.node.getModel();
-    var normalLabelModel = itemModel.getModel('label');
-    var layout = this.node.getLayout();
-    var angle = layout.endAngle - layout.startAngle;
-    var midAngle = (layout.startAngle + layout.endAngle) / 2;
-    var dx = Math.cos(midAngle);
-    var dy = Math.sin(midAngle);
-    var sector = this;
-    var label = sector.getTextContent();
-    var dataIndex = this.node.dataIndex;
-    var labelMinAngle = normalLabelModel.get('minAngle') / 180 * Math.PI;
-    var isNormalShown = normalLabelModel.get('show') && !(labelMinAngle != null && Math.abs(angle) < labelMinAngle);
-    label.ignore = !isNormalShown;
-    // TODO use setLabelStyle
-    zrUtil.each(DISPLAY_STATES, function (stateName) {
-      var labelStateModel = stateName === 'normal' ? itemModel.getModel('label') : itemModel.getModel([stateName, 'label']);
-      var isNormal = stateName === 'normal';
-      var state = isNormal ? label : label.ensureState(stateName);
-      var text = seriesModel.getFormattedLabel(dataIndex, stateName);
-      if (isNormal) {
-        text = text || _this.node.name;
-      }
-      state.style = createTextStyle(labelStateModel, {}, null, stateName !== 'normal', true);
-      if (text) {
-        state.style.text = text;
-      }
-      // Not displaying text when angle is too small
-      var isShown = labelStateModel.get('show');
-      if (isShown != null && !isNormal) {
-        state.ignore = !isShown;
-      }
-      var labelPosition = getLabelAttr(labelStateModel, 'position');
-      var sectorState = isNormal ? sector : sector.states[stateName];
-      var labelColor = sectorState.style.fill;
-      sectorState.textConfig = {
-        outsideFill: labelStateModel.get('color') === 'inherit' ? labelColor : null,
-        inside: labelPosition !== 'outside'
-      };
-      var r;
-      var labelPadding = getLabelAttr(labelStateModel, 'distance') || 0;
-      var textAlign = getLabelAttr(labelStateModel, 'align');
-      var rotateType = getLabelAttr(labelStateModel, 'rotate');
-      var flipStartAngle = Math.PI * 0.5;
-      var flipEndAngle = Math.PI * 1.5;
-      var midAngleNormal = normalizeRadian(rotateType === 'tangential' ? Math.PI / 2 - midAngle : midAngle);
-      // For text that is up-side down, rotate 180 degrees to make sure
-      // it's readable
-      var needsFlip = midAngleNormal > flipStartAngle && !isRadianAroundZero(midAngleNormal - flipStartAngle) && midAngleNormal < flipEndAngle;
-      if (labelPosition === 'outside') {
-        r = layout.r + labelPadding;
-        textAlign = needsFlip ? 'right' : 'left';
-      } else {
-        if (!textAlign || textAlign === 'center') {
-          // Put label in the center if it's a circle
-          if (angle === 2 * Math.PI && layout.r0 === 0) {
-            r = 0;
-          } else {
-            r = (layout.r + layout.r0) / 2;
-          }
-          textAlign = 'center';
-        } else if (textAlign === 'left') {
-          r = layout.r0 + labelPadding;
-          textAlign = needsFlip ? 'right' : 'left';
-        } else if (textAlign === 'right') {
-          r = layout.r - labelPadding;
-          textAlign = needsFlip ? 'left' : 'right';
-        }
-      }
-      state.style.align = textAlign;
-      state.style.verticalAlign = getLabelAttr(labelStateModel, 'verticalAlign') || 'middle';
-      state.x = r * dx + layout.cx;
-      state.y = r * dy + layout.cy;
-      var rotate = 0;
-      if (rotateType === 'radial') {
-        rotate = normalizeRadian(-midAngle) + (needsFlip ? Math.PI : 0);
-      } else if (rotateType === 'tangential') {
-        rotate = normalizeRadian(Math.PI / 2 - midAngle) + (needsFlip ? Math.PI : 0);
-      } else if (zrUtil.isNumber(rotateType)) {
-        rotate = rotateType * Math.PI / 180;
-      }
-      state.rotation = normalizeRadian(rotate);
-    });
-    function getLabelAttr(model, name) {
-      var stateAttr = model.get(name);
-      if (stateAttr == null) {
-        return normalLabelModel.get(name);
-      }
-      return stateAttr;
-    }
-    label.dirtyStyle();
-  };
-  return SunburstPiece;
-}(graphic.Sector);
-export default SunburstPiece;

+ 0 - 206
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js

@@ -1,206 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import * as zrUtil from 'zrender/lib/core/util.js';
-import SeriesModel from '../../model/Series.js';
-import Tree from '../../data/Tree.js';
-import { wrapTreePathInfo } from '../helper/treeHelper.js';
-import Model from '../../model/Model.js';
-import enableAriaDecalForTree from '../helper/enableAriaDecalForTree.js';
-var SunburstSeriesModel = /** @class */function (_super) {
-  __extends(SunburstSeriesModel, _super);
-  function SunburstSeriesModel() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = SunburstSeriesModel.type;
-    _this.ignoreStyleOnData = true;
-    return _this;
-  }
-  SunburstSeriesModel.prototype.getInitialData = function (option, ecModel) {
-    // Create a virtual root.
-    var root = {
-      name: option.name,
-      children: option.data
-    };
-    completeTreeValue(root);
-    var levelModels = this._levelModels = zrUtil.map(option.levels || [], function (levelDefine) {
-      return new Model(levelDefine, this, ecModel);
-    }, this);
-    // Make sure always a new tree is created when setOption,
-    // in TreemapView, we check whether oldTree === newTree
-    // to choose mappings approach among old shapes and new shapes.
-    var tree = Tree.createTree(root, this, beforeLink);
-    function beforeLink(nodeData) {
-      nodeData.wrapMethod('getItemModel', function (model, idx) {
-        var node = tree.getNodeByDataIndex(idx);
-        var levelModel = levelModels[node.depth];
-        levelModel && (model.parentModel = levelModel);
-        return model;
-      });
-    }
-    return tree.data;
-  };
-  SunburstSeriesModel.prototype.optionUpdated = function () {
-    this.resetViewRoot();
-  };
-  /*
-   * @override
-   */
-  SunburstSeriesModel.prototype.getDataParams = function (dataIndex) {
-    var params = _super.prototype.getDataParams.apply(this, arguments);
-    var node = this.getData().tree.getNodeByDataIndex(dataIndex);
-    params.treePathInfo = wrapTreePathInfo(node, this);
-    return params;
-  };
-  SunburstSeriesModel.prototype.getLevelModel = function (node) {
-    return this._levelModels && this._levelModels[node.depth];
-  };
-  SunburstSeriesModel.prototype.getViewRoot = function () {
-    return this._viewRoot;
-  };
-  SunburstSeriesModel.prototype.resetViewRoot = function (viewRoot) {
-    viewRoot ? this._viewRoot = viewRoot : viewRoot = this._viewRoot;
-    var root = this.getRawData().tree.root;
-    if (!viewRoot || viewRoot !== root && !root.contains(viewRoot)) {
-      this._viewRoot = root;
-    }
-  };
-  SunburstSeriesModel.prototype.enableAriaDecal = function () {
-    enableAriaDecalForTree(this);
-  };
-  SunburstSeriesModel.type = 'series.sunburst';
-  SunburstSeriesModel.defaultOption = {
-    // zlevel: 0,
-    z: 2,
-    // 默认全局居中
-    center: ['50%', '50%'],
-    radius: [0, '75%'],
-    // 默认顺时针
-    clockwise: true,
-    startAngle: 90,
-    // 最小角度改为0
-    minAngle: 0,
-    // If still show when all data zero.
-    stillShowZeroSum: true,
-    // 'rootToNode', 'link', or false
-    nodeClick: 'rootToNode',
-    renderLabelForZeroData: false,
-    label: {
-      // could be: 'radial', 'tangential', or 'none'
-      rotate: 'radial',
-      show: true,
-      opacity: 1,
-      // 'left' is for inner side of inside, and 'right' is for outer
-      // side for inside
-      align: 'center',
-      position: 'inside',
-      distance: 5,
-      silent: true
-    },
-    itemStyle: {
-      borderWidth: 1,
-      borderColor: 'white',
-      borderType: 'solid',
-      shadowBlur: 0,
-      shadowColor: 'rgba(0, 0, 0, 0.2)',
-      shadowOffsetX: 0,
-      shadowOffsetY: 0,
-      opacity: 1
-    },
-    emphasis: {
-      focus: 'descendant'
-    },
-    blur: {
-      itemStyle: {
-        opacity: 0.2
-      },
-      label: {
-        opacity: 0.1
-      }
-    },
-    // Animation type can be expansion, scale.
-    animationType: 'expansion',
-    animationDuration: 1000,
-    animationDurationUpdate: 500,
-    data: [],
-    /**
-     * Sort order.
-     *
-     * Valid values: 'desc', 'asc', null, or callback function.
-     * 'desc' and 'asc' for descend and ascendant order;
-     * null for not sorting;
-     * example of callback function:
-     * function(nodeA, nodeB) {
-     *     return nodeA.getValue() - nodeB.getValue();
-     * }
-     */
-    sort: 'desc'
-  };
-  return SunburstSeriesModel;
-}(SeriesModel);
-function completeTreeValue(dataNode) {
-  // Postorder travel tree.
-  // If value of none-leaf node is not set,
-  // calculate it by suming up the value of all children.
-  var sum = 0;
-  zrUtil.each(dataNode.children, function (child) {
-    completeTreeValue(child);
-    var childValue = child.value;
-    // TODO First value of array must be a number
-    zrUtil.isArray(childValue) && (childValue = childValue[0]);
-    sum += childValue;
-  });
-  var thisValue = dataNode.value;
-  if (zrUtil.isArray(thisValue)) {
-    thisValue = thisValue[0];
-  }
-  if (thisValue == null || isNaN(thisValue)) {
-    thisValue = sum;
-  }
-  // Value should not less than 0.
-  if (thisValue < 0) {
-    thisValue = 0;
-  }
-  zrUtil.isArray(dataNode.value) ? dataNode.value[0] = thisValue : dataNode.value = thisValue;
-}
-export default SunburstSeriesModel;

+ 0 - 206
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst/SunburstView.js

@@ -1,206 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import * as zrUtil from 'zrender/lib/core/util.js';
-import ChartView from '../../view/Chart.js';
-import SunburstPiece from './SunburstPiece.js';
-import DataDiffer from '../../data/DataDiffer.js';
-import { ROOT_TO_NODE_ACTION } from './sunburstAction.js';
-import { windowOpen } from '../../util/format.js';
-var SunburstView = /** @class */function (_super) {
-  __extends(SunburstView, _super);
-  function SunburstView() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = SunburstView.type;
-    return _this;
-  }
-  SunburstView.prototype.render = function (seriesModel, ecModel, api,
-  // @ts-ignore
-  payload) {
-    var self = this;
-    this.seriesModel = seriesModel;
-    this.api = api;
-    this.ecModel = ecModel;
-    var data = seriesModel.getData();
-    var virtualRoot = data.tree.root;
-    var newRoot = seriesModel.getViewRoot();
-    var group = this.group;
-    var renderLabelForZeroData = seriesModel.get('renderLabelForZeroData');
-    var newChildren = [];
-    newRoot.eachNode(function (node) {
-      newChildren.push(node);
-    });
-    var oldChildren = this._oldChildren || [];
-    dualTravel(newChildren, oldChildren);
-    renderRollUp(virtualRoot, newRoot);
-    this._initEvents();
-    this._oldChildren = newChildren;
-    function dualTravel(newChildren, oldChildren) {
-      if (newChildren.length === 0 && oldChildren.length === 0) {
-        return;
-      }
-      new DataDiffer(oldChildren, newChildren, getKey, getKey).add(processNode).update(processNode).remove(zrUtil.curry(processNode, null)).execute();
-      function getKey(node) {
-        return node.getId();
-      }
-      function processNode(newIdx, oldIdx) {
-        var newNode = newIdx == null ? null : newChildren[newIdx];
-        var oldNode = oldIdx == null ? null : oldChildren[oldIdx];
-        doRenderNode(newNode, oldNode);
-      }
-    }
-    function doRenderNode(newNode, oldNode) {
-      if (!renderLabelForZeroData && newNode && !newNode.getValue()) {
-        // Not render data with value 0
-        newNode = null;
-      }
-      if (newNode !== virtualRoot && oldNode !== virtualRoot) {
-        if (oldNode && oldNode.piece) {
-          if (newNode) {
-            // Update
-            oldNode.piece.updateData(false, newNode, seriesModel, ecModel, api);
-            // For tooltip
-            data.setItemGraphicEl(newNode.dataIndex, oldNode.piece);
-          } else {
-            // Remove
-            removeNode(oldNode);
-          }
-        } else if (newNode) {
-          // Add
-          var piece = new SunburstPiece(newNode, seriesModel, ecModel, api);
-          group.add(piece);
-          // For tooltip
-          data.setItemGraphicEl(newNode.dataIndex, piece);
-        }
-      }
-    }
-    function removeNode(node) {
-      if (!node) {
-        return;
-      }
-      if (node.piece) {
-        group.remove(node.piece);
-        node.piece = null;
-      }
-    }
-    function renderRollUp(virtualRoot, viewRoot) {
-      if (viewRoot.depth > 0) {
-        // Render
-        if (self.virtualPiece) {
-          // Update
-          self.virtualPiece.updateData(false, virtualRoot, seriesModel, ecModel, api);
-        } else {
-          // Add
-          self.virtualPiece = new SunburstPiece(virtualRoot, seriesModel, ecModel, api);
-          group.add(self.virtualPiece);
-        }
-        // TODO event scope
-        viewRoot.piece.off('click');
-        self.virtualPiece.on('click', function (e) {
-          self._rootToNode(viewRoot.parentNode);
-        });
-      } else if (self.virtualPiece) {
-        // Remove
-        group.remove(self.virtualPiece);
-        self.virtualPiece = null;
-      }
-    }
-  };
-  /**
-   * @private
-   */
-  SunburstView.prototype._initEvents = function () {
-    var _this = this;
-    this.group.off('click');
-    this.group.on('click', function (e) {
-      var targetFound = false;
-      var viewRoot = _this.seriesModel.getViewRoot();
-      viewRoot.eachNode(function (node) {
-        if (!targetFound && node.piece && node.piece === e.target) {
-          var nodeClick = node.getModel().get('nodeClick');
-          if (nodeClick === 'rootToNode') {
-            _this._rootToNode(node);
-          } else if (nodeClick === 'link') {
-            var itemModel = node.getModel();
-            var link = itemModel.get('link');
-            if (link) {
-              var linkTarget = itemModel.get('target', true) || '_blank';
-              windowOpen(link, linkTarget);
-            }
-          }
-          targetFound = true;
-        }
-      });
-    });
-  };
-  /**
-   * @private
-   */
-  SunburstView.prototype._rootToNode = function (node) {
-    if (node !== this.seriesModel.getViewRoot()) {
-      this.api.dispatchAction({
-        type: ROOT_TO_NODE_ACTION,
-        from: this.uid,
-        seriesId: this.seriesModel.id,
-        targetNode: node
-      });
-    }
-  };
-  /**
-   * @implement
-   */
-  SunburstView.prototype.containPoint = function (point, seriesModel) {
-    var treeRoot = seriesModel.getData();
-    var itemLayout = treeRoot.getItemLayout(0);
-    if (itemLayout) {
-      var dx = point[0] - itemLayout.cx;
-      var dy = point[1] - itemLayout.cy;
-      var radius = Math.sqrt(dx * dx + dy * dy);
-      return radius <= itemLayout.r && radius >= itemLayout.r0;
-    }
-  };
-  SunburstView.type = 'sunburst';
-  return SunburstView;
-}(ChartView);
-export default SunburstView;

+ 0 - 58
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst/install.js

@@ -1,58 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import SunburstView from './SunburstView.js';
-import SunburstSeriesModel from './SunburstSeries.js';
-import sunburstLayout from './sunburstLayout.js';
-import sunburstVisual from './sunburstVisual.js';
-import dataFilter from '../../processor/dataFilter.js';
-import { curry } from 'zrender/lib/core/util.js';
-import { installSunburstAction } from './sunburstAction.js';
-export function install(registers) {
-  registers.registerChartView(SunburstView);
-  registers.registerSeriesModel(SunburstSeriesModel);
-  registers.registerLayout(curry(sunburstLayout, 'sunburst'));
-  registers.registerProcessor(curry(dataFilter, 'sunburst'));
-  registers.registerVisual(sunburstVisual);
-  installSunburstAction(registers);
-}

+ 0 - 108
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst/sunburstAction.js

@@ -1,108 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { extend } from 'zrender/lib/core/util.js';
-import { deprecateReplaceLog } from '../../util/log.js';
-import { retrieveTargetInfo, aboveViewRoot } from '../helper/treeHelper.js';
-export var ROOT_TO_NODE_ACTION = 'sunburstRootToNode';
-var HIGHLIGHT_ACTION = 'sunburstHighlight';
-var UNHIGHLIGHT_ACTION = 'sunburstUnhighlight';
-export function installSunburstAction(registers) {
-  registers.registerAction({
-    type: ROOT_TO_NODE_ACTION,
-    update: 'updateView'
-  }, function (payload, ecModel) {
-    ecModel.eachComponent({
-      mainType: 'series',
-      subType: 'sunburst',
-      query: payload
-    }, handleRootToNode);
-    function handleRootToNode(model, index) {
-      var targetInfo = retrieveTargetInfo(payload, [ROOT_TO_NODE_ACTION], model);
-      if (targetInfo) {
-        var originViewRoot = model.getViewRoot();
-        if (originViewRoot) {
-          payload.direction = aboveViewRoot(originViewRoot, targetInfo.node) ? 'rollUp' : 'drillDown';
-        }
-        model.resetViewRoot(targetInfo.node);
-      }
-    }
-  });
-  registers.registerAction({
-    type: HIGHLIGHT_ACTION,
-    update: 'none'
-  }, function (payload, ecModel, api) {
-    // Clone
-    payload = extend({}, payload);
-    ecModel.eachComponent({
-      mainType: 'series',
-      subType: 'sunburst',
-      query: payload
-    }, handleHighlight);
-    function handleHighlight(model) {
-      var targetInfo = retrieveTargetInfo(payload, [HIGHLIGHT_ACTION], model);
-      if (targetInfo) {
-        payload.dataIndex = targetInfo.node.dataIndex;
-      }
-    }
-    if (process.env.NODE_ENV !== 'production') {
-      deprecateReplaceLog('sunburstHighlight', 'highlight');
-    }
-    // Fast forward action
-    api.dispatchAction(extend(payload, {
-      type: 'highlight'
-    }));
-  });
-  registers.registerAction({
-    type: UNHIGHLIGHT_ACTION,
-    update: 'updateView'
-  }, function (payload, ecModel, api) {
-    payload = extend({}, payload);
-    if (process.env.NODE_ENV !== 'production') {
-      deprecateReplaceLog('sunburstUnhighlight', 'downplay');
-    }
-    api.dispatchAction(extend(payload, {
-      type: 'downplay'
-    }));
-  });
-}

+ 0 - 216
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js

@@ -1,216 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { parsePercent } from '../../util/number.js';
-import * as zrUtil from 'zrender/lib/core/util.js';
-// let PI2 = Math.PI * 2;
-var RADIAN = Math.PI / 180;
-export default function sunburstLayout(seriesType, ecModel, api) {
-  ecModel.eachSeriesByType(seriesType, function (seriesModel) {
-    var center = seriesModel.get('center');
-    var radius = seriesModel.get('radius');
-    if (!zrUtil.isArray(radius)) {
-      radius = [0, radius];
-    }
-    if (!zrUtil.isArray(center)) {
-      center = [center, center];
-    }
-    var width = api.getWidth();
-    var height = api.getHeight();
-    var size = Math.min(width, height);
-    var cx = parsePercent(center[0], width);
-    var cy = parsePercent(center[1], height);
-    var r0 = parsePercent(radius[0], size / 2);
-    var r = parsePercent(radius[1], size / 2);
-    var startAngle = -seriesModel.get('startAngle') * RADIAN;
-    var minAngle = seriesModel.get('minAngle') * RADIAN;
-    var virtualRoot = seriesModel.getData().tree.root;
-    var treeRoot = seriesModel.getViewRoot();
-    var rootDepth = treeRoot.depth;
-    var sort = seriesModel.get('sort');
-    if (sort != null) {
-      initChildren(treeRoot, sort);
-    }
-    var validDataCount = 0;
-    zrUtil.each(treeRoot.children, function (child) {
-      !isNaN(child.getValue()) && validDataCount++;
-    });
-    var sum = treeRoot.getValue();
-    // Sum may be 0
-    var unitRadian = Math.PI / (sum || validDataCount) * 2;
-    var renderRollupNode = treeRoot.depth > 0;
-    var levels = treeRoot.height - (renderRollupNode ? -1 : 1);
-    var rPerLevel = (r - r0) / (levels || 1);
-    var clockwise = seriesModel.get('clockwise');
-    var stillShowZeroSum = seriesModel.get('stillShowZeroSum');
-    // In the case some sector angle is smaller than minAngle
-    // let restAngle = PI2;
-    // let valueSumLargerThanMinAngle = 0;
-    var dir = clockwise ? 1 : -1;
-    /**
-     * Render a tree
-     * @return increased angle
-     */
-    var renderNode = function (node, startAngle) {
-      if (!node) {
-        return;
-      }
-      var endAngle = startAngle;
-      // Render self
-      if (node !== virtualRoot) {
-        // Tree node is virtual, so it doesn't need to be drawn
-        var value = node.getValue();
-        var angle = sum === 0 && stillShowZeroSum ? unitRadian : value * unitRadian;
-        if (angle < minAngle) {
-          angle = minAngle;
-          // restAngle -= minAngle;
-        }
-        // else {
-        //     valueSumLargerThanMinAngle += value;
-        // }
-        endAngle = startAngle + dir * angle;
-        var depth = node.depth - rootDepth - (renderRollupNode ? -1 : 1);
-        var rStart = r0 + rPerLevel * depth;
-        var rEnd = r0 + rPerLevel * (depth + 1);
-        var levelModel = seriesModel.getLevelModel(node);
-        if (levelModel) {
-          var r0_1 = levelModel.get('r0', true);
-          var r_1 = levelModel.get('r', true);
-          var radius_1 = levelModel.get('radius', true);
-          if (radius_1 != null) {
-            r0_1 = radius_1[0];
-            r_1 = radius_1[1];
-          }
-          r0_1 != null && (rStart = parsePercent(r0_1, size / 2));
-          r_1 != null && (rEnd = parsePercent(r_1, size / 2));
-        }
-        node.setLayout({
-          angle: angle,
-          startAngle: startAngle,
-          endAngle: endAngle,
-          clockwise: clockwise,
-          cx: cx,
-          cy: cy,
-          r0: rStart,
-          r: rEnd
-        });
-      }
-      // Render children
-      if (node.children && node.children.length) {
-        // currentAngle = startAngle;
-        var siblingAngle_1 = 0;
-        zrUtil.each(node.children, function (node) {
-          siblingAngle_1 += renderNode(node, startAngle + siblingAngle_1);
-        });
-      }
-      return endAngle - startAngle;
-    };
-    // Virtual root node for roll up
-    if (renderRollupNode) {
-      var rStart = r0;
-      var rEnd = r0 + rPerLevel;
-      var angle = Math.PI * 2;
-      virtualRoot.setLayout({
-        angle: angle,
-        startAngle: startAngle,
-        endAngle: startAngle + angle,
-        clockwise: clockwise,
-        cx: cx,
-        cy: cy,
-        r0: rStart,
-        r: rEnd
-      });
-    }
-    renderNode(treeRoot, startAngle);
-  });
-}
-/**
- * Init node children by order and update visual
- */
-function initChildren(node, sortOrder) {
-  var children = node.children || [];
-  node.children = sort(children, sortOrder);
-  // Init children recursively
-  if (children.length) {
-    zrUtil.each(node.children, function (child) {
-      initChildren(child, sortOrder);
-    });
-  }
-}
-/**
- * Sort children nodes
- *
- * @param {TreeNode[]}               children children of node to be sorted
- * @param {string | function | null} sort sort method
- *                                   See SunburstSeries.js for details.
- */
-function sort(children, sortOrder) {
-  if (zrUtil.isFunction(sortOrder)) {
-    var sortTargets = zrUtil.map(children, function (child, idx) {
-      var value = child.getValue();
-      return {
-        params: {
-          depth: child.depth,
-          height: child.height,
-          dataIndex: child.dataIndex,
-          getValue: function () {
-            return value;
-          }
-        },
-        index: idx
-      };
-    });
-    sortTargets.sort(function (a, b) {
-      return sortOrder(a.params, b.params);
-    });
-    return zrUtil.map(sortTargets, function (target) {
-      return children[target.index];
-    });
-  } else {
-    var isAsc_1 = sortOrder === 'asc';
-    return children.sort(function (a, b) {
-      var diff = (a.getValue() - b.getValue()) * (isAsc_1 ? 1 : -1);
-      return diff === 0 ? (a.dataIndex - b.dataIndex) * (isAsc_1 ? -1 : 1) : diff;
-    });
-  }
-}

+ 0 - 75
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js

@@ -1,75 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { lift } from 'zrender/lib/tool/color.js';
-import { extend, isString } from 'zrender/lib/core/util.js';
-export default function sunburstVisual(ecModel) {
-  var paletteScope = {};
-  // Default color strategy
-  function pickColor(node, seriesModel, treeHeight) {
-    // Choose color from palette based on the first level.
-    var current = node;
-    while (current && current.depth > 1) {
-      current = current.parentNode;
-    }
-    var color = seriesModel.getColorFromPalette(current.name || current.dataIndex + '', paletteScope);
-    if (node.depth > 1 && isString(color)) {
-      // Lighter on the deeper level.
-      color = lift(color, (node.depth - 1) / (treeHeight - 1) * 0.5);
-    }
-    return color;
-  }
-  ecModel.eachSeriesByType('sunburst', function (seriesModel) {
-    var data = seriesModel.getData();
-    var tree = data.tree;
-    tree.eachNode(function (node) {
-      var model = node.getModel();
-      var style = model.getModel('itemStyle').getItemStyle();
-      if (!style.fill) {
-        style.fill = pickColor(node, seriesModel, tree.root.height);
-      }
-      var existsStyle = data.ensureUniqueItemVisual(node.dataIndex, 'style');
-      extend(existsStyle, style);
-    });
-  });
-}

+ 0 - 46
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/themeRiver.js

@@ -1,46 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../extension.js';
-import { install } from './themeRiver/install.js';
-use(install);

+ 0 - 260
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js

@@ -1,260 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import SeriesModel from '../../model/Series.js';
-import prepareSeriesDataSchema from '../../data/helper/createDimensions.js';
-import { getDimensionTypeByAxis } from '../../data/helper/dimensionHelper.js';
-import SeriesData from '../../data/SeriesData.js';
-import * as zrUtil from 'zrender/lib/core/util.js';
-import { groupData, SINGLE_REFERRING } from '../../util/model.js';
-import LegendVisualProvider from '../../visual/LegendVisualProvider.js';
-import { createTooltipMarkup } from '../../component/tooltip/tooltipMarkup.js';
-var DATA_NAME_INDEX = 2;
-var ThemeRiverSeriesModel = /** @class */function (_super) {
-  __extends(ThemeRiverSeriesModel, _super);
-  function ThemeRiverSeriesModel() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = ThemeRiverSeriesModel.type;
-    return _this;
-  }
-  /**
-   * @override
-   */
-  ThemeRiverSeriesModel.prototype.init = function (option) {
-    // eslint-disable-next-line
-    _super.prototype.init.apply(this, arguments);
-    // Put this function here is for the sake of consistency of code style.
-    // Enable legend selection for each data item
-    // Use a function instead of direct access because data reference may changed
-    this.legendVisualProvider = new LegendVisualProvider(zrUtil.bind(this.getData, this), zrUtil.bind(this.getRawData, this));
-  };
-  /**
-   * If there is no value of a certain point in the time for some event,set it value to 0.
-   *
-   * @param {Array} data  initial data in the option
-   * @return {Array}
-   */
-  ThemeRiverSeriesModel.prototype.fixData = function (data) {
-    var rawDataLength = data.length;
-    /**
-     * Make sure every layer data get the same keys.
-     * The value index tells which layer has visited.
-     * {
-     *  2014/01/01: -1
-     * }
-     */
-    var timeValueKeys = {};
-    // grouped data by name
-    var groupResult = groupData(data, function (item) {
-      if (!timeValueKeys.hasOwnProperty(item[0] + '')) {
-        timeValueKeys[item[0] + ''] = -1;
-      }
-      return item[2];
-    });
-    var layerData = [];
-    groupResult.buckets.each(function (items, key) {
-      layerData.push({
-        name: key,
-        dataList: items
-      });
-    });
-    var layerNum = layerData.length;
-    for (var k = 0; k < layerNum; ++k) {
-      var name_1 = layerData[k].name;
-      for (var j = 0; j < layerData[k].dataList.length; ++j) {
-        var timeValue = layerData[k].dataList[j][0] + '';
-        timeValueKeys[timeValue] = k;
-      }
-      for (var timeValue in timeValueKeys) {
-        if (timeValueKeys.hasOwnProperty(timeValue) && timeValueKeys[timeValue] !== k) {
-          timeValueKeys[timeValue] = k;
-          data[rawDataLength] = [timeValue, 0, name_1];
-          rawDataLength++;
-        }
-      }
-    }
-    return data;
-  };
-  /**
-   * @override
-   * @param  option  the initial option that user gave
-   * @param  ecModel  the model object for themeRiver option
-   */
-  ThemeRiverSeriesModel.prototype.getInitialData = function (option, ecModel) {
-    var singleAxisModel = this.getReferringComponents('singleAxis', SINGLE_REFERRING).models[0];
-    var axisType = singleAxisModel.get('type');
-    // filter the data item with the value of label is undefined
-    var filterData = zrUtil.filter(option.data, function (dataItem) {
-      return dataItem[2] !== undefined;
-    });
-    // ??? TODO design a stage to transfer data for themeRiver and lines?
-    var data = this.fixData(filterData || []);
-    var nameList = [];
-    var nameMap = this.nameMap = zrUtil.createHashMap();
-    var count = 0;
-    for (var i = 0; i < data.length; ++i) {
-      nameList.push(data[i][DATA_NAME_INDEX]);
-      if (!nameMap.get(data[i][DATA_NAME_INDEX])) {
-        nameMap.set(data[i][DATA_NAME_INDEX], count);
-        count++;
-      }
-    }
-    var dimensions = prepareSeriesDataSchema(data, {
-      coordDimensions: ['single'],
-      dimensionsDefine: [{
-        name: 'time',
-        type: getDimensionTypeByAxis(axisType)
-      }, {
-        name: 'value',
-        type: 'float'
-      }, {
-        name: 'name',
-        type: 'ordinal'
-      }],
-      encodeDefine: {
-        single: 0,
-        value: 1,
-        itemName: 2
-      }
-    }).dimensions;
-    var list = new SeriesData(dimensions, this);
-    list.initData(data);
-    return list;
-  };
-  /**
-   * The raw data is divided into multiple layers and each layer
-   *     has same name.
-   */
-  ThemeRiverSeriesModel.prototype.getLayerSeries = function () {
-    var data = this.getData();
-    var lenCount = data.count();
-    var indexArr = [];
-    for (var i = 0; i < lenCount; ++i) {
-      indexArr[i] = i;
-    }
-    var timeDim = data.mapDimension('single');
-    // data group by name
-    var groupResult = groupData(indexArr, function (index) {
-      return data.get('name', index);
-    });
-    var layerSeries = [];
-    groupResult.buckets.each(function (items, key) {
-      items.sort(function (index1, index2) {
-        return data.get(timeDim, index1) - data.get(timeDim, index2);
-      });
-      layerSeries.push({
-        name: key,
-        indices: items
-      });
-    });
-    return layerSeries;
-  };
-  /**
-   * Get data indices for show tooltip content
-   */
-  ThemeRiverSeriesModel.prototype.getAxisTooltipData = function (dim, value, baseAxis) {
-    if (!zrUtil.isArray(dim)) {
-      dim = dim ? [dim] : [];
-    }
-    var data = this.getData();
-    var layerSeries = this.getLayerSeries();
-    var indices = [];
-    var layerNum = layerSeries.length;
-    var nestestValue;
-    for (var i = 0; i < layerNum; ++i) {
-      var minDist = Number.MAX_VALUE;
-      var nearestIdx = -1;
-      var pointNum = layerSeries[i].indices.length;
-      for (var j = 0; j < pointNum; ++j) {
-        var theValue = data.get(dim[0], layerSeries[i].indices[j]);
-        var dist = Math.abs(theValue - value);
-        if (dist <= minDist) {
-          nestestValue = theValue;
-          minDist = dist;
-          nearestIdx = layerSeries[i].indices[j];
-        }
-      }
-      indices.push(nearestIdx);
-    }
-    return {
-      dataIndices: indices,
-      nestestValue: nestestValue
-    };
-  };
-  ThemeRiverSeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) {
-    var data = this.getData();
-    var name = data.getName(dataIndex);
-    var value = data.get(data.mapDimension('value'), dataIndex);
-    return createTooltipMarkup('nameValue', {
-      name: name,
-      value: value
-    });
-  };
-  ThemeRiverSeriesModel.type = 'series.themeRiver';
-  ThemeRiverSeriesModel.dependencies = ['singleAxis'];
-  ThemeRiverSeriesModel.defaultOption = {
-    // zlevel: 0,
-    z: 2,
-    colorBy: 'data',
-    coordinateSystem: 'singleAxis',
-    // gap in axis's orthogonal orientation
-    boundaryGap: ['10%', '10%'],
-    // legendHoverLink: true,
-    singleAxisIndex: 0,
-    animationEasing: 'linear',
-    label: {
-      margin: 4,
-      show: true,
-      position: 'left',
-      fontSize: 11
-    },
-    emphasis: {
-      label: {
-        show: true
-      }
-    }
-  };
-  return ThemeRiverSeriesModel;
-}(SeriesModel);
-export default ThemeRiverSeriesModel;

+ 0 - 186
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js

@@ -1,186 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import { ECPolygon } from '../line/poly.js';
-import * as graphic from '../../util/graphic.js';
-import { setStatesStylesFromModel, toggleHoverEmphasis } from '../../util/states.js';
-import { setLabelStyle, getLabelStatesModels } from '../../label/labelStyle.js';
-import { bind } from 'zrender/lib/core/util.js';
-import DataDiffer from '../../data/DataDiffer.js';
-import ChartView from '../../view/Chart.js';
-import { saveOldStyle } from '../../animation/basicTransition.js';
-var ThemeRiverView = /** @class */function (_super) {
-  __extends(ThemeRiverView, _super);
-  function ThemeRiverView() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = ThemeRiverView.type;
-    _this._layers = [];
-    return _this;
-  }
-  ThemeRiverView.prototype.render = function (seriesModel, ecModel, api) {
-    var data = seriesModel.getData();
-    var self = this;
-    var group = this.group;
-    var layersSeries = seriesModel.getLayerSeries();
-    var layoutInfo = data.getLayout('layoutInfo');
-    var rect = layoutInfo.rect;
-    var boundaryGap = layoutInfo.boundaryGap;
-    group.x = 0;
-    group.y = rect.y + boundaryGap[0];
-    function keyGetter(item) {
-      return item.name;
-    }
-    var dataDiffer = new DataDiffer(this._layersSeries || [], layersSeries, keyGetter, keyGetter);
-    var newLayersGroups = [];
-    dataDiffer.add(bind(process, this, 'add')).update(bind(process, this, 'update')).remove(bind(process, this, 'remove')).execute();
-    function process(status, idx, oldIdx) {
-      var oldLayersGroups = self._layers;
-      if (status === 'remove') {
-        group.remove(oldLayersGroups[idx]);
-        return;
-      }
-      var points0 = [];
-      var points1 = [];
-      var style;
-      var indices = layersSeries[idx].indices;
-      var j = 0;
-      for (; j < indices.length; j++) {
-        var layout = data.getItemLayout(indices[j]);
-        var x = layout.x;
-        var y0 = layout.y0;
-        var y = layout.y;
-        points0.push(x, y0);
-        points1.push(x, y0 + y);
-        style = data.getItemVisual(indices[j], 'style');
-      }
-      var polygon;
-      var textLayout = data.getItemLayout(indices[0]);
-      var labelModel = seriesModel.getModel('label');
-      var margin = labelModel.get('margin');
-      var emphasisModel = seriesModel.getModel('emphasis');
-      if (status === 'add') {
-        var layerGroup = newLayersGroups[idx] = new graphic.Group();
-        polygon = new ECPolygon({
-          shape: {
-            points: points0,
-            stackedOnPoints: points1,
-            smooth: 0.4,
-            stackedOnSmooth: 0.4,
-            smoothConstraint: false
-          },
-          z2: 0
-        });
-        layerGroup.add(polygon);
-        group.add(layerGroup);
-        if (seriesModel.isAnimationEnabled()) {
-          polygon.setClipPath(createGridClipShape(polygon.getBoundingRect(), seriesModel, function () {
-            polygon.removeClipPath();
-          }));
-        }
-      } else {
-        var layerGroup = oldLayersGroups[oldIdx];
-        polygon = layerGroup.childAt(0);
-        group.add(layerGroup);
-        newLayersGroups[idx] = layerGroup;
-        graphic.updateProps(polygon, {
-          shape: {
-            points: points0,
-            stackedOnPoints: points1
-          }
-        }, seriesModel);
-        saveOldStyle(polygon);
-      }
-      setLabelStyle(polygon, getLabelStatesModels(seriesModel), {
-        labelDataIndex: indices[j - 1],
-        defaultText: data.getName(indices[j - 1]),
-        inheritColor: style.fill
-      }, {
-        normal: {
-          verticalAlign: 'middle'
-          // align: 'right'
-        }
-      });
-
-      polygon.setTextConfig({
-        position: null,
-        local: true
-      });
-      var labelEl = polygon.getTextContent();
-      // TODO More label position options.
-      if (labelEl) {
-        labelEl.x = textLayout.x - margin;
-        labelEl.y = textLayout.y0 + textLayout.y / 2;
-      }
-      polygon.useStyle(style);
-      data.setItemGraphicEl(idx, polygon);
-      setStatesStylesFromModel(polygon, seriesModel);
-      toggleHoverEmphasis(polygon, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled'));
-    }
-    this._layersSeries = layersSeries;
-    this._layers = newLayersGroups;
-  };
-  ThemeRiverView.type = 'themeRiver';
-  return ThemeRiverView;
-}(ChartView);
-;
-// add animation to the view
-function createGridClipShape(rect, seriesModel, cb) {
-  var rectEl = new graphic.Rect({
-    shape: {
-      x: rect.x - 10,
-      y: rect.y - 10,
-      width: 0,
-      height: rect.height + 20
-    }
-  });
-  graphic.initProps(rectEl, {
-    shape: {
-      x: rect.x - 50,
-      width: rect.width + 100,
-      height: rect.height + 20
-    }
-  }, seriesModel, cb);
-  return rectEl;
-}
-export default ThemeRiverView;

+ 0 - 35
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/themeRiver/install.js

@@ -1,35 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-import ThemeRiverView from './ThemeRiverView.js';
-import ThemeRiverSeriesModel from './ThemeRiverSeries.js';
-import themeRiverLayout from './themeRiverLayout.js';
-import dataFilter from '../../processor/dataFilter.js';
-export function install(registers) {
-  registers.registerChartView(ThemeRiverView);
-  registers.registerSeriesModel(ThemeRiverSeriesModel);
-  registers.registerLayout(themeRiverLayout);
-  registers.registerProcessor(dataFilter('themeRiver'));
-}

+ 0 - 157
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js

@@ -1,157 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as zrUtil from 'zrender/lib/core/util.js';
-import * as numberUtil from '../../util/number.js';
-export default function themeRiverLayout(ecModel, api) {
-  ecModel.eachSeriesByType('themeRiver', function (seriesModel) {
-    var data = seriesModel.getData();
-    var single = seriesModel.coordinateSystem;
-    var layoutInfo = {};
-    // use the axis boundingRect for view
-    var rect = single.getRect();
-    layoutInfo.rect = rect;
-    var boundaryGap = seriesModel.get('boundaryGap');
-    var axis = single.getAxis();
-    layoutInfo.boundaryGap = boundaryGap;
-    if (axis.orient === 'horizontal') {
-      boundaryGap[0] = numberUtil.parsePercent(boundaryGap[0], rect.height);
-      boundaryGap[1] = numberUtil.parsePercent(boundaryGap[1], rect.height);
-      var height = rect.height - boundaryGap[0] - boundaryGap[1];
-      doThemeRiverLayout(data, seriesModel, height);
-    } else {
-      boundaryGap[0] = numberUtil.parsePercent(boundaryGap[0], rect.width);
-      boundaryGap[1] = numberUtil.parsePercent(boundaryGap[1], rect.width);
-      var width = rect.width - boundaryGap[0] - boundaryGap[1];
-      doThemeRiverLayout(data, seriesModel, width);
-    }
-    data.setLayout('layoutInfo', layoutInfo);
-  });
-}
-/**
- * The layout information about themeriver
- *
- * @param data  data in the series
- * @param seriesModel  the model object of themeRiver series
- * @param height  value used to compute every series height
- */
-function doThemeRiverLayout(data, seriesModel, height) {
-  if (!data.count()) {
-    return;
-  }
-  var coordSys = seriesModel.coordinateSystem;
-  // the data in each layer are organized into a series.
-  var layerSeries = seriesModel.getLayerSeries();
-  // the points in each layer.
-  var timeDim = data.mapDimension('single');
-  var valueDim = data.mapDimension('value');
-  var layerPoints = zrUtil.map(layerSeries, function (singleLayer) {
-    return zrUtil.map(singleLayer.indices, function (idx) {
-      var pt = coordSys.dataToPoint(data.get(timeDim, idx));
-      pt[1] = data.get(valueDim, idx);
-      return pt;
-    });
-  });
-  var base = computeBaseline(layerPoints);
-  var baseLine = base.y0;
-  var ky = height / base.max;
-  // set layout information for each item.
-  var n = layerSeries.length;
-  var m = layerSeries[0].indices.length;
-  var baseY0;
-  for (var j = 0; j < m; ++j) {
-    baseY0 = baseLine[j] * ky;
-    data.setItemLayout(layerSeries[0].indices[j], {
-      layerIndex: 0,
-      x: layerPoints[0][j][0],
-      y0: baseY0,
-      y: layerPoints[0][j][1] * ky
-    });
-    for (var i = 1; i < n; ++i) {
-      baseY0 += layerPoints[i - 1][j][1] * ky;
-      data.setItemLayout(layerSeries[i].indices[j], {
-        layerIndex: i,
-        x: layerPoints[i][j][0],
-        y0: baseY0,
-        y: layerPoints[i][j][1] * ky
-      });
-    }
-  }
-}
-/**
- * Compute the baseLine of the rawdata
- * Inspired by Lee Byron's paper Stacked Graphs - Geometry & Aesthetics
- *
- * @param  data  the points in each layer
- */
-function computeBaseline(data) {
-  var layerNum = data.length;
-  var pointNum = data[0].length;
-  var sums = [];
-  var y0 = [];
-  var max = 0;
-  for (var i = 0; i < pointNum; ++i) {
-    var temp = 0;
-    for (var j = 0; j < layerNum; ++j) {
-      temp += data[j][i][1];
-    }
-    if (temp > max) {
-      max = temp;
-    }
-    sums.push(temp);
-  }
-  for (var k = 0; k < pointNum; ++k) {
-    y0[k] = (max - sums[k]) / 2;
-  }
-  max = 0;
-  for (var l = 0; l < pointNum; ++l) {
-    var sum = sums[l] + y0[l];
-    if (sum > max) {
-      max = sum;
-    }
-  }
-  return {
-    y0: y0,
-    max: max
-  };
-}

+ 0 - 46
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree.js

@@ -1,46 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../extension.js';
-import { install } from './tree/install.js';
-use(install);

+ 0 - 187
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/TreeSeries.js

@@ -1,187 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import SeriesModel from '../../model/Series.js';
-import Tree from '../../data/Tree.js';
-import Model from '../../model/Model.js';
-import { createTooltipMarkup } from '../../component/tooltip/tooltipMarkup.js';
-import { wrapTreePathInfo } from '../helper/treeHelper.js';
-var TreeSeriesModel = /** @class */function (_super) {
-  __extends(TreeSeriesModel, _super);
-  function TreeSeriesModel() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.hasSymbolVisual = true;
-    // Do it self.
-    _this.ignoreStyleOnData = true;
-    return _this;
-  }
-  /**
-   * Init a tree data structure from data in option series
-   */
-  TreeSeriesModel.prototype.getInitialData = function (option) {
-    // create a virtual root
-    var root = {
-      name: option.name,
-      children: option.data
-    };
-    var leaves = option.leaves || {};
-    var leavesModel = new Model(leaves, this, this.ecModel);
-    var tree = Tree.createTree(root, this, beforeLink);
-    function beforeLink(nodeData) {
-      nodeData.wrapMethod('getItemModel', function (model, idx) {
-        var node = tree.getNodeByDataIndex(idx);
-        if (!(node && node.children.length && node.isExpand)) {
-          model.parentModel = leavesModel;
-        }
-        return model;
-      });
-    }
-    var treeDepth = 0;
-    tree.eachNode('preorder', function (node) {
-      if (node.depth > treeDepth) {
-        treeDepth = node.depth;
-      }
-    });
-    var expandAndCollapse = option.expandAndCollapse;
-    var expandTreeDepth = expandAndCollapse && option.initialTreeDepth >= 0 ? option.initialTreeDepth : treeDepth;
-    tree.root.eachNode('preorder', function (node) {
-      var item = node.hostTree.data.getRawDataItem(node.dataIndex);
-      // Add item.collapsed != null, because users can collapse node original in the series.data.
-      node.isExpand = item && item.collapsed != null ? !item.collapsed : node.depth <= expandTreeDepth;
-    });
-    return tree.data;
-  };
-  /**
-   * Make the configuration 'orient' backward compatibly, with 'horizontal = LR', 'vertical = TB'.
-   * @returns {string} orient
-   */
-  TreeSeriesModel.prototype.getOrient = function () {
-    var orient = this.get('orient');
-    if (orient === 'horizontal') {
-      orient = 'LR';
-    } else if (orient === 'vertical') {
-      orient = 'TB';
-    }
-    return orient;
-  };
-  TreeSeriesModel.prototype.setZoom = function (zoom) {
-    this.option.zoom = zoom;
-  };
-  TreeSeriesModel.prototype.setCenter = function (center) {
-    this.option.center = center;
-  };
-  TreeSeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) {
-    var tree = this.getData().tree;
-    var realRoot = tree.root.children[0];
-    var node = tree.getNodeByDataIndex(dataIndex);
-    var value = node.getValue();
-    var name = node.name;
-    while (node && node !== realRoot) {
-      name = node.parentNode.name + '.' + name;
-      node = node.parentNode;
-    }
-    return createTooltipMarkup('nameValue', {
-      name: name,
-      value: value,
-      noValue: isNaN(value) || value == null
-    });
-  };
-  // Add tree path to tooltip param
-  TreeSeriesModel.prototype.getDataParams = function (dataIndex) {
-    var params = _super.prototype.getDataParams.apply(this, arguments);
-    var node = this.getData().tree.getNodeByDataIndex(dataIndex);
-    params.treeAncestors = wrapTreePathInfo(node, this);
-    params.collapsed = !node.isExpand;
-    return params;
-  };
-  TreeSeriesModel.type = 'series.tree';
-  // can support the position parameters 'left', 'top','right','bottom', 'width',
-  // 'height' in the setOption() with 'merge' mode normal.
-  TreeSeriesModel.layoutMode = 'box';
-  TreeSeriesModel.defaultOption = {
-    // zlevel: 0,
-    z: 2,
-    coordinateSystem: 'view',
-    // the position of the whole view
-    left: '12%',
-    top: '12%',
-    right: '12%',
-    bottom: '12%',
-    // the layout of the tree, two value can be selected, 'orthogonal' or 'radial'
-    layout: 'orthogonal',
-    // value can be 'polyline'
-    edgeShape: 'curve',
-    edgeForkPosition: '50%',
-    // true | false | 'move' | 'scale', see module:component/helper/RoamController.
-    roam: false,
-    // Symbol size scale ratio in roam
-    nodeScaleRatio: 0.4,
-    // Default on center of graph
-    center: null,
-    zoom: 1,
-    orient: 'LR',
-    symbol: 'emptyCircle',
-    symbolSize: 7,
-    expandAndCollapse: true,
-    initialTreeDepth: 2,
-    lineStyle: {
-      color: '#ccc',
-      width: 1.5,
-      curveness: 0.5
-    },
-    itemStyle: {
-      color: 'lightsteelblue',
-      // borderColor: '#c23531',
-      borderWidth: 1.5
-    },
-    label: {
-      show: true
-    },
-    animationEasing: 'linear',
-    animationDuration: 700,
-    animationDurationUpdate: 500
-  };
-  return TreeSeriesModel;
-}(SeriesModel);
-export default TreeSeriesModel;

+ 0 - 622
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/TreeView.js

@@ -1,622 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import * as zrUtil from 'zrender/lib/core/util.js';
-import * as graphic from '../../util/graphic.js';
-import { getECData } from '../../util/innerStore.js';
-import SymbolClz from '../helper/Symbol.js';
-import { radialCoordinate } from './layoutHelper.js';
-import * as bbox from 'zrender/lib/core/bbox.js';
-import View from '../../coord/View.js';
-import * as roamHelper from '../../component/helper/roamHelper.js';
-import RoamController from '../../component/helper/RoamController.js';
-import { onIrrelevantElement } from '../../component/helper/cursorHelper.js';
-import { parsePercent } from '../../util/number.js';
-import ChartView from '../../view/Chart.js';
-import Path from 'zrender/lib/graphic/Path.js';
-import { setStatesStylesFromModel, setStatesFlag, setDefaultStateProxy, HOVER_STATE_BLUR } from '../../util/states.js';
-var TreeEdgeShape = /** @class */function () {
-  function TreeEdgeShape() {
-    this.parentPoint = [];
-    this.childPoints = [];
-  }
-  return TreeEdgeShape;
-}();
-var TreePath = /** @class */function (_super) {
-  __extends(TreePath, _super);
-  function TreePath(opts) {
-    return _super.call(this, opts) || this;
-  }
-  TreePath.prototype.getDefaultStyle = function () {
-    return {
-      stroke: '#000',
-      fill: null
-    };
-  };
-  TreePath.prototype.getDefaultShape = function () {
-    return new TreeEdgeShape();
-  };
-  TreePath.prototype.buildPath = function (ctx, shape) {
-    var childPoints = shape.childPoints;
-    var childLen = childPoints.length;
-    var parentPoint = shape.parentPoint;
-    var firstChildPos = childPoints[0];
-    var lastChildPos = childPoints[childLen - 1];
-    if (childLen === 1) {
-      ctx.moveTo(parentPoint[0], parentPoint[1]);
-      ctx.lineTo(firstChildPos[0], firstChildPos[1]);
-      return;
-    }
-    var orient = shape.orient;
-    var forkDim = orient === 'TB' || orient === 'BT' ? 0 : 1;
-    var otherDim = 1 - forkDim;
-    var forkPosition = parsePercent(shape.forkPosition, 1);
-    var tmpPoint = [];
-    tmpPoint[forkDim] = parentPoint[forkDim];
-    tmpPoint[otherDim] = parentPoint[otherDim] + (lastChildPos[otherDim] - parentPoint[otherDim]) * forkPosition;
-    ctx.moveTo(parentPoint[0], parentPoint[1]);
-    ctx.lineTo(tmpPoint[0], tmpPoint[1]);
-    ctx.moveTo(firstChildPos[0], firstChildPos[1]);
-    tmpPoint[forkDim] = firstChildPos[forkDim];
-    ctx.lineTo(tmpPoint[0], tmpPoint[1]);
-    tmpPoint[forkDim] = lastChildPos[forkDim];
-    ctx.lineTo(tmpPoint[0], tmpPoint[1]);
-    ctx.lineTo(lastChildPos[0], lastChildPos[1]);
-    for (var i = 1; i < childLen - 1; i++) {
-      var point = childPoints[i];
-      ctx.moveTo(point[0], point[1]);
-      tmpPoint[forkDim] = point[forkDim];
-      ctx.lineTo(tmpPoint[0], tmpPoint[1]);
-    }
-  };
-  return TreePath;
-}(Path);
-var TreeView = /** @class */function (_super) {
-  __extends(TreeView, _super);
-  function TreeView() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = TreeView.type;
-    _this._mainGroup = new graphic.Group();
-    return _this;
-  }
-  TreeView.prototype.init = function (ecModel, api) {
-    this._controller = new RoamController(api.getZr());
-    this._controllerHost = {
-      target: this.group
-    };
-    this.group.add(this._mainGroup);
-  };
-  TreeView.prototype.render = function (seriesModel, ecModel, api) {
-    var data = seriesModel.getData();
-    var layoutInfo = seriesModel.layoutInfo;
-    var group = this._mainGroup;
-    var layout = seriesModel.get('layout');
-    if (layout === 'radial') {
-      group.x = layoutInfo.x + layoutInfo.width / 2;
-      group.y = layoutInfo.y + layoutInfo.height / 2;
-    } else {
-      group.x = layoutInfo.x;
-      group.y = layoutInfo.y;
-    }
-    this._updateViewCoordSys(seriesModel, api);
-    this._updateController(seriesModel, ecModel, api);
-    var oldData = this._data;
-    data.diff(oldData).add(function (newIdx) {
-      if (symbolNeedsDraw(data, newIdx)) {
-        // Create node and edge
-        updateNode(data, newIdx, null, group, seriesModel);
-      }
-    }).update(function (newIdx, oldIdx) {
-      var symbolEl = oldData.getItemGraphicEl(oldIdx);
-      if (!symbolNeedsDraw(data, newIdx)) {
-        symbolEl && removeNode(oldData, oldIdx, symbolEl, group, seriesModel);
-        return;
-      }
-      // Update node and edge
-      updateNode(data, newIdx, symbolEl, group, seriesModel);
-    }).remove(function (oldIdx) {
-      var symbolEl = oldData.getItemGraphicEl(oldIdx);
-      // When remove a collapsed node of subtree, since the collapsed
-      // node haven't been initialized with a symbol element,
-      // you can't found it's symbol element through index.
-      // so if we want to remove the symbol element we should insure
-      // that the symbol element is not null.
-      if (symbolEl) {
-        removeNode(oldData, oldIdx, symbolEl, group, seriesModel);
-      }
-    }).execute();
-    this._nodeScaleRatio = seriesModel.get('nodeScaleRatio');
-    this._updateNodeAndLinkScale(seriesModel);
-    if (seriesModel.get('expandAndCollapse') === true) {
-      data.eachItemGraphicEl(function (el, dataIndex) {
-        el.off('click').on('click', function () {
-          api.dispatchAction({
-            type: 'treeExpandAndCollapse',
-            seriesId: seriesModel.id,
-            dataIndex: dataIndex
-          });
-        });
-      });
-    }
-    this._data = data;
-  };
-  TreeView.prototype._updateViewCoordSys = function (seriesModel, api) {
-    var data = seriesModel.getData();
-    var points = [];
-    data.each(function (idx) {
-      var layout = data.getItemLayout(idx);
-      if (layout && !isNaN(layout.x) && !isNaN(layout.y)) {
-        points.push([+layout.x, +layout.y]);
-      }
-    });
-    var min = [];
-    var max = [];
-    bbox.fromPoints(points, min, max);
-    // If don't Store min max when collapse the root node after roam,
-    // the root node will disappear.
-    var oldMin = this._min;
-    var oldMax = this._max;
-    // If width or height is 0
-    if (max[0] - min[0] === 0) {
-      min[0] = oldMin ? oldMin[0] : min[0] - 1;
-      max[0] = oldMax ? oldMax[0] : max[0] + 1;
-    }
-    if (max[1] - min[1] === 0) {
-      min[1] = oldMin ? oldMin[1] : min[1] - 1;
-      max[1] = oldMax ? oldMax[1] : max[1] + 1;
-    }
-    var viewCoordSys = seriesModel.coordinateSystem = new View();
-    viewCoordSys.zoomLimit = seriesModel.get('scaleLimit');
-    viewCoordSys.setBoundingRect(min[0], min[1], max[0] - min[0], max[1] - min[1]);
-    viewCoordSys.setCenter(seriesModel.get('center'), api);
-    viewCoordSys.setZoom(seriesModel.get('zoom'));
-    // Here we use viewCoordSys just for computing the 'position' and 'scale' of the group
-    this.group.attr({
-      x: viewCoordSys.x,
-      y: viewCoordSys.y,
-      scaleX: viewCoordSys.scaleX,
-      scaleY: viewCoordSys.scaleY
-    });
-    this._min = min;
-    this._max = max;
-  };
-  TreeView.prototype._updateController = function (seriesModel, ecModel, api) {
-    var _this = this;
-    var controller = this._controller;
-    var controllerHost = this._controllerHost;
-    var group = this.group;
-    controller.setPointerChecker(function (e, x, y) {
-      var rect = group.getBoundingRect();
-      rect.applyTransform(group.transform);
-      return rect.contain(x, y) && !onIrrelevantElement(e, api, seriesModel);
-    });
-    controller.enable(seriesModel.get('roam'));
-    controllerHost.zoomLimit = seriesModel.get('scaleLimit');
-    controllerHost.zoom = seriesModel.coordinateSystem.getZoom();
-    controller.off('pan').off('zoom').on('pan', function (e) {
-      roamHelper.updateViewOnPan(controllerHost, e.dx, e.dy);
-      api.dispatchAction({
-        seriesId: seriesModel.id,
-        type: 'treeRoam',
-        dx: e.dx,
-        dy: e.dy
-      });
-    }).on('zoom', function (e) {
-      roamHelper.updateViewOnZoom(controllerHost, e.scale, e.originX, e.originY);
-      api.dispatchAction({
-        seriesId: seriesModel.id,
-        type: 'treeRoam',
-        zoom: e.scale,
-        originX: e.originX,
-        originY: e.originY
-      });
-      _this._updateNodeAndLinkScale(seriesModel);
-      // Only update label layout on zoom
-      api.updateLabelLayout();
-    });
-  };
-  TreeView.prototype._updateNodeAndLinkScale = function (seriesModel) {
-    var data = seriesModel.getData();
-    var nodeScale = this._getNodeGlobalScale(seriesModel);
-    data.eachItemGraphicEl(function (el, idx) {
-      el.setSymbolScale(nodeScale);
-    });
-  };
-  TreeView.prototype._getNodeGlobalScale = function (seriesModel) {
-    var coordSys = seriesModel.coordinateSystem;
-    if (coordSys.type !== 'view') {
-      return 1;
-    }
-    var nodeScaleRatio = this._nodeScaleRatio;
-    var groupZoom = coordSys.scaleX || 1;
-    // Scale node when zoom changes
-    var roamZoom = coordSys.getZoom();
-    var nodeScale = (roamZoom - 1) * nodeScaleRatio + 1;
-    return nodeScale / groupZoom;
-  };
-  TreeView.prototype.dispose = function () {
-    this._controller && this._controller.dispose();
-    this._controllerHost = null;
-  };
-  TreeView.prototype.remove = function () {
-    this._mainGroup.removeAll();
-    this._data = null;
-  };
-  TreeView.type = 'tree';
-  return TreeView;
-}(ChartView);
-function symbolNeedsDraw(data, dataIndex) {
-  var layout = data.getItemLayout(dataIndex);
-  return layout && !isNaN(layout.x) && !isNaN(layout.y);
-}
-function updateNode(data, dataIndex, symbolEl, group, seriesModel) {
-  var isInit = !symbolEl;
-  var node = data.tree.getNodeByDataIndex(dataIndex);
-  var itemModel = node.getModel();
-  var visualColor = node.getVisual('style').fill;
-  var symbolInnerColor = node.isExpand === false && node.children.length !== 0 ? visualColor : '#fff';
-  var virtualRoot = data.tree.root;
-  var source = node.parentNode === virtualRoot ? node : node.parentNode || node;
-  var sourceSymbolEl = data.getItemGraphicEl(source.dataIndex);
-  var sourceLayout = source.getLayout();
-  var sourceOldLayout = sourceSymbolEl ? {
-    x: sourceSymbolEl.__oldX,
-    y: sourceSymbolEl.__oldY,
-    rawX: sourceSymbolEl.__radialOldRawX,
-    rawY: sourceSymbolEl.__radialOldRawY
-  } : sourceLayout;
-  var targetLayout = node.getLayout();
-  if (isInit) {
-    symbolEl = new SymbolClz(data, dataIndex, null, {
-      symbolInnerColor: symbolInnerColor,
-      useNameLabel: true
-    });
-    symbolEl.x = sourceOldLayout.x;
-    symbolEl.y = sourceOldLayout.y;
-  } else {
-    symbolEl.updateData(data, dataIndex, null, {
-      symbolInnerColor: symbolInnerColor,
-      useNameLabel: true
-    });
-  }
-  symbolEl.__radialOldRawX = symbolEl.__radialRawX;
-  symbolEl.__radialOldRawY = symbolEl.__radialRawY;
-  symbolEl.__radialRawX = targetLayout.rawX;
-  symbolEl.__radialRawY = targetLayout.rawY;
-  group.add(symbolEl);
-  data.setItemGraphicEl(dataIndex, symbolEl);
-  symbolEl.__oldX = symbolEl.x;
-  symbolEl.__oldY = symbolEl.y;
-  graphic.updateProps(symbolEl, {
-    x: targetLayout.x,
-    y: targetLayout.y
-  }, seriesModel);
-  var symbolPath = symbolEl.getSymbolPath();
-  if (seriesModel.get('layout') === 'radial') {
-    var realRoot = virtualRoot.children[0];
-    var rootLayout = realRoot.getLayout();
-    var length_1 = realRoot.children.length;
-    var rad = void 0;
-    var isLeft = void 0;
-    if (targetLayout.x === rootLayout.x && node.isExpand === true && realRoot.children.length) {
-      var center = {
-        x: (realRoot.children[0].getLayout().x + realRoot.children[length_1 - 1].getLayout().x) / 2,
-        y: (realRoot.children[0].getLayout().y + realRoot.children[length_1 - 1].getLayout().y) / 2
-      };
-      rad = Math.atan2(center.y - rootLayout.y, center.x - rootLayout.x);
-      if (rad < 0) {
-        rad = Math.PI * 2 + rad;
-      }
-      isLeft = center.x < rootLayout.x;
-      if (isLeft) {
-        rad = rad - Math.PI;
-      }
-    } else {
-      rad = Math.atan2(targetLayout.y - rootLayout.y, targetLayout.x - rootLayout.x);
-      if (rad < 0) {
-        rad = Math.PI * 2 + rad;
-      }
-      if (node.children.length === 0 || node.children.length !== 0 && node.isExpand === false) {
-        isLeft = targetLayout.x < rootLayout.x;
-        if (isLeft) {
-          rad = rad - Math.PI;
-        }
-      } else {
-        isLeft = targetLayout.x > rootLayout.x;
-        if (!isLeft) {
-          rad = rad - Math.PI;
-        }
-      }
-    }
-    var textPosition = isLeft ? 'left' : 'right';
-    var normalLabelModel = itemModel.getModel('label');
-    var rotate = normalLabelModel.get('rotate');
-    var labelRotateRadian = rotate * (Math.PI / 180);
-    var textContent = symbolPath.getTextContent();
-    if (textContent) {
-      symbolPath.setTextConfig({
-        position: normalLabelModel.get('position') || textPosition,
-        rotation: rotate == null ? -rad : labelRotateRadian,
-        origin: 'center'
-      });
-      textContent.setStyle('verticalAlign', 'middle');
-    }
-  }
-  // Handle status
-  var focus = itemModel.get(['emphasis', 'focus']);
-  var focusDataIndices = focus === 'relative' ? zrUtil.concatArray(node.getAncestorsIndices(), node.getDescendantIndices()) : focus === 'ancestor' ? node.getAncestorsIndices() : focus === 'descendant' ? node.getDescendantIndices() : null;
-  if (focusDataIndices) {
-    // Modify the focus to data indices.
-    getECData(symbolEl).focus = focusDataIndices;
-  }
-  drawEdge(seriesModel, node, virtualRoot, symbolEl, sourceOldLayout, sourceLayout, targetLayout, group);
-  if (symbolEl.__edge) {
-    symbolEl.onHoverStateChange = function (toState) {
-      if (toState !== 'blur') {
-        // NOTE: Ensure the parent elements will been blurred firstly.
-        // According to the return of getAncestorsIndices and getDescendantIndices
-        // TODO: A bit tricky.
-        var parentEl = node.parentNode && data.getItemGraphicEl(node.parentNode.dataIndex);
-        if (!(parentEl && parentEl.hoverState === HOVER_STATE_BLUR)) {
-          setStatesFlag(symbolEl.__edge, toState);
-        }
-      }
-    };
-  }
-}
-function drawEdge(seriesModel, node, virtualRoot, symbolEl, sourceOldLayout, sourceLayout, targetLayout, group) {
-  var itemModel = node.getModel();
-  var edgeShape = seriesModel.get('edgeShape');
-  var layout = seriesModel.get('layout');
-  var orient = seriesModel.getOrient();
-  var curvature = seriesModel.get(['lineStyle', 'curveness']);
-  var edgeForkPosition = seriesModel.get('edgeForkPosition');
-  var lineStyle = itemModel.getModel('lineStyle').getLineStyle();
-  var edge = symbolEl.__edge;
-  // curve edge from node -> parent
-  // polyline edge from node -> children
-  if (edgeShape === 'curve') {
-    if (node.parentNode && node.parentNode !== virtualRoot) {
-      if (!edge) {
-        edge = symbolEl.__edge = new graphic.BezierCurve({
-          shape: getEdgeShape(layout, orient, curvature, sourceOldLayout, sourceOldLayout)
-        });
-      }
-      graphic.updateProps(edge, {
-        shape: getEdgeShape(layout, orient, curvature, sourceLayout, targetLayout)
-      }, seriesModel);
-    }
-  } else if (edgeShape === 'polyline') {
-    if (layout === 'orthogonal') {
-      if (node !== virtualRoot && node.children && node.children.length !== 0 && node.isExpand === true) {
-        var children = node.children;
-        var childPoints = [];
-        for (var i = 0; i < children.length; i++) {
-          var childLayout = children[i].getLayout();
-          childPoints.push([childLayout.x, childLayout.y]);
-        }
-        if (!edge) {
-          edge = symbolEl.__edge = new TreePath({
-            shape: {
-              parentPoint: [targetLayout.x, targetLayout.y],
-              childPoints: [[targetLayout.x, targetLayout.y]],
-              orient: orient,
-              forkPosition: edgeForkPosition
-            }
-          });
-        }
-        graphic.updateProps(edge, {
-          shape: {
-            parentPoint: [targetLayout.x, targetLayout.y],
-            childPoints: childPoints
-          }
-        }, seriesModel);
-      }
-    } else {
-      if (process.env.NODE_ENV !== 'production') {
-        throw new Error('The polyline edgeShape can only be used in orthogonal layout');
-      }
-    }
-  }
-  // show all edge when edgeShape is 'curve', filter node `isExpand` is false when edgeShape is 'polyline'
-  if (edge && !(edgeShape === 'polyline' && !node.isExpand)) {
-    edge.useStyle(zrUtil.defaults({
-      strokeNoScale: true,
-      fill: null
-    }, lineStyle));
-    setStatesStylesFromModel(edge, itemModel, 'lineStyle');
-    setDefaultStateProxy(edge);
-    group.add(edge);
-  }
-}
-function removeNodeEdge(node, data, group, seriesModel, removeAnimationOpt) {
-  var virtualRoot = data.tree.root;
-  var _a = getSourceNode(virtualRoot, node),
-    source = _a.source,
-    sourceLayout = _a.sourceLayout;
-  var symbolEl = data.getItemGraphicEl(node.dataIndex);
-  if (!symbolEl) {
-    return;
-  }
-  var sourceSymbolEl = data.getItemGraphicEl(source.dataIndex);
-  var sourceEdge = sourceSymbolEl.__edge;
-  // 1. when expand the sub tree, delete the children node should delete the edge of
-  // the source at the same time. because the polyline edge shape is only owned by the source.
-  // 2.when the node is the only children of the source, delete the node should delete the edge of
-  // the source at the same time. the same reason as above.
-  var edge = symbolEl.__edge || (source.isExpand === false || source.children.length === 1 ? sourceEdge : undefined);
-  var edgeShape = seriesModel.get('edgeShape');
-  var layoutOpt = seriesModel.get('layout');
-  var orient = seriesModel.get('orient');
-  var curvature = seriesModel.get(['lineStyle', 'curveness']);
-  if (edge) {
-    if (edgeShape === 'curve') {
-      graphic.removeElement(edge, {
-        shape: getEdgeShape(layoutOpt, orient, curvature, sourceLayout, sourceLayout),
-        style: {
-          opacity: 0
-        }
-      }, seriesModel, {
-        cb: function () {
-          group.remove(edge);
-        },
-        removeOpt: removeAnimationOpt
-      });
-    } else if (edgeShape === 'polyline' && seriesModel.get('layout') === 'orthogonal') {
-      graphic.removeElement(edge, {
-        shape: {
-          parentPoint: [sourceLayout.x, sourceLayout.y],
-          childPoints: [[sourceLayout.x, sourceLayout.y]]
-        },
-        style: {
-          opacity: 0
-        }
-      }, seriesModel, {
-        cb: function () {
-          group.remove(edge);
-        },
-        removeOpt: removeAnimationOpt
-      });
-    }
-  }
-}
-function getSourceNode(virtualRoot, node) {
-  var source = node.parentNode === virtualRoot ? node : node.parentNode || node;
-  var sourceLayout;
-  while (sourceLayout = source.getLayout(), sourceLayout == null) {
-    source = source.parentNode === virtualRoot ? source : source.parentNode || source;
-  }
-  return {
-    source: source,
-    sourceLayout: sourceLayout
-  };
-}
-function removeNode(data, dataIndex, symbolEl, group, seriesModel) {
-  var node = data.tree.getNodeByDataIndex(dataIndex);
-  var virtualRoot = data.tree.root;
-  var sourceLayout = getSourceNode(virtualRoot, node).sourceLayout;
-  // Use same duration and easing with update to have more consistent animation.
-  var removeAnimationOpt = {
-    duration: seriesModel.get('animationDurationUpdate'),
-    easing: seriesModel.get('animationEasingUpdate')
-  };
-  graphic.removeElement(symbolEl, {
-    x: sourceLayout.x + 1,
-    y: sourceLayout.y + 1
-  }, seriesModel, {
-    cb: function () {
-      group.remove(symbolEl);
-      data.setItemGraphicEl(dataIndex, null);
-    },
-    removeOpt: removeAnimationOpt
-  });
-  symbolEl.fadeOut(null, data.hostModel, {
-    fadeLabel: true,
-    animation: removeAnimationOpt
-  });
-  // remove edge as parent node
-  node.children.forEach(function (childNode) {
-    removeNodeEdge(childNode, data, group, seriesModel, removeAnimationOpt);
-  });
-  // remove edge as child node
-  removeNodeEdge(node, data, group, seriesModel, removeAnimationOpt);
-}
-function getEdgeShape(layoutOpt, orient, curvature, sourceLayout, targetLayout) {
-  var cpx1;
-  var cpy1;
-  var cpx2;
-  var cpy2;
-  var x1;
-  var x2;
-  var y1;
-  var y2;
-  if (layoutOpt === 'radial') {
-    x1 = sourceLayout.rawX;
-    y1 = sourceLayout.rawY;
-    x2 = targetLayout.rawX;
-    y2 = targetLayout.rawY;
-    var radialCoor1 = radialCoordinate(x1, y1);
-    var radialCoor2 = radialCoordinate(x1, y1 + (y2 - y1) * curvature);
-    var radialCoor3 = radialCoordinate(x2, y2 + (y1 - y2) * curvature);
-    var radialCoor4 = radialCoordinate(x2, y2);
-    return {
-      x1: radialCoor1.x || 0,
-      y1: radialCoor1.y || 0,
-      x2: radialCoor4.x || 0,
-      y2: radialCoor4.y || 0,
-      cpx1: radialCoor2.x || 0,
-      cpy1: radialCoor2.y || 0,
-      cpx2: radialCoor3.x || 0,
-      cpy2: radialCoor3.y || 0
-    };
-  } else {
-    x1 = sourceLayout.x;
-    y1 = sourceLayout.y;
-    x2 = targetLayout.x;
-    y2 = targetLayout.y;
-    if (orient === 'LR' || orient === 'RL') {
-      cpx1 = x1 + (x2 - x1) * curvature;
-      cpy1 = y1;
-      cpx2 = x2 + (x1 - x2) * curvature;
-      cpy2 = y2;
-    }
-    if (orient === 'TB' || orient === 'BT') {
-      cpx1 = x1;
-      cpy1 = y1 + (y2 - y1) * curvature;
-      cpx2 = x2;
-      cpy2 = y2 + (y1 - y2) * curvature;
-    }
-  }
-  return {
-    x1: x1,
-    y1: y1,
-    x2: x2,
-    y2: y2,
-    cpx1: cpx1,
-    cpy1: cpy1,
-    cpx2: cpx2,
-    cpy2: cpy2
-  };
-}
-export default TreeView;

+ 0 - 55
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/install.js

@@ -1,55 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import TreeView from './TreeView.js';
-import TreeSeriesModel from './TreeSeries.js';
-import treeLayout from './treeLayout.js';
-import treeVisual from './treeVisual.js';
-import { installTreeAction } from './treeAction.js';
-export function install(registers) {
-  registers.registerChartView(TreeView);
-  registers.registerSeriesModel(TreeSeriesModel);
-  registers.registerLayout(treeLayout);
-  registers.registerVisual(treeVisual);
-  installTreeAction(registers);
-}

+ 0 - 288
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/layoutHelper.js

@@ -1,288 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-/*
-* A third-party license is embedded for some of the code in this file:
-* The tree layoutHelper implementation was originally copied from
-* "d3.js"(https://github.com/d3/d3-hierarchy) with
-* some modifications made for this project.
-* (see more details in the comment of the specific method below.)
-* The use of the source code of this file is also subject to the terms
-* and consitions of the licence of "d3.js" (BSD-3Clause, see
-* </licenses/LICENSE-d3>).
-*/
-/**
- * @file The layout algorithm of node-link tree diagrams. Here we using Reingold-Tilford algorithm to drawing
- *       the tree.
- */
-import * as layout from '../../util/layout.js';
-/**
- * Initialize all computational message for following algorithm.
- */
-export function init(inRoot) {
-  var root = inRoot;
-  root.hierNode = {
-    defaultAncestor: null,
-    ancestor: root,
-    prelim: 0,
-    modifier: 0,
-    change: 0,
-    shift: 0,
-    i: 0,
-    thread: null
-  };
-  var nodes = [root];
-  var node;
-  var children;
-  while (node = nodes.pop()) {
-    // jshint ignore:line
-    children = node.children;
-    if (node.isExpand && children.length) {
-      var n = children.length;
-      for (var i = n - 1; i >= 0; i--) {
-        var child = children[i];
-        child.hierNode = {
-          defaultAncestor: null,
-          ancestor: child,
-          prelim: 0,
-          modifier: 0,
-          change: 0,
-          shift: 0,
-          i: i,
-          thread: null
-        };
-        nodes.push(child);
-      }
-    }
-  }
-}
-/**
- * The implementation of this function was originally copied from "d3.js"
- * <https://github.com/d3/d3-hierarchy/blob/4c1f038f2725d6eae2e49b61d01456400694bac4/src/tree.js>
- * with some modifications made for this program.
- * See the license statement at the head of this file.
- *
- * Computes a preliminary x coordinate for node. Before that, this function is
- * applied recursively to the children of node, as well as the function
- * apportion(). After spacing out the children by calling executeShifts(), the
- * node is placed to the midpoint of its outermost children.
- */
-export function firstWalk(node, separation) {
-  var children = node.isExpand ? node.children : [];
-  var siblings = node.parentNode.children;
-  var subtreeW = node.hierNode.i ? siblings[node.hierNode.i - 1] : null;
-  if (children.length) {
-    executeShifts(node);
-    var midPoint = (children[0].hierNode.prelim + children[children.length - 1].hierNode.prelim) / 2;
-    if (subtreeW) {
-      node.hierNode.prelim = subtreeW.hierNode.prelim + separation(node, subtreeW);
-      node.hierNode.modifier = node.hierNode.prelim - midPoint;
-    } else {
-      node.hierNode.prelim = midPoint;
-    }
-  } else if (subtreeW) {
-    node.hierNode.prelim = subtreeW.hierNode.prelim + separation(node, subtreeW);
-  }
-  node.parentNode.hierNode.defaultAncestor = apportion(node, subtreeW, node.parentNode.hierNode.defaultAncestor || siblings[0], separation);
-}
-/**
- * The implementation of this function was originally copied from "d3.js"
- * <https://github.com/d3/d3-hierarchy/blob/4c1f038f2725d6eae2e49b61d01456400694bac4/src/tree.js>
- * with some modifications made for this program.
- * See the license statement at the head of this file.
- *
- * Computes all real x-coordinates by summing up the modifiers recursively.
- */
-export function secondWalk(node) {
-  var nodeX = node.hierNode.prelim + node.parentNode.hierNode.modifier;
-  node.setLayout({
-    x: nodeX
-  }, true);
-  node.hierNode.modifier += node.parentNode.hierNode.modifier;
-}
-export function separation(cb) {
-  return arguments.length ? cb : defaultSeparation;
-}
-/**
- * Transform the common coordinate to radial coordinate.
- */
-export function radialCoordinate(rad, r) {
-  rad -= Math.PI / 2;
-  return {
-    x: r * Math.cos(rad),
-    y: r * Math.sin(rad)
-  };
-}
-/**
- * Get the layout position of the whole view.
- */
-export function getViewRect(seriesModel, api) {
-  return layout.getLayoutRect(seriesModel.getBoxLayoutParams(), {
-    width: api.getWidth(),
-    height: api.getHeight()
-  });
-}
-/**
- * All other shifts, applied to the smaller subtrees between w- and w+, are
- * performed by this function.
- *
- * The implementation of this function was originally copied from "d3.js"
- * <https://github.com/d3/d3-hierarchy/blob/4c1f038f2725d6eae2e49b61d01456400694bac4/src/tree.js>
- * with some modifications made for this program.
- * See the license statement at the head of this file.
- */
-function executeShifts(node) {
-  var children = node.children;
-  var n = children.length;
-  var shift = 0;
-  var change = 0;
-  while (--n >= 0) {
-    var child = children[n];
-    child.hierNode.prelim += shift;
-    child.hierNode.modifier += shift;
-    change += child.hierNode.change;
-    shift += child.hierNode.shift + change;
-  }
-}
-/**
- * The implementation of this function was originally copied from "d3.js"
- * <https://github.com/d3/d3-hierarchy/blob/4c1f038f2725d6eae2e49b61d01456400694bac4/src/tree.js>
- * with some modifications made for this program.
- * See the license statement at the head of this file.
- *
- * The core of the algorithm. Here, a new subtree is combined with the
- * previous subtrees. Threads are used to traverse the inside and outside
- * contours of the left and right subtree up to the highest common level.
- * Whenever two nodes of the inside contours conflict, we compute the left
- * one of the greatest uncommon ancestors using the function nextAncestor()
- * and call moveSubtree() to shift the subtree and prepare the shifts of
- * smaller subtrees. Finally, we add a new thread (if necessary).
- */
-function apportion(subtreeV, subtreeW, ancestor, separation) {
-  if (subtreeW) {
-    var nodeOutRight = subtreeV;
-    var nodeInRight = subtreeV;
-    var nodeOutLeft = nodeInRight.parentNode.children[0];
-    var nodeInLeft = subtreeW;
-    var sumOutRight = nodeOutRight.hierNode.modifier;
-    var sumInRight = nodeInRight.hierNode.modifier;
-    var sumOutLeft = nodeOutLeft.hierNode.modifier;
-    var sumInLeft = nodeInLeft.hierNode.modifier;
-    while (nodeInLeft = nextRight(nodeInLeft), nodeInRight = nextLeft(nodeInRight), nodeInLeft && nodeInRight) {
-      nodeOutRight = nextRight(nodeOutRight);
-      nodeOutLeft = nextLeft(nodeOutLeft);
-      nodeOutRight.hierNode.ancestor = subtreeV;
-      var shift = nodeInLeft.hierNode.prelim + sumInLeft - nodeInRight.hierNode.prelim - sumInRight + separation(nodeInLeft, nodeInRight);
-      if (shift > 0) {
-        moveSubtree(nextAncestor(nodeInLeft, subtreeV, ancestor), subtreeV, shift);
-        sumInRight += shift;
-        sumOutRight += shift;
-      }
-      sumInLeft += nodeInLeft.hierNode.modifier;
-      sumInRight += nodeInRight.hierNode.modifier;
-      sumOutRight += nodeOutRight.hierNode.modifier;
-      sumOutLeft += nodeOutLeft.hierNode.modifier;
-    }
-    if (nodeInLeft && !nextRight(nodeOutRight)) {
-      nodeOutRight.hierNode.thread = nodeInLeft;
-      nodeOutRight.hierNode.modifier += sumInLeft - sumOutRight;
-    }
-    if (nodeInRight && !nextLeft(nodeOutLeft)) {
-      nodeOutLeft.hierNode.thread = nodeInRight;
-      nodeOutLeft.hierNode.modifier += sumInRight - sumOutLeft;
-      ancestor = subtreeV;
-    }
-  }
-  return ancestor;
-}
-/**
- * This function is used to traverse the right contour of a subtree.
- * It returns the rightmost child of node or the thread of node. The function
- * returns null if and only if node is on the highest depth of its subtree.
- */
-function nextRight(node) {
-  var children = node.children;
-  return children.length && node.isExpand ? children[children.length - 1] : node.hierNode.thread;
-}
-/**
- * This function is used to traverse the left contour of a subtree (or a subforest).
- * It returns the leftmost child of node or the thread of node. The function
- * returns null if and only if node is on the highest depth of its subtree.
- */
-function nextLeft(node) {
-  var children = node.children;
-  return children.length && node.isExpand ? children[0] : node.hierNode.thread;
-}
-/**
- * If nodeInLeft’s ancestor is a sibling of node, returns nodeInLeft’s ancestor.
- * Otherwise, returns the specified ancestor.
- */
-function nextAncestor(nodeInLeft, node, ancestor) {
-  return nodeInLeft.hierNode.ancestor.parentNode === node.parentNode ? nodeInLeft.hierNode.ancestor : ancestor;
-}
-/**
- * The implementation of this function was originally copied from "d3.js"
- * <https://github.com/d3/d3-hierarchy/blob/4c1f038f2725d6eae2e49b61d01456400694bac4/src/tree.js>
- * with some modifications made for this program.
- * See the license statement at the head of this file.
- *
- * Shifts the current subtree rooted at wr.
- * This is done by increasing prelim(w+) and modifier(w+) by shift.
- */
-function moveSubtree(wl, wr, shift) {
-  var change = shift / (wr.hierNode.i - wl.hierNode.i);
-  wr.hierNode.change -= change;
-  wr.hierNode.shift += shift;
-  wr.hierNode.modifier += shift;
-  wr.hierNode.prelim += shift;
-  wl.hierNode.change += change;
-}
-/**
- * The implementation of this function was originally copied from "d3.js"
- * <https://github.com/d3/d3-hierarchy/blob/4c1f038f2725d6eae2e49b61d01456400694bac4/src/tree.js>
- * with some modifications made for this program.
- * See the license statement at the head of this file.
- */
-function defaultSeparation(node1, node2) {
-  return node1.parentNode === node2.parentNode ? 1 : 2;
-}

+ 0 - 87
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/traversalHelper.js

@@ -1,87 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-/**
- * Traverse the tree from bottom to top and do something
- */
-function eachAfter(root, callback, separation) {
-  var nodes = [root];
-  var next = [];
-  var node;
-  while (node = nodes.pop()) {
-    // jshint ignore:line
-    next.push(node);
-    if (node.isExpand) {
-      var children = node.children;
-      if (children.length) {
-        for (var i = 0; i < children.length; i++) {
-          nodes.push(children[i]);
-        }
-      }
-    }
-  }
-  while (node = next.pop()) {
-    // jshint ignore:line
-    callback(node, separation);
-  }
-}
-/**
- * Traverse the tree from top to bottom and do something
- */
-function eachBefore(root, callback) {
-  var nodes = [root];
-  var node;
-  while (node = nodes.pop()) {
-    // jshint ignore:line
-    callback(node);
-    if (node.isExpand) {
-      var children = node.children;
-      if (children.length) {
-        for (var i = children.length - 1; i >= 0; i--) {
-          nodes.push(children[i]);
-        }
-      }
-    }
-  }
-}
-export { eachAfter, eachBefore };

+ 0 - 82
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/treeAction.js

@@ -1,82 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { updateCenterAndZoom } from '../../action/roamHelper.js';
-export function installTreeAction(registers) {
-  registers.registerAction({
-    type: 'treeExpandAndCollapse',
-    event: 'treeExpandAndCollapse',
-    update: 'update'
-  }, function (payload, ecModel) {
-    ecModel.eachComponent({
-      mainType: 'series',
-      subType: 'tree',
-      query: payload
-    }, function (seriesModel) {
-      var dataIndex = payload.dataIndex;
-      var tree = seriesModel.getData().tree;
-      var node = tree.getNodeByDataIndex(dataIndex);
-      node.isExpand = !node.isExpand;
-    });
-  });
-  registers.registerAction({
-    type: 'treeRoam',
-    event: 'treeRoam',
-    // Here we set 'none' instead of 'update', because roam action
-    // just need to update the transform matrix without having to recalculate
-    // the layout. So don't need to go through the whole update process, such
-    // as 'dataPrcocess', 'coordSystemUpdate', 'layout' and so on.
-    update: 'none'
-  }, function (payload, ecModel, api) {
-    ecModel.eachComponent({
-      mainType: 'series',
-      subType: 'tree',
-      query: payload
-    }, function (seriesModel) {
-      var coordSys = seriesModel.coordinateSystem;
-      var res = updateCenterAndZoom(coordSys, payload, undefined, api);
-      seriesModel.setCenter && seriesModel.setCenter(res.center);
-      seriesModel.setZoom && seriesModel.setZoom(res.zoom);
-    });
-  });
-}

+ 0 - 139
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/treeLayout.js

@@ -1,139 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { eachAfter, eachBefore } from './traversalHelper.js';
-import { init, firstWalk, secondWalk, separation as sep, radialCoordinate, getViewRect } from './layoutHelper.js';
-export default function treeLayout(ecModel, api) {
-  ecModel.eachSeriesByType('tree', function (seriesModel) {
-    commonLayout(seriesModel, api);
-  });
-}
-function commonLayout(seriesModel, api) {
-  var layoutInfo = getViewRect(seriesModel, api);
-  seriesModel.layoutInfo = layoutInfo;
-  var layout = seriesModel.get('layout');
-  var width = 0;
-  var height = 0;
-  var separation = null;
-  if (layout === 'radial') {
-    width = 2 * Math.PI;
-    height = Math.min(layoutInfo.height, layoutInfo.width) / 2;
-    separation = sep(function (node1, node2) {
-      return (node1.parentNode === node2.parentNode ? 1 : 2) / node1.depth;
-    });
-  } else {
-    width = layoutInfo.width;
-    height = layoutInfo.height;
-    separation = sep();
-  }
-  var virtualRoot = seriesModel.getData().tree.root;
-  var realRoot = virtualRoot.children[0];
-  if (realRoot) {
-    init(virtualRoot);
-    eachAfter(realRoot, firstWalk, separation);
-    virtualRoot.hierNode.modifier = -realRoot.hierNode.prelim;
-    eachBefore(realRoot, secondWalk);
-    var left_1 = realRoot;
-    var right_1 = realRoot;
-    var bottom_1 = realRoot;
-    eachBefore(realRoot, function (node) {
-      var x = node.getLayout().x;
-      if (x < left_1.getLayout().x) {
-        left_1 = node;
-      }
-      if (x > right_1.getLayout().x) {
-        right_1 = node;
-      }
-      if (node.depth > bottom_1.depth) {
-        bottom_1 = node;
-      }
-    });
-    var delta = left_1 === right_1 ? 1 : separation(left_1, right_1) / 2;
-    var tx_1 = delta - left_1.getLayout().x;
-    var kx_1 = 0;
-    var ky_1 = 0;
-    var coorX_1 = 0;
-    var coorY_1 = 0;
-    if (layout === 'radial') {
-      kx_1 = width / (right_1.getLayout().x + delta + tx_1);
-      // here we use (node.depth - 1), bucause the real root's depth is 1
-      ky_1 = height / (bottom_1.depth - 1 || 1);
-      eachBefore(realRoot, function (node) {
-        coorX_1 = (node.getLayout().x + tx_1) * kx_1;
-        coorY_1 = (node.depth - 1) * ky_1;
-        var finalCoor = radialCoordinate(coorX_1, coorY_1);
-        node.setLayout({
-          x: finalCoor.x,
-          y: finalCoor.y,
-          rawX: coorX_1,
-          rawY: coorY_1
-        }, true);
-      });
-    } else {
-      var orient_1 = seriesModel.getOrient();
-      if (orient_1 === 'RL' || orient_1 === 'LR') {
-        ky_1 = height / (right_1.getLayout().x + delta + tx_1);
-        kx_1 = width / (bottom_1.depth - 1 || 1);
-        eachBefore(realRoot, function (node) {
-          coorY_1 = (node.getLayout().x + tx_1) * ky_1;
-          coorX_1 = orient_1 === 'LR' ? (node.depth - 1) * kx_1 : width - (node.depth - 1) * kx_1;
-          node.setLayout({
-            x: coorX_1,
-            y: coorY_1
-          }, true);
-        });
-      } else if (orient_1 === 'TB' || orient_1 === 'BT') {
-        kx_1 = width / (right_1.getLayout().x + delta + tx_1);
-        ky_1 = height / (bottom_1.depth - 1 || 1);
-        eachBefore(realRoot, function (node) {
-          coorX_1 = (node.getLayout().x + tx_1) * kx_1;
-          coorY_1 = orient_1 === 'TB' ? (node.depth - 1) * ky_1 : height - (node.depth - 1) * ky_1;
-          node.setLayout({
-            x: coorX_1,
-            y: coorY_1
-          }, true);
-        });
-      }
-    }
-  }
-}

+ 0 - 57
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/tree/treeVisual.js

@@ -1,57 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { extend } from 'zrender/lib/core/util.js';
-export default function treeVisual(ecModel) {
-  ecModel.eachSeriesByType('tree', function (seriesModel) {
-    var data = seriesModel.getData();
-    var tree = data.tree;
-    tree.eachNode(function (node) {
-      var model = node.getModel();
-      // TODO Optimize
-      var style = model.getModel('itemStyle').getItemStyle();
-      var existsStyle = data.ensureUniqueItemVisual(node.dataIndex, 'style');
-      extend(existsStyle, style);
-    });
-  });
-}

+ 0 - 46
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap.js

@@ -1,46 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../extension.js';
-import { install } from './treemap/install.js';
-use(install);

+ 0 - 187
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap/Breadcrumb.js

@@ -1,187 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as graphic from '../../util/graphic.js';
-import { getECData } from '../../util/innerStore.js';
-import * as layout from '../../util/layout.js';
-import { wrapTreePathInfo } from '../helper/treeHelper.js';
-import { curry, defaults } from 'zrender/lib/core/util.js';
-import { convertOptionIdName } from '../../util/model.js';
-import { toggleHoverEmphasis, Z2_EMPHASIS_LIFT } from '../../util/states.js';
-import { createTextStyle } from '../../label/labelStyle.js';
-var TEXT_PADDING = 8;
-var ITEM_GAP = 8;
-var ARRAY_LENGTH = 5;
-var Breadcrumb = /** @class */function () {
-  function Breadcrumb(containerGroup) {
-    this.group = new graphic.Group();
-    containerGroup.add(this.group);
-  }
-  Breadcrumb.prototype.render = function (seriesModel, api, targetNode, onSelect) {
-    var model = seriesModel.getModel('breadcrumb');
-    var thisGroup = this.group;
-    thisGroup.removeAll();
-    if (!model.get('show') || !targetNode) {
-      return;
-    }
-    var normalStyleModel = model.getModel('itemStyle');
-    var emphasisModel = model.getModel('emphasis');
-    var textStyleModel = normalStyleModel.getModel('textStyle');
-    var emphasisTextStyleModel = emphasisModel.getModel(['itemStyle', 'textStyle']);
-    var layoutParam = {
-      pos: {
-        left: model.get('left'),
-        right: model.get('right'),
-        top: model.get('top'),
-        bottom: model.get('bottom')
-      },
-      box: {
-        width: api.getWidth(),
-        height: api.getHeight()
-      },
-      emptyItemWidth: model.get('emptyItemWidth'),
-      totalWidth: 0,
-      renderList: []
-    };
-    this._prepare(targetNode, layoutParam, textStyleModel);
-    this._renderContent(seriesModel, layoutParam, normalStyleModel, emphasisModel, textStyleModel, emphasisTextStyleModel, onSelect);
-    layout.positionElement(thisGroup, layoutParam.pos, layoutParam.box);
-  };
-  /**
-   * Prepare render list and total width
-   * @private
-   */
-  Breadcrumb.prototype._prepare = function (targetNode, layoutParam, textStyleModel) {
-    for (var node = targetNode; node; node = node.parentNode) {
-      var text = convertOptionIdName(node.getModel().get('name'), '');
-      var textRect = textStyleModel.getTextRect(text);
-      var itemWidth = Math.max(textRect.width + TEXT_PADDING * 2, layoutParam.emptyItemWidth);
-      layoutParam.totalWidth += itemWidth + ITEM_GAP;
-      layoutParam.renderList.push({
-        node: node,
-        text: text,
-        width: itemWidth
-      });
-    }
-  };
-  /**
-   * @private
-   */
-  Breadcrumb.prototype._renderContent = function (seriesModel, layoutParam, normalStyleModel, emphasisModel, textStyleModel, emphasisTextStyleModel, onSelect) {
-    // Start rendering.
-    var lastX = 0;
-    var emptyItemWidth = layoutParam.emptyItemWidth;
-    var height = seriesModel.get(['breadcrumb', 'height']);
-    var availableSize = layout.getAvailableSize(layoutParam.pos, layoutParam.box);
-    var totalWidth = layoutParam.totalWidth;
-    var renderList = layoutParam.renderList;
-    var emphasisItemStyle = emphasisModel.getModel('itemStyle').getItemStyle();
-    for (var i = renderList.length - 1; i >= 0; i--) {
-      var item = renderList[i];
-      var itemNode = item.node;
-      var itemWidth = item.width;
-      var text = item.text;
-      // Hdie text and shorten width if necessary.
-      if (totalWidth > availableSize.width) {
-        totalWidth -= itemWidth - emptyItemWidth;
-        itemWidth = emptyItemWidth;
-        text = null;
-      }
-      var el = new graphic.Polygon({
-        shape: {
-          points: makeItemPoints(lastX, 0, itemWidth, height, i === renderList.length - 1, i === 0)
-        },
-        style: defaults(normalStyleModel.getItemStyle(), {
-          lineJoin: 'bevel'
-        }),
-        textContent: new graphic.Text({
-          style: createTextStyle(textStyleModel, {
-            text: text
-          })
-        }),
-        textConfig: {
-          position: 'inside'
-        },
-        z2: Z2_EMPHASIS_LIFT * 1e4,
-        onclick: curry(onSelect, itemNode)
-      });
-      el.disableLabelAnimation = true;
-      el.getTextContent().ensureState('emphasis').style = createTextStyle(emphasisTextStyleModel, {
-        text: text
-      });
-      el.ensureState('emphasis').style = emphasisItemStyle;
-      toggleHoverEmphasis(el, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled'));
-      this.group.add(el);
-      packEventData(el, seriesModel, itemNode);
-      lastX += itemWidth + ITEM_GAP;
-    }
-  };
-  Breadcrumb.prototype.remove = function () {
-    this.group.removeAll();
-  };
-  return Breadcrumb;
-}();
-function makeItemPoints(x, y, itemWidth, itemHeight, head, tail) {
-  var points = [[head ? x : x - ARRAY_LENGTH, y], [x + itemWidth, y], [x + itemWidth, y + itemHeight], [head ? x : x - ARRAY_LENGTH, y + itemHeight]];
-  !tail && points.splice(2, 0, [x + itemWidth + ARRAY_LENGTH, y + itemHeight / 2]);
-  !head && points.push([x, y + itemHeight / 2]);
-  return points;
-}
-// Package custom mouse event.
-function packEventData(el, seriesModel, itemNode) {
-  getECData(el).eventData = {
-    componentType: 'series',
-    componentSubType: 'treemap',
-    componentIndex: seriesModel.componentIndex,
-    seriesIndex: seriesModel.seriesIndex,
-    seriesName: seriesModel.name,
-    seriesType: 'treemap',
-    selfType: 'breadcrumb',
-    nodeData: {
-      dataIndex: itemNode && itemNode.dataIndex,
-      name: itemNode && itemNode.name
-    },
-    treePathInfo: itemNode && wrapTreePathInfo(itemNode, seriesModel)
-  };
-}
-export default Breadcrumb;

+ 0 - 368
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap/TreemapSeries.js

@@ -1,368 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import * as zrUtil from 'zrender/lib/core/util.js';
-import SeriesModel from '../../model/Series.js';
-import Tree from '../../data/Tree.js';
-import Model from '../../model/Model.js';
-import { wrapTreePathInfo } from '../helper/treeHelper.js';
-import { normalizeToArray } from '../../util/model.js';
-import { createTooltipMarkup } from '../../component/tooltip/tooltipMarkup.js';
-import enableAriaDecalForTree from '../helper/enableAriaDecalForTree.js';
-var TreemapSeriesModel = /** @class */function (_super) {
-  __extends(TreemapSeriesModel, _super);
-  function TreemapSeriesModel() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = TreemapSeriesModel.type;
-    _this.preventUsingHoverLayer = true;
-    return _this;
-  }
-  /**
-   * @override
-   */
-  TreemapSeriesModel.prototype.getInitialData = function (option, ecModel) {
-    // Create a virtual root.
-    var root = {
-      name: option.name,
-      children: option.data
-    };
-    completeTreeValue(root);
-    var levels = option.levels || [];
-    // Used in "visual priority" in `treemapVisual.js`.
-    // This way is a little tricky, must satisfy the precondition:
-    //   1. There is no `treeNode.getModel('itemStyle.xxx')` used.
-    //   2. The `Model.prototype.getModel()` will not use any clone-like way.
-    var designatedVisualItemStyle = this.designatedVisualItemStyle = {};
-    var designatedVisualModel = new Model({
-      itemStyle: designatedVisualItemStyle
-    }, this, ecModel);
-    levels = option.levels = setDefault(levels, ecModel);
-    var levelModels = zrUtil.map(levels || [], function (levelDefine) {
-      return new Model(levelDefine, designatedVisualModel, ecModel);
-    }, this);
-    // Make sure always a new tree is created when setOption,
-    // in TreemapView, we check whether oldTree === newTree
-    // to choose mappings approach among old shapes and new shapes.
-    var tree = Tree.createTree(root, this, beforeLink);
-    function beforeLink(nodeData) {
-      nodeData.wrapMethod('getItemModel', function (model, idx) {
-        var node = tree.getNodeByDataIndex(idx);
-        var levelModel = node ? levelModels[node.depth] : null;
-        // If no levelModel, we also need `designatedVisualModel`.
-        model.parentModel = levelModel || designatedVisualModel;
-        return model;
-      });
-    }
-    return tree.data;
-  };
-  TreemapSeriesModel.prototype.optionUpdated = function () {
-    this.resetViewRoot();
-  };
-  /**
-   * @override
-   * @param {number} dataIndex
-   * @param {boolean} [mutipleSeries=false]
-   */
-  TreemapSeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) {
-    var data = this.getData();
-    var value = this.getRawValue(dataIndex);
-    var name = data.getName(dataIndex);
-    return createTooltipMarkup('nameValue', {
-      name: name,
-      value: value
-    });
-  };
-  /**
-   * Add tree path to tooltip param
-   *
-   * @override
-   * @param {number} dataIndex
-   * @return {Object}
-   */
-  TreemapSeriesModel.prototype.getDataParams = function (dataIndex) {
-    var params = _super.prototype.getDataParams.apply(this, arguments);
-    var node = this.getData().tree.getNodeByDataIndex(dataIndex);
-    params.treeAncestors = wrapTreePathInfo(node, this);
-    // compatitable the previous code.
-    params.treePathInfo = params.treeAncestors;
-    return params;
-  };
-  /**
-   * @public
-   * @param {Object} layoutInfo {
-   *                                x: containerGroup x
-   *                                y: containerGroup y
-   *                                width: containerGroup width
-   *                                height: containerGroup height
-   *                            }
-   */
-  TreemapSeriesModel.prototype.setLayoutInfo = function (layoutInfo) {
-    /**
-     * @readOnly
-     * @type {Object}
-     */
-    this.layoutInfo = this.layoutInfo || {};
-    zrUtil.extend(this.layoutInfo, layoutInfo);
-  };
-  /**
-   * @param  {string} id
-   * @return {number} index
-   */
-  TreemapSeriesModel.prototype.mapIdToIndex = function (id) {
-    // A feature is implemented:
-    // index is monotone increasing with the sequence of
-    // input id at the first time.
-    // This feature can make sure that each data item and its
-    // mapped color have the same index between data list and
-    // color list at the beginning, which is useful for user
-    // to adjust data-color mapping.
-    /**
-     * @private
-     * @type {Object}
-     */
-    var idIndexMap = this._idIndexMap;
-    if (!idIndexMap) {
-      idIndexMap = this._idIndexMap = zrUtil.createHashMap();
-      /**
-       * @private
-       * @type {number}
-       */
-      this._idIndexMapCount = 0;
-    }
-    var index = idIndexMap.get(id);
-    if (index == null) {
-      idIndexMap.set(id, index = this._idIndexMapCount++);
-    }
-    return index;
-  };
-  TreemapSeriesModel.prototype.getViewRoot = function () {
-    return this._viewRoot;
-  };
-  TreemapSeriesModel.prototype.resetViewRoot = function (viewRoot) {
-    viewRoot ? this._viewRoot = viewRoot : viewRoot = this._viewRoot;
-    var root = this.getRawData().tree.root;
-    if (!viewRoot || viewRoot !== root && !root.contains(viewRoot)) {
-      this._viewRoot = root;
-    }
-  };
-  TreemapSeriesModel.prototype.enableAriaDecal = function () {
-    enableAriaDecalForTree(this);
-  };
-  TreemapSeriesModel.type = 'series.treemap';
-  TreemapSeriesModel.layoutMode = 'box';
-  TreemapSeriesModel.defaultOption = {
-    // Disable progressive rendering
-    progressive: 0,
-    // size: ['80%', '80%'],            // deprecated, compatible with ec2.
-    left: 'center',
-    top: 'middle',
-    width: '80%',
-    height: '80%',
-    sort: true,
-    clipWindow: 'origin',
-    squareRatio: 0.5 * (1 + Math.sqrt(5)),
-    leafDepth: null,
-    drillDownIcon: '▶',
-    // to align specialized icon. ▷▶❒❐▼✚
-    zoomToNodeRatio: 0.32 * 0.32,
-    scaleLimit: null,
-    roam: true,
-    nodeClick: 'zoomToNode',
-    animation: true,
-    animationDurationUpdate: 900,
-    animationEasing: 'quinticInOut',
-    breadcrumb: {
-      show: true,
-      height: 22,
-      left: 'center',
-      top: 'bottom',
-      // right
-      // bottom
-      emptyItemWidth: 25,
-      itemStyle: {
-        color: 'rgba(0,0,0,0.7)',
-        textStyle: {
-          color: '#fff'
-        }
-      },
-      emphasis: {
-        itemStyle: {
-          color: 'rgba(0,0,0,0.9)' // '#5793f3',
-        }
-      }
-    },
-
-    label: {
-      show: true,
-      // Do not use textDistance, for ellipsis rect just the same as treemap node rect.
-      distance: 0,
-      padding: 5,
-      position: 'inside',
-      // formatter: null,
-      color: '#fff',
-      overflow: 'truncate'
-      // align
-      // verticalAlign
-    },
-
-    upperLabel: {
-      show: false,
-      position: [0, '50%'],
-      height: 20,
-      // formatter: null,
-      // color: '#fff',
-      overflow: 'truncate',
-      // align: null,
-      verticalAlign: 'middle'
-    },
-    itemStyle: {
-      color: null,
-      colorAlpha: null,
-      colorSaturation: null,
-      borderWidth: 0,
-      gapWidth: 0,
-      borderColor: '#fff',
-      borderColorSaturation: null // If specified, borderColor will be ineffective, and the
-      // border color is evaluated by color of current node and
-      // borderColorSaturation.
-    },
-
-    emphasis: {
-      upperLabel: {
-        show: true,
-        position: [0, '50%'],
-        overflow: 'truncate',
-        verticalAlign: 'middle'
-      }
-    },
-    visualDimension: 0,
-    visualMin: null,
-    visualMax: null,
-    color: [],
-    // level[n].color (if necessary).
-    // + Specify color list of each level. level[0].color would be global
-    // color list if not specified. (see method `setDefault`).
-    // + But set as a empty array to forbid fetch color from global palette
-    // when using nodeModel.get('color'), otherwise nodes on deep level
-    // will always has color palette set and are not able to inherit color
-    // from parent node.
-    // + TreemapSeries.color can not be set as 'none', otherwise effect
-    // legend color fetching (see seriesColor.js).
-    colorAlpha: null,
-    colorSaturation: null,
-    colorMappingBy: 'index',
-    visibleMin: 10,
-    // be rendered. Only works when sort is 'asc' or 'desc'.
-    childrenVisibleMin: null,
-    // grandchildren will not show.
-    // Why grandchildren? If not grandchildren but children,
-    // some siblings show children and some not,
-    // the appearance may be mess and not consistent,
-    levels: [] // Each item: {
-    //     visibleMin, itemStyle, visualDimension, label
-    // }
-  };
-
-  return TreemapSeriesModel;
-}(SeriesModel);
-/**
- * @param {Object} dataNode
- */
-function completeTreeValue(dataNode) {
-  // Postorder travel tree.
-  // If value of none-leaf node is not set,
-  // calculate it by suming up the value of all children.
-  var sum = 0;
-  zrUtil.each(dataNode.children, function (child) {
-    completeTreeValue(child);
-    var childValue = child.value;
-    zrUtil.isArray(childValue) && (childValue = childValue[0]);
-    sum += childValue;
-  });
-  var thisValue = dataNode.value;
-  if (zrUtil.isArray(thisValue)) {
-    thisValue = thisValue[0];
-  }
-  if (thisValue == null || isNaN(thisValue)) {
-    thisValue = sum;
-  }
-  // Value should not less than 0.
-  if (thisValue < 0) {
-    thisValue = 0;
-  }
-  zrUtil.isArray(dataNode.value) ? dataNode.value[0] = thisValue : dataNode.value = thisValue;
-}
-/**
- * set default to level configuration
- */
-function setDefault(levels, ecModel) {
-  var globalColorList = normalizeToArray(ecModel.get('color'));
-  var globalDecalList = normalizeToArray(ecModel.get(['aria', 'decal', 'decals']));
-  if (!globalColorList) {
-    return;
-  }
-  levels = levels || [];
-  var hasColorDefine;
-  var hasDecalDefine;
-  zrUtil.each(levels, function (levelDefine) {
-    var model = new Model(levelDefine);
-    var modelColor = model.get('color');
-    var modelDecal = model.get('decal');
-    if (model.get(['itemStyle', 'color']) || modelColor && modelColor !== 'none') {
-      hasColorDefine = true;
-    }
-    if (model.get(['itemStyle', 'decal']) || modelDecal && modelDecal !== 'none') {
-      hasDecalDefine = true;
-    }
-  });
-  var level0 = levels[0] || (levels[0] = {});
-  if (!hasColorDefine) {
-    level0.color = globalColorList.slice();
-  }
-  if (!hasDecalDefine && globalDecalList) {
-    level0.decal = globalDecalList.slice();
-  }
-  return levels;
-}
-export default TreemapSeriesModel;

+ 0 - 883
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap/TreemapView.js

@@ -1,883 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import { bind, each, indexOf, curry, extend, normalizeCssArray, isFunction } from 'zrender/lib/core/util.js';
-import * as graphic from '../../util/graphic.js';
-import { getECData } from '../../util/innerStore.js';
-import { isHighDownDispatcher, setAsHighDownDispatcher, setDefaultStateProxy, enableHoverFocus, Z2_EMPHASIS_LIFT } from '../../util/states.js';
-import DataDiffer from '../../data/DataDiffer.js';
-import * as helper from '../helper/treeHelper.js';
-import Breadcrumb from './Breadcrumb.js';
-import RoamController from '../../component/helper/RoamController.js';
-import BoundingRect from 'zrender/lib/core/BoundingRect.js';
-import * as matrix from 'zrender/lib/core/matrix.js';
-import * as animationUtil from '../../util/animation.js';
-import makeStyleMapper from '../../model/mixin/makeStyleMapper.js';
-import ChartView from '../../view/Chart.js';
-import Displayable from 'zrender/lib/graphic/Displayable.js';
-import { makeInner, convertOptionIdName } from '../../util/model.js';
-import { windowOpen } from '../../util/format.js';
-import { setLabelStyle, getLabelStatesModels } from '../../label/labelStyle.js';
-var Group = graphic.Group;
-var Rect = graphic.Rect;
-var DRAG_THRESHOLD = 3;
-var PATH_LABEL_NOAMAL = 'label';
-var PATH_UPPERLABEL_NORMAL = 'upperLabel';
-// Should larger than emphasis states lift z
-var Z2_BASE = Z2_EMPHASIS_LIFT * 10; // Should bigger than every z2.
-var Z2_BG = Z2_EMPHASIS_LIFT * 2;
-var Z2_CONTENT = Z2_EMPHASIS_LIFT * 3;
-var getStateItemStyle = makeStyleMapper([['fill', 'color'],
-// `borderColor` and `borderWidth` has been occupied,
-// so use `stroke` to indicate the stroke of the rect.
-['stroke', 'strokeColor'], ['lineWidth', 'strokeWidth'], ['shadowBlur'], ['shadowOffsetX'], ['shadowOffsetY'], ['shadowColor']
-// Option decal is in `DecalObject` but style.decal is in `PatternObject`.
-// So do not transfer decal directly.
-]);
-
-var getItemStyleNormal = function (model) {
-  // Normal style props should include emphasis style props.
-  var itemStyle = getStateItemStyle(model);
-  // Clear styles set by emphasis.
-  itemStyle.stroke = itemStyle.fill = itemStyle.lineWidth = null;
-  return itemStyle;
-};
-var inner = makeInner();
-var TreemapView = /** @class */function (_super) {
-  __extends(TreemapView, _super);
-  function TreemapView() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = TreemapView.type;
-    _this._state = 'ready';
-    _this._storage = createStorage();
-    return _this;
-  }
-  /**
-   * @override
-   */
-  TreemapView.prototype.render = function (seriesModel, ecModel, api, payload) {
-    var models = ecModel.findComponents({
-      mainType: 'series',
-      subType: 'treemap',
-      query: payload
-    });
-    if (indexOf(models, seriesModel) < 0) {
-      return;
-    }
-    this.seriesModel = seriesModel;
-    this.api = api;
-    this.ecModel = ecModel;
-    var types = ['treemapZoomToNode', 'treemapRootToNode'];
-    var targetInfo = helper.retrieveTargetInfo(payload, types, seriesModel);
-    var payloadType = payload && payload.type;
-    var layoutInfo = seriesModel.layoutInfo;
-    var isInit = !this._oldTree;
-    var thisStorage = this._storage;
-    // Mark new root when action is treemapRootToNode.
-    var reRoot = payloadType === 'treemapRootToNode' && targetInfo && thisStorage ? {
-      rootNodeGroup: thisStorage.nodeGroup[targetInfo.node.getRawIndex()],
-      direction: payload.direction
-    } : null;
-    var containerGroup = this._giveContainerGroup(layoutInfo);
-    var hasAnimation = seriesModel.get('animation');
-    var renderResult = this._doRender(containerGroup, seriesModel, reRoot);
-    hasAnimation && !isInit && (!payloadType || payloadType === 'treemapZoomToNode' || payloadType === 'treemapRootToNode') ? this._doAnimation(containerGroup, renderResult, seriesModel, reRoot) : renderResult.renderFinally();
-    this._resetController(api);
-    this._renderBreadcrumb(seriesModel, api, targetInfo);
-  };
-  TreemapView.prototype._giveContainerGroup = function (layoutInfo) {
-    var containerGroup = this._containerGroup;
-    if (!containerGroup) {
-      // FIXME
-      // 加一层containerGroup是为了clip,但是现在clip功能并没有实现。
-      containerGroup = this._containerGroup = new Group();
-      this._initEvents(containerGroup);
-      this.group.add(containerGroup);
-    }
-    containerGroup.x = layoutInfo.x;
-    containerGroup.y = layoutInfo.y;
-    return containerGroup;
-  };
-  TreemapView.prototype._doRender = function (containerGroup, seriesModel, reRoot) {
-    var thisTree = seriesModel.getData().tree;
-    var oldTree = this._oldTree;
-    // Clear last shape records.
-    var lastsForAnimation = createStorage();
-    var thisStorage = createStorage();
-    var oldStorage = this._storage;
-    var willInvisibleEls = [];
-    function doRenderNode(thisNode, oldNode, parentGroup, depth) {
-      return renderNode(seriesModel, thisStorage, oldStorage, reRoot, lastsForAnimation, willInvisibleEls, thisNode, oldNode, parentGroup, depth);
-    }
-    // Notice: When thisTree and oldTree are the same tree (see list.cloneShallow),
-    // the oldTree is actually losted, so we cannot find all of the old graphic
-    // elements from tree. So we use this strategy: make element storage, move
-    // from old storage to new storage, clear old storage.
-    dualTravel(thisTree.root ? [thisTree.root] : [], oldTree && oldTree.root ? [oldTree.root] : [], containerGroup, thisTree === oldTree || !oldTree, 0);
-    // Process all removing.
-    var willDeleteEls = clearStorage(oldStorage);
-    this._oldTree = thisTree;
-    this._storage = thisStorage;
-    if (this._controllerHost) {
-      var _oldRootLayout = this.seriesModel.layoutInfo;
-      var rootLayout = thisTree.root.getLayout();
-      if (rootLayout.width === _oldRootLayout.width && rootLayout.height === _oldRootLayout.height) {
-        this._controllerHost.zoom = 1;
-      }
-    }
-    return {
-      lastsForAnimation: lastsForAnimation,
-      willDeleteEls: willDeleteEls,
-      renderFinally: renderFinally
-    };
-    function dualTravel(thisViewChildren, oldViewChildren, parentGroup, sameTree, depth) {
-      // When 'render' is triggered by action,
-      // 'this' and 'old' may be the same tree,
-      // we use rawIndex in that case.
-      if (sameTree) {
-        oldViewChildren = thisViewChildren;
-        each(thisViewChildren, function (child, index) {
-          !child.isRemoved() && processNode(index, index);
-        });
-      }
-      // Diff hierarchically (diff only in each subtree, but not whole).
-      // because, consistency of view is important.
-      else {
-        new DataDiffer(oldViewChildren, thisViewChildren, getKey, getKey).add(processNode).update(processNode).remove(curry(processNode, null)).execute();
-      }
-      function getKey(node) {
-        // Identify by name or raw index.
-        return node.getId();
-      }
-      function processNode(newIndex, oldIndex) {
-        var thisNode = newIndex != null ? thisViewChildren[newIndex] : null;
-        var oldNode = oldIndex != null ? oldViewChildren[oldIndex] : null;
-        var group = doRenderNode(thisNode, oldNode, parentGroup, depth);
-        group && dualTravel(thisNode && thisNode.viewChildren || [], oldNode && oldNode.viewChildren || [], group, sameTree, depth + 1);
-      }
-    }
-    function clearStorage(storage) {
-      var willDeleteEls = createStorage();
-      storage && each(storage, function (store, storageName) {
-        var delEls = willDeleteEls[storageName];
-        each(store, function (el) {
-          el && (delEls.push(el), inner(el).willDelete = true);
-        });
-      });
-      return willDeleteEls;
-    }
-    function renderFinally() {
-      each(willDeleteEls, function (els) {
-        each(els, function (el) {
-          el.parent && el.parent.remove(el);
-        });
-      });
-      each(willInvisibleEls, function (el) {
-        el.invisible = true;
-        // Setting invisible is for optimizing, so no need to set dirty,
-        // just mark as invisible.
-        el.dirty();
-      });
-    }
-  };
-  TreemapView.prototype._doAnimation = function (containerGroup, renderResult, seriesModel, reRoot) {
-    var durationOption = seriesModel.get('animationDurationUpdate');
-    var easingOption = seriesModel.get('animationEasing');
-    // TODO: do not support function until necessary.
-    var duration = (isFunction(durationOption) ? 0 : durationOption) || 0;
-    var easing = (isFunction(easingOption) ? null : easingOption) || 'cubicOut';
-    var animationWrap = animationUtil.createWrap();
-    // Make delete animations.
-    each(renderResult.willDeleteEls, function (store, storageName) {
-      each(store, function (el, rawIndex) {
-        if (el.invisible) {
-          return;
-        }
-        var parent = el.parent; // Always has parent, and parent is nodeGroup.
-        var target;
-        var innerStore = inner(parent);
-        if (reRoot && reRoot.direction === 'drillDown') {
-          target = parent === reRoot.rootNodeGroup
-          // This is the content element of view root.
-          // Only `content` will enter this branch, because
-          // `background` and `nodeGroup` will not be deleted.
-          ? {
-            shape: {
-              x: 0,
-              y: 0,
-              width: innerStore.nodeWidth,
-              height: innerStore.nodeHeight
-            },
-            style: {
-              opacity: 0
-            }
-          }
-          // Others.
-          : {
-            style: {
-              opacity: 0
-            }
-          };
-        } else {
-          var targetX = 0;
-          var targetY = 0;
-          if (!innerStore.willDelete) {
-            // Let node animate to right-bottom corner, cooperating with fadeout,
-            // which is appropriate for user understanding.
-            // Divided by 2 for reRoot rolling up effect.
-            targetX = innerStore.nodeWidth / 2;
-            targetY = innerStore.nodeHeight / 2;
-          }
-          target = storageName === 'nodeGroup' ? {
-            x: targetX,
-            y: targetY,
-            style: {
-              opacity: 0
-            }
-          } : {
-            shape: {
-              x: targetX,
-              y: targetY,
-              width: 0,
-              height: 0
-            },
-            style: {
-              opacity: 0
-            }
-          };
-        }
-        // TODO: do not support delay until necessary.
-        target && animationWrap.add(el, target, duration, 0, easing);
-      });
-    });
-    // Make other animations
-    each(this._storage, function (store, storageName) {
-      each(store, function (el, rawIndex) {
-        var last = renderResult.lastsForAnimation[storageName][rawIndex];
-        var target = {};
-        if (!last) {
-          return;
-        }
-        if (el instanceof graphic.Group) {
-          if (last.oldX != null) {
-            target.x = el.x;
-            target.y = el.y;
-            el.x = last.oldX;
-            el.y = last.oldY;
-          }
-        } else {
-          if (last.oldShape) {
-            target.shape = extend({}, el.shape);
-            el.setShape(last.oldShape);
-          }
-          if (last.fadein) {
-            el.setStyle('opacity', 0);
-            target.style = {
-              opacity: 1
-            };
-          }
-          // When animation is stopped for succedent animation starting,
-          // el.style.opacity might not be 1
-          else if (el.style.opacity !== 1) {
-            target.style = {
-              opacity: 1
-            };
-          }
-        }
-        animationWrap.add(el, target, duration, 0, easing);
-      });
-    }, this);
-    this._state = 'animating';
-    animationWrap.finished(bind(function () {
-      this._state = 'ready';
-      renderResult.renderFinally();
-    }, this)).start();
-  };
-  TreemapView.prototype._resetController = function (api) {
-    var controller = this._controller;
-    var controllerHost = this._controllerHost;
-    if (!controllerHost) {
-      this._controllerHost = {
-        target: this.group
-      };
-      controllerHost = this._controllerHost;
-    }
-    // Init controller.
-    if (!controller) {
-      controller = this._controller = new RoamController(api.getZr());
-      controller.enable(this.seriesModel.get('roam'));
-      controllerHost.zoomLimit = this.seriesModel.get('scaleLimit');
-      controllerHost.zoom = this.seriesModel.get('zoom');
-      controller.on('pan', bind(this._onPan, this));
-      controller.on('zoom', bind(this._onZoom, this));
-    }
-    var rect = new BoundingRect(0, 0, api.getWidth(), api.getHeight());
-    controller.setPointerChecker(function (e, x, y) {
-      return rect.contain(x, y);
-    });
-  };
-  TreemapView.prototype._clearController = function () {
-    var controller = this._controller;
-    this._controllerHost = null;
-    if (controller) {
-      controller.dispose();
-      controller = null;
-    }
-  };
-  TreemapView.prototype._onPan = function (e) {
-    if (this._state !== 'animating' && (Math.abs(e.dx) > DRAG_THRESHOLD || Math.abs(e.dy) > DRAG_THRESHOLD)) {
-      // These param must not be cached.
-      var root = this.seriesModel.getData().tree.root;
-      if (!root) {
-        return;
-      }
-      var rootLayout = root.getLayout();
-      if (!rootLayout) {
-        return;
-      }
-      this.api.dispatchAction({
-        type: 'treemapMove',
-        from: this.uid,
-        seriesId: this.seriesModel.id,
-        rootRect: {
-          x: rootLayout.x + e.dx,
-          y: rootLayout.y + e.dy,
-          width: rootLayout.width,
-          height: rootLayout.height
-        }
-      });
-    }
-  };
-  TreemapView.prototype._onZoom = function (e) {
-    var mouseX = e.originX;
-    var mouseY = e.originY;
-    var zoomDelta = e.scale;
-    if (this._state !== 'animating') {
-      // These param must not be cached.
-      var root = this.seriesModel.getData().tree.root;
-      if (!root) {
-        return;
-      }
-      var rootLayout = root.getLayout();
-      if (!rootLayout) {
-        return;
-      }
-      var rect = new BoundingRect(rootLayout.x, rootLayout.y, rootLayout.width, rootLayout.height);
-      // scaleLimit
-      var zoomLimit = null;
-      var _controllerHost = this._controllerHost;
-      zoomLimit = _controllerHost.zoomLimit;
-      var newZoom = _controllerHost.zoom = _controllerHost.zoom || 1;
-      newZoom *= zoomDelta;
-      if (zoomLimit) {
-        var zoomMin = zoomLimit.min || 0;
-        var zoomMax = zoomLimit.max || Infinity;
-        newZoom = Math.max(Math.min(zoomMax, newZoom), zoomMin);
-      }
-      var zoomScale = newZoom / _controllerHost.zoom;
-      _controllerHost.zoom = newZoom;
-      var layoutInfo = this.seriesModel.layoutInfo;
-      // Transform mouse coord from global to containerGroup.
-      mouseX -= layoutInfo.x;
-      mouseY -= layoutInfo.y;
-      // Scale root bounding rect.
-      var m = matrix.create();
-      matrix.translate(m, m, [-mouseX, -mouseY]);
-      matrix.scale(m, m, [zoomScale, zoomScale]);
-      matrix.translate(m, m, [mouseX, mouseY]);
-      rect.applyTransform(m);
-      this.api.dispatchAction({
-        type: 'treemapRender',
-        from: this.uid,
-        seriesId: this.seriesModel.id,
-        rootRect: {
-          x: rect.x,
-          y: rect.y,
-          width: rect.width,
-          height: rect.height
-        }
-      });
-    }
-  };
-  TreemapView.prototype._initEvents = function (containerGroup) {
-    var _this = this;
-    containerGroup.on('click', function (e) {
-      if (_this._state !== 'ready') {
-        return;
-      }
-      var nodeClick = _this.seriesModel.get('nodeClick', true);
-      if (!nodeClick) {
-        return;
-      }
-      var targetInfo = _this.findTarget(e.offsetX, e.offsetY);
-      if (!targetInfo) {
-        return;
-      }
-      var node = targetInfo.node;
-      if (node.getLayout().isLeafRoot) {
-        _this._rootToNode(targetInfo);
-      } else {
-        if (nodeClick === 'zoomToNode') {
-          _this._zoomToNode(targetInfo);
-        } else if (nodeClick === 'link') {
-          var itemModel = node.hostTree.data.getItemModel(node.dataIndex);
-          var link = itemModel.get('link', true);
-          var linkTarget = itemModel.get('target', true) || 'blank';
-          link && windowOpen(link, linkTarget);
-        }
-      }
-    }, this);
-  };
-  TreemapView.prototype._renderBreadcrumb = function (seriesModel, api, targetInfo) {
-    var _this = this;
-    if (!targetInfo) {
-      targetInfo = seriesModel.get('leafDepth', true) != null ? {
-        node: seriesModel.getViewRoot()
-      }
-      // FIXME
-      // better way?
-      // Find breadcrumb tail on center of containerGroup.
-      : this.findTarget(api.getWidth() / 2, api.getHeight() / 2);
-      if (!targetInfo) {
-        targetInfo = {
-          node: seriesModel.getData().tree.root
-        };
-      }
-    }
-    (this._breadcrumb || (this._breadcrumb = new Breadcrumb(this.group))).render(seriesModel, api, targetInfo.node, function (node) {
-      if (_this._state !== 'animating') {
-        helper.aboveViewRoot(seriesModel.getViewRoot(), node) ? _this._rootToNode({
-          node: node
-        }) : _this._zoomToNode({
-          node: node
-        });
-      }
-    });
-  };
-  /**
-   * @override
-   */
-  TreemapView.prototype.remove = function () {
-    this._clearController();
-    this._containerGroup && this._containerGroup.removeAll();
-    this._storage = createStorage();
-    this._state = 'ready';
-    this._breadcrumb && this._breadcrumb.remove();
-  };
-  TreemapView.prototype.dispose = function () {
-    this._clearController();
-  };
-  TreemapView.prototype._zoomToNode = function (targetInfo) {
-    this.api.dispatchAction({
-      type: 'treemapZoomToNode',
-      from: this.uid,
-      seriesId: this.seriesModel.id,
-      targetNode: targetInfo.node
-    });
-  };
-  TreemapView.prototype._rootToNode = function (targetInfo) {
-    this.api.dispatchAction({
-      type: 'treemapRootToNode',
-      from: this.uid,
-      seriesId: this.seriesModel.id,
-      targetNode: targetInfo.node
-    });
-  };
-  /**
-   * @public
-   * @param {number} x Global coord x.
-   * @param {number} y Global coord y.
-   * @return {Object} info If not found, return undefined;
-   * @return {number} info.node Target node.
-   * @return {number} info.offsetX x refer to target node.
-   * @return {number} info.offsetY y refer to target node.
-   */
-  TreemapView.prototype.findTarget = function (x, y) {
-    var targetInfo;
-    var viewRoot = this.seriesModel.getViewRoot();
-    viewRoot.eachNode({
-      attr: 'viewChildren',
-      order: 'preorder'
-    }, function (node) {
-      var bgEl = this._storage.background[node.getRawIndex()];
-      // If invisible, there might be no element.
-      if (bgEl) {
-        var point = bgEl.transformCoordToLocal(x, y);
-        var shape = bgEl.shape;
-        // For performance consideration, don't use 'getBoundingRect'.
-        if (shape.x <= point[0] && point[0] <= shape.x + shape.width && shape.y <= point[1] && point[1] <= shape.y + shape.height) {
-          targetInfo = {
-            node: node,
-            offsetX: point[0],
-            offsetY: point[1]
-          };
-        } else {
-          return false; // Suppress visit subtree.
-        }
-      }
-    }, this);
-    return targetInfo;
-  };
-  TreemapView.type = 'treemap';
-  return TreemapView;
-}(ChartView);
-/**
- * @inner
- */
-function createStorage() {
-  return {
-    nodeGroup: [],
-    background: [],
-    content: []
-  };
-}
-/**
- * @inner
- * @return Return undefined means do not travel further.
- */
-function renderNode(seriesModel, thisStorage, oldStorage, reRoot, lastsForAnimation, willInvisibleEls, thisNode, oldNode, parentGroup, depth) {
-  // Whether under viewRoot.
-  if (!thisNode) {
-    // Deleting nodes will be performed finally. This method just find
-    // element from old storage, or create new element, set them to new
-    // storage, and set styles.
-    return;
-  }
-  // -------------------------------------------------------------------
-  // Start of closure variables available in "Procedures in renderNode".
-  var thisLayout = thisNode.getLayout();
-  var data = seriesModel.getData();
-  var nodeModel = thisNode.getModel();
-  // Only for enabling highlight/downplay. Clear firstly.
-  // Because some node will not be rendered.
-  data.setItemGraphicEl(thisNode.dataIndex, null);
-  if (!thisLayout || !thisLayout.isInView) {
-    return;
-  }
-  var thisWidth = thisLayout.width;
-  var thisHeight = thisLayout.height;
-  var borderWidth = thisLayout.borderWidth;
-  var thisInvisible = thisLayout.invisible;
-  var thisRawIndex = thisNode.getRawIndex();
-  var oldRawIndex = oldNode && oldNode.getRawIndex();
-  var thisViewChildren = thisNode.viewChildren;
-  var upperHeight = thisLayout.upperHeight;
-  var isParent = thisViewChildren && thisViewChildren.length;
-  var itemStyleNormalModel = nodeModel.getModel('itemStyle');
-  var itemStyleEmphasisModel = nodeModel.getModel(['emphasis', 'itemStyle']);
-  var itemStyleBlurModel = nodeModel.getModel(['blur', 'itemStyle']);
-  var itemStyleSelectModel = nodeModel.getModel(['select', 'itemStyle']);
-  var borderRadius = itemStyleNormalModel.get('borderRadius') || 0;
-  // End of closure ariables available in "Procedures in renderNode".
-  // -----------------------------------------------------------------
-  // Node group
-  var group = giveGraphic('nodeGroup', Group);
-  if (!group) {
-    return;
-  }
-  parentGroup.add(group);
-  // x,y are not set when el is above view root.
-  group.x = thisLayout.x || 0;
-  group.y = thisLayout.y || 0;
-  group.markRedraw();
-  inner(group).nodeWidth = thisWidth;
-  inner(group).nodeHeight = thisHeight;
-  if (thisLayout.isAboveViewRoot) {
-    return group;
-  }
-  // Background
-  var bg = giveGraphic('background', Rect, depth, Z2_BG);
-  bg && renderBackground(group, bg, isParent && thisLayout.upperLabelHeight);
-  var emphasisModel = nodeModel.getModel('emphasis');
-  var focus = emphasisModel.get('focus');
-  var blurScope = emphasisModel.get('blurScope');
-  var isDisabled = emphasisModel.get('disabled');
-  var focusOrIndices = focus === 'ancestor' ? thisNode.getAncestorsIndices() : focus === 'descendant' ? thisNode.getDescendantIndices() : focus;
-  // No children, render content.
-  if (isParent) {
-    // Because of the implementation about "traverse" in graphic hover style, we
-    // can not set hover listener on the "group" of non-leaf node. Otherwise the
-    // hover event from the descendents will be listenered.
-    if (isHighDownDispatcher(group)) {
-      setAsHighDownDispatcher(group, false);
-    }
-    if (bg) {
-      setAsHighDownDispatcher(bg, !isDisabled);
-      // Only for enabling highlight/downplay.
-      data.setItemGraphicEl(thisNode.dataIndex, bg);
-      enableHoverFocus(bg, focusOrIndices, blurScope);
-    }
-  } else {
-    var content = giveGraphic('content', Rect, depth, Z2_CONTENT);
-    content && renderContent(group, content);
-    bg.disableMorphing = true;
-    if (bg && isHighDownDispatcher(bg)) {
-      setAsHighDownDispatcher(bg, false);
-    }
-    setAsHighDownDispatcher(group, !isDisabled);
-    // Only for enabling highlight/downplay.
-    data.setItemGraphicEl(thisNode.dataIndex, group);
-    enableHoverFocus(group, focusOrIndices, blurScope);
-  }
-  return group;
-  // ----------------------------
-  // | Procedures in renderNode |
-  // ----------------------------
-  function renderBackground(group, bg, useUpperLabel) {
-    var ecData = getECData(bg);
-    // For tooltip.
-    ecData.dataIndex = thisNode.dataIndex;
-    ecData.seriesIndex = seriesModel.seriesIndex;
-    bg.setShape({
-      x: 0,
-      y: 0,
-      width: thisWidth,
-      height: thisHeight,
-      r: borderRadius
-    });
-    if (thisInvisible) {
-      // If invisible, do not set visual, otherwise the element will
-      // change immediately before animation. We think it is OK to
-      // remain its origin color when moving out of the view window.
-      processInvisible(bg);
-    } else {
-      bg.invisible = false;
-      var style = thisNode.getVisual('style');
-      var visualBorderColor = style.stroke;
-      var normalStyle = getItemStyleNormal(itemStyleNormalModel);
-      normalStyle.fill = visualBorderColor;
-      var emphasisStyle = getStateItemStyle(itemStyleEmphasisModel);
-      emphasisStyle.fill = itemStyleEmphasisModel.get('borderColor');
-      var blurStyle = getStateItemStyle(itemStyleBlurModel);
-      blurStyle.fill = itemStyleBlurModel.get('borderColor');
-      var selectStyle = getStateItemStyle(itemStyleSelectModel);
-      selectStyle.fill = itemStyleSelectModel.get('borderColor');
-      if (useUpperLabel) {
-        var upperLabelWidth = thisWidth - 2 * borderWidth;
-        prepareText(
-        // PENDING: convert ZRColor to ColorString for text.
-        bg, visualBorderColor, style.opacity, {
-          x: borderWidth,
-          y: 0,
-          width: upperLabelWidth,
-          height: upperHeight
-        });
-      }
-      // For old bg.
-      else {
-        bg.removeTextContent();
-      }
-      bg.setStyle(normalStyle);
-      bg.ensureState('emphasis').style = emphasisStyle;
-      bg.ensureState('blur').style = blurStyle;
-      bg.ensureState('select').style = selectStyle;
-      setDefaultStateProxy(bg);
-    }
-    group.add(bg);
-  }
-  function renderContent(group, content) {
-    var ecData = getECData(content);
-    // For tooltip.
-    ecData.dataIndex = thisNode.dataIndex;
-    ecData.seriesIndex = seriesModel.seriesIndex;
-    var contentWidth = Math.max(thisWidth - 2 * borderWidth, 0);
-    var contentHeight = Math.max(thisHeight - 2 * borderWidth, 0);
-    content.culling = true;
-    content.setShape({
-      x: borderWidth,
-      y: borderWidth,
-      width: contentWidth,
-      height: contentHeight,
-      r: borderRadius
-    });
-    if (thisInvisible) {
-      // If invisible, do not set visual, otherwise the element will
-      // change immediately before animation. We think it is OK to
-      // remain its origin color when moving out of the view window.
-      processInvisible(content);
-    } else {
-      content.invisible = false;
-      var nodeStyle = thisNode.getVisual('style');
-      var visualColor = nodeStyle.fill;
-      var normalStyle = getItemStyleNormal(itemStyleNormalModel);
-      normalStyle.fill = visualColor;
-      normalStyle.decal = nodeStyle.decal;
-      var emphasisStyle = getStateItemStyle(itemStyleEmphasisModel);
-      var blurStyle = getStateItemStyle(itemStyleBlurModel);
-      var selectStyle = getStateItemStyle(itemStyleSelectModel);
-      // PENDING: convert ZRColor to ColorString for text.
-      prepareText(content, visualColor, nodeStyle.opacity, null);
-      content.setStyle(normalStyle);
-      content.ensureState('emphasis').style = emphasisStyle;
-      content.ensureState('blur').style = blurStyle;
-      content.ensureState('select').style = selectStyle;
-      setDefaultStateProxy(content);
-    }
-    group.add(content);
-  }
-  function processInvisible(element) {
-    // Delay invisible setting utill animation finished,
-    // avoid element vanish suddenly before animation.
-    !element.invisible && willInvisibleEls.push(element);
-  }
-  function prepareText(rectEl, visualColor, visualOpacity,
-  // Can be null/undefined
-  upperLabelRect) {
-    var normalLabelModel = nodeModel.getModel(upperLabelRect ? PATH_UPPERLABEL_NORMAL : PATH_LABEL_NOAMAL);
-    var defaultText = convertOptionIdName(nodeModel.get('name'), null);
-    var isShow = normalLabelModel.getShallow('show');
-    setLabelStyle(rectEl, getLabelStatesModels(nodeModel, upperLabelRect ? PATH_UPPERLABEL_NORMAL : PATH_LABEL_NOAMAL), {
-      defaultText: isShow ? defaultText : null,
-      inheritColor: visualColor,
-      defaultOpacity: visualOpacity,
-      labelFetcher: seriesModel,
-      labelDataIndex: thisNode.dataIndex
-    });
-    var textEl = rectEl.getTextContent();
-    if (!textEl) {
-      return;
-    }
-    var textStyle = textEl.style;
-    var textPadding = normalizeCssArray(textStyle.padding || 0);
-    if (upperLabelRect) {
-      rectEl.setTextConfig({
-        layoutRect: upperLabelRect
-      });
-      textEl.disableLabelLayout = true;
-    }
-    textEl.beforeUpdate = function () {
-      var width = Math.max((upperLabelRect ? upperLabelRect.width : rectEl.shape.width) - textPadding[1] - textPadding[3], 0);
-      var height = Math.max((upperLabelRect ? upperLabelRect.height : rectEl.shape.height) - textPadding[0] - textPadding[2], 0);
-      if (textStyle.width !== width || textStyle.height !== height) {
-        textEl.setStyle({
-          width: width,
-          height: height
-        });
-      }
-    };
-    textStyle.truncateMinChar = 2;
-    textStyle.lineOverflow = 'truncate';
-    addDrillDownIcon(textStyle, upperLabelRect, thisLayout);
-    var textEmphasisState = textEl.getState('emphasis');
-    addDrillDownIcon(textEmphasisState ? textEmphasisState.style : null, upperLabelRect, thisLayout);
-  }
-  function addDrillDownIcon(style, upperLabelRect, thisLayout) {
-    var text = style ? style.text : null;
-    if (!upperLabelRect && thisLayout.isLeafRoot && text != null) {
-      var iconChar = seriesModel.get('drillDownIcon', true);
-      style.text = iconChar ? iconChar + ' ' + text : text;
-    }
-  }
-  function giveGraphic(storageName, Ctor, depth, z) {
-    var element = oldRawIndex != null && oldStorage[storageName][oldRawIndex];
-    var lasts = lastsForAnimation[storageName];
-    if (element) {
-      // Remove from oldStorage
-      oldStorage[storageName][oldRawIndex] = null;
-      prepareAnimationWhenHasOld(lasts, element);
-    }
-    // If invisible and no old element, do not create new element (for optimizing).
-    else if (!thisInvisible) {
-      element = new Ctor();
-      if (element instanceof Displayable) {
-        element.z2 = calculateZ2(depth, z);
-      }
-      prepareAnimationWhenNoOld(lasts, element);
-    }
-    // Set to thisStorage
-    return thisStorage[storageName][thisRawIndex] = element;
-  }
-  function prepareAnimationWhenHasOld(lasts, element) {
-    var lastCfg = lasts[thisRawIndex] = {};
-    if (element instanceof Group) {
-      lastCfg.oldX = element.x;
-      lastCfg.oldY = element.y;
-    } else {
-      lastCfg.oldShape = extend({}, element.shape);
-    }
-  }
-  // If a element is new, we need to find the animation start point carefully,
-  // otherwise it will looks strange when 'zoomToNode'.
-  function prepareAnimationWhenNoOld(lasts, element) {
-    var lastCfg = lasts[thisRawIndex] = {};
-    var parentNode = thisNode.parentNode;
-    var isGroup = element instanceof graphic.Group;
-    if (parentNode && (!reRoot || reRoot.direction === 'drillDown')) {
-      var parentOldX = 0;
-      var parentOldY = 0;
-      // New nodes appear from right-bottom corner in 'zoomToNode' animation.
-      // For convenience, get old bounding rect from background.
-      var parentOldBg = lastsForAnimation.background[parentNode.getRawIndex()];
-      if (!reRoot && parentOldBg && parentOldBg.oldShape) {
-        parentOldX = parentOldBg.oldShape.width;
-        parentOldY = parentOldBg.oldShape.height;
-      }
-      // When no parent old shape found, its parent is new too,
-      // so we can just use {x:0, y:0}.
-      if (isGroup) {
-        lastCfg.oldX = 0;
-        lastCfg.oldY = parentOldY;
-      } else {
-        lastCfg.oldShape = {
-          x: parentOldX,
-          y: parentOldY,
-          width: 0,
-          height: 0
-        };
-      }
-    }
-    // Fade in, user can be aware that these nodes are new.
-    lastCfg.fadein = !isGroup;
-  }
-}
-// We cannot set all background with the same z, because the behaviour of
-// drill down and roll up differ background creation sequence from tree
-// hierarchy sequence, which cause lower background elements to overlap
-// upper ones. So we calculate z based on depth.
-// Moreover, we try to shrink down z interval to [0, 1] to avoid that
-// treemap with large z overlaps other components.
-function calculateZ2(depth, z2InLevel) {
-  return depth * Z2_BASE + z2InLevel;
-}
-export default TreemapView;

+ 0 - 55
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap/install.js

@@ -1,55 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { installTreemapAction } from './treemapAction.js';
-import TreemapSeriesModel from './TreemapSeries.js';
-import TreemapView from './TreemapView.js';
-import treemapVisual from './treemapVisual.js';
-import treemapLayout from './treemapLayout.js';
-export function install(registers) {
-  registers.registerSeriesModel(TreemapSeriesModel);
-  registers.registerChartView(TreemapView);
-  registers.registerVisual(treemapVisual);
-  registers.registerLayout(treemapLayout);
-  installTreemapAction(registers);
-}

+ 0 - 75
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap/treemapAction.js

@@ -1,75 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as helper from '../helper/treeHelper.js';
-import { noop } from 'zrender/lib/core/util.js';
-var actionTypes = ['treemapZoomToNode', 'treemapRender', 'treemapMove'];
-export function installTreemapAction(registers) {
-  for (var i = 0; i < actionTypes.length; i++) {
-    registers.registerAction({
-      type: actionTypes[i],
-      update: 'updateView'
-    }, noop);
-  }
-  registers.registerAction({
-    type: 'treemapRootToNode',
-    update: 'updateView'
-  }, function (payload, ecModel) {
-    ecModel.eachComponent({
-      mainType: 'series',
-      subType: 'treemap',
-      query: payload
-    }, handleRootToNode);
-    function handleRootToNode(model, index) {
-      var types = ['treemapZoomToNode', 'treemapRootToNode'];
-      var targetInfo = helper.retrieveTargetInfo(payload, types, model);
-      if (targetInfo) {
-        var originViewRoot = model.getViewRoot();
-        if (originViewRoot) {
-          payload.direction = helper.aboveViewRoot(originViewRoot, targetInfo.node) ? 'rollUp' : 'drillDown';
-        }
-        model.resetViewRoot(targetInfo.node);
-      }
-    }
-  });
-}

+ 0 - 499
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap/treemapLayout.js

@@ -1,499 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-/*
-* A third-party license is embedded for some of the code in this file:
-* The treemap layout implementation was originally copied from
-* "d3.js" with some modifications made for this project.
-* (See more details in the comment of the method "squarify" below.)
-* The use of the source code of this file is also subject to the terms
-* and consitions of the license of "d3.js" (BSD-3Clause, see
-* </licenses/LICENSE-d3>).
-*/
-import * as zrUtil from 'zrender/lib/core/util.js';
-import BoundingRect from 'zrender/lib/core/BoundingRect.js';
-import { parsePercent, MAX_SAFE_INTEGER } from '../../util/number.js';
-import * as layout from '../../util/layout.js';
-import * as helper from '../helper/treeHelper.js';
-var mathMax = Math.max;
-var mathMin = Math.min;
-var retrieveValue = zrUtil.retrieve;
-var each = zrUtil.each;
-var PATH_BORDER_WIDTH = ['itemStyle', 'borderWidth'];
-var PATH_GAP_WIDTH = ['itemStyle', 'gapWidth'];
-var PATH_UPPER_LABEL_SHOW = ['upperLabel', 'show'];
-var PATH_UPPER_LABEL_HEIGHT = ['upperLabel', 'height'];
-;
-/**
- * @public
- */
-export default {
-  seriesType: 'treemap',
-  reset: function (seriesModel, ecModel, api, payload) {
-    // Layout result in each node:
-    // {x, y, width, height, area, borderWidth}
-    var ecWidth = api.getWidth();
-    var ecHeight = api.getHeight();
-    var seriesOption = seriesModel.option;
-    var layoutInfo = layout.getLayoutRect(seriesModel.getBoxLayoutParams(), {
-      width: api.getWidth(),
-      height: api.getHeight()
-    });
-    var size = seriesOption.size || []; // Compatible with ec2.
-    var containerWidth = parsePercent(retrieveValue(layoutInfo.width, size[0]), ecWidth);
-    var containerHeight = parsePercent(retrieveValue(layoutInfo.height, size[1]), ecHeight);
-    // Fetch payload info.
-    var payloadType = payload && payload.type;
-    var types = ['treemapZoomToNode', 'treemapRootToNode'];
-    var targetInfo = helper.retrieveTargetInfo(payload, types, seriesModel);
-    var rootRect = payloadType === 'treemapRender' || payloadType === 'treemapMove' ? payload.rootRect : null;
-    var viewRoot = seriesModel.getViewRoot();
-    var viewAbovePath = helper.getPathToRoot(viewRoot);
-    if (payloadType !== 'treemapMove') {
-      var rootSize = payloadType === 'treemapZoomToNode' ? estimateRootSize(seriesModel, targetInfo, viewRoot, containerWidth, containerHeight) : rootRect ? [rootRect.width, rootRect.height] : [containerWidth, containerHeight];
-      var sort_1 = seriesOption.sort;
-      if (sort_1 && sort_1 !== 'asc' && sort_1 !== 'desc') {
-        // Default to be desc order.
-        sort_1 = 'desc';
-      }
-      var options = {
-        squareRatio: seriesOption.squareRatio,
-        sort: sort_1,
-        leafDepth: seriesOption.leafDepth
-      };
-      // layout should be cleared because using updateView but not update.
-      viewRoot.hostTree.clearLayouts();
-      // TODO
-      // optimize: if out of view clip, do not layout.
-      // But take care that if do not render node out of view clip,
-      // how to calculate start po
-      var viewRootLayout_1 = {
-        x: 0,
-        y: 0,
-        width: rootSize[0],
-        height: rootSize[1],
-        area: rootSize[0] * rootSize[1]
-      };
-      viewRoot.setLayout(viewRootLayout_1);
-      squarify(viewRoot, options, false, 0);
-      // Supplement layout.
-      viewRootLayout_1 = viewRoot.getLayout();
-      each(viewAbovePath, function (node, index) {
-        var childValue = (viewAbovePath[index + 1] || viewRoot).getValue();
-        node.setLayout(zrUtil.extend({
-          dataExtent: [childValue, childValue],
-          borderWidth: 0,
-          upperHeight: 0
-        }, viewRootLayout_1));
-      });
-    }
-    var treeRoot = seriesModel.getData().tree.root;
-    treeRoot.setLayout(calculateRootPosition(layoutInfo, rootRect, targetInfo), true);
-    seriesModel.setLayoutInfo(layoutInfo);
-    // FIXME
-    // 现在没有clip功能,暂时取ec高宽。
-    prunning(treeRoot,
-    // Transform to base element coordinate system.
-    new BoundingRect(-layoutInfo.x, -layoutInfo.y, ecWidth, ecHeight), viewAbovePath, viewRoot, 0);
-  }
-};
-/**
- * Layout treemap with squarify algorithm.
- * The original presentation of this algorithm
- * was made by Mark Bruls, Kees Huizing, and Jarke J. van Wijk
- * <https://graphics.ethz.ch/teaching/scivis_common/Literature/squarifiedTreeMaps.pdf>.
- * The implementation of this algorithm was originally copied from "d3.js"
- * <https://github.com/d3/d3/blob/9cc9a875e636a1dcf36cc1e07bdf77e1ad6e2c74/src/layout/treemap.js>
- * with some modifications made for this program.
- * See the license statement at the head of this file.
- *
- * @protected
- * @param {module:echarts/data/Tree~TreeNode} node
- * @param {Object} options
- * @param {string} options.sort 'asc' or 'desc'
- * @param {number} options.squareRatio
- * @param {boolean} hideChildren
- * @param {number} depth
- */
-function squarify(node, options, hideChildren, depth) {
-  var width;
-  var height;
-  if (node.isRemoved()) {
-    return;
-  }
-  var thisLayout = node.getLayout();
-  width = thisLayout.width;
-  height = thisLayout.height;
-  // Considering border and gap
-  var nodeModel = node.getModel();
-  var borderWidth = nodeModel.get(PATH_BORDER_WIDTH);
-  var halfGapWidth = nodeModel.get(PATH_GAP_WIDTH) / 2;
-  var upperLabelHeight = getUpperLabelHeight(nodeModel);
-  var upperHeight = Math.max(borderWidth, upperLabelHeight);
-  var layoutOffset = borderWidth - halfGapWidth;
-  var layoutOffsetUpper = upperHeight - halfGapWidth;
-  node.setLayout({
-    borderWidth: borderWidth,
-    upperHeight: upperHeight,
-    upperLabelHeight: upperLabelHeight
-  }, true);
-  width = mathMax(width - 2 * layoutOffset, 0);
-  height = mathMax(height - layoutOffset - layoutOffsetUpper, 0);
-  var totalArea = width * height;
-  var viewChildren = initChildren(node, nodeModel, totalArea, options, hideChildren, depth);
-  if (!viewChildren.length) {
-    return;
-  }
-  var rect = {
-    x: layoutOffset,
-    y: layoutOffsetUpper,
-    width: width,
-    height: height
-  };
-  var rowFixedLength = mathMin(width, height);
-  var best = Infinity; // the best row score so far
-  var row = [];
-  row.area = 0;
-  for (var i = 0, len = viewChildren.length; i < len;) {
-    var child = viewChildren[i];
-    row.push(child);
-    row.area += child.getLayout().area;
-    var score = worst(row, rowFixedLength, options.squareRatio);
-    // continue with this orientation
-    if (score <= best) {
-      i++;
-      best = score;
-    }
-    // abort, and try a different orientation
-    else {
-      row.area -= row.pop().getLayout().area;
-      position(row, rowFixedLength, rect, halfGapWidth, false);
-      rowFixedLength = mathMin(rect.width, rect.height);
-      row.length = row.area = 0;
-      best = Infinity;
-    }
-  }
-  if (row.length) {
-    position(row, rowFixedLength, rect, halfGapWidth, true);
-  }
-  if (!hideChildren) {
-    var childrenVisibleMin = nodeModel.get('childrenVisibleMin');
-    if (childrenVisibleMin != null && totalArea < childrenVisibleMin) {
-      hideChildren = true;
-    }
-  }
-  for (var i = 0, len = viewChildren.length; i < len; i++) {
-    squarify(viewChildren[i], options, hideChildren, depth + 1);
-  }
-}
-/**
- * Set area to each child, and calculate data extent for visual coding.
- */
-function initChildren(node, nodeModel, totalArea, options, hideChildren, depth) {
-  var viewChildren = node.children || [];
-  var orderBy = options.sort;
-  orderBy !== 'asc' && orderBy !== 'desc' && (orderBy = null);
-  var overLeafDepth = options.leafDepth != null && options.leafDepth <= depth;
-  // leafDepth has higher priority.
-  if (hideChildren && !overLeafDepth) {
-    return node.viewChildren = [];
-  }
-  // Sort children, order by desc.
-  viewChildren = zrUtil.filter(viewChildren, function (child) {
-    return !child.isRemoved();
-  });
-  sort(viewChildren, orderBy);
-  var info = statistic(nodeModel, viewChildren, orderBy);
-  if (info.sum === 0) {
-    return node.viewChildren = [];
-  }
-  info.sum = filterByThreshold(nodeModel, totalArea, info.sum, orderBy, viewChildren);
-  if (info.sum === 0) {
-    return node.viewChildren = [];
-  }
-  // Set area to each child.
-  for (var i = 0, len = viewChildren.length; i < len; i++) {
-    var area = viewChildren[i].getValue() / info.sum * totalArea;
-    // Do not use setLayout({...}, true), because it is needed to clear last layout.
-    viewChildren[i].setLayout({
-      area: area
-    });
-  }
-  if (overLeafDepth) {
-    viewChildren.length && node.setLayout({
-      isLeafRoot: true
-    }, true);
-    viewChildren.length = 0;
-  }
-  node.viewChildren = viewChildren;
-  node.setLayout({
-    dataExtent: info.dataExtent
-  }, true);
-  return viewChildren;
-}
-/**
- * Consider 'visibleMin'. Modify viewChildren and get new sum.
- */
-function filterByThreshold(nodeModel, totalArea, sum, orderBy, orderedChildren) {
-  // visibleMin is not supported yet when no option.sort.
-  if (!orderBy) {
-    return sum;
-  }
-  var visibleMin = nodeModel.get('visibleMin');
-  var len = orderedChildren.length;
-  var deletePoint = len;
-  // Always travel from little value to big value.
-  for (var i = len - 1; i >= 0; i--) {
-    var value = orderedChildren[orderBy === 'asc' ? len - i - 1 : i].getValue();
-    if (value / sum * totalArea < visibleMin) {
-      deletePoint = i;
-      sum -= value;
-    }
-  }
-  orderBy === 'asc' ? orderedChildren.splice(0, len - deletePoint) : orderedChildren.splice(deletePoint, len - deletePoint);
-  return sum;
-}
-/**
- * Sort
- */
-function sort(viewChildren, orderBy) {
-  if (orderBy) {
-    viewChildren.sort(function (a, b) {
-      var diff = orderBy === 'asc' ? a.getValue() - b.getValue() : b.getValue() - a.getValue();
-      return diff === 0 ? orderBy === 'asc' ? a.dataIndex - b.dataIndex : b.dataIndex - a.dataIndex : diff;
-    });
-  }
-  return viewChildren;
-}
-/**
- * Statistic
- */
-function statistic(nodeModel, children, orderBy) {
-  // Calculate sum.
-  var sum = 0;
-  for (var i = 0, len = children.length; i < len; i++) {
-    sum += children[i].getValue();
-  }
-  // Statistic data extent for latter visual coding.
-  // Notice: data extent should be calculate based on raw children
-  // but not filtered view children, otherwise visual mapping will not
-  // be stable when zoom (where children is filtered by visibleMin).
-  var dimension = nodeModel.get('visualDimension');
-  var dataExtent;
-  // The same as area dimension.
-  if (!children || !children.length) {
-    dataExtent = [NaN, NaN];
-  } else if (dimension === 'value' && orderBy) {
-    dataExtent = [children[children.length - 1].getValue(), children[0].getValue()];
-    orderBy === 'asc' && dataExtent.reverse();
-  }
-  // Other dimension.
-  else {
-    dataExtent = [Infinity, -Infinity];
-    each(children, function (child) {
-      var value = child.getValue(dimension);
-      value < dataExtent[0] && (dataExtent[0] = value);
-      value > dataExtent[1] && (dataExtent[1] = value);
-    });
-  }
-  return {
-    sum: sum,
-    dataExtent: dataExtent
-  };
-}
-/**
- * Computes the score for the specified row,
- * as the worst aspect ratio.
- */
-function worst(row, rowFixedLength, ratio) {
-  var areaMax = 0;
-  var areaMin = Infinity;
-  for (var i = 0, area = void 0, len = row.length; i < len; i++) {
-    area = row[i].getLayout().area;
-    if (area) {
-      area < areaMin && (areaMin = area);
-      area > areaMax && (areaMax = area);
-    }
-  }
-  var squareArea = row.area * row.area;
-  var f = rowFixedLength * rowFixedLength * ratio;
-  return squareArea ? mathMax(f * areaMax / squareArea, squareArea / (f * areaMin)) : Infinity;
-}
-/**
- * Positions the specified row of nodes. Modifies `rect`.
- */
-function position(row, rowFixedLength, rect, halfGapWidth, flush) {
-  // When rowFixedLength === rect.width,
-  // it is horizontal subdivision,
-  // rowFixedLength is the width of the subdivision,
-  // rowOtherLength is the height of the subdivision,
-  // and nodes will be positioned from left to right.
-  // wh[idx0WhenH] means: when horizontal,
-  //      wh[idx0WhenH] => wh[0] => 'width'.
-  //      xy[idx1WhenH] => xy[1] => 'y'.
-  var idx0WhenH = rowFixedLength === rect.width ? 0 : 1;
-  var idx1WhenH = 1 - idx0WhenH;
-  var xy = ['x', 'y'];
-  var wh = ['width', 'height'];
-  var last = rect[xy[idx0WhenH]];
-  var rowOtherLength = rowFixedLength ? row.area / rowFixedLength : 0;
-  if (flush || rowOtherLength > rect[wh[idx1WhenH]]) {
-    rowOtherLength = rect[wh[idx1WhenH]]; // over+underflow
-  }
-
-  for (var i = 0, rowLen = row.length; i < rowLen; i++) {
-    var node = row[i];
-    var nodeLayout = {};
-    var step = rowOtherLength ? node.getLayout().area / rowOtherLength : 0;
-    var wh1 = nodeLayout[wh[idx1WhenH]] = mathMax(rowOtherLength - 2 * halfGapWidth, 0);
-    // We use Math.max/min to avoid negative width/height when considering gap width.
-    var remain = rect[xy[idx0WhenH]] + rect[wh[idx0WhenH]] - last;
-    var modWH = i === rowLen - 1 || remain < step ? remain : step;
-    var wh0 = nodeLayout[wh[idx0WhenH]] = mathMax(modWH - 2 * halfGapWidth, 0);
-    nodeLayout[xy[idx1WhenH]] = rect[xy[idx1WhenH]] + mathMin(halfGapWidth, wh1 / 2);
-    nodeLayout[xy[idx0WhenH]] = last + mathMin(halfGapWidth, wh0 / 2);
-    last += modWH;
-    node.setLayout(nodeLayout, true);
-  }
-  rect[xy[idx1WhenH]] += rowOtherLength;
-  rect[wh[idx1WhenH]] -= rowOtherLength;
-}
-// Return [containerWidth, containerHeight] as default.
-function estimateRootSize(seriesModel, targetInfo, viewRoot, containerWidth, containerHeight) {
-  // If targetInfo.node exists, we zoom to the node,
-  // so estimate whole width and height by target node.
-  var currNode = (targetInfo || {}).node;
-  var defaultSize = [containerWidth, containerHeight];
-  if (!currNode || currNode === viewRoot) {
-    return defaultSize;
-  }
-  var parent;
-  var viewArea = containerWidth * containerHeight;
-  var area = viewArea * seriesModel.option.zoomToNodeRatio;
-  while (parent = currNode.parentNode) {
-    // jshint ignore:line
-    var sum = 0;
-    var siblings = parent.children;
-    for (var i = 0, len = siblings.length; i < len; i++) {
-      sum += siblings[i].getValue();
-    }
-    var currNodeValue = currNode.getValue();
-    if (currNodeValue === 0) {
-      return defaultSize;
-    }
-    area *= sum / currNodeValue;
-    // Considering border, suppose aspect ratio is 1.
-    var parentModel = parent.getModel();
-    var borderWidth = parentModel.get(PATH_BORDER_WIDTH);
-    var upperHeight = Math.max(borderWidth, getUpperLabelHeight(parentModel));
-    area += 4 * borderWidth * borderWidth + (3 * borderWidth + upperHeight) * Math.pow(area, 0.5);
-    area > MAX_SAFE_INTEGER && (area = MAX_SAFE_INTEGER);
-    currNode = parent;
-  }
-  area < viewArea && (area = viewArea);
-  var scale = Math.pow(area / viewArea, 0.5);
-  return [containerWidth * scale, containerHeight * scale];
-}
-// Root position based on coord of containerGroup
-function calculateRootPosition(layoutInfo, rootRect, targetInfo) {
-  if (rootRect) {
-    return {
-      x: rootRect.x,
-      y: rootRect.y
-    };
-  }
-  var defaultPosition = {
-    x: 0,
-    y: 0
-  };
-  if (!targetInfo) {
-    return defaultPosition;
-  }
-  // If targetInfo is fetched by 'retrieveTargetInfo',
-  // old tree and new tree are the same tree,
-  // so the node still exists and we can visit it.
-  var targetNode = targetInfo.node;
-  var layout = targetNode.getLayout();
-  if (!layout) {
-    return defaultPosition;
-  }
-  // Transform coord from local to container.
-  var targetCenter = [layout.width / 2, layout.height / 2];
-  var node = targetNode;
-  while (node) {
-    var nodeLayout = node.getLayout();
-    targetCenter[0] += nodeLayout.x;
-    targetCenter[1] += nodeLayout.y;
-    node = node.parentNode;
-  }
-  return {
-    x: layoutInfo.width / 2 - targetCenter[0],
-    y: layoutInfo.height / 2 - targetCenter[1]
-  };
-}
-// Mark nodes visible for prunning when visual coding and rendering.
-// Prunning depends on layout and root position, so we have to do it after layout.
-function prunning(node, clipRect, viewAbovePath, viewRoot, depth) {
-  var nodeLayout = node.getLayout();
-  var nodeInViewAbovePath = viewAbovePath[depth];
-  var isAboveViewRoot = nodeInViewAbovePath && nodeInViewAbovePath === node;
-  if (nodeInViewAbovePath && !isAboveViewRoot || depth === viewAbovePath.length && node !== viewRoot) {
-    return;
-  }
-  node.setLayout({
-    // isInView means: viewRoot sub tree + viewAbovePath
-    isInView: true,
-    // invisible only means: outside view clip so that the node can not
-    // see but still layout for animation preparation but not render.
-    invisible: !isAboveViewRoot && !clipRect.intersect(nodeLayout),
-    isAboveViewRoot: isAboveViewRoot
-  }, true);
-  // Transform to child coordinate.
-  var childClipRect = new BoundingRect(clipRect.x - nodeLayout.x, clipRect.y - nodeLayout.y, clipRect.width, clipRect.height);
-  each(node.viewChildren || [], function (child) {
-    prunning(child, childClipRect, viewAbovePath, viewRoot, depth + 1);
-  });
-}
-function getUpperLabelHeight(model) {
-  return model.get(PATH_UPPER_LABEL_SHOW) ? model.get(PATH_UPPER_LABEL_HEIGHT) : 0;
-}

+ 0 - 194
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/chart/treemap/treemapVisual.js

@@ -1,194 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import VisualMapping from '../../visual/VisualMapping.js';
-import { each, extend, isArray } from 'zrender/lib/core/util.js';
-import { modifyHSL, modifyAlpha } from 'zrender/lib/tool/color.js';
-import { makeInner } from '../../util/model.js';
-var ITEM_STYLE_NORMAL = 'itemStyle';
-var inner = makeInner();
-export default {
-  seriesType: 'treemap',
-  reset: function (seriesModel) {
-    var tree = seriesModel.getData().tree;
-    var root = tree.root;
-    if (root.isRemoved()) {
-      return;
-    }
-    travelTree(root,
-    // Visual should calculate from tree root but not view root.
-    {}, seriesModel.getViewRoot().getAncestors(), seriesModel);
-  }
-};
-function travelTree(node, designatedVisual, viewRootAncestors, seriesModel) {
-  var nodeModel = node.getModel();
-  var nodeLayout = node.getLayout();
-  var data = node.hostTree.data;
-  // Optimize
-  if (!nodeLayout || nodeLayout.invisible || !nodeLayout.isInView) {
-    return;
-  }
-  var nodeItemStyleModel = nodeModel.getModel(ITEM_STYLE_NORMAL);
-  var visuals = buildVisuals(nodeItemStyleModel, designatedVisual, seriesModel);
-  var existsStyle = data.ensureUniqueItemVisual(node.dataIndex, 'style');
-  // calculate border color
-  var borderColor = nodeItemStyleModel.get('borderColor');
-  var borderColorSaturation = nodeItemStyleModel.get('borderColorSaturation');
-  var thisNodeColor;
-  if (borderColorSaturation != null) {
-    // For performance, do not always execute 'calculateColor'.
-    thisNodeColor = calculateColor(visuals);
-    borderColor = calculateBorderColor(borderColorSaturation, thisNodeColor);
-  }
-  existsStyle.stroke = borderColor;
-  var viewChildren = node.viewChildren;
-  if (!viewChildren || !viewChildren.length) {
-    thisNodeColor = calculateColor(visuals);
-    // Apply visual to this node.
-    existsStyle.fill = thisNodeColor;
-  } else {
-    var mapping_1 = buildVisualMapping(node, nodeModel, nodeLayout, nodeItemStyleModel, visuals, viewChildren);
-    // Designate visual to children.
-    each(viewChildren, function (child, index) {
-      // If higher than viewRoot, only ancestors of viewRoot is needed to visit.
-      if (child.depth >= viewRootAncestors.length || child === viewRootAncestors[child.depth]) {
-        var childVisual = mapVisual(nodeModel, visuals, child, index, mapping_1, seriesModel);
-        travelTree(child, childVisual, viewRootAncestors, seriesModel);
-      }
-    });
-  }
-}
-function buildVisuals(nodeItemStyleModel, designatedVisual, seriesModel) {
-  var visuals = extend({}, designatedVisual);
-  var designatedVisualItemStyle = seriesModel.designatedVisualItemStyle;
-  each(['color', 'colorAlpha', 'colorSaturation'], function (visualName) {
-    // Priority: thisNode > thisLevel > parentNodeDesignated > seriesModel
-    designatedVisualItemStyle[visualName] = designatedVisual[visualName];
-    var val = nodeItemStyleModel.get(visualName);
-    designatedVisualItemStyle[visualName] = null;
-    val != null && (visuals[visualName] = val);
-  });
-  return visuals;
-}
-function calculateColor(visuals) {
-  var color = getValueVisualDefine(visuals, 'color');
-  if (color) {
-    var colorAlpha = getValueVisualDefine(visuals, 'colorAlpha');
-    var colorSaturation = getValueVisualDefine(visuals, 'colorSaturation');
-    if (colorSaturation) {
-      color = modifyHSL(color, null, null, colorSaturation);
-    }
-    if (colorAlpha) {
-      color = modifyAlpha(color, colorAlpha);
-    }
-    return color;
-  }
-}
-function calculateBorderColor(borderColorSaturation, thisNodeColor) {
-  return thisNodeColor != null
-  // Can only be string
-  ? modifyHSL(thisNodeColor, null, null, borderColorSaturation) : null;
-}
-function getValueVisualDefine(visuals, name) {
-  var value = visuals[name];
-  if (value != null && value !== 'none') {
-    return value;
-  }
-}
-function buildVisualMapping(node, nodeModel, nodeLayout, nodeItemStyleModel, visuals, viewChildren) {
-  if (!viewChildren || !viewChildren.length) {
-    return;
-  }
-  var rangeVisual = getRangeVisual(nodeModel, 'color') || visuals.color != null && visuals.color !== 'none' && (getRangeVisual(nodeModel, 'colorAlpha') || getRangeVisual(nodeModel, 'colorSaturation'));
-  if (!rangeVisual) {
-    return;
-  }
-  var visualMin = nodeModel.get('visualMin');
-  var visualMax = nodeModel.get('visualMax');
-  var dataExtent = nodeLayout.dataExtent.slice();
-  visualMin != null && visualMin < dataExtent[0] && (dataExtent[0] = visualMin);
-  visualMax != null && visualMax > dataExtent[1] && (dataExtent[1] = visualMax);
-  var colorMappingBy = nodeModel.get('colorMappingBy');
-  var opt = {
-    type: rangeVisual.name,
-    dataExtent: dataExtent,
-    visual: rangeVisual.range
-  };
-  if (opt.type === 'color' && (colorMappingBy === 'index' || colorMappingBy === 'id')) {
-    opt.mappingMethod = 'category';
-    opt.loop = true;
-    // categories is ordinal, so do not set opt.categories.
-  } else {
-    opt.mappingMethod = 'linear';
-  }
-  var mapping = new VisualMapping(opt);
-  inner(mapping).drColorMappingBy = colorMappingBy;
-  return mapping;
-}
-// Notice: If we don't have the attribute 'colorRange', but only use
-// attribute 'color' to represent both concepts of 'colorRange' and 'color',
-// (It means 'colorRange' when 'color' is Array, means 'color' when not array),
-// this problem will be encountered:
-// If a level-1 node doesn't have children, and its siblings have children,
-// and colorRange is set on level-1, then the node cannot be colored.
-// So we separate 'colorRange' and 'color' to different attributes.
-function getRangeVisual(nodeModel, name) {
-  // 'colorRange', 'colorARange', 'colorSRange'.
-  // If not exists on this node, fetch from levels and series.
-  var range = nodeModel.get(name);
-  return isArray(range) && range.length ? {
-    name: name,
-    range: range
-  } : null;
-}
-function mapVisual(nodeModel, visuals, child, index, mapping, seriesModel) {
-  var childVisuals = extend({}, visuals);
-  if (mapping) {
-    // Only support color, colorAlpha, colorSaturation.
-    var mappingType = mapping.type;
-    var colorMappingBy = mappingType === 'color' && inner(mapping).drColorMappingBy;
-    var value = colorMappingBy === 'index' ? index : colorMappingBy === 'id' ? seriesModel.mapIdToIndex(child.getId()) : child.getValue(nodeModel.get('visualDimension'));
-    childVisuals[mappingType] = mapping.mapValueToVisual(value);
-  }
-  return childVisuals;
-}

+ 0 - 46
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/component/aria.js

@@ -1,46 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { use } from '../extension.js';
-import { install } from './aria/install.js';
-use(install);

+ 0 - 49
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/component/aria/install.js

@@ -1,49 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import ariaVisual from '../../visual/aria.js';
-import ariaPreprocessor from './preprocessor.js';
-export function install(registers) {
-  registers.registerPreprocessor(ariaPreprocessor);
-  registers.registerVisual(registers.PRIORITY.VISUAL.ARIA, ariaVisual);
-}

+ 0 - 61
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/component/aria/preprocessor.js

@@ -1,61 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import * as zrUtil from 'zrender/lib/core/util.js';
-export default function ariaPreprocessor(option) {
-  if (!option || !option.aria) {
-    return;
-  }
-  var aria = option.aria;
-  // aria.show is deprecated and should use aria.enabled instead
-  if (aria.show != null) {
-    aria.enabled = aria.show;
-  }
-  aria.label = aria.label || {};
-  // move description, general, series, data to be under aria.label
-  zrUtil.each(['description', 'general', 'series', 'data'], function (name) {
-    if (aria[name] != null) {
-      aria.label[name] = aria[name];
-    }
-  });
-}

+ 0 - 323
node_modules/.store/echarts@5.5.1/node_modules/echarts/lib/component/axis/AngleAxisView.js

@@ -1,323 +0,0 @@
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-
-/**
- * AUTO-GENERATED FILE. DO NOT MODIFY.
- */
-
-/*
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*   http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-import { __extends } from "tslib";
-import * as zrUtil from 'zrender/lib/core/util.js';
-import * as graphic from '../../util/graphic.js';
-import { createTextStyle } from '../../label/labelStyle.js';
-import Model from '../../model/Model.js';
-import AxisView from './AxisView.js';
-import AxisBuilder from './AxisBuilder.js';
-import { getECData } from '../../util/innerStore.js';
-var elementList = ['axisLine', 'axisLabel', 'axisTick', 'minorTick', 'splitLine', 'minorSplitLine', 'splitArea'];
-function getAxisLineShape(polar, rExtent, angle) {
-  rExtent[1] > rExtent[0] && (rExtent = rExtent.slice().reverse());
-  var start = polar.coordToPoint([rExtent[0], angle]);
-  var end = polar.coordToPoint([rExtent[1], angle]);
-  return {
-    x1: start[0],
-    y1: start[1],
-    x2: end[0],
-    y2: end[1]
-  };
-}
-function getRadiusIdx(polar) {
-  var radiusAxis = polar.getRadiusAxis();
-  return radiusAxis.inverse ? 0 : 1;
-}
-// Remove the last tick which will overlap the first tick
-function fixAngleOverlap(list) {
-  var firstItem = list[0];
-  var lastItem = list[list.length - 1];
-  if (firstItem && lastItem && Math.abs(Math.abs(firstItem.coord - lastItem.coord) - 360) < 1e-4) {
-    list.pop();
-  }
-}
-var AngleAxisView = /** @class */function (_super) {
-  __extends(AngleAxisView, _super);
-  function AngleAxisView() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-    _this.type = AngleAxisView.type;
-    _this.axisPointerClass = 'PolarAxisPointer';
-    return _this;
-  }
-  AngleAxisView.prototype.render = function (angleAxisModel, ecModel) {
-    this.group.removeAll();
-    if (!angleAxisModel.get('show')) {
-      return;
-    }
-    var angleAxis = angleAxisModel.axis;
-    var polar = angleAxis.polar;
-    var radiusExtent = polar.getRadiusAxis().getExtent();
-    var ticksAngles = angleAxis.getTicksCoords();
-    var minorTickAngles = angleAxis.getMinorTicksCoords();
-    var labels = zrUtil.map(angleAxis.getViewLabels(), function (labelItem) {
-      labelItem = zrUtil.clone(labelItem);
-      var scale = angleAxis.scale;
-      var tickValue = scale.type === 'ordinal' ? scale.getRawOrdinalNumber(labelItem.tickValue) : labelItem.tickValue;
-      labelItem.coord = angleAxis.dataToCoord(tickValue);
-      return labelItem;
-    });
-    fixAngleOverlap(labels);
-    fixAngleOverlap(ticksAngles);
-    zrUtil.each(elementList, function (name) {
-      if (angleAxisModel.get([name, 'show']) && (!angleAxis.scale.isBlank() || name === 'axisLine')) {
-        angelAxisElementsBuilders[name](this.group, angleAxisModel, polar, ticksAngles, minorTickAngles, radiusExtent, labels);
-      }
-    }, this);
-  };
-  AngleAxisView.type = 'angleAxis';
-  return AngleAxisView;
-}(AxisView);
-var angelAxisElementsBuilders = {
-  axisLine: function (group, angleAxisModel, polar, ticksAngles, minorTickAngles, radiusExtent) {
-    var lineStyleModel = angleAxisModel.getModel(['axisLine', 'lineStyle']);
-    var angleAxis = polar.getAngleAxis();
-    var RADIAN = Math.PI / 180;
-    var angleExtent = angleAxis.getExtent();
-    // extent id of the axis radius (r0 and r)
-    var rId = getRadiusIdx(polar);
-    var r0Id = rId ? 0 : 1;
-    var shape;
-    var shapeType = Math.abs(angleExtent[1] - angleExtent[0]) === 360 ? 'Circle' : 'Arc';
-    if (radiusExtent[r0Id] === 0) {
-      shape = new graphic[shapeType]({
-        shape: {
-          cx: polar.cx,
-          cy: polar.cy,
-          r: radiusExtent[rId],
-          startAngle: -angleExtent[0] * RADIAN,
-          endAngle: -angleExtent[1] * RADIAN,
-          clockwise: angleAxis.inverse
-        },
-        style: lineStyleModel.getLineStyle(),
-        z2: 1,
-        silent: true
-      });
-    } else {
-      shape = new graphic.Ring({
-        shape: {
-          cx: polar.cx,
-          cy: polar.cy,
-          r: radiusExtent[rId],
-          r0: radiusExtent[r0Id]
-        },
-        style: lineStyleModel.getLineStyle(),
-        z2: 1,
-        silent: true
-      });
-    }
-    shape.style.fill = null;
-    group.add(shape);
-  },
-  axisTick: function (group, angleAxisModel, polar, ticksAngles, minorTickAngles, radiusExtent) {
-    var tickModel = angleAxisModel.getModel('axisTick');
-    var tickLen = (tickModel.get('inside') ? -1 : 1) * tickModel.get('length');
-    var radius = radiusExtent[getRadiusIdx(polar)];
-    var lines = zrUtil.map(ticksAngles, function (tickAngleItem) {
-      return new graphic.Line({
-        shape: getAxisLineShape(polar, [radius, radius + tickLen], tickAngleItem.coord)
-      });
-    });
-    group.add(graphic.mergePath(lines, {
-      style: zrUtil.defaults(tickModel.getModel('lineStyle').getLineStyle(), {
-        stroke: angleAxisModel.get(['axisLine', 'lineStyle', 'color'])
-      })
-    }));
-  },
-  minorTick: function (group, angleAxisModel, polar, tickAngles, minorTickAngles, radiusExtent) {
-    if (!minorTickAngles.length) {
-      return;
-    }
-    var tickModel = angleAxisModel.getModel('axisTick');
-    var minorTickModel = angleAxisModel.getModel('minorTick');
-    var tickLen = (tickModel.get('inside') ? -1 : 1) * minorTickModel.get('length');
-    var radius = radiusExtent[getRadiusIdx(polar)];
-    var lines = [];
-    for (var i = 0; i < minorTickAngles.length; i++) {
-      for (var k = 0; k < minorTickAngles[i].length; k++) {
-        lines.push(new graphic.Line({
-          shape: getAxisLineShape(polar, [radius, radius + tickLen], minorTickAngles[i][k].coord)
-        }));
-      }
-    }
-    group.add(graphic.mergePath(lines, {
-      style: zrUtil.defaults(minorTickModel.getModel('lineStyle').getLineStyle(), zrUtil.defaults(tickModel.getLineStyle(), {
-        stroke: angleAxisModel.get(['axisLine', 'lineStyle', 'color'])
-      }))
-    }));
-  },
-  axisLabel: function (group, angleAxisModel, polar, ticksAngles, minorTickAngles, radiusExtent, labels) {
-    var rawCategoryData = angleAxisModel.getCategories(true);
-    var commonLabelModel = angleAxisModel.getModel('axisLabel');
-    var labelMargin = commonLabelModel.get('margin');
-    var triggerEvent = angleAxisModel.get('triggerEvent');
-    // Use length of ticksAngles because it may remove the last tick to avoid overlapping
-    zrUtil.each(labels, function (labelItem, idx) {
-      var labelModel = commonLabelModel;
-      var tickValue = labelItem.tickValue;
-      var r = radiusExtent[getRadiusIdx(polar)];
-      var p = polar.coordToPoint([r + labelMargin, labelItem.coord]);
-      var cx = polar.cx;
-      var cy = polar.cy;
-      var labelTextAlign = Math.abs(p[0] - cx) / r < 0.3 ? 'center' : p[0] > cx ? 'left' : 'right';
-      var labelTextVerticalAlign = Math.abs(p[1] - cy) / r < 0.3 ? 'middle' : p[1] > cy ? 'top' : 'bottom';
-      if (rawCategoryData && rawCategoryData[tickValue]) {
-        var rawCategoryItem = rawCategoryData[tickValue];
-        if (zrUtil.isObject(rawCategoryItem) && rawCategoryItem.textStyle) {
-          labelModel = new Model(rawCategoryItem.textStyle, commonLabelModel, commonLabelModel.ecModel);
-        }
-      }
-      var textEl = new graphic.Text({
-        silent: AxisBuilder.isLabelSilent(angleAxisModel),
-        style: createTextStyle(labelModel, {
-          x: p[0],
-          y: p[1],
-          fill: labelModel.getTextColor() || angleAxisModel.get(['axisLine', 'lineStyle', 'color']),
-          text: labelItem.formattedLabel,
-          align: labelTextAlign,
-          verticalAlign: labelTextVerticalAlign
-        })
-      });
-      group.add(textEl);
-      // Pack data for mouse event
-      if (triggerEvent) {
-        var eventData = AxisBuilder.makeAxisEventDataBase(angleAxisModel);
-        eventData.targetType = 'axisLabel';
-        eventData.value = labelItem.rawLabel;
-        getECData(textEl).eventData = eventData;
-      }
-    }, this);
-  },
-  splitLine: function (group, angleAxisModel, polar, ticksAngles, minorTickAngles, radiusExtent) {
-    var splitLineModel = angleAxisModel.getModel('splitLine');
-    var lineStyleModel = splitLineModel.getModel('lineStyle');
-    var lineColors = lineStyleModel.get('color');
-    var lineCount = 0;
-    lineColors = lineColors instanceof Array ? lineColors : [lineColors];
-    var splitLines = [];
-    for (var i = 0; i < ticksAngles.length; i++) {
-      var colorIndex = lineCount++ % lineColors.length;
-      splitLines[colorIndex] = splitLines[colorIndex] || [];
-      splitLines[colorIndex].push(new graphic.Line({
-        shape: getAxisLineShape(polar, radiusExtent, ticksAngles[i].coord)
-      }));
-    }
-    // Simple optimization
-    // Batching the lines if color are the same
-    for (var i = 0; i < splitLines.length; i++) {
-      group.add(graphic.mergePath(splitLines[i], {
-        style: zrUtil.defaults({
-          stroke: lineColors[i % lineColors.length]
-        }, lineStyleModel.getLineStyle()),
-        silent: true,
-        z: angleAxisModel.get('z')
-      }));
-    }
-  },
-  minorSplitLine: function (group, angleAxisModel, polar, ticksAngles, minorTickAngles, radiusExtent) {
-    if (!minorTickAngles.length) {
-      return;
-    }
-    var minorSplitLineModel = angleAxisModel.getModel('minorSplitLine');
-    var lineStyleModel = minorSplitLineModel.getModel('lineStyle');
-    var lines = [];
-    for (var i = 0; i < minorTickAngles.length; i++) {
-      for (var k = 0; k < minorTickAngles[i].length; k++) {
-        lines.push(new graphic.Line({
-          shape: getAxisLineShape(polar, radiusExtent, minorTickAngles[i][k].coord)
-        }));
-      }
-    }
-    group.add(graphic.mergePath(lines, {
-      style: lineStyleModel.getLineStyle(),
-      silent: true,
-      z: angleAxisModel.get('z')
-    }));
-  },
-  splitArea: function (group, angleAxisModel, polar, ticksAngles, minorTickAngles, radiusExtent) {
-    if (!ticksAngles.length) {
-      return;
-    }
-    var splitAreaModel = angleAxisModel.getModel('splitArea');
-    var areaStyleModel = splitAreaModel.getModel('areaStyle');
-    var areaColors = areaStyleModel.get('color');
-    var lineCount = 0;
-    areaColors = areaColors instanceof Array ? areaColors : [areaColors];
-    var splitAreas = [];
-    var RADIAN = Math.PI / 180;
-    var prevAngle = -ticksAngles[0].coord * RADIAN;
-    var r0 = Math.min(radiusExtent[0], radiusExtent[1]);
-    var r1 = Math.max(radiusExtent[0], radiusExtent[1]);
-    var clockwise = angleAxisModel.get('clockwise');
-    for (var i = 1, len = ticksAngles.length; i <= len; i++) {
-      var coord = i === len ? ticksAngles[0].coord : ticksAngles[i].coord;
-      var colorIndex = lineCount++ % areaColors.length;
-      splitAreas[colorIndex] = splitAreas[colorIndex] || [];
-      splitAreas[colorIndex].push(new graphic.Sector({
-        shape: {
-          cx: polar.cx,
-          cy: polar.cy,
-          r0: r0,
-          r: r1,
-          startAngle: prevAngle,
-          endAngle: -coord * RADIAN,
-          clockwise: clockwise
-        },
-        silent: true
-      }));
-      prevAngle = -coord * RADIAN;
-    }
-    // Simple optimization
-    // Batching the lines if color are the same
-    for (var i = 0; i < splitAreas.length; i++) {
-      group.add(graphic.mergePath(splitAreas[i], {
-        style: zrUtil.defaults({
-          fill: areaColors[i % areaColors.length]
-        }, areaStyleModel.getAreaStyle()),
-        silent: true
-      }));
-    }
-  }
-};
-export default AngleAxisView;

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio