@hkyhy/marsun-components-core 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1128) hide show
  1. package/dist/components/File/FilePreview/FilePreviewContent.js +3 -3
  2. package/dist/components/File/FilePreview/FilePreviewContent.js.map +1 -1
  3. package/dist/components/File/fileDisplay.d.ts +2 -0
  4. package/dist/components/File/fileDisplay.js +25 -21
  5. package/dist/components/File/fileDisplay.js.map +1 -1
  6. package/dist/components/File/index.d.ts +1 -1
  7. package/dist/components/File/previewKind.js +17 -17
  8. package/dist/components/File/previewKind.js.map +1 -1
  9. package/dist/index.js +36 -35
  10. package/package.json +1 -1
  11. package/dist/_virtual/_commonjs-dynamic-modules.js +0 -7
  12. package/dist/_virtual/_commonjs-dynamic-modules.js.map +0 -1
  13. package/dist/_virtual/_commonjsHelpers.js +0 -9
  14. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  15. package/dist/_virtual/jszip.min.js +0 -8
  16. package/dist/_virtual/jszip.min.js.map +0 -1
  17. package/dist/_virtual/jszip2.min.js +0 -5
  18. package/dist/_virtual/jszip2.min.js.map +0 -1
  19. package/dist/_virtual/lodash.js +0 -6
  20. package/dist/_virtual/lodash.js.map +0 -1
  21. package/dist/_virtual/lodash2.js +0 -5
  22. package/dist/_virtual/lodash2.js.map +0 -1
  23. package/dist/node_modules/@js-preview/excel/lib/index.js +0 -43346
  24. package/dist/node_modules/@js-preview/excel/lib/index.js.map +0 -1
  25. package/dist/node_modules/docx-preview/dist/docx-preview.js +0 -3203
  26. package/dist/node_modules/docx-preview/dist/docx-preview.js.map +0 -1
  27. package/dist/node_modules/echarts/index.js +0 -88
  28. package/dist/node_modules/echarts/index.js.map +0 -1
  29. package/dist/node_modules/echarts/lib/action/roamHelper.js +0 -23
  30. package/dist/node_modules/echarts/lib/action/roamHelper.js.map +0 -1
  31. package/dist/node_modules/echarts/lib/animation/basicTransition.js +0 -97
  32. package/dist/node_modules/echarts/lib/animation/basicTransition.js.map +0 -1
  33. package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +0 -57
  34. package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js.map +0 -1
  35. package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +0 -236
  36. package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js.map +0 -1
  37. package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +0 -107
  38. package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js.map +0 -1
  39. package/dist/node_modules/echarts/lib/animation/universalTransition.js +0 -346
  40. package/dist/node_modules/echarts/lib/animation/universalTransition.js.map +0 -1
  41. package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +0 -55
  42. package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js.map +0 -1
  43. package/dist/node_modules/echarts/lib/chart/bar/BarView.js +0 -478
  44. package/dist/node_modules/echarts/lib/chart/bar/BarView.js.map +0 -1
  45. package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +0 -77
  46. package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js.map +0 -1
  47. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +0 -49
  48. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js.map +0 -1
  49. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +0 -326
  50. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js.map +0 -1
  51. package/dist/node_modules/echarts/lib/chart/bar/install.js +0 -24
  52. package/dist/node_modules/echarts/lib/chart/bar/install.js.map +0 -1
  53. package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +0 -11
  54. package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js.map +0 -1
  55. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +0 -57
  56. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js.map +0 -1
  57. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +0 -96
  58. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js.map +0 -1
  59. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +0 -73
  60. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js.map +0 -1
  61. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +0 -24
  62. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js.map +0 -1
  63. package/dist/node_modules/echarts/lib/chart/boxplot/install.js +0 -11
  64. package/dist/node_modules/echarts/lib/chart/boxplot/install.js.map +0 -1
  65. package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +0 -26
  66. package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js.map +0 -1
  67. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +0 -71
  68. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js.map +0 -1
  69. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +0 -196
  70. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js.map +0 -1
  71. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +0 -77
  72. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js.map +0 -1
  73. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +0 -36
  74. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js.map +0 -1
  75. package/dist/node_modules/echarts/lib/chart/candlestick/install.js +0 -12
  76. package/dist/node_modules/echarts/lib/chart/candlestick/install.js.map +0 -1
  77. package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +0 -10
  78. package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js.map +0 -1
  79. package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +0 -56
  80. package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js.map +0 -1
  81. package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +0 -439
  82. package/dist/node_modules/echarts/lib/chart/custom/CustomView.js.map +0 -1
  83. package/dist/node_modules/echarts/lib/chart/custom/install.js +0 -9
  84. package/dist/node_modules/echarts/lib/chart/custom/install.js.map +0 -1
  85. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +0 -61
  86. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js.map +0 -1
  87. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +0 -45
  88. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js.map +0 -1
  89. package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +0 -10
  90. package/dist/node_modules/echarts/lib/chart/effectScatter/install.js.map +0 -1
  91. package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +0 -84
  92. package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js.map +0 -1
  93. package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +0 -110
  94. package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js.map +0 -1
  95. package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +0 -98
  96. package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js.map +0 -1
  97. package/dist/node_modules/echarts/lib/chart/funnel/install.js +0 -11
  98. package/dist/node_modules/echarts/lib/chart/funnel/install.js.map +0 -1
  99. package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +0 -143
  100. package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js.map +0 -1
  101. package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +0 -300
  102. package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js.map +0 -1
  103. package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +0 -30
  104. package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js.map +0 -1
  105. package/dist/node_modules/echarts/lib/chart/gauge/install.js +0 -9
  106. package/dist/node_modules/echarts/lib/chart/gauge/install.js.map +0 -1
  107. package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +0 -181
  108. package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js.map +0 -1
  109. package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +0 -137
  110. package/dist/node_modules/echarts/lib/chart/graph/GraphView.js.map +0 -1
  111. package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +0 -54
  112. package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js.map +0 -1
  113. package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +0 -23
  114. package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js.map +0 -1
  115. package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +0 -30
  116. package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js.map +0 -1
  117. package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +0 -10
  118. package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js.map +0 -1
  119. package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +0 -81
  120. package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js.map +0 -1
  121. package/dist/node_modules/echarts/lib/chart/graph/createView.js +0 -34
  122. package/dist/node_modules/echarts/lib/chart/graph/createView.js.map +0 -1
  123. package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +0 -29
  124. package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js.map +0 -1
  125. package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +0 -74
  126. package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js.map +0 -1
  127. package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +0 -62
  128. package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js.map +0 -1
  129. package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +0 -16
  130. package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js.map +0 -1
  131. package/dist/node_modules/echarts/lib/chart/graph/install.js +0 -43
  132. package/dist/node_modules/echarts/lib/chart/graph/install.js.map +0 -1
  133. package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +0 -25
  134. package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js.map +0 -1
  135. package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +0 -24
  136. package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js.map +0 -1
  137. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +0 -46
  138. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js.map +0 -1
  139. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +0 -45
  140. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js.map +0 -1
  141. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +0 -155
  142. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js.map +0 -1
  143. package/dist/node_modules/echarts/lib/chart/heatmap/install.js +0 -9
  144. package/dist/node_modules/echarts/lib/chart/heatmap/install.js.map +0 -1
  145. package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +0 -69
  146. package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js.map +0 -1
  147. package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +0 -55
  148. package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js.map +0 -1
  149. package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +0 -90
  150. package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js.map +0 -1
  151. package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +0 -158
  152. package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js.map +0 -1
  153. package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +0 -144
  154. package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js.map +0 -1
  155. package/dist/node_modules/echarts/lib/chart/helper/Line.js +0 -209
  156. package/dist/node_modules/echarts/lib/chart/helper/Line.js.map +0 -1
  157. package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +0 -88
  158. package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js.map +0 -1
  159. package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +0 -53
  160. package/dist/node_modules/echarts/lib/chart/helper/LinePath.js.map +0 -1
  161. package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +0 -46
  162. package/dist/node_modules/echarts/lib/chart/helper/Polyline.js.map +0 -1
  163. package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +0 -156
  164. package/dist/node_modules/echarts/lib/chart/helper/Symbol.js.map +0 -1
  165. package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +0 -107
  166. package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js.map +0 -1
  167. package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +0 -71
  168. package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js.map +0 -1
  169. package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +0 -51
  170. package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js.map +0 -1
  171. package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +0 -12
  172. package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js.map +0 -1
  173. package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +0 -71
  174. package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js.map +0 -1
  175. package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +0 -16
  176. package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js.map +0 -1
  177. package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +0 -14
  178. package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js.map +0 -1
  179. package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +0 -28
  180. package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js.map +0 -1
  181. package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +0 -68
  182. package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js.map +0 -1
  183. package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +0 -20
  184. package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js.map +0 -1
  185. package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +0 -42
  186. package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js.map +0 -1
  187. package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +0 -52
  188. package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js.map +0 -1
  189. package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +0 -93
  190. package/dist/node_modules/echarts/lib/chart/line/LineSeries.js.map +0 -1
  191. package/dist/node_modules/echarts/lib/chart/line/LineView.js +0 -532
  192. package/dist/node_modules/echarts/lib/chart/line/LineView.js.map +0 -1
  193. package/dist/node_modules/echarts/lib/chart/line/helper.js +0 -41
  194. package/dist/node_modules/echarts/lib/chart/line/helper.js.map +0 -1
  195. package/dist/node_modules/echarts/lib/chart/line/install.js +0 -17
  196. package/dist/node_modules/echarts/lib/chart/line/install.js.map +0 -1
  197. package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +0 -61
  198. package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js.map +0 -1
  199. package/dist/node_modules/echarts/lib/chart/line/poly.js +0 -164
  200. package/dist/node_modules/echarts/lib/chart/line/poly.js.map +0 -1
  201. package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +0 -154
  202. package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js.map +0 -1
  203. package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +0 -66
  204. package/dist/node_modules/echarts/lib/chart/lines/LinesView.js.map +0 -1
  205. package/dist/node_modules/echarts/lib/chart/lines/install.js +0 -11
  206. package/dist/node_modules/echarts/lib/chart/lines/install.js.map +0 -1
  207. package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +0 -51
  208. package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js.map +0 -1
  209. package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +0 -21
  210. package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js.map +0 -1
  211. package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +0 -144
  212. package/dist/node_modules/echarts/lib/chart/map/MapSeries.js.map +0 -1
  213. package/dist/node_modules/echarts/lib/chart/map/MapView.js +0 -84
  214. package/dist/node_modules/echarts/lib/chart/map/MapView.js.map +0 -1
  215. package/dist/node_modules/echarts/lib/chart/map/install.js +0 -14
  216. package/dist/node_modules/echarts/lib/chart/map/install.js.map +0 -1
  217. package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +0 -33
  218. package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js.map +0 -1
  219. package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +0 -32
  220. package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js.map +0 -1
  221. package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +0 -64
  222. package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js.map +0 -1
  223. package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +0 -112
  224. package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js.map +0 -1
  225. package/dist/node_modules/echarts/lib/chart/parallel/install.js +0 -12
  226. package/dist/node_modules/echarts/lib/chart/parallel/install.js.map +0 -1
  227. package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +0 -27
  228. package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js.map +0 -1
  229. package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +0 -143
  230. package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js.map +0 -1
  231. package/dist/node_modules/echarts/lib/chart/pie/PieView.js +0 -152
  232. package/dist/node_modules/echarts/lib/chart/pie/PieView.js.map +0 -1
  233. package/dist/node_modules/echarts/lib/chart/pie/install.js +0 -14
  234. package/dist/node_modules/echarts/lib/chart/pie/install.js.map +0 -1
  235. package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +0 -200
  236. package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js.map +0 -1
  237. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +0 -100
  238. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js.map +0 -1
  239. package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +0 -74
  240. package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js.map +0 -1
  241. package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +0 -124
  242. package/dist/node_modules/echarts/lib/chart/radar/RadarView.js.map +0 -1
  243. package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +0 -18
  244. package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js.map +0 -1
  245. package/dist/node_modules/echarts/lib/chart/radar/install.js +0 -14
  246. package/dist/node_modules/echarts/lib/chart/radar/install.js.map +0 -1
  247. package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +0 -31
  248. package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js.map +0 -1
  249. package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +0 -125
  250. package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js.map +0 -1
  251. package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +0 -169
  252. package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js.map +0 -1
  253. package/dist/node_modules/echarts/lib/chart/sankey/install.js +0 -24
  254. package/dist/node_modules/echarts/lib/chart/sankey/install.js.map +0 -1
  255. package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +0 -278
  256. package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js.map +0 -1
  257. package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +0 -34
  258. package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js.map +0 -1
  259. package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +0 -62
  260. package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js.map +0 -1
  261. package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +0 -61
  262. package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js.map +0 -1
  263. package/dist/node_modules/echarts/lib/chart/scatter/install.js +0 -12
  264. package/dist/node_modules/echarts/lib/chart/scatter/install.js.map +0 -1
  265. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +0 -83
  266. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js.map +0 -1
  267. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +0 -129
  268. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js.map +0 -1
  269. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +0 -94
  270. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js.map +0 -1
  271. package/dist/node_modules/echarts/lib/chart/sunburst/install.js +0 -14
  272. package/dist/node_modules/echarts/lib/chart/sunburst/install.js.map +0 -1
  273. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +0 -51
  274. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js.map +0 -1
  275. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +0 -99
  276. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js.map +0 -1
  277. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +0 -24
  278. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js.map +0 -1
  279. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +0 -123
  280. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js.map +0 -1
  281. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +0 -101
  282. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js.map +0 -1
  283. package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +0 -11
  284. package/dist/node_modules/echarts/lib/chart/themeRiver/install.js.map +0 -1
  285. package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +0 -64
  286. package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js.map +0 -1
  287. package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +0 -101
  288. package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js.map +0 -1
  289. package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +0 -320
  290. package/dist/node_modules/echarts/lib/chart/tree/TreeView.js.map +0 -1
  291. package/dist/node_modules/echarts/lib/chart/tree/install.js +0 -12
  292. package/dist/node_modules/echarts/lib/chart/tree/install.js.map +0 -1
  293. package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +0 -103
  294. package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js.map +0 -1
  295. package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +0 -25
  296. package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js.map +0 -1
  297. package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +0 -38
  298. package/dist/node_modules/echarts/lib/chart/tree/treeAction.js.map +0 -1
  299. package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +0 -54
  300. package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js.map +0 -1
  301. package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +0 -14
  302. package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js.map +0 -1
  303. package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +0 -100
  304. package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js.map +0 -1
  305. package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +0 -204
  306. package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js.map +0 -1
  307. package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +0 -455
  308. package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js.map +0 -1
  309. package/dist/node_modules/echarts/lib/chart/treemap/install.js +0 -12
  310. package/dist/node_modules/echarts/lib/chart/treemap/install.js.map +0 -1
  311. package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +0 -31
  312. package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js.map +0 -1
  313. package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +0 -218
  314. package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js.map +0 -1
  315. package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +0 -96
  316. package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js.map +0 -1
  317. package/dist/node_modules/echarts/lib/component/aria/install.js +0 -9
  318. package/dist/node_modules/echarts/lib/component/aria/install.js.map +0 -1
  319. package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +0 -13
  320. package/dist/node_modules/echarts/lib/component/aria/preprocessor.js.map +0 -1
  321. package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +0 -196
  322. package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js.map +0 -1
  323. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +0 -295
  324. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js.map +0 -1
  325. package/dist/node_modules/echarts/lib/component/axis/AxisView.js +0 -41
  326. package/dist/node_modules/echarts/lib/component/axis/AxisView.js.map +0 -1
  327. package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +0 -123
  328. package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js.map +0 -1
  329. package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +0 -89
  330. package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js.map +0 -1
  331. package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +0 -118
  332. package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js.map +0 -1
  333. package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +0 -71
  334. package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js.map +0 -1
  335. package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +0 -54
  336. package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js.map +0 -1
  337. package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +0 -26
  338. package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js.map +0 -1
  339. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +0 -72
  340. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js.map +0 -1
  341. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +0 -32
  342. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js.map +0 -1
  343. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +0 -186
  344. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js.map +0 -1
  345. package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +0 -86
  346. package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js.map +0 -1
  347. package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +0 -84
  348. package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js.map +0 -1
  349. package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +0 -81
  350. package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js.map +0 -1
  351. package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +0 -203
  352. package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js.map +0 -1
  353. package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +0 -37
  354. package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js.map +0 -1
  355. package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +0 -59
  356. package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js.map +0 -1
  357. package/dist/node_modules/echarts/lib/component/axisPointer/install.js +0 -26
  358. package/dist/node_modules/echarts/lib/component/axisPointer/install.js.map +0 -1
  359. package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +0 -138
  360. package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js.map +0 -1
  361. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +0 -115
  362. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js.map +0 -1
  363. package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +0 -59
  364. package/dist/node_modules/echarts/lib/component/brush/BrushModel.js.map +0 -1
  365. package/dist/node_modules/echarts/lib/component/brush/BrushView.js +0 -47
  366. package/dist/node_modules/echarts/lib/component/brush/BrushView.js.map +0 -1
  367. package/dist/node_modules/echarts/lib/component/brush/install.js +0 -33
  368. package/dist/node_modules/echarts/lib/component/brush/install.js.map +0 -1
  369. package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +0 -31
  370. package/dist/node_modules/echarts/lib/component/brush/preprocessor.js.map +0 -1
  371. package/dist/node_modules/echarts/lib/component/brush/selector.js +0 -63
  372. package/dist/node_modules/echarts/lib/component/brush/selector.js.map +0 -1
  373. package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +0 -141
  374. package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js.map +0 -1
  375. package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +0 -188
  376. package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js.map +0 -1
  377. package/dist/node_modules/echarts/lib/component/calendar/install.js +0 -10
  378. package/dist/node_modules/echarts/lib/component/calendar/install.js.map +0 -1
  379. package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +0 -126
  380. package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js.map +0 -1
  381. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +0 -189
  382. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js.map +0 -1
  383. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +0 -19
  384. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js.map +0 -1
  385. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +0 -25
  386. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js.map +0 -1
  387. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +0 -77
  388. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js.map +0 -1
  389. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +0 -17
  390. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js.map +0 -1
  391. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +0 -17
  392. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js.map +0 -1
  393. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +0 -88
  394. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js.map +0 -1
  395. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +0 -454
  396. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js.map +0 -1
  397. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +0 -19
  398. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js.map +0 -1
  399. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +0 -58
  400. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js.map +0 -1
  401. package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +0 -68
  402. package/dist/node_modules/echarts/lib/component/dataZoom/helper.js.map +0 -1
  403. package/dist/node_modules/echarts/lib/component/dataZoom/history.js +0 -57
  404. package/dist/node_modules/echarts/lib/component/dataZoom/history.js.map +0 -1
  405. package/dist/node_modules/echarts/lib/component/dataZoom/install.js +0 -10
  406. package/dist/node_modules/echarts/lib/component/dataZoom/install.js.map +0 -1
  407. package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +0 -12
  408. package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js.map +0 -1
  409. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +0 -11
  410. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js.map +0 -1
  411. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +0 -10
  412. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js.map +0 -1
  413. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +0 -10
  414. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js.map +0 -1
  415. package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +0 -127
  416. package/dist/node_modules/echarts/lib/component/dataZoom/roams.js.map +0 -1
  417. package/dist/node_modules/echarts/lib/component/dataset/install.js +0 -44
  418. package/dist/node_modules/echarts/lib/component/dataset/install.js.map +0 -1
  419. package/dist/node_modules/echarts/lib/component/geo/GeoView.js +0 -50
  420. package/dist/node_modules/echarts/lib/component/geo/GeoView.js.map +0 -1
  421. package/dist/node_modules/echarts/lib/component/geo/install.js +0 -73
  422. package/dist/node_modules/echarts/lib/component/geo/install.js.map +0 -1
  423. package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +0 -96
  424. package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js.map +0 -1
  425. package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +0 -186
  426. package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js.map +0 -1
  427. package/dist/node_modules/echarts/lib/component/graphic/install.js +0 -17
  428. package/dist/node_modules/echarts/lib/component/graphic/install.js.map +0 -1
  429. package/dist/node_modules/echarts/lib/component/grid/install.js +0 -10
  430. package/dist/node_modules/echarts/lib/component/grid/install.js.map +0 -1
  431. package/dist/node_modules/echarts/lib/component/grid/installSimple.js +0 -43
  432. package/dist/node_modules/echarts/lib/component/grid/installSimple.js.map +0 -1
  433. package/dist/node_modules/echarts/lib/component/helper/BrushController.js +0 -466
  434. package/dist/node_modules/echarts/lib/component/helper/BrushController.js.map +0 -1
  435. package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +0 -197
  436. package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js.map +0 -1
  437. package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +0 -304
  438. package/dist/node_modules/echarts/lib/component/helper/MapDraw.js.map +0 -1
  439. package/dist/node_modules/echarts/lib/component/helper/RoamController.js +0 -107
  440. package/dist/node_modules/echarts/lib/component/helper/RoamController.js.map +0 -1
  441. package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +0 -29
  442. package/dist/node_modules/echarts/lib/component/helper/brushHelper.js.map +0 -1
  443. package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +0 -13
  444. package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js.map +0 -1
  445. package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +0 -28
  446. package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js.map +0 -1
  447. package/dist/node_modules/echarts/lib/component/helper/listComponent.js +0 -30
  448. package/dist/node_modules/echarts/lib/component/helper/listComponent.js.map +0 -1
  449. package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +0 -18
  450. package/dist/node_modules/echarts/lib/component/helper/roamHelper.js.map +0 -1
  451. package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +0 -29
  452. package/dist/node_modules/echarts/lib/component/helper/sliderMove.js.map +0 -1
  453. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +0 -197
  454. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js.map +0 -1
  455. package/dist/node_modules/echarts/lib/component/legend/LegendView.js +0 -246
  456. package/dist/node_modules/echarts/lib/component/legend/LegendView.js.map +0 -1
  457. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +0 -50
  458. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js.map +0 -1
  459. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +0 -185
  460. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js.map +0 -1
  461. package/dist/node_modules/echarts/lib/component/legend/install.js +0 -10
  462. package/dist/node_modules/echarts/lib/component/legend/install.js.map +0 -1
  463. package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +0 -13
  464. package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js.map +0 -1
  465. package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +0 -12
  466. package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js.map +0 -1
  467. package/dist/node_modules/echarts/lib/component/legend/legendAction.js +0 -41
  468. package/dist/node_modules/echarts/lib/component/legend/legendAction.js.map +0 -1
  469. package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +0 -15
  470. package/dist/node_modules/echarts/lib/component/legend/legendFilter.js.map +0 -1
  471. package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +0 -16
  472. package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js.map +0 -1
  473. package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +0 -44
  474. package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js.map +0 -1
  475. package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +0 -180
  476. package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js.map +0 -1
  477. package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +0 -47
  478. package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js.map +0 -1
  479. package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +0 -179
  480. package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js.map +0 -1
  481. package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +0 -41
  482. package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js.map +0 -1
  483. package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +0 -85
  484. package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js.map +0 -1
  485. package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +0 -75
  486. package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js.map +0 -1
  487. package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +0 -46
  488. package/dist/node_modules/echarts/lib/component/marker/MarkerView.js.map +0 -1
  489. package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +0 -13
  490. package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js.map +0 -1
  491. package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +0 -12
  492. package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js.map +0 -1
  493. package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +0 -12
  494. package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js.map +0 -1
  495. package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +0 -12
  496. package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js.map +0 -1
  497. package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +0 -84
  498. package/dist/node_modules/echarts/lib/component/marker/markerHelper.js.map +0 -1
  499. package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +0 -67
  500. package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js.map +0 -1
  501. package/dist/node_modules/echarts/lib/component/parallel/install.js +0 -27
  502. package/dist/node_modules/echarts/lib/component/parallel/install.js.map +0 -1
  503. package/dist/node_modules/echarts/lib/component/polar/install.js +0 -41
  504. package/dist/node_modules/echarts/lib/component/polar/install.js.map +0 -1
  505. package/dist/node_modules/echarts/lib/component/radar/RadarView.js +0 -120
  506. package/dist/node_modules/echarts/lib/component/radar/RadarView.js.map +0 -1
  507. package/dist/node_modules/echarts/lib/component/radar/install.js +0 -18
  508. package/dist/node_modules/echarts/lib/component/radar/install.js.map +0 -1
  509. package/dist/node_modules/echarts/lib/component/singleAxis/install.js +0 -28
  510. package/dist/node_modules/echarts/lib/component/singleAxis/install.js.map +0 -1
  511. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +0 -116
  512. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js.map +0 -1
  513. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +0 -362
  514. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js.map +0 -1
  515. package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +0 -21
  516. package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js.map +0 -1
  517. package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +0 -80
  518. package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js.map +0 -1
  519. package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +0 -17
  520. package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js.map +0 -1
  521. package/dist/node_modules/echarts/lib/component/timeline/install.js +0 -13
  522. package/dist/node_modules/echarts/lib/component/timeline/install.js.map +0 -1
  523. package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +0 -36
  524. package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js.map +0 -1
  525. package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +0 -30
  526. package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js.map +0 -1
  527. package/dist/node_modules/echarts/lib/component/title/install.js +0 -122
  528. package/dist/node_modules/echarts/lib/component/title/install.js.map +0 -1
  529. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +0 -61
  530. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js.map +0 -1
  531. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +0 -141
  532. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js.map +0 -1
  533. package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +0 -70
  534. package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js.map +0 -1
  535. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +0 -271
  536. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js.map +0 -1
  537. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +0 -153
  538. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js.map +0 -1
  539. package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +0 -124
  540. package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js.map +0 -1
  541. package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +0 -38
  542. package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js.map +0 -1
  543. package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +0 -70
  544. package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js.map +0 -1
  545. package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +0 -20
  546. package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js.map +0 -1
  547. package/dist/node_modules/echarts/lib/component/toolbox/install.js +0 -17
  548. package/dist/node_modules/echarts/lib/component/toolbox/install.js.map +0 -1
  549. package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +0 -153
  550. package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js.map +0 -1
  551. package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +0 -83
  552. package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js.map +0 -1
  553. package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +0 -90
  554. package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js.map +0 -1
  555. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +0 -413
  556. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js.map +0 -1
  557. package/dist/node_modules/echarts/lib/component/tooltip/helper.js +0 -33
  558. package/dist/node_modules/echarts/lib/component/tooltip/helper.js.map +0 -1
  559. package/dist/node_modules/echarts/lib/component/tooltip/install.js +0 -20
  560. package/dist/node_modules/echarts/lib/component/tooltip/install.js.map +0 -1
  561. package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +0 -64
  562. package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js.map +0 -1
  563. package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +0 -187
  564. package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js.map +0 -1
  565. package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +0 -36
  566. package/dist/node_modules/echarts/lib/component/transform/filterTransform.js.map +0 -1
  567. package/dist/node_modules/echarts/lib/component/transform/install.js +0 -9
  568. package/dist/node_modules/echarts/lib/component/transform/install.js.map +0 -1
  569. package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +0 -59
  570. package/dist/node_modules/echarts/lib/component/transform/sortTransform.js.map +0 -1
  571. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +0 -110
  572. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js.map +0 -1
  573. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +0 -383
  574. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js.map +0 -1
  575. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +0 -217
  576. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js.map +0 -1
  577. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +0 -119
  578. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js.map +0 -1
  579. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +0 -162
  580. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js.map +0 -1
  581. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +0 -78
  582. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js.map +0 -1
  583. package/dist/node_modules/echarts/lib/component/visualMap/helper.js +0 -25
  584. package/dist/node_modules/echarts/lib/component/visualMap/helper.js.map +0 -1
  585. package/dist/node_modules/echarts/lib/component/visualMap/install.js +0 -10
  586. package/dist/node_modules/echarts/lib/component/visualMap/install.js.map +0 -1
  587. package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +0 -16
  588. package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js.map +0 -1
  589. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +0 -10
  590. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js.map +0 -1
  591. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +0 -10
  592. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js.map +0 -1
  593. package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +0 -21
  594. package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js.map +0 -1
  595. package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +0 -52
  596. package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js.map +0 -1
  597. package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +0 -18
  598. package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js.map +0 -1
  599. package/dist/node_modules/echarts/lib/coord/Axis.js +0 -108
  600. package/dist/node_modules/echarts/lib/coord/Axis.js.map +0 -1
  601. package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +0 -7
  602. package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js.map +0 -1
  603. package/dist/node_modules/echarts/lib/coord/View.js +0 -92
  604. package/dist/node_modules/echarts/lib/coord/View.js.map +0 -1
  605. package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +0 -47
  606. package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js.map +0 -1
  607. package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +0 -10
  608. package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js.map +0 -1
  609. package/dist/node_modules/echarts/lib/coord/axisDefault.js +0 -161
  610. package/dist/node_modules/echarts/lib/coord/axisDefault.js.map +0 -1
  611. package/dist/node_modules/echarts/lib/coord/axisHelper.js +0 -163
  612. package/dist/node_modules/echarts/lib/coord/axisHelper.js.map +0 -1
  613. package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +0 -16
  614. package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js.map +0 -1
  615. package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +0 -41
  616. package/dist/node_modules/echarts/lib/coord/axisModelCreator.js.map +0 -1
  617. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +0 -177
  618. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js.map +0 -1
  619. package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +0 -159
  620. package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js.map +0 -1
  621. package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +0 -92
  622. package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js.map +0 -1
  623. package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +0 -29
  624. package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js.map +0 -1
  625. package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +0 -29
  626. package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js.map +0 -1
  627. package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +0 -22
  628. package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js.map +0 -1
  629. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +0 -27
  630. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js.map +0 -1
  631. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +0 -67
  632. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js.map +0 -1
  633. package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +0 -234
  634. package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js.map +0 -1
  635. package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +0 -31
  636. package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js.map +0 -1
  637. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +0 -47
  638. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js.map +0 -1
  639. package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +0 -30
  640. package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js.map +0 -1
  641. package/dist/node_modules/echarts/lib/coord/geo/Geo.js +0 -86
  642. package/dist/node_modules/echarts/lib/coord/geo/Geo.js.map +0 -1
  643. package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +0 -71
  644. package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js.map +0 -1
  645. package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +0 -126
  646. package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js.map +0 -1
  647. package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +0 -109
  648. package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js.map +0 -1
  649. package/dist/node_modules/echarts/lib/coord/geo/Region.js +0 -138
  650. package/dist/node_modules/echarts/lib/coord/geo/Region.js.map +0 -1
  651. package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +0 -11
  652. package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js.map +0 -1
  653. package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +0 -23
  654. package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js.map +0 -1
  655. package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +0 -22
  656. package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js.map +0 -1
  657. package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +0 -109
  658. package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js.map +0 -1
  659. package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +0 -70
  660. package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js.map +0 -1
  661. package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +0 -68
  662. package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js.map +0 -1
  663. package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +0 -30
  664. package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js.map +0 -1
  665. package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +0 -52
  666. package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js.map +0 -1
  667. package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +0 -181
  668. package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js.map +0 -1
  669. package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +0 -19
  670. package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js.map +0 -1
  671. package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +0 -62
  672. package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js.map +0 -1
  673. package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +0 -21
  674. package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js.map +0 -1
  675. package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +0 -26
  676. package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js.map +0 -1
  677. package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +0 -30
  678. package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js.map +0 -1
  679. package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +0 -45
  680. package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js.map +0 -1
  681. package/dist/node_modules/echarts/lib/coord/polar/Polar.js +0 -87
  682. package/dist/node_modules/echarts/lib/coord/polar/Polar.js.map +0 -1
  683. package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +0 -27
  684. package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js.map +0 -1
  685. package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +0 -20
  686. package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js.map +0 -1
  687. package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +0 -64
  688. package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js.map +0 -1
  689. package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +0 -30
  690. package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js.map +0 -1
  691. package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +0 -17
  692. package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js.map +0 -1
  693. package/dist/node_modules/echarts/lib/coord/radar/Radar.js +0 -80
  694. package/dist/node_modules/echarts/lib/coord/radar/Radar.js.map +0 -1
  695. package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +0 -90
  696. package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js.map +0 -1
  697. package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +0 -71
  698. package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js.map +0 -1
  699. package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +0 -61
  700. package/dist/node_modules/echarts/lib/coord/single/AxisModel.js.map +0 -1
  701. package/dist/node_modules/echarts/lib/coord/single/Single.js +0 -89
  702. package/dist/node_modules/echarts/lib/coord/single/Single.js.map +0 -1
  703. package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +0 -22
  704. package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js.map +0 -1
  705. package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +0 -27
  706. package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js.map +0 -1
  707. package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +0 -33
  708. package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js.map +0 -1
  709. package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +0 -22
  710. package/dist/node_modules/echarts/lib/coord/single/singleCreator.js.map +0 -1
  711. package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +0 -30
  712. package/dist/node_modules/echarts/lib/core/CoordinateSystem.js.map +0 -1
  713. package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +0 -35
  714. package/dist/node_modules/echarts/lib/core/ExtensionAPI.js.map +0 -1
  715. package/dist/node_modules/echarts/lib/core/Scheduler.js +0 -227
  716. package/dist/node_modules/echarts/lib/core/Scheduler.js.map +0 -1
  717. package/dist/node_modules/echarts/lib/core/echarts.js +0 -1058
  718. package/dist/node_modules/echarts/lib/core/echarts.js.map +0 -1
  719. package/dist/node_modules/echarts/lib/core/impl.js +0 -13
  720. package/dist/node_modules/echarts/lib/core/impl.js.map +0 -1
  721. package/dist/node_modules/echarts/lib/core/lifecycle.js +0 -6
  722. package/dist/node_modules/echarts/lib/core/lifecycle.js.map +0 -1
  723. package/dist/node_modules/echarts/lib/core/locale.js +0 -38
  724. package/dist/node_modules/echarts/lib/core/locale.js.map +0 -1
  725. package/dist/node_modules/echarts/lib/core/task.js +0 -92
  726. package/dist/node_modules/echarts/lib/core/task.js.map +0 -1
  727. package/dist/node_modules/echarts/lib/data/DataDiffer.js +0 -81
  728. package/dist/node_modules/echarts/lib/data/DataDiffer.js.map +0 -1
  729. package/dist/node_modules/echarts/lib/data/DataStore.js +0 -431
  730. package/dist/node_modules/echarts/lib/data/DataStore.js.map +0 -1
  731. package/dist/node_modules/echarts/lib/data/Graph.js +0 -210
  732. package/dist/node_modules/echarts/lib/data/Graph.js.map +0 -1
  733. package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +0 -37
  734. package/dist/node_modules/echarts/lib/data/OrdinalMeta.js.map +0 -1
  735. package/dist/node_modules/echarts/lib/data/SeriesData.js +0 -339
  736. package/dist/node_modules/echarts/lib/data/SeriesData.js.map +0 -1
  737. package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +0 -14
  738. package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js.map +0 -1
  739. package/dist/node_modules/echarts/lib/data/Source.js +0 -158
  740. package/dist/node_modules/echarts/lib/data/Source.js.map +0 -1
  741. package/dist/node_modules/echarts/lib/data/Tree.js +0 -155
  742. package/dist/node_modules/echarts/lib/data/Tree.js.map +0 -1
  743. package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +0 -87
  744. package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js.map +0 -1
  745. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +0 -123
  746. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js.map +0 -1
  747. package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +0 -177
  748. package/dist/node_modules/echarts/lib/data/helper/dataProvider.js.map +0 -1
  749. package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +0 -61
  750. package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js.map +0 -1
  751. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +0 -90
  752. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js.map +0 -1
  753. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +0 -59
  754. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js.map +0 -1
  755. package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +0 -63
  756. package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js.map +0 -1
  757. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +0 -164
  758. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js.map +0 -1
  759. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +0 -138
  760. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js.map +0 -1
  761. package/dist/node_modules/echarts/lib/data/helper/transform.js +0 -174
  762. package/dist/node_modules/echarts/lib/data/helper/transform.js.map +0 -1
  763. package/dist/node_modules/echarts/lib/extension.js +0 -62
  764. package/dist/node_modules/echarts/lib/extension.js.map +0 -1
  765. package/dist/node_modules/echarts/lib/i18n/langEN.js +0 -115
  766. package/dist/node_modules/echarts/lib/i18n/langEN.js.map +0 -1
  767. package/dist/node_modules/echarts/lib/i18n/langZH.js +0 -115
  768. package/dist/node_modules/echarts/lib/i18n/langZH.js.map +0 -1
  769. package/dist/node_modules/echarts/lib/label/LabelManager.js +0 -236
  770. package/dist/node_modules/echarts/lib/label/LabelManager.js.map +0 -1
  771. package/dist/node_modules/echarts/lib/label/installLabelLayout.js +0 -18
  772. package/dist/node_modules/echarts/lib/label/installLabelLayout.js.map +0 -1
  773. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +0 -235
  774. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js.map +0 -1
  775. package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +0 -133
  776. package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js.map +0 -1
  777. package/dist/node_modules/echarts/lib/label/labelStyle.js +0 -195
  778. package/dist/node_modules/echarts/lib/label/labelStyle.js.map +0 -1
  779. package/dist/node_modules/echarts/lib/label/sectorLabel.js +0 -95
  780. package/dist/node_modules/echarts/lib/label/sectorLabel.js.map +0 -1
  781. package/dist/node_modules/echarts/lib/layout/barGrid.js +0 -236
  782. package/dist/node_modules/echarts/lib/layout/barGrid.js.map +0 -1
  783. package/dist/node_modules/echarts/lib/layout/barPolar.js +0 -102
  784. package/dist/node_modules/echarts/lib/layout/barPolar.js.map +0 -1
  785. package/dist/node_modules/echarts/lib/layout/points.js +0 -38
  786. package/dist/node_modules/echarts/lib/layout/points.js.map +0 -1
  787. package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +0 -52
  788. package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js.map +0 -1
  789. package/dist/node_modules/echarts/lib/loading/default.js +0 -93
  790. package/dist/node_modules/echarts/lib/loading/default.js.map +0 -1
  791. package/dist/node_modules/echarts/lib/model/Component.js +0 -82
  792. package/dist/node_modules/echarts/lib/model/Component.js.map +0 -1
  793. package/dist/node_modules/echarts/lib/model/Global.js +0 -355
  794. package/dist/node_modules/echarts/lib/model/Global.js.map +0 -1
  795. package/dist/node_modules/echarts/lib/model/Model.js +0 -65
  796. package/dist/node_modules/echarts/lib/model/Model.js.map +0 -1
  797. package/dist/node_modules/echarts/lib/model/OptionManager.js +0 -88
  798. package/dist/node_modules/echarts/lib/model/OptionManager.js.map +0 -1
  799. package/dist/node_modules/echarts/lib/model/Series.js +0 -232
  800. package/dist/node_modules/echarts/lib/model/Series.js.map +0 -1
  801. package/dist/node_modules/echarts/lib/model/globalDefault.js +0 -88
  802. package/dist/node_modules/echarts/lib/model/globalDefault.js.map +0 -1
  803. package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +0 -23
  804. package/dist/node_modules/echarts/lib/model/internalComponentCreator.js.map +0 -1
  805. package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +0 -25
  806. package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js.map +0 -1
  807. package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +0 -72
  808. package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js.map +0 -1
  809. package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +0 -32
  810. package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js.map +0 -1
  811. package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +0 -31
  812. package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js.map +0 -1
  813. package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +0 -19
  814. package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js.map +0 -1
  815. package/dist/node_modules/echarts/lib/model/mixin/palette.js +0 -43
  816. package/dist/node_modules/echarts/lib/model/mixin/palette.js.map +0 -1
  817. package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +0 -31
  818. package/dist/node_modules/echarts/lib/model/mixin/textStyle.js.map +0 -1
  819. package/dist/node_modules/echarts/lib/model/referHelper.js +0 -61
  820. package/dist/node_modules/echarts/lib/model/referHelper.js.map +0 -1
  821. package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +0 -81
  822. package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js.map +0 -1
  823. package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +0 -112
  824. package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js.map +0 -1
  825. package/dist/node_modules/echarts/lib/processor/dataFilter.js +0 -23
  826. package/dist/node_modules/echarts/lib/processor/dataFilter.js.map +0 -1
  827. package/dist/node_modules/echarts/lib/processor/dataSample.js +0 -52
  828. package/dist/node_modules/echarts/lib/processor/dataSample.js.map +0 -1
  829. package/dist/node_modules/echarts/lib/processor/dataStack.js +0 -51
  830. package/dist/node_modules/echarts/lib/processor/dataStack.js.map +0 -1
  831. package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +0 -17
  832. package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js.map +0 -1
  833. package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +0 -8
  834. package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js.map +0 -1
  835. package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +0 -8
  836. package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js.map +0 -1
  837. package/dist/node_modules/echarts/lib/scale/Interval.js +0 -98
  838. package/dist/node_modules/echarts/lib/scale/Interval.js.map +0 -1
  839. package/dist/node_modules/echarts/lib/scale/Log.js +0 -69
  840. package/dist/node_modules/echarts/lib/scale/Log.js.map +0 -1
  841. package/dist/node_modules/echarts/lib/scale/Ordinal.js +0 -77
  842. package/dist/node_modules/echarts/lib/scale/Ordinal.js.map +0 -1
  843. package/dist/node_modules/echarts/lib/scale/Scale.js +0 -33
  844. package/dist/node_modules/echarts/lib/scale/Scale.js.map +0 -1
  845. package/dist/node_modules/echarts/lib/scale/Time.js +0 -260
  846. package/dist/node_modules/echarts/lib/scale/Time.js.map +0 -1
  847. package/dist/node_modules/echarts/lib/scale/helper.js +0 -48
  848. package/dist/node_modules/echarts/lib/scale/helper.js.map +0 -1
  849. package/dist/node_modules/echarts/lib/theme/dark.js +0 -181
  850. package/dist/node_modules/echarts/lib/theme/dark.js.map +0 -1
  851. package/dist/node_modules/echarts/lib/theme/light.js +0 -9
  852. package/dist/node_modules/echarts/lib/theme/light.js.map +0 -1
  853. package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +0 -55
  854. package/dist/node_modules/echarts/lib/util/ECEventProcessor.js.map +0 -1
  855. package/dist/node_modules/echarts/lib/util/animation.js +0 -41
  856. package/dist/node_modules/echarts/lib/util/animation.js.map +0 -1
  857. package/dist/node_modules/echarts/lib/util/clazz.js +0 -110
  858. package/dist/node_modules/echarts/lib/util/clazz.js.map +0 -1
  859. package/dist/node_modules/echarts/lib/util/component.js +0 -80
  860. package/dist/node_modules/echarts/lib/util/component.js.map +0 -1
  861. package/dist/node_modules/echarts/lib/util/conditionalExpression.js +0 -147
  862. package/dist/node_modules/echarts/lib/util/conditionalExpression.js.map +0 -1
  863. package/dist/node_modules/echarts/lib/util/decal.js +0 -175
  864. package/dist/node_modules/echarts/lib/util/decal.js.map +0 -1
  865. package/dist/node_modules/echarts/lib/util/event.js +0 -9
  866. package/dist/node_modules/echarts/lib/util/event.js.map +0 -1
  867. package/dist/node_modules/echarts/lib/util/format.js +0 -112
  868. package/dist/node_modules/echarts/lib/util/format.js.map +0 -1
  869. package/dist/node_modules/echarts/lib/util/graphic.js +0 -295
  870. package/dist/node_modules/echarts/lib/util/graphic.js.map +0 -1
  871. package/dist/node_modules/echarts/lib/util/innerStore.js +0 -15
  872. package/dist/node_modules/echarts/lib/util/innerStore.js.map +0 -1
  873. package/dist/node_modules/echarts/lib/util/layout.js +0 -141
  874. package/dist/node_modules/echarts/lib/util/layout.js.map +0 -1
  875. package/dist/node_modules/echarts/lib/util/log.js +0 -69
  876. package/dist/node_modules/echarts/lib/util/log.js.map +0 -1
  877. package/dist/node_modules/echarts/lib/util/model.js +0 -350
  878. package/dist/node_modules/echarts/lib/util/model.js.map +0 -1
  879. package/dist/node_modules/echarts/lib/util/number.js +0 -197
  880. package/dist/node_modules/echarts/lib/util/number.js.map +0 -1
  881. package/dist/node_modules/echarts/lib/util/shape/sausage.js +0 -33
  882. package/dist/node_modules/echarts/lib/util/shape/sausage.js.map +0 -1
  883. package/dist/node_modules/echarts/lib/util/states.js +0 -395
  884. package/dist/node_modules/echarts/lib/util/states.js.map +0 -1
  885. package/dist/node_modules/echarts/lib/util/styleCompat.js +0 -59
  886. package/dist/node_modules/echarts/lib/util/styleCompat.js.map +0 -1
  887. package/dist/node_modules/echarts/lib/util/symbol.js +0 -156
  888. package/dist/node_modules/echarts/lib/util/symbol.js.map +0 -1
  889. package/dist/node_modules/echarts/lib/util/throttle.js +0 -42
  890. package/dist/node_modules/echarts/lib/util/throttle.js.map +0 -1
  891. package/dist/node_modules/echarts/lib/util/time.js +0 -194
  892. package/dist/node_modules/echarts/lib/util/time.js.map +0 -1
  893. package/dist/node_modules/echarts/lib/util/types.js +0 -14
  894. package/dist/node_modules/echarts/lib/util/types.js.map +0 -1
  895. package/dist/node_modules/echarts/lib/util/vendor.js +0 -9
  896. package/dist/node_modules/echarts/lib/util/vendor.js.map +0 -1
  897. package/dist/node_modules/echarts/lib/view/Chart.js +0 -99
  898. package/dist/node_modules/echarts/lib/view/Chart.js.map +0 -1
  899. package/dist/node_modules/echarts/lib/view/Component.js +0 -28
  900. package/dist/node_modules/echarts/lib/view/Component.js.map +0 -1
  901. package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +0 -25
  902. package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js.map +0 -1
  903. package/dist/node_modules/echarts/lib/visual/VisualMapping.js +0 -264
  904. package/dist/node_modules/echarts/lib/visual/VisualMapping.js.map +0 -1
  905. package/dist/node_modules/echarts/lib/visual/aria.js +0 -134
  906. package/dist/node_modules/echarts/lib/visual/aria.js.map +0 -1
  907. package/dist/node_modules/echarts/lib/visual/decal.js +0 -24
  908. package/dist/node_modules/echarts/lib/visual/decal.js.map +0 -1
  909. package/dist/node_modules/echarts/lib/visual/helper.js +0 -54
  910. package/dist/node_modules/echarts/lib/visual/helper.js.map +0 -1
  911. package/dist/node_modules/echarts/lib/visual/style.js +0 -96
  912. package/dist/node_modules/echarts/lib/visual/style.js.map +0 -1
  913. package/dist/node_modules/echarts/lib/visual/symbol.js +0 -53
  914. package/dist/node_modules/echarts/lib/visual/symbol.js.map +0 -1
  915. package/dist/node_modules/echarts/lib/visual/visualDefault.js +0 -47
  916. package/dist/node_modules/echarts/lib/visual/visualDefault.js.map +0 -1
  917. package/dist/node_modules/echarts/lib/visual/visualSolution.js +0 -98
  918. package/dist/node_modules/echarts/lib/visual/visualSolution.js.map +0 -1
  919. package/dist/node_modules/echarts/node_modules/tslib/tslib.es6.js +0 -34
  920. package/dist/node_modules/echarts/node_modules/tslib/tslib.es6.js.map +0 -1
  921. package/dist/node_modules/jszip/dist/jszip.min.js +0 -2321
  922. package/dist/node_modules/jszip/dist/jszip.min.js.map +0 -1
  923. package/dist/node_modules/lodash/lodash.js +0 -3693
  924. package/dist/node_modules/lodash/lodash.js.map +0 -1
  925. package/dist/node_modules/pptx-preview/dist/pptx-preview.es.js +0 -2599
  926. package/dist/node_modules/pptx-preview/dist/pptx-preview.es.js.map +0 -1
  927. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/native.js +0 -8
  928. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
  929. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/rng.js +0 -10
  930. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/rng.js.map +0 -1
  931. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/stringify.js +0 -10
  932. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/stringify.js.map +0 -1
  933. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/v4.js +0 -14
  934. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/v4.js.map +0 -1
  935. package/dist/node_modules/tslib/tslib.es6.js +0 -125
  936. package/dist/node_modules/tslib/tslib.es6.js.map +0 -1
  937. package/dist/node_modules/zrender/lib/Element.js +0 -455
  938. package/dist/node_modules/zrender/lib/Element.js.map +0 -1
  939. package/dist/node_modules/zrender/lib/Handler.js +0 -169
  940. package/dist/node_modules/zrender/lib/Handler.js.map +0 -1
  941. package/dist/node_modules/zrender/lib/Storage.js +0 -76
  942. package/dist/node_modules/zrender/lib/Storage.js.map +0 -1
  943. package/dist/node_modules/zrender/lib/animation/Animation.js +0 -67
  944. package/dist/node_modules/zrender/lib/animation/Animation.js.map +0 -1
  945. package/dist/node_modules/zrender/lib/animation/Animator.js +0 -382
  946. package/dist/node_modules/zrender/lib/animation/Animator.js.map +0 -1
  947. package/dist/node_modules/zrender/lib/animation/Clip.js +0 -34
  948. package/dist/node_modules/zrender/lib/animation/Clip.js.map +0 -1
  949. package/dist/node_modules/zrender/lib/animation/cubicEasing.js +0 -19
  950. package/dist/node_modules/zrender/lib/animation/cubicEasing.js.map +0 -1
  951. package/dist/node_modules/zrender/lib/animation/easing.js +0 -105
  952. package/dist/node_modules/zrender/lib/animation/easing.js.map +0 -1
  953. package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +0 -9
  954. package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js.map +0 -1
  955. package/dist/node_modules/zrender/lib/canvas/Layer.js +0 -135
  956. package/dist/node_modules/zrender/lib/canvas/Layer.js.map +0 -1
  957. package/dist/node_modules/zrender/lib/canvas/Painter.js +0 -309
  958. package/dist/node_modules/zrender/lib/canvas/Painter.js.map +0 -1
  959. package/dist/node_modules/zrender/lib/canvas/dashStyle.js +0 -19
  960. package/dist/node_modules/zrender/lib/canvas/dashStyle.js.map +0 -1
  961. package/dist/node_modules/zrender/lib/canvas/graphic.js +0 -198
  962. package/dist/node_modules/zrender/lib/canvas/graphic.js.map +0 -1
  963. package/dist/node_modules/zrender/lib/canvas/helper.js +0 -48
  964. package/dist/node_modules/zrender/lib/canvas/helper.js.map +0 -1
  965. package/dist/node_modules/zrender/lib/config.js +0 -12
  966. package/dist/node_modules/zrender/lib/config.js.map +0 -1
  967. package/dist/node_modules/zrender/lib/contain/arc.js +0 -25
  968. package/dist/node_modules/zrender/lib/contain/arc.js.map +0 -1
  969. package/dist/node_modules/zrender/lib/contain/cubic.js +0 -14
  970. package/dist/node_modules/zrender/lib/contain/cubic.js.map +0 -1
  971. package/dist/node_modules/zrender/lib/contain/line.js +0 -17
  972. package/dist/node_modules/zrender/lib/contain/line.js.map +0 -1
  973. package/dist/node_modules/zrender/lib/contain/path.js +0 -149
  974. package/dist/node_modules/zrender/lib/contain/path.js.map +0 -1
  975. package/dist/node_modules/zrender/lib/contain/polygon.js +0 -20
  976. package/dist/node_modules/zrender/lib/contain/polygon.js.map +0 -1
  977. package/dist/node_modules/zrender/lib/contain/quadratic.js +0 -14
  978. package/dist/node_modules/zrender/lib/contain/quadratic.js.map +0 -1
  979. package/dist/node_modules/zrender/lib/contain/text.js +0 -97
  980. package/dist/node_modules/zrender/lib/contain/text.js.map +0 -1
  981. package/dist/node_modules/zrender/lib/contain/util.js +0 -8
  982. package/dist/node_modules/zrender/lib/contain/util.js.map +0 -1
  983. package/dist/node_modules/zrender/lib/contain/windingLine.js +0 -12
  984. package/dist/node_modules/zrender/lib/contain/windingLine.js.map +0 -1
  985. package/dist/node_modules/zrender/lib/core/BoundingRect.js +0 -65
  986. package/dist/node_modules/zrender/lib/core/BoundingRect.js.map +0 -1
  987. package/dist/node_modules/zrender/lib/core/Eventful.js +0 -98
  988. package/dist/node_modules/zrender/lib/core/Eventful.js.map +0 -1
  989. package/dist/node_modules/zrender/lib/core/GestureMgr.js +0 -64
  990. package/dist/node_modules/zrender/lib/core/GestureMgr.js.map +0 -1
  991. package/dist/node_modules/zrender/lib/core/LRU.js +0 -53
  992. package/dist/node_modules/zrender/lib/core/LRU.js.map +0 -1
  993. package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +0 -47
  994. package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js.map +0 -1
  995. package/dist/node_modules/zrender/lib/core/PathProxy.js +0 -301
  996. package/dist/node_modules/zrender/lib/core/PathProxy.js.map +0 -1
  997. package/dist/node_modules/zrender/lib/core/Point.js +0 -73
  998. package/dist/node_modules/zrender/lib/core/Point.js.map +0 -1
  999. package/dist/node_modules/zrender/lib/core/Transformable.js +0 -106
  1000. package/dist/node_modules/zrender/lib/core/Transformable.js.map +0 -1
  1001. package/dist/node_modules/zrender/lib/core/WeakMap.js +0 -27
  1002. package/dist/node_modules/zrender/lib/core/WeakMap.js.map +0 -1
  1003. package/dist/node_modules/zrender/lib/core/bbox.js +0 -53
  1004. package/dist/node_modules/zrender/lib/core/bbox.js.map +0 -1
  1005. package/dist/node_modules/zrender/lib/core/curve.js +0 -162
  1006. package/dist/node_modules/zrender/lib/core/curve.js.map +0 -1
  1007. package/dist/node_modules/zrender/lib/core/dom.js +0 -68
  1008. package/dist/node_modules/zrender/lib/core/dom.js.map +0 -1
  1009. package/dist/node_modules/zrender/lib/core/env.js +0 -22
  1010. package/dist/node_modules/zrender/lib/core/env.js.map +0 -1
  1011. package/dist/node_modules/zrender/lib/core/event.js +0 -70
  1012. package/dist/node_modules/zrender/lib/core/event.js.map +0 -1
  1013. package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +0 -42
  1014. package/dist/node_modules/zrender/lib/core/fourPointsTransform.js.map +0 -1
  1015. package/dist/node_modules/zrender/lib/core/matrix.js +0 -45
  1016. package/dist/node_modules/zrender/lib/core/matrix.js.map +0 -1
  1017. package/dist/node_modules/zrender/lib/core/platform.js +0 -49
  1018. package/dist/node_modules/zrender/lib/core/platform.js.map +0 -1
  1019. package/dist/node_modules/zrender/lib/core/timsort.js +0 -287
  1020. package/dist/node_modules/zrender/lib/core/timsort.js.map +0 -1
  1021. package/dist/node_modules/zrender/lib/core/util.js +0 -406
  1022. package/dist/node_modules/zrender/lib/core/util.js.map +0 -1
  1023. package/dist/node_modules/zrender/lib/core/vector.js +0 -77
  1024. package/dist/node_modules/zrender/lib/core/vector.js.map +0 -1
  1025. package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +0 -189
  1026. package/dist/node_modules/zrender/lib/dom/HandlerProxy.js.map +0 -1
  1027. package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +0 -30
  1028. package/dist/node_modules/zrender/lib/graphic/CompoundPath.js.map +0 -1
  1029. package/dist/node_modules/zrender/lib/graphic/Displayable.js +0 -147
  1030. package/dist/node_modules/zrender/lib/graphic/Displayable.js.map +0 -1
  1031. package/dist/node_modules/zrender/lib/graphic/Gradient.js +0 -15
  1032. package/dist/node_modules/zrender/lib/graphic/Gradient.js.map +0 -1
  1033. package/dist/node_modules/zrender/lib/graphic/Group.js +0 -96
  1034. package/dist/node_modules/zrender/lib/graphic/Group.js.map +0 -1
  1035. package/dist/node_modules/zrender/lib/graphic/Image.js +0 -56
  1036. package/dist/node_modules/zrender/lib/graphic/Image.js.map +0 -1
  1037. package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +0 -70
  1038. package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js.map +0 -1
  1039. package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +0 -14
  1040. package/dist/node_modules/zrender/lib/graphic/LinearGradient.js.map +0 -1
  1041. package/dist/node_modules/zrender/lib/graphic/Path.js +0 -217
  1042. package/dist/node_modules/zrender/lib/graphic/Path.js.map +0 -1
  1043. package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +0 -14
  1044. package/dist/node_modules/zrender/lib/graphic/RadialGradient.js.map +0 -1
  1045. package/dist/node_modules/zrender/lib/graphic/TSpan.js +0 -53
  1046. package/dist/node_modules/zrender/lib/graphic/TSpan.js.map +0 -1
  1047. package/dist/node_modules/zrender/lib/graphic/Text.js +0 -221
  1048. package/dist/node_modules/zrender/lib/graphic/Text.js.map +0 -1
  1049. package/dist/node_modules/zrender/lib/graphic/constants.js +0 -7
  1050. package/dist/node_modules/zrender/lib/graphic/constants.js.map +0 -1
  1051. package/dist/node_modules/zrender/lib/graphic/helper/image.js +0 -42
  1052. package/dist/node_modules/zrender/lib/graphic/helper/image.js.map +0 -1
  1053. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +0 -212
  1054. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js.map +0 -1
  1055. package/dist/node_modules/zrender/lib/graphic/helper/poly.js +0 -23
  1056. package/dist/node_modules/zrender/lib/graphic/helper/poly.js.map +0 -1
  1057. package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +0 -10
  1058. package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js.map +0 -1
  1059. package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +0 -80
  1060. package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js.map +0 -1
  1061. package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +0 -30
  1062. package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js.map +0 -1
  1063. package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +0 -29
  1064. package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js.map +0 -1
  1065. package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +0 -30
  1066. package/dist/node_modules/zrender/lib/graphic/shape/Arc.js.map +0 -1
  1067. package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +0 -48
  1068. package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js.map +0 -1
  1069. package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +0 -24
  1070. package/dist/node_modules/zrender/lib/graphic/shape/Circle.js.map +0 -1
  1071. package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +0 -25
  1072. package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js.map +0 -1
  1073. package/dist/node_modules/zrender/lib/graphic/shape/Line.js +0 -43
  1074. package/dist/node_modules/zrender/lib/graphic/shape/Line.js.map +0 -1
  1075. package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +0 -25
  1076. package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js.map +0 -1
  1077. package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +0 -30
  1078. package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js.map +0 -1
  1079. package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +0 -34
  1080. package/dist/node_modules/zrender/lib/graphic/shape/Rect.js.map +0 -1
  1081. package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +0 -25
  1082. package/dist/node_modules/zrender/lib/graphic/shape/Ring.js.map +0 -1
  1083. package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +0 -27
  1084. package/dist/node_modules/zrender/lib/graphic/shape/Sector.js.map +0 -1
  1085. package/dist/node_modules/zrender/lib/mixin/Draggable.js +0 -30
  1086. package/dist/node_modules/zrender/lib/mixin/Draggable.js.map +0 -1
  1087. package/dist/node_modules/zrender/lib/svg/Painter.js +0 -153
  1088. package/dist/node_modules/zrender/lib/svg/Painter.js.map +0 -1
  1089. package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +0 -53
  1090. package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js.map +0 -1
  1091. package/dist/node_modules/zrender/lib/svg/core.js +0 -99
  1092. package/dist/node_modules/zrender/lib/svg/core.js.map +0 -1
  1093. package/dist/node_modules/zrender/lib/svg/cssAnimation.js +0 -183
  1094. package/dist/node_modules/zrender/lib/svg/cssAnimation.js.map +0 -1
  1095. package/dist/node_modules/zrender/lib/svg/cssClassId.js +0 -8
  1096. package/dist/node_modules/zrender/lib/svg/cssClassId.js.map +0 -1
  1097. package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +0 -34
  1098. package/dist/node_modules/zrender/lib/svg/cssEmphasis.js.map +0 -1
  1099. package/dist/node_modules/zrender/lib/svg/domapi.js +0 -31
  1100. package/dist/node_modules/zrender/lib/svg/domapi.js.map +0 -1
  1101. package/dist/node_modules/zrender/lib/svg/graphic.js +0 -232
  1102. package/dist/node_modules/zrender/lib/svg/graphic.js.map +0 -1
  1103. package/dist/node_modules/zrender/lib/svg/helper.js +0 -113
  1104. package/dist/node_modules/zrender/lib/svg/helper.js.map +0 -1
  1105. package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +0 -51
  1106. package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js.map +0 -1
  1107. package/dist/node_modules/zrender/lib/svg/patch.js +0 -86
  1108. package/dist/node_modules/zrender/lib/svg/patch.js.map +0 -1
  1109. package/dist/node_modules/zrender/lib/tool/color.js +0 -343
  1110. package/dist/node_modules/zrender/lib/tool/color.js.map +0 -1
  1111. package/dist/node_modules/zrender/lib/tool/convertPath.js +0 -92
  1112. package/dist/node_modules/zrender/lib/tool/convertPath.js.map +0 -1
  1113. package/dist/node_modules/zrender/lib/tool/dividePath.js +0 -182
  1114. package/dist/node_modules/zrender/lib/tool/dividePath.js.map +0 -1
  1115. package/dist/node_modules/zrender/lib/tool/morphPath.js +0 -320
  1116. package/dist/node_modules/zrender/lib/tool/morphPath.js.map +0 -1
  1117. package/dist/node_modules/zrender/lib/tool/parseSVG.js +0 -404
  1118. package/dist/node_modules/zrender/lib/tool/parseSVG.js.map +0 -1
  1119. package/dist/node_modules/zrender/lib/tool/parseXML.js +0 -15
  1120. package/dist/node_modules/zrender/lib/tool/parseXML.js.map +0 -1
  1121. package/dist/node_modules/zrender/lib/tool/path.js +0 -165
  1122. package/dist/node_modules/zrender/lib/tool/path.js.map +0 -1
  1123. package/dist/node_modules/zrender/lib/tool/transformPath.js +0 -39
  1124. package/dist/node_modules/zrender/lib/tool/transformPath.js.map +0 -1
  1125. package/dist/node_modules/zrender/lib/zrender.js +0 -141
  1126. package/dist/node_modules/zrender/lib/zrender.js.map +0 -1
  1127. package/dist/node_modules/zrender/node_modules/tslib/tslib.es6.js +0 -34
  1128. package/dist/node_modules/zrender/node_modules/tslib/tslib.es6.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"labelLayout.js","sources":["../../../../../../node_modules/echarts/lib/chart/pie/labelLayout.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\n// FIXME emphasis label position is not same with normal label position\nimport { parsePercent } from '../../util/number.js';\nimport { Point } from '../../util/graphic.js';\nimport { each, isNumber } from 'zrender/lib/core/util.js';\nimport { limitTurnAngle, limitSurfaceAngle } from '../../label/labelGuideHelper.js';\nimport { shiftLayoutOnY } from '../../label/labelLayoutHelper.js';\nvar RADIAN = Math.PI / 180;\nfunction adjustSingleSide(list, cx, cy, r, dir, viewWidth, viewHeight, viewLeft, viewTop, farthestX) {\n if (list.length < 2) {\n return;\n }\n ;\n function recalculateXOnSemiToAlignOnEllipseCurve(semi) {\n var rB = semi.rB;\n var rB2 = rB * rB;\n for (var i = 0; i < semi.list.length; i++) {\n var item = semi.list[i];\n var dy = Math.abs(item.label.y - cy);\n // horizontal r is always same with original r because x is not changed.\n var rA = r + item.len;\n var rA2 = rA * rA;\n // Use ellipse implicit function to calculate x\n var dx = Math.sqrt(Math.abs((1 - dy * dy / rB2) * rA2));\n var newX = cx + (dx + item.len2) * dir;\n var deltaX = newX - item.label.x;\n var newTargetWidth = item.targetTextWidth - deltaX * dir;\n // text x is changed, so need to recalculate width.\n constrainTextWidth(item, newTargetWidth, true);\n item.label.x = newX;\n }\n }\n // Adjust X based on the shifted y. Make tight labels aligned on an ellipse curve.\n function recalculateX(items) {\n // Extremes of\n var topSemi = {\n list: [],\n maxY: 0\n };\n var bottomSemi = {\n list: [],\n maxY: 0\n };\n for (var i = 0; i < items.length; i++) {\n if (items[i].labelAlignTo !== 'none') {\n continue;\n }\n var item = items[i];\n var semi = item.label.y > cy ? bottomSemi : topSemi;\n var dy = Math.abs(item.label.y - cy);\n if (dy >= semi.maxY) {\n var dx = item.label.x - cx - item.len2 * dir;\n // horizontal r is always same with original r because x is not changed.\n var rA = r + item.len;\n // Canculate rB based on the topest / bottemest label.\n var rB = Math.abs(dx) < rA ? Math.sqrt(dy * dy / (1 - dx * dx / rA / rA)) : rA;\n semi.rB = rB;\n semi.maxY = dy;\n }\n semi.list.push(item);\n }\n recalculateXOnSemiToAlignOnEllipseCurve(topSemi);\n recalculateXOnSemiToAlignOnEllipseCurve(bottomSemi);\n }\n var len = list.length;\n for (var i = 0; i < len; i++) {\n if (list[i].position === 'outer' && list[i].labelAlignTo === 'labelLine') {\n var dx = list[i].label.x - farthestX;\n list[i].linePoints[1][0] += dx;\n list[i].label.x = farthestX;\n }\n }\n if (shiftLayoutOnY(list, viewTop, viewTop + viewHeight)) {\n recalculateX(list);\n }\n}\nfunction avoidOverlap(labelLayoutList, cx, cy, r, viewWidth, viewHeight, viewLeft, viewTop) {\n var leftList = [];\n var rightList = [];\n var leftmostX = Number.MAX_VALUE;\n var rightmostX = -Number.MAX_VALUE;\n for (var i = 0; i < labelLayoutList.length; i++) {\n var label = labelLayoutList[i].label;\n if (isPositionCenter(labelLayoutList[i])) {\n continue;\n }\n if (label.x < cx) {\n leftmostX = Math.min(leftmostX, label.x);\n leftList.push(labelLayoutList[i]);\n } else {\n rightmostX = Math.max(rightmostX, label.x);\n rightList.push(labelLayoutList[i]);\n }\n }\n for (var i = 0; i < labelLayoutList.length; i++) {\n var layout = labelLayoutList[i];\n if (!isPositionCenter(layout) && layout.linePoints) {\n if (layout.labelStyleWidth != null) {\n continue;\n }\n var label = layout.label;\n var linePoints = layout.linePoints;\n var targetTextWidth = void 0;\n if (layout.labelAlignTo === 'edge') {\n if (label.x < cx) {\n targetTextWidth = linePoints[2][0] - layout.labelDistance - viewLeft - layout.edgeDistance;\n } else {\n targetTextWidth = viewLeft + viewWidth - layout.edgeDistance - linePoints[2][0] - layout.labelDistance;\n }\n } else if (layout.labelAlignTo === 'labelLine') {\n if (label.x < cx) {\n targetTextWidth = leftmostX - viewLeft - layout.bleedMargin;\n } else {\n targetTextWidth = viewLeft + viewWidth - rightmostX - layout.bleedMargin;\n }\n } else {\n if (label.x < cx) {\n targetTextWidth = label.x - viewLeft - layout.bleedMargin;\n } else {\n targetTextWidth = viewLeft + viewWidth - label.x - layout.bleedMargin;\n }\n }\n layout.targetTextWidth = targetTextWidth;\n constrainTextWidth(layout, targetTextWidth);\n }\n }\n adjustSingleSide(rightList, cx, cy, r, 1, viewWidth, viewHeight, viewLeft, viewTop, rightmostX);\n adjustSingleSide(leftList, cx, cy, r, -1, viewWidth, viewHeight, viewLeft, viewTop, leftmostX);\n for (var i = 0; i < labelLayoutList.length; i++) {\n var layout = labelLayoutList[i];\n if (!isPositionCenter(layout) && layout.linePoints) {\n var label = layout.label;\n var linePoints = layout.linePoints;\n var isAlignToEdge = layout.labelAlignTo === 'edge';\n var padding = label.style.padding;\n var paddingH = padding ? padding[1] + padding[3] : 0;\n // textRect.width already contains paddingH if bgColor is set\n var extraPaddingH = label.style.backgroundColor ? 0 : paddingH;\n var realTextWidth = layout.rect.width + extraPaddingH;\n var dist = linePoints[1][0] - linePoints[2][0];\n if (isAlignToEdge) {\n if (label.x < cx) {\n linePoints[2][0] = viewLeft + layout.edgeDistance + realTextWidth + layout.labelDistance;\n } else {\n linePoints[2][0] = viewLeft + viewWidth - layout.edgeDistance - realTextWidth - layout.labelDistance;\n }\n } else {\n if (label.x < cx) {\n linePoints[2][0] = label.x + layout.labelDistance;\n } else {\n linePoints[2][0] = label.x - layout.labelDistance;\n }\n linePoints[1][0] = linePoints[2][0] + dist;\n }\n linePoints[1][1] = linePoints[2][1] = label.y;\n }\n }\n}\n/**\r\n * Set max width of each label, and then wrap each label to the max width.\r\n *\r\n * @param layout label layout\r\n * @param availableWidth max width for the label to display\r\n * @param forceRecalculate recaculate the text layout even if the current width\r\n * is smaller than `availableWidth`. This is useful when the text was previously\r\n * wrapped by calling `constrainTextWidth` but now `availableWidth` changed, in\r\n * which case, previous wrapping should be redo.\r\n */\nfunction constrainTextWidth(layout, availableWidth, forceRecalculate) {\n if (forceRecalculate === void 0) {\n forceRecalculate = false;\n }\n if (layout.labelStyleWidth != null) {\n // User-defined style.width has the highest priority.\n return;\n }\n var label = layout.label;\n var style = label.style;\n var textRect = layout.rect;\n var bgColor = style.backgroundColor;\n var padding = style.padding;\n var paddingH = padding ? padding[1] + padding[3] : 0;\n var overflow = style.overflow;\n // textRect.width already contains paddingH if bgColor is set\n var oldOuterWidth = textRect.width + (bgColor ? 0 : paddingH);\n if (availableWidth < oldOuterWidth || forceRecalculate) {\n var oldHeight = textRect.height;\n if (overflow && overflow.match('break')) {\n // Temporarily set background to be null to calculate\n // the bounding box without background.\n label.setStyle('backgroundColor', null);\n // Set constraining width\n label.setStyle('width', availableWidth - paddingH);\n // This is the real bounding box of the text without padding.\n var innerRect = label.getBoundingRect();\n label.setStyle('width', Math.ceil(innerRect.width));\n label.setStyle('backgroundColor', bgColor);\n } else {\n var availableInnerWidth = availableWidth - paddingH;\n var newWidth = availableWidth < oldOuterWidth\n // Current text is too wide, use `availableWidth` as max width.\n ? availableInnerWidth :\n // Current available width is enough, but the text may have\n // already been wrapped with a smaller available width.\n forceRecalculate ? availableInnerWidth > layout.unconstrainedWidth\n // Current available is larger than text width,\n // so don't constrain width (otherwise it may have\n // empty space in the background).\n ? null\n // Current available is smaller than text width, so\n // use the current available width as constraining\n // width.\n : availableInnerWidth\n // Current available width is enough, so no need to\n // constrain.\n : null;\n label.setStyle('width', newWidth);\n }\n var newRect = label.getBoundingRect();\n textRect.width = newRect.width;\n var margin = (label.style.margin || 0) + 2.1;\n textRect.height = newRect.height + margin;\n textRect.y -= (textRect.height - oldHeight) / 2;\n }\n}\nfunction isPositionCenter(sectorShape) {\n // Not change x for center label\n return sectorShape.position === 'center';\n}\nexport default function pieLabelLayout(seriesModel) {\n var data = seriesModel.getData();\n var labelLayoutList = [];\n var cx;\n var cy;\n var hasLabelRotate = false;\n var minShowLabelRadian = (seriesModel.get('minShowLabelAngle') || 0) * RADIAN;\n var viewRect = data.getLayout('viewRect');\n var r = data.getLayout('r');\n var viewWidth = viewRect.width;\n var viewLeft = viewRect.x;\n var viewTop = viewRect.y;\n var viewHeight = viewRect.height;\n function setNotShow(el) {\n el.ignore = true;\n }\n function isLabelShown(label) {\n if (!label.ignore) {\n return true;\n }\n for (var key in label.states) {\n if (label.states[key].ignore === false) {\n return true;\n }\n }\n return false;\n }\n data.each(function (idx) {\n var sector = data.getItemGraphicEl(idx);\n var sectorShape = sector.shape;\n var label = sector.getTextContent();\n var labelLine = sector.getTextGuideLine();\n var itemModel = data.getItemModel(idx);\n var labelModel = itemModel.getModel('label');\n // Use position in normal or emphasis\n var labelPosition = labelModel.get('position') || itemModel.get(['emphasis', 'label', 'position']);\n var labelDistance = labelModel.get('distanceToLabelLine');\n var labelAlignTo = labelModel.get('alignTo');\n var edgeDistance = parsePercent(labelModel.get('edgeDistance'), viewWidth);\n var bleedMargin = labelModel.get('bleedMargin');\n var labelLineModel = itemModel.getModel('labelLine');\n var labelLineLen = labelLineModel.get('length');\n labelLineLen = parsePercent(labelLineLen, viewWidth);\n var labelLineLen2 = labelLineModel.get('length2');\n labelLineLen2 = parsePercent(labelLineLen2, viewWidth);\n if (Math.abs(sectorShape.endAngle - sectorShape.startAngle) < minShowLabelRadian) {\n each(label.states, setNotShow);\n label.ignore = true;\n if (labelLine) {\n each(labelLine.states, setNotShow);\n labelLine.ignore = true;\n }\n return;\n }\n if (!isLabelShown(label)) {\n return;\n }\n var midAngle = (sectorShape.startAngle + sectorShape.endAngle) / 2;\n var nx = Math.cos(midAngle);\n var ny = Math.sin(midAngle);\n var textX;\n var textY;\n var linePoints;\n var textAlign;\n cx = sectorShape.cx;\n cy = sectorShape.cy;\n var isLabelInside = labelPosition === 'inside' || labelPosition === 'inner';\n if (labelPosition === 'center') {\n textX = sectorShape.cx;\n textY = sectorShape.cy;\n textAlign = 'center';\n } else {\n var x1 = (isLabelInside ? (sectorShape.r + sectorShape.r0) / 2 * nx : sectorShape.r * nx) + cx;\n var y1 = (isLabelInside ? (sectorShape.r + sectorShape.r0) / 2 * ny : sectorShape.r * ny) + cy;\n textX = x1 + nx * 3;\n textY = y1 + ny * 3;\n if (!isLabelInside) {\n // For roseType\n var x2 = x1 + nx * (labelLineLen + r - sectorShape.r);\n var y2 = y1 + ny * (labelLineLen + r - sectorShape.r);\n var x3 = x2 + (nx < 0 ? -1 : 1) * labelLineLen2;\n var y3 = y2;\n if (labelAlignTo === 'edge') {\n // Adjust textX because text align of edge is opposite\n textX = nx < 0 ? viewLeft + edgeDistance : viewLeft + viewWidth - edgeDistance;\n } else {\n textX = x3 + (nx < 0 ? -labelDistance : labelDistance);\n }\n textY = y3;\n linePoints = [[x1, y1], [x2, y2], [x3, y3]];\n }\n textAlign = isLabelInside ? 'center' : labelAlignTo === 'edge' ? nx > 0 ? 'right' : 'left' : nx > 0 ? 'left' : 'right';\n }\n var PI = Math.PI;\n var labelRotate = 0;\n var rotate = labelModel.get('rotate');\n if (isNumber(rotate)) {\n labelRotate = rotate * (PI / 180);\n } else if (labelPosition === 'center') {\n labelRotate = 0;\n } else if (rotate === 'radial' || rotate === true) {\n var radialAngle = nx < 0 ? -midAngle + PI : -midAngle;\n labelRotate = radialAngle;\n } else if (rotate === 'tangential' && labelPosition !== 'outside' && labelPosition !== 'outer') {\n var rad = Math.atan2(nx, ny);\n if (rad < 0) {\n rad = PI * 2 + rad;\n }\n var isDown = ny > 0;\n if (isDown) {\n rad = PI + rad;\n }\n labelRotate = rad - PI;\n }\n hasLabelRotate = !!labelRotate;\n label.x = textX;\n label.y = textY;\n label.rotation = labelRotate;\n label.setStyle({\n verticalAlign: 'middle'\n });\n // Not sectorShape the inside label\n if (!isLabelInside) {\n var textRect = label.getBoundingRect().clone();\n textRect.applyTransform(label.getComputedTransform());\n // Text has a default 1px stroke. Exclude this.\n var margin = (label.style.margin || 0) + 2.1;\n textRect.y -= margin / 2;\n textRect.height += margin;\n labelLayoutList.push({\n label: label,\n labelLine: labelLine,\n position: labelPosition,\n len: labelLineLen,\n len2: labelLineLen2,\n minTurnAngle: labelLineModel.get('minTurnAngle'),\n maxSurfaceAngle: labelLineModel.get('maxSurfaceAngle'),\n surfaceNormal: new Point(nx, ny),\n linePoints: linePoints,\n textAlign: textAlign,\n labelDistance: labelDistance,\n labelAlignTo: labelAlignTo,\n edgeDistance: edgeDistance,\n bleedMargin: bleedMargin,\n rect: textRect,\n unconstrainedWidth: textRect.width,\n labelStyleWidth: label.style.width\n });\n } else {\n label.setStyle({\n align: textAlign\n });\n var selectState = label.states.select;\n if (selectState) {\n selectState.x += label.x;\n selectState.y += label.y;\n }\n }\n sector.setTextConfig({\n inside: isLabelInside\n });\n });\n if (!hasLabelRotate && seriesModel.get('avoidLabelOverlap')) {\n avoidOverlap(labelLayoutList, cx, cy, r, viewWidth, viewHeight, viewLeft, viewTop);\n }\n for (var i = 0; i < labelLayoutList.length; i++) {\n var layout = labelLayoutList[i];\n var label = layout.label;\n var labelLine = layout.labelLine;\n var notShowLabel = isNaN(label.x) || isNaN(label.y);\n if (label) {\n label.setStyle({\n align: layout.textAlign\n });\n if (notShowLabel) {\n each(label.states, setNotShow);\n label.ignore = true;\n }\n var selectState = label.states.select;\n if (selectState) {\n selectState.x += label.x;\n selectState.y += label.y;\n }\n }\n if (labelLine) {\n var linePoints = layout.linePoints;\n if (notShowLabel || !linePoints) {\n each(labelLine.states, setNotShow);\n labelLine.ignore = true;\n } else {\n limitTurnAngle(linePoints, layout.minTurnAngle);\n limitSurfaceAngle(linePoints, layout.surfaceNormal, layout.maxSurfaceAngle);\n labelLine.setShape({\n points: linePoints\n });\n // Set the anchor to the midpoint of sector\n label.__hostTarget.textGuideLineConfig = {\n anchor: new Point(linePoints[0][0], linePoints[0][1])\n };\n }\n }\n }\n}"],"names":["RADIAN","adjustSingleSide","list","cx","cy","r","dir","viewWidth","viewHeight","viewLeft","viewTop","farthestX","recalculateXOnSemiToAlignOnEllipseCurve","semi","rB","rB2","i","item","dy","rA","rA2","dx","newX","deltaX","newTargetWidth","constrainTextWidth","recalculateX","items","topSemi","bottomSemi","len","shiftLayoutOnY","avoidOverlap","labelLayoutList","leftList","rightList","leftmostX","rightmostX","label","isPositionCenter","layout","linePoints","targetTextWidth","isAlignToEdge","padding","paddingH","extraPaddingH","realTextWidth","dist","availableWidth","forceRecalculate","style","textRect","bgColor","overflow","oldOuterWidth","oldHeight","innerRect","availableInnerWidth","newWidth","newRect","margin","sectorShape","pieLabelLayout","seriesModel","data","hasLabelRotate","minShowLabelRadian","viewRect","setNotShow","el","isLabelShown","key","idx","sector","labelLine","itemModel","labelModel","labelPosition","labelDistance","labelAlignTo","edgeDistance","parsePercent","bleedMargin","labelLineModel","labelLineLen","labelLineLen2","each","midAngle","nx","ny","textX","textY","textAlign","isLabelInside","x1","y1","x2","y2","x3","y3","PI","labelRotate","rotate","isNumber","radialAngle","rad","isDown","selectState","Point","notShowLabel","limitTurnAngle","limitSurfaceAngle"],"mappings":";;;;;;AAiDA,IAAIA,KAAS,KAAK,KAAK;AACvB,SAASC,GAAiBC,GAAMC,GAAIC,GAAIC,GAAGC,GAAKC,GAAWC,GAAYC,GAAUC,GAASC,GAAW;AACnG,MAAIT,EAAK,SAAS;AAChB;AAGF,WAASU,EAAwCC,GAAM;AAGrD,aAFIC,IAAKD,EAAK,IACVE,IAAMD,IAAKA,GACNE,IAAI,GAAGA,IAAIH,EAAK,KAAK,QAAQG,KAAK;AACzC,UAAIC,IAAOJ,EAAK,KAAKG,CAAC,GAClBE,IAAK,KAAK,IAAID,EAAK,MAAM,IAAIb,CAAE,GAE/Be,IAAKd,IAAIY,EAAK,KACdG,IAAMD,IAAKA,GAEXE,IAAK,KAAK,KAAK,KAAK,KAAK,IAAIH,IAAKA,IAAKH,KAAOK,CAAG,CAAC,GAClDE,IAAOnB,KAAMkB,IAAKJ,EAAK,QAAQX,GAC/BiB,IAASD,IAAOL,EAAK,MAAM,GAC3BO,IAAiBP,EAAK,kBAAkBM,IAASjB;AAErD,MAAAmB,GAAmBR,GAAMO,GAAgB,EAAI,GAC7CP,EAAK,MAAM,IAAIK;AAAA,IACjB;AAAA,EACF;AAEA,WAASI,EAAaC,GAAO;AAU3B,aARIC,IAAU;AAAA,MACZ,MAAM,CAAA;AAAA,MACN,MAAM;AAAA,IACZ,GACQC,IAAa;AAAA,MACf,MAAM,CAAA;AAAA,MACN,MAAM;AAAA,IACZ,GACab,IAAI,GAAGA,IAAIW,EAAM,QAAQX;AAChC,UAAIW,EAAMX,CAAC,EAAE,iBAAiB,QAG9B;AAAA,YAAIC,IAAOU,EAAMX,CAAC,GAC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;AAAA,QACrC,CAAO;AAAA,MACH;AAUA,MAAAoC,EAAO,cAAc;AAAA,QACnB,QAAQoB;AAAA,MACd,CAAK;AAAA;AAAA,EACH,CAAC,GACG,CAAC5B,KAAkBF,EAAY,IAAI,mBAAmB,KACxDhC,GAAaC,GAAiB9B,GAAIC,GAAIC,GAAGE,GAAWC,GAAYC,GAAUC,CAAO;AAEnF,WAASM,IAAI,GAAGA,IAAIiB,EAAgB,QAAQjB,KAAK;AAC/C,QAAIwB,IAASP,EAAgBjB,CAAC,GAC1BsB,IAAQE,EAAO,OACfmC,IAAYnC,EAAO,WACnBsE,IAAe,MAAMxE,EAAM,CAAC,KAAK,MAAMA,EAAM,CAAC;AAClD,QAAIA,GAAO;AACT,MAAAA,EAAM,SAAS;AAAA,QACb,OAAOE,EAAO;AAAA,MACtB,CAAO,GACGsE,MACFvB,EAAKjD,EAAM,QAAQ+B,CAAU,GAC7B/B,EAAM,SAAS;AAEjB,UAAIsE,IAActE,EAAM,OAAO;AAC/B,MAAIsE,MACFA,EAAY,KAAKtE,EAAM,GACvBsE,EAAY,KAAKtE,EAAM;AAAA,IAE3B;AACA,QAAIqC,GAAW;AACb,UAAIlC,IAAaD,EAAO;AACxB,MAAIsE,KAAgB,CAACrE,KACnB8C,EAAKZ,EAAU,QAAQN,CAAU,GACjCM,EAAU,SAAS,OAEnBoC,GAAetE,GAAYD,EAAO,YAAY,GAC9CwE,GAAkBvE,GAAYD,EAAO,eAAeA,EAAO,eAAe,GAC1EmC,EAAU,SAAS;AAAA,QACjB,QAAQlC;AAAA,MAClB,CAAS,GAEDH,EAAM,aAAa,sBAAsB;AAAA,QACvC,QAAQ,IAAIuE,GAAMpE,EAAW,CAAC,EAAE,CAAC,GAAGA,EAAW,CAAC,EAAE,CAAC,CAAC;AAAA,MAC9D;AAAA,IAEI;AAAA,EACF;AACF;","x_google_ignoreList":[0]}
@@ -1,100 +0,0 @@
1
- import { linearMap as K, parsePercent as L } from "../../util/number.js";
2
- import { getLayoutRect as O } from "../../util/layout.js";
3
- import { isArray as j } from "../../../../zrender/lib/core/util.js";
4
- import { normalizeArcAngles as Q } from "../../../../zrender/lib/core/PathProxy.js";
5
- import { makeInner as U } from "../../util/model.js";
6
- var q = Math.PI * 2, B = Math.PI / 180;
7
- function F(h, s) {
8
- return O(h.getBoxLayoutParams(), {
9
- width: s.getWidth(),
10
- height: s.getHeight()
11
- });
12
- }
13
- function X(h, s) {
14
- var u = F(h, s), a = h.get("center"), r = h.get("radius");
15
- j(r) || (r = [0, r]);
16
- var c = L(u.width, s.getWidth()), R = L(u.height, s.getHeight()), y = Math.min(c, R), x = L(r[0], y / 2), k = L(r[1], y / 2), A, N, t = h.coordinateSystem;
17
- if (t) {
18
- var g = t.dataToPoint(a);
19
- A = g[0] || 0, N = g[1] || 0;
20
- } else
21
- j(a) || (a = [a, a]), A = L(a[0], c) + u.x, N = L(a[1], R) + u.y;
22
- return {
23
- cx: A,
24
- cy: N,
25
- r0: x,
26
- r: k
27
- };
28
- }
29
- function ra(h, s, u) {
30
- s.eachSeriesByType(h, function(a) {
31
- var r = a.getData(), c = r.mapDimension("value"), R = F(a, u), y = X(a, u), x = y.cx, k = y.cy, A = y.r, N = y.r0, t = -a.get("startAngle") * B, g = a.get("endAngle"), p = a.get("padAngle") * B;
32
- g = g === "auto" ? t - q : -g * B;
33
- var G = a.get("minAngle") * B, I = G + p, P = 0;
34
- r.each(c, function(v) {
35
- !isNaN(v) && P++;
36
- });
37
- var b = r.getSum(c), S = Math.PI / (b || P) * 2, d = a.get("clockwise"), z = a.get("roseType"), J = a.get("stillShowZeroSum"), C = r.getDataExtent(c);
38
- C[0] = 0;
39
- var o = d ? 1 : -1, H = [t, g], l = o * p / 2;
40
- Q(H, !d), t = H[0], g = H[1];
41
- var W = Y(a);
42
- W.startAngle = t, W.endAngle = g, W.clockwise = d;
43
- var Z = Math.abs(g - t), T = Z, V = 0, m = t;
44
- if (r.setLayout({
45
- viewRect: R,
46
- r: A
47
- }), r.each(c, function(v, f) {
48
- var e;
49
- if (isNaN(v)) {
50
- r.setItemLayout(f, {
51
- angle: NaN,
52
- startAngle: NaN,
53
- endAngle: NaN,
54
- clockwise: d,
55
- cx: x,
56
- cy: k,
57
- r0: N,
58
- r: z ? NaN : A
59
- });
60
- return;
61
- }
62
- z !== "area" ? e = b === 0 && J ? S : v * S : e = Z / P, e < I ? (e = I, T -= I) : V += v;
63
- var i = m + o * e, n = 0, w = 0;
64
- p > e ? (n = m + o * e / 2, w = n) : (n = m + l, w = i - l), r.setItemLayout(f, {
65
- angle: e,
66
- startAngle: n,
67
- endAngle: w,
68
- clockwise: d,
69
- cx: x,
70
- cy: k,
71
- r0: N,
72
- r: z ? K(v, C, [N, A]) : A
73
- }), m = i;
74
- }), T < q && P)
75
- if (T <= 1e-3) {
76
- var D = Z / P;
77
- r.each(c, function(v, f) {
78
- if (!isNaN(v)) {
79
- var e = r.getItemLayout(f);
80
- e.angle = D;
81
- var i = 0, n = 0;
82
- D < p ? (i = t + o * (f + 1 / 2) * D, n = i) : (i = t + o * f * D + l, n = t + o * (f + 1) * D - l), e.startAngle = i, e.endAngle = n;
83
- }
84
- });
85
- } else
86
- S = T / V, m = t, r.each(c, function(v, f) {
87
- if (!isNaN(v)) {
88
- var e = r.getItemLayout(f), i = e.angle === I ? I : v * S, n = 0, w = 0;
89
- i < p ? (n = m + o * i / 2, w = n) : (n = m + l, w = m + o * i - l), e.startAngle = n, e.endAngle = w, m += o * i;
90
- }
91
- });
92
- });
93
- }
94
- var Y = U();
95
- export {
96
- ra as default,
97
- X as getBasicPieLayout,
98
- Y as getSeriesLayoutData
99
- };
100
- //# sourceMappingURL=pieLayout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pieLayout.js","sources":["../../../../../../node_modules/echarts/lib/chart/pie/pieLayout.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport { parsePercent, linearMap } from '../../util/number.js';\nimport * as layout from '../../util/layout.js';\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport { normalizeArcAngles } from 'zrender/lib/core/PathProxy.js';\nimport { makeInner } from '../../util/model.js';\nvar PI2 = Math.PI * 2;\nvar RADIAN = Math.PI / 180;\nfunction getViewRect(seriesModel, api) {\n return layout.getLayoutRect(seriesModel.getBoxLayoutParams(), {\n width: api.getWidth(),\n height: api.getHeight()\n });\n}\nexport function getBasicPieLayout(seriesModel, api) {\n var viewRect = getViewRect(seriesModel, api);\n // center can be string or number when coordinateSystem is specified\n var center = seriesModel.get('center');\n var radius = seriesModel.get('radius');\n if (!zrUtil.isArray(radius)) {\n radius = [0, radius];\n }\n var width = parsePercent(viewRect.width, api.getWidth());\n var height = parsePercent(viewRect.height, api.getHeight());\n var size = Math.min(width, height);\n var r0 = parsePercent(radius[0], size / 2);\n var r = parsePercent(radius[1], size / 2);\n var cx;\n var cy;\n var coordSys = seriesModel.coordinateSystem;\n if (coordSys) {\n // percentage is not allowed when coordinate system is specified\n var point = coordSys.dataToPoint(center);\n cx = point[0] || 0;\n cy = point[1] || 0;\n } else {\n if (!zrUtil.isArray(center)) {\n center = [center, center];\n }\n cx = parsePercent(center[0], width) + viewRect.x;\n cy = parsePercent(center[1], height) + viewRect.y;\n }\n return {\n cx: cx,\n cy: cy,\n r0: r0,\n r: r\n };\n}\nexport default function pieLayout(seriesType, ecModel, api) {\n ecModel.eachSeriesByType(seriesType, function (seriesModel) {\n var data = seriesModel.getData();\n var valueDim = data.mapDimension('value');\n var viewRect = getViewRect(seriesModel, api);\n var _a = getBasicPieLayout(seriesModel, api),\n cx = _a.cx,\n cy = _a.cy,\n r = _a.r,\n r0 = _a.r0;\n var startAngle = -seriesModel.get('startAngle') * RADIAN;\n var endAngle = seriesModel.get('endAngle');\n var padAngle = seriesModel.get('padAngle') * RADIAN;\n endAngle = endAngle === 'auto' ? startAngle - PI2 : -endAngle * RADIAN;\n var minAngle = seriesModel.get('minAngle') * RADIAN;\n var minAndPadAngle = minAngle + padAngle;\n var validDataCount = 0;\n data.each(valueDim, function (value) {\n !isNaN(value) && validDataCount++;\n });\n var sum = data.getSum(valueDim);\n // Sum may be 0\n var unitRadian = Math.PI / (sum || validDataCount) * 2;\n var clockwise = seriesModel.get('clockwise');\n var roseType = seriesModel.get('roseType');\n var stillShowZeroSum = seriesModel.get('stillShowZeroSum');\n // [0...max]\n var extent = data.getDataExtent(valueDim);\n extent[0] = 0;\n var dir = clockwise ? 1 : -1;\n var angles = [startAngle, endAngle];\n var halfPadAngle = dir * padAngle / 2;\n normalizeArcAngles(angles, !clockwise);\n startAngle = angles[0], endAngle = angles[1];\n var layoutData = getSeriesLayoutData(seriesModel);\n layoutData.startAngle = startAngle;\n layoutData.endAngle = endAngle;\n layoutData.clockwise = clockwise;\n var angleRange = Math.abs(endAngle - startAngle);\n // In the case some sector angle is smaller than minAngle\n var restAngle = angleRange;\n var valueSumLargerThanMinAngle = 0;\n var currentAngle = startAngle;\n data.setLayout({\n viewRect: viewRect,\n r: r\n });\n data.each(valueDim, function (value, idx) {\n var angle;\n if (isNaN(value)) {\n data.setItemLayout(idx, {\n angle: NaN,\n startAngle: NaN,\n endAngle: NaN,\n clockwise: clockwise,\n cx: cx,\n cy: cy,\n r0: r0,\n r: roseType ? NaN : r\n });\n return;\n }\n // FIXME 兼容 2.0 但是 roseType 是 area 的时候才是这样?\n if (roseType !== 'area') {\n angle = sum === 0 && stillShowZeroSum ? unitRadian : value * unitRadian;\n } else {\n angle = angleRange / validDataCount;\n }\n if (angle < minAndPadAngle) {\n angle = minAndPadAngle;\n restAngle -= minAndPadAngle;\n } else {\n valueSumLargerThanMinAngle += value;\n }\n var endAngle = currentAngle + dir * angle;\n // calculate display angle\n var actualStartAngle = 0;\n var actualEndAngle = 0;\n if (padAngle > angle) {\n actualStartAngle = currentAngle + dir * angle / 2;\n actualEndAngle = actualStartAngle;\n } else {\n actualStartAngle = currentAngle + halfPadAngle;\n actualEndAngle = endAngle - halfPadAngle;\n }\n data.setItemLayout(idx, {\n angle: angle,\n startAngle: actualStartAngle,\n endAngle: actualEndAngle,\n clockwise: clockwise,\n cx: cx,\n cy: cy,\n r0: r0,\n r: roseType ? linearMap(value, extent, [r0, r]) : r\n });\n currentAngle = endAngle;\n });\n // Some sector is constrained by minAngle and padAngle\n // Rest sectors needs recalculate angle\n if (restAngle < PI2 && validDataCount) {\n // Average the angle if rest angle is not enough after all angles is\n // Constrained by minAngle and padAngle\n if (restAngle <= 1e-3) {\n var angle_1 = angleRange / validDataCount;\n data.each(valueDim, function (value, idx) {\n if (!isNaN(value)) {\n var layout_1 = data.getItemLayout(idx);\n layout_1.angle = angle_1;\n var actualStartAngle = 0;\n var actualEndAngle = 0;\n if (angle_1 < padAngle) {\n actualStartAngle = startAngle + dir * (idx + 1 / 2) * angle_1;\n actualEndAngle = actualStartAngle;\n } else {\n actualStartAngle = startAngle + dir * idx * angle_1 + halfPadAngle;\n actualEndAngle = startAngle + dir * (idx + 1) * angle_1 - halfPadAngle;\n }\n layout_1.startAngle = actualStartAngle;\n layout_1.endAngle = actualEndAngle;\n }\n });\n } else {\n unitRadian = restAngle / valueSumLargerThanMinAngle;\n currentAngle = startAngle;\n data.each(valueDim, function (value, idx) {\n if (!isNaN(value)) {\n var layout_2 = data.getItemLayout(idx);\n var angle = layout_2.angle === minAndPadAngle ? minAndPadAngle : value * unitRadian;\n var actualStartAngle = 0;\n var actualEndAngle = 0;\n if (angle < padAngle) {\n actualStartAngle = currentAngle + dir * angle / 2;\n actualEndAngle = actualStartAngle;\n } else {\n actualStartAngle = currentAngle + halfPadAngle;\n actualEndAngle = currentAngle + dir * angle - halfPadAngle;\n }\n layout_2.startAngle = actualStartAngle;\n layout_2.endAngle = actualEndAngle;\n currentAngle += dir * angle;\n }\n });\n }\n }\n });\n}\nexport var getSeriesLayoutData = makeInner();"],"names":["PI2","RADIAN","getViewRect","seriesModel","api","layout.getLayoutRect","getBasicPieLayout","viewRect","center","radius","zrUtil.isArray","width","parsePercent","height","size","r0","r","cx","cy","coordSys","point","pieLayout","seriesType","ecModel","data","valueDim","_a","startAngle","endAngle","padAngle","minAngle","minAndPadAngle","validDataCount","value","sum","unitRadian","clockwise","roseType","stillShowZeroSum","extent","dir","angles","halfPadAngle","normalizeArcAngles","layoutData","getSeriesLayoutData","angleRange","restAngle","valueSumLargerThanMinAngle","currentAngle","idx","angle","actualStartAngle","actualEndAngle","linearMap","angle_1","layout_1","layout_2","makeInner"],"mappings":";;;;;AAgDA,IAAIA,IAAM,KAAK,KAAK,GAChBC,IAAS,KAAK,KAAK;AACvB,SAASC,EAAYC,GAAaC,GAAK;AACrC,SAAOC,EAAqBF,EAAY,sBAAsB;AAAA,IAC5D,OAAOC,EAAI,SAAQ;AAAA,IACnB,QAAQA,EAAI,UA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,IAAiBD,MAEjBA,IAAmBzB,IAAaa,IAAMU,IAAMK,IAAUb,GACtDW,IAAiB1B,IAAaa,KAAOU,IAAM,KAAKK,IAAUb,IAE5Dc,EAAS,aAAaJ,GACtBI,EAAS,WAAWH;AAAA,UACtB;AAAA,QACF,CAAC;AAAA,MACH;AACE,QAAAlB,IAAaY,IAAYC,GACzBC,IAAetB,GACfH,EAAK,KAAKC,GAAU,SAAUQ,GAAOiB,GAAK;AACxC,cAAI,CAAC,MAAMjB,CAAK,GAAG;AACjB,gBAAIwB,IAAWjC,EAAK,cAAc0B,CAAG,GACjCC,IAAQM,EAAS,UAAU1B,IAAiBA,IAAiBE,IAAQE,GACrEiB,IAAmB,GACnBC,IAAiB;AACrB,YAAIF,IAAQtB,KACVuB,IAAmBH,IAAeT,IAAMW,IAAQ,GAChDE,IAAiBD,MAEjBA,IAAmBH,IAAeP,GAClCW,IAAiBJ,IAAeT,IAAMW,IAAQT,IAEhDe,EAAS,aAAaL,GACtBK,EAAS,WAAWJ,GACpBJ,KAAgBT,IAAMW;AAAA,UACxB;AAAA,QACF,CAAC;AAAA,EAGP,CAAC;AACH;AACU,IAACN,IAAsBa,EAAS;","x_google_ignoreList":[0]}
@@ -1,74 +0,0 @@
1
- import { __extends as h } from "../../../node_modules/tslib/tslib.es6.js";
2
- import g from "../../model/Series.js";
3
- import v from "../helper/createSeriesDataSimply.js";
4
- import { bind as u, map as c } from "../../../../zrender/lib/core/util.js";
5
- import S from "../../visual/LegendVisualProvider.js";
6
- import { retrieveVisualColorForTooltipMarker as D, createTooltipMarkup as y } from "../../component/tooltip/tooltipMarkup.js";
7
- var P = (
8
- /** @class */
9
- (function(i) {
10
- h(e, i);
11
- function e() {
12
- var t = i !== null && i.apply(this, arguments) || this;
13
- return t.type = e.type, t.hasSymbolVisual = !0, t;
14
- }
15
- return e.prototype.init = function(t) {
16
- i.prototype.init.apply(this, arguments), this.legendVisualProvider = new S(u(this.getData, this), u(this.getRawData, this));
17
- }, e.prototype.getInitialData = function(t, a) {
18
- return v(this, {
19
- generateCoord: "indicator_",
20
- generateCoordCount: 1 / 0
21
- });
22
- }, e.prototype.formatTooltip = function(t, a, n) {
23
- var o = this.getData(), r = this.coordinateSystem, l = r.getIndicatorAxes(), s = this.getData().getName(t), m = s === "" ? this.name : s, f = D(this, t);
24
- return y("section", {
25
- header: m,
26
- sortBlocks: !0,
27
- blocks: c(l, function(p) {
28
- var d = o.get(o.mapDimension(p.dim), t);
29
- return y("nameValue", {
30
- markerType: "subItem",
31
- markerColor: f,
32
- name: p.name,
33
- value: d,
34
- sortParam: d
35
- });
36
- })
37
- });
38
- }, e.prototype.getTooltipPosition = function(t) {
39
- if (t != null) {
40
- for (var a = this.getData(), n = this.coordinateSystem, o = a.getValues(c(n.dimensions, function(m) {
41
- return a.mapDimension(m);
42
- }), t), r = 0, l = o.length; r < l; r++)
43
- if (!isNaN(o[r])) {
44
- var s = n.getIndicatorAxes();
45
- return n.coordToPoint(s[r].dataToCoord(o[r]), r);
46
- }
47
- }
48
- }, e.type = "series.radar", e.dependencies = ["radar"], e.defaultOption = {
49
- // zlevel: 0,
50
- z: 2,
51
- colorBy: "data",
52
- coordinateSystem: "radar",
53
- legendHoverLink: !0,
54
- radarIndex: 0,
55
- lineStyle: {
56
- width: 2,
57
- type: "solid",
58
- join: "round"
59
- },
60
- label: {
61
- position: "top"
62
- },
63
- // areaStyle: {
64
- // },
65
- // itemStyle: {}
66
- symbolSize: 8
67
- // symbolRotate: null
68
- }, e;
69
- })(g)
70
- );
71
- export {
72
- P as default
73
- };
74
- //# sourceMappingURL=RadarSeries.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadarSeries.js","sources":["../../../../../../node_modules/echarts/lib/chart/radar/RadarSeries.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport { __extends } from \"tslib\";\nimport SeriesModel from '../../model/Series.js';\nimport createSeriesDataSimply from '../helper/createSeriesDataSimply.js';\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport LegendVisualProvider from '../../visual/LegendVisualProvider.js';\nimport { createTooltipMarkup, retrieveVisualColorForTooltipMarker } from '../../component/tooltip/tooltipMarkup.js';\nvar RadarSeriesModel = /** @class */function (_super) {\n __extends(RadarSeriesModel, _super);\n function RadarSeriesModel() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = RadarSeriesModel.type;\n _this.hasSymbolVisual = true;\n return _this;\n }\n // Overwrite\n RadarSeriesModel.prototype.init = function (option) {\n _super.prototype.init.apply(this, arguments);\n // Enable legend selection for each data item\n // Use a function instead of direct access because data reference may changed\n this.legendVisualProvider = new LegendVisualProvider(zrUtil.bind(this.getData, this), zrUtil.bind(this.getRawData, this));\n };\n RadarSeriesModel.prototype.getInitialData = function (option, ecModel) {\n return createSeriesDataSimply(this, {\n generateCoord: 'indicator_',\n generateCoordCount: Infinity\n });\n };\n RadarSeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) {\n var data = this.getData();\n var coordSys = this.coordinateSystem;\n var indicatorAxes = coordSys.getIndicatorAxes();\n var name = this.getData().getName(dataIndex);\n var nameToDisplay = name === '' ? this.name : name;\n var markerColor = retrieveVisualColorForTooltipMarker(this, dataIndex);\n return createTooltipMarkup('section', {\n header: nameToDisplay,\n sortBlocks: true,\n blocks: zrUtil.map(indicatorAxes, function (axis) {\n var val = data.get(data.mapDimension(axis.dim), dataIndex);\n return createTooltipMarkup('nameValue', {\n markerType: 'subItem',\n markerColor: markerColor,\n name: axis.name,\n value: val,\n sortParam: val\n });\n })\n });\n };\n RadarSeriesModel.prototype.getTooltipPosition = function (dataIndex) {\n if (dataIndex != null) {\n var data_1 = this.getData();\n var coordSys = this.coordinateSystem;\n var values = data_1.getValues(zrUtil.map(coordSys.dimensions, function (dim) {\n return data_1.mapDimension(dim);\n }), dataIndex);\n for (var i = 0, len = values.length; i < len; i++) {\n if (!isNaN(values[i])) {\n var indicatorAxes = coordSys.getIndicatorAxes();\n return coordSys.coordToPoint(indicatorAxes[i].dataToCoord(values[i]), i);\n }\n }\n }\n };\n RadarSeriesModel.type = 'series.radar';\n RadarSeriesModel.dependencies = ['radar'];\n RadarSeriesModel.defaultOption = {\n // zlevel: 0,\n z: 2,\n colorBy: 'data',\n coordinateSystem: 'radar',\n legendHoverLink: true,\n radarIndex: 0,\n lineStyle: {\n width: 2,\n type: 'solid',\n join: 'round'\n },\n label: {\n position: 'top'\n },\n // areaStyle: {\n // },\n // itemStyle: {}\n symbolSize: 8\n // symbolRotate: null\n };\n return RadarSeriesModel;\n}(SeriesModel);\nexport default RadarSeriesModel;"],"names":["RadarSeriesModel","_super","__extends","_this","option","LegendVisualProvider","zrUtil.bind","ecModel","createSeriesDataSimply","dataIndex","multipleSeries","dataType","data","coordSys","indicatorAxes","name","nameToDisplay","markerColor","retrieveVisualColorForTooltipMarker","createTooltipMarkup","zrUtil.map","axis","val","data_1","values","dim","i","len","SeriesModel"],"mappings":";;;;;;AAiDG,IAACA;AAAA;AAAA,GAAgC,SAAUC,GAAQ;AACpD,IAAAC,EAAUF,GAAkBC,CAAM;AAClC,aAASD,IAAmB;AAC1B,UAAIG,IAAQF,MAAW,QAAQA,EAAO,MAAM,MAAM,SAAS,KAAK;AAChE,aAAAE,EAAM,OAAOH,EAAiB,MAC9BG,EAAM,kBAAkB,IACjBA;AAAA,IACT;AAEA,WAAAH,EAAiB,UAAU,OAAO,SAAUI,GAAQ;AAClD,MAAAH,EAAO,UAAU,KAAK,MAAM,MAAM,SAAS,GAG3C,KAAK,uBAAuB,IAAII,EAAqBC,EAAY,KAAK,SAAS,IAAI,GAAGA,EAAY,KAAK,YAAY,IAAI,CAAC;AAAA,IAC1H,GACAN,EAAiB,UAAU,iBAAiB,SAAUI,GAAQG,GAAS;AACrE,aAAOC,EAAuB,MAAM;AAAA,QAClC,eAAe;AAAA,QACf,oBAAoB;AAAA,MAC1B,CAAK;AAAA,IACH,GACAR,EAAiB,UAAU,gBAAgB,SAAUS,GAAWC,GAAgBC,GAAU;AACxF,UAAIC,IAAO,KAAK,QAAO,GACnBC,IAAW,KAAK,kBAChBC,IAAgBD,EAAS,iBAAgB,GACzCE,IAAO,KAAK,QAAO,EAAG,QAAQN,CAAS,GACvCO,IAAgBD,MAAS,KAAK,KAAK,OAAOA,GAC1CE,IAAcC,EAAoC,MAAMT,CAAS;AACrE,aAAOU,EAAoB,WAAW;AAAA,QACpC,QAAQH;AAAA,QACR,YAAY;AAAA,QACZ,QAAQI,EAAWN,GAAe,SAAUO,GAAM;AAChD,cAAIC,IAAMV,EAAK,IAAIA,EAAK,aAAaS,EAAK,GAAG,GAAGZ,CAAS;AACzD,iBAAOU,EAAoB,aAAa;AAAA,YACtC,YAAY;AAAA,YACZ,aAAaF;AAAA,YACb,MAAMI,EAAK;AAAA,YACX,OAAOC;AAAA,YACP,WAAWA;AAAA,UACrB,CAAS;AAAA,QACH,CAAC;AAAA,MACP,CAAK;AAAA,IACH,GACAtB,EAAiB,UAAU,qBAAqB,SAAUS,GAAW;AACnE,UAAIA,KAAa;AAMf,iBALIc,IAAS,KAAK,QAAO,GACrBV,IAAW,KAAK,kBAChBW,IAASD,EAAO,UAAUH,EAAWP,EAAS,YAAY,SAAUY,GAAK;AAC3E,iBAAOF,EAAO,aAAaE,CAAG;AAAA,QAChC,CAAC,GAAGhB,CAAS,GACJiB,IAAI,GAAGC,IAAMH,EAAO,QAAQE,IAAIC,GAAKD;AAC5C,cAAI,CAAC,MAAMF,EAAOE,CAAC,CAAC,GAAG;AACrB,gBAAIZ,IAAgBD,EAAS,iBAAgB;AAC7C,mBAAOA,EAAS,aAAaC,EAAcY,CAAC,EAAE,YAAYF,EAAOE,CAAC,CAAC,GAAGA,CAAC;AAAA,UACzE;AAAA;AAAA,IAGN,GACA1B,EAAiB,OAAO,gBACxBA,EAAiB,eAAe,CAAC,OAAO,GACxCA,EAAiB,gBAAgB;AAAA;AAAA,MAE/B,GAAG;AAAA,MACH,SAAS;AAAA,MACT,kBAAkB;AAAA,MAClB,iBAAiB;AAAA,MACjB,YAAY;AAAA,MACZ,WAAW;AAAA,QACT,OAAO;AAAA,QACP,MAAM;AAAA,QACN,MAAM;AAAA,MACZ;AAAA,MACI,OAAO;AAAA,QACL,UAAU;AAAA,MAChB;AAAA;AAAA;AAAA;AAAA,MAII,YAAY;AAAA;AAAA,IAEhB,GACSA;AAAA,EACT,GAAE4B,CAAW;AAAA;","x_google_ignoreList":[0]}
@@ -1,124 +0,0 @@
1
- import { __extends as w } from "../../../node_modules/tslib/tslib.es6.js";
2
- import * as x from "../../util/graphic.js";
3
- import { setStatesStylesFromModel as A, toggleHoverEmphasis as C } from "../../util/states.js";
4
- import { defaults as b, each as k, extend as N, clone as T, map as F } from "../../../../zrender/lib/core/util.js";
5
- import { normalizeSymbolSize as H, createSymbol as O } from "../../util/symbol.js";
6
- import X from "../../view/Chart.js";
7
- import { setLabelStyle as Y, getLabelStatesModels as Z } from "../../label/labelStyle.js";
8
- import $ from "../../../../zrender/lib/graphic/Image.js";
9
- import { initProps as V, saveOldStyle as G, updateProps as z } from "../../animation/basicTransition.js";
10
- import j from "../../../../zrender/lib/graphic/shape/Polygon.js";
11
- import q from "../../../../zrender/lib/graphic/shape/Polyline.js";
12
- import D from "../../../../zrender/lib/graphic/Group.js";
13
- var ie = (
14
- /** @class */
15
- (function(y) {
16
- w(c, y);
17
- function c() {
18
- var m = y !== null && y.apply(this, arguments) || this;
19
- return m.type = c.type, m;
20
- }
21
- return c.prototype.render = function(m, B, J) {
22
- var S = m.coordinateSystem, I = this.group, i = m.getData(), f = this._data;
23
- function L(e, t) {
24
- var r = e.getItemVisual(t, "symbol") || "circle";
25
- if (r !== "none") {
26
- var o = H(e.getItemVisual(t, "symbolSize")), l = O(r, -1, -1, 2, 2), p = e.getItemVisual(t, "symbolRotate") || 0;
27
- return l.attr({
28
- style: {
29
- strokeNoScale: !0
30
- },
31
- z2: 100,
32
- scaleX: o[0] / 2,
33
- scaleY: o[1] / 2,
34
- rotation: p * Math.PI / 180 || 0
35
- }), l;
36
- }
37
- }
38
- function E(e, t, r, o, l, p) {
39
- r.removeAll();
40
- for (var a = 0; a < t.length - 1; a++) {
41
- var s = L(o, l);
42
- s && (s.__dimIdx = a, e[a] ? (s.setPosition(e[a]), x[p ? "initProps" : "updateProps"](s, {
43
- x: t[a][0],
44
- y: t[a][1]
45
- }, m, l)) : s.setPosition(t[a]), r.add(s));
46
- }
47
- }
48
- function M(e) {
49
- return F(e, function(t) {
50
- return [S.cx, S.cy];
51
- });
52
- }
53
- i.diff(f).add(function(e) {
54
- var t = i.getItemLayout(e);
55
- if (t) {
56
- var r = new j(), o = new q(), l = {
57
- shape: {
58
- points: t
59
- }
60
- };
61
- r.shape.points = M(t), o.shape.points = M(t), V(r, l, m, e), V(o, l, m, e);
62
- var p = new D(), a = new D();
63
- p.add(o), p.add(r), p.add(a), E(o.shape.points, t, a, i, e, !0), i.setItemGraphicEl(e, p);
64
- }
65
- }).update(function(e, t) {
66
- var r = f.getItemGraphicEl(t), o = r.childAt(0), l = r.childAt(1), p = r.childAt(2), a = {
67
- shape: {
68
- points: i.getItemLayout(e)
69
- }
70
- };
71
- a.shape.points && (E(o.shape.points, a.shape.points, p, i, e, !1), G(l), G(o), z(o, a, m), z(l, a, m), i.setItemGraphicEl(e, r));
72
- }).remove(function(e) {
73
- I.remove(f.getItemGraphicEl(e));
74
- }).execute(), i.eachItemGraphicEl(function(e, t) {
75
- var r = i.getItemModel(t), o = e.childAt(0), l = e.childAt(1), p = e.childAt(2), a = i.getItemVisual(t, "style"), s = a.fill;
76
- I.add(e), o.useStyle(b(r.getModel("lineStyle").getLineStyle(), {
77
- fill: "none",
78
- stroke: s
79
- })), A(o, r, "lineStyle"), A(l, r, "areaStyle");
80
- var v = r.getModel("areaStyle"), _ = v.isEmpty() && v.parentModel.isEmpty();
81
- l.ignore = _, k(["emphasis", "select", "blur"], function(n) {
82
- var u = r.getModel([n, "areaStyle"]), h = u.isEmpty() && u.parentModel.isEmpty();
83
- l.ensureState(n).ignore = h && _;
84
- }), l.useStyle(b(v.getAreaStyle(), {
85
- fill: s,
86
- opacity: 0.7,
87
- decal: a.decal
88
- }));
89
- var d = r.getModel("emphasis"), R = d.getModel("itemStyle").getItemStyle();
90
- p.eachChild(function(n) {
91
- if (n instanceof $) {
92
- var u = n.style;
93
- n.useStyle(N({
94
- // TODO other properties like x, y ?
95
- image: u.image,
96
- x: u.x,
97
- y: u.y,
98
- width: u.width,
99
- height: u.height
100
- }, a));
101
- } else
102
- n.useStyle(a), n.setColor(s), n.style.strokeNoScale = !0;
103
- var h = n.ensureState("emphasis");
104
- h.style = T(R);
105
- var g = i.getStore().get(i.getDimensionIndex(n.__dimIdx), t);
106
- (g == null || isNaN(g)) && (g = ""), Y(n, Z(r), {
107
- labelFetcher: i.hostModel,
108
- labelDataIndex: t,
109
- labelDimIndex: n.__dimIdx,
110
- defaultText: g,
111
- inheritColor: s,
112
- defaultOpacity: a.opacity
113
- });
114
- }), C(e, d.get("focus"), d.get("blurScope"), d.get("disabled"));
115
- }), this._data = i;
116
- }, c.prototype.remove = function() {
117
- this.group.removeAll(), this._data = null;
118
- }, c.type = "radar", c;
119
- })(X)
120
- );
121
- export {
122
- ie as default
123
- };
124
- //# sourceMappingURL=RadarView.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadarView.js","sources":["../../../../../../node_modules/echarts/lib/chart/radar/RadarView.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport { __extends } from \"tslib\";\nimport * as graphic from '../../util/graphic.js';\nimport { setStatesStylesFromModel, toggleHoverEmphasis } from '../../util/states.js';\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport * as symbolUtil from '../../util/symbol.js';\nimport ChartView from '../../view/Chart.js';\nimport { setLabelStyle, getLabelStatesModels } from '../../label/labelStyle.js';\nimport ZRImage from 'zrender/lib/graphic/Image.js';\nimport { saveOldStyle } from '../../animation/basicTransition.js';\nvar RadarView = /** @class */function (_super) {\n __extends(RadarView, _super);\n function RadarView() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = RadarView.type;\n return _this;\n }\n RadarView.prototype.render = function (seriesModel, ecModel, api) {\n var polar = seriesModel.coordinateSystem;\n var group = this.group;\n var data = seriesModel.getData();\n var oldData = this._data;\n function createSymbol(data, idx) {\n var symbolType = data.getItemVisual(idx, 'symbol') || 'circle';\n if (symbolType === 'none') {\n return;\n }\n var symbolSize = symbolUtil.normalizeSymbolSize(data.getItemVisual(idx, 'symbolSize'));\n var symbolPath = symbolUtil.createSymbol(symbolType, -1, -1, 2, 2);\n var symbolRotate = data.getItemVisual(idx, 'symbolRotate') || 0;\n symbolPath.attr({\n style: {\n strokeNoScale: true\n },\n z2: 100,\n scaleX: symbolSize[0] / 2,\n scaleY: symbolSize[1] / 2,\n rotation: symbolRotate * Math.PI / 180 || 0\n });\n return symbolPath;\n }\n function updateSymbols(oldPoints, newPoints, symbolGroup, data, idx, isInit) {\n // Simply rerender all\n symbolGroup.removeAll();\n for (var i = 0; i < newPoints.length - 1; i++) {\n var symbolPath = createSymbol(data, idx);\n if (symbolPath) {\n symbolPath.__dimIdx = i;\n if (oldPoints[i]) {\n symbolPath.setPosition(oldPoints[i]);\n graphic[isInit ? 'initProps' : 'updateProps'](symbolPath, {\n x: newPoints[i][0],\n y: newPoints[i][1]\n }, seriesModel, idx);\n } else {\n symbolPath.setPosition(newPoints[i]);\n }\n symbolGroup.add(symbolPath);\n }\n }\n }\n function getInitialPoints(points) {\n return zrUtil.map(points, function (pt) {\n return [polar.cx, polar.cy];\n });\n }\n data.diff(oldData).add(function (idx) {\n var points = data.getItemLayout(idx);\n if (!points) {\n return;\n }\n var polygon = new graphic.Polygon();\n var polyline = new graphic.Polyline();\n var target = {\n shape: {\n points: points\n }\n };\n polygon.shape.points = getInitialPoints(points);\n polyline.shape.points = getInitialPoints(points);\n graphic.initProps(polygon, target, seriesModel, idx);\n graphic.initProps(polyline, target, seriesModel, idx);\n var itemGroup = new graphic.Group();\n var symbolGroup = new graphic.Group();\n itemGroup.add(polyline);\n itemGroup.add(polygon);\n itemGroup.add(symbolGroup);\n updateSymbols(polyline.shape.points, points, symbolGroup, data, idx, true);\n data.setItemGraphicEl(idx, itemGroup);\n }).update(function (newIdx, oldIdx) {\n var itemGroup = oldData.getItemGraphicEl(oldIdx);\n var polyline = itemGroup.childAt(0);\n var polygon = itemGroup.childAt(1);\n var symbolGroup = itemGroup.childAt(2);\n var target = {\n shape: {\n points: data.getItemLayout(newIdx)\n }\n };\n if (!target.shape.points) {\n return;\n }\n updateSymbols(polyline.shape.points, target.shape.points, symbolGroup, data, newIdx, false);\n saveOldStyle(polygon);\n saveOldStyle(polyline);\n graphic.updateProps(polyline, target, seriesModel);\n graphic.updateProps(polygon, target, seriesModel);\n data.setItemGraphicEl(newIdx, itemGroup);\n }).remove(function (idx) {\n group.remove(oldData.getItemGraphicEl(idx));\n }).execute();\n data.eachItemGraphicEl(function (itemGroup, idx) {\n var itemModel = data.getItemModel(idx);\n var polyline = itemGroup.childAt(0);\n var polygon = itemGroup.childAt(1);\n var symbolGroup = itemGroup.childAt(2);\n // Radar uses the visual encoded from itemStyle.\n var itemStyle = data.getItemVisual(idx, 'style');\n var color = itemStyle.fill;\n group.add(itemGroup);\n polyline.useStyle(zrUtil.defaults(itemModel.getModel('lineStyle').getLineStyle(), {\n fill: 'none',\n stroke: color\n }));\n setStatesStylesFromModel(polyline, itemModel, 'lineStyle');\n setStatesStylesFromModel(polygon, itemModel, 'areaStyle');\n var areaStyleModel = itemModel.getModel('areaStyle');\n var polygonIgnore = areaStyleModel.isEmpty() && areaStyleModel.parentModel.isEmpty();\n polygon.ignore = polygonIgnore;\n zrUtil.each(['emphasis', 'select', 'blur'], function (stateName) {\n var stateModel = itemModel.getModel([stateName, 'areaStyle']);\n var stateIgnore = stateModel.isEmpty() && stateModel.parentModel.isEmpty();\n // Won't be ignore if normal state is not ignore.\n polygon.ensureState(stateName).ignore = stateIgnore && polygonIgnore;\n });\n polygon.useStyle(zrUtil.defaults(areaStyleModel.getAreaStyle(), {\n fill: color,\n opacity: 0.7,\n decal: itemStyle.decal\n }));\n var emphasisModel = itemModel.getModel('emphasis');\n var itemHoverStyle = emphasisModel.getModel('itemStyle').getItemStyle();\n symbolGroup.eachChild(function (symbolPath) {\n if (symbolPath instanceof ZRImage) {\n var pathStyle = symbolPath.style;\n symbolPath.useStyle(zrUtil.extend({\n // TODO other properties like x, y ?\n image: pathStyle.image,\n x: pathStyle.x,\n y: pathStyle.y,\n width: pathStyle.width,\n height: pathStyle.height\n }, itemStyle));\n } else {\n symbolPath.useStyle(itemStyle);\n symbolPath.setColor(color);\n symbolPath.style.strokeNoScale = true;\n }\n var pathEmphasisState = symbolPath.ensureState('emphasis');\n pathEmphasisState.style = zrUtil.clone(itemHoverStyle);\n var defaultText = data.getStore().get(data.getDimensionIndex(symbolPath.__dimIdx), idx);\n (defaultText == null || isNaN(defaultText)) && (defaultText = '');\n setLabelStyle(symbolPath, getLabelStatesModels(itemModel), {\n labelFetcher: data.hostModel,\n labelDataIndex: idx,\n labelDimIndex: symbolPath.__dimIdx,\n defaultText: defaultText,\n inheritColor: color,\n defaultOpacity: itemStyle.opacity\n });\n });\n toggleHoverEmphasis(itemGroup, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled'));\n });\n this._data = data;\n };\n RadarView.prototype.remove = function () {\n this.group.removeAll();\n this._data = null;\n };\n RadarView.type = 'radar';\n return RadarView;\n}(ChartView);\nexport default RadarView;"],"names":["RadarView","_super","__extends","_this","seriesModel","ecModel","api","polar","group","data","oldData","createSymbol","idx","symbolType","symbolSize","symbolUtil.normalizeSymbolSize","symbolPath","symbolUtil.createSymbol","symbolRotate","updateSymbols","oldPoints","newPoints","symbolGroup","isInit","i","graphic","getInitialPoints","points","zrUtil.map","pt","polygon","graphic.Polygon","polyline","graphic.Polyline","target","graphic.initProps","itemGroup","graphic.Group","newIdx","oldIdx","saveOldStyle","graphic.updateProps","itemModel","itemStyle","color","zrUtil.defaults","setStatesStylesFromModel","areaStyleModel","polygonIgnore","zrUtil.each","stateName","stateModel","stateIgnore","emphasisModel","itemHoverStyle","ZRImage","pathStyle","zrUtil.extend","pathEmphasisState","zrUtil.clone","defaultText","setLabelStyle","getLabelStatesModels","toggleHoverEmphasis","ChartView"],"mappings":";;;;;;;;;;;;AAoDG,IAACA;AAAA;AAAA,GAAyB,SAAUC,GAAQ;AAC7C,IAAAC,EAAUF,GAAWC,CAAM;AAC3B,aAASD,IAAY;AACnB,UAAIG,IAAQF,MAAW,QAAQA,EAAO,MAAM,MAAM,SAAS,KAAK;AAChE,aAAAE,EAAM,OAAOH,EAAU,MAChBG;AAAA,IACT;AACA,WAAAH,EAAU,UAAU,SAAS,SAAUI,GAAaC,GAASC,GAAK;AAChE,UAAIC,IAAQH,EAAY,kBACpBI,IAAQ,KAAK,OACbC,IAAOL,EAAY,QAAO,GAC1BM,IAAU,KAAK;AACnB,eAASC,EAAaF,GAAMG,GAAK;AAC/B,YAAIC,IAAaJ,EAAK,cAAcG,GAAK,QAAQ,KAAK;AACtD,YAAIC,MAAe,QAGnB;AAAA,cAAIC,IAAaC,EAA+BN,EAAK,cAAcG,GAAK,YAAY,CAAC,GACjFI,IAAaC,EAAwBJ,GAAY,IAAI,IAAI,GAAG,CAAC,GAC7DK,IAAeT,EAAK,cAAcG,GAAK,cAAc,KAAK;AAC9D,iBAAAI,EAAW,KAAK;AAAA,YACd,OAAO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AAS4B,CAAK,GACzB5B,EAAW,MAAM,gBAAgB;AAEnC,cAAI0C,IAAoB1C,EAAW,YAAY,UAAU;AACzD,UAAA0C,EAAkB,QAAQC,EAAaL,CAAc;AACrD,cAAIM,IAAcnD,EAAK,SAAQ,EAAG,IAAIA,EAAK,kBAAkBO,EAAW,QAAQ,GAAGJ,CAAG;AACtF,WAACgD,KAAe,QAAQ,MAAMA,CAAW,OAAOA,IAAc,KAC9DC,EAAc7C,GAAY8C,EAAqBpB,CAAS,GAAG;AAAA,YACzD,cAAcjC,EAAK;AAAA,YACnB,gBAAgBG;AAAA,YAChB,eAAeI,EAAW;AAAA,YAC1B,aAAa4C;AAAA,YACb,cAAchB;AAAA,YACd,gBAAgBD,EAAU;AAAA,UACpC,CAAS;AAAA,QACH,CAAC,GACDoB,EAAoB3B,GAAWiB,EAAc,IAAI,OAAO,GAAGA,EAAc,IAAI,WAAW,GAAGA,EAAc,IAAI,UAAU,CAAC;AAAA,MAC1H,CAAC,GACD,KAAK,QAAQ5C;AAAA,IACf,GACAT,EAAU,UAAU,SAAS,WAAY;AACvC,WAAK,MAAM,UAAS,GACpB,KAAK,QAAQ;AAAA,IACf,GACAA,EAAU,OAAO,SACVA;AAAA,EACT,GAAEgE,CAAS;AAAA;","x_google_ignoreList":[0]}
@@ -1,18 +0,0 @@
1
- import { isArray as e, each as c } from "../../../../zrender/lib/core/util.js";
2
- function x(r) {
3
- var d = r.polar;
4
- if (d) {
5
- e(d) || (d = [d]);
6
- var f = [];
7
- c(d, function(a, u) {
8
- a.indicator ? (a.type && !a.shape && (a.shape = a.type), r.radar = r.radar || [], e(r.radar) || (r.radar = [r.radar]), r.radar.push(a)) : f.push(a);
9
- }), r.polar = f;
10
- }
11
- c(r.series, function(a) {
12
- a && a.type === "radar" && a.polarIndex && (a.radarIndex = a.polarIndex);
13
- });
14
- }
15
- export {
16
- x as default
17
- };
18
- //# sourceMappingURL=backwardCompat.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"backwardCompat.js","sources":["../../../../../../node_modules/echarts/lib/chart/radar/backwardCompat.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\n// @ts-nocheck\n// Backward compat for radar chart in 2\nimport * as zrUtil from 'zrender/lib/core/util.js';\nexport default function radarBackwardCompat(option) {\n var polarOptArr = option.polar;\n if (polarOptArr) {\n if (!zrUtil.isArray(polarOptArr)) {\n polarOptArr = [polarOptArr];\n }\n var polarNotRadar_1 = [];\n zrUtil.each(polarOptArr, function (polarOpt, idx) {\n if (polarOpt.indicator) {\n if (polarOpt.type && !polarOpt.shape) {\n polarOpt.shape = polarOpt.type;\n }\n option.radar = option.radar || [];\n if (!zrUtil.isArray(option.radar)) {\n option.radar = [option.radar];\n }\n option.radar.push(polarOpt);\n } else {\n polarNotRadar_1.push(polarOpt);\n }\n });\n option.polar = polarNotRadar_1;\n }\n zrUtil.each(option.series, function (seriesOpt) {\n if (seriesOpt && seriesOpt.type === 'radar' && seriesOpt.polarIndex) {\n seriesOpt.radarIndex = seriesOpt.polarIndex;\n }\n });\n}"],"names":["radarBackwardCompat","option","polarOptArr","zrUtil.isArray","polarNotRadar_1","zrUtil.each","polarOpt","idx","seriesOpt"],"mappings":";AA8Ce,SAASA,EAAoBC,GAAQ;AAClD,MAAIC,IAAcD,EAAO;AACzB,MAAIC,GAAa;AACf,IAAKC,EAAeD,CAAW,MAC7BA,IAAc,CAACA,CAAW;AAE5B,QAAIE,IAAkB,CAAA;AACtBC,IAAAA,EAAYH,GAAa,SAAUI,GAAUC,GAAK;AAChD,MAAID,EAAS,aACPA,EAAS,QAAQ,CAACA,EAAS,UAC7BA,EAAS,QAAQA,EAAS,OAE5BL,EAAO,QAAQA,EAAO,SAAS,CAAA,GAC1BE,EAAeF,EAAO,KAAK,MAC9BA,EAAO,QAAQ,CAACA,EAAO,KAAK,IAE9BA,EAAO,MAAM,KAAKK,CAAQ,KAE1BF,EAAgB,KAAKE,CAAQ;AAAA,IAEjC,CAAC,GACDL,EAAO,QAAQG;AAAA,EACjB;AACAC,EAAAA,EAAYJ,EAAO,QAAQ,SAAUO,GAAW;AAC9C,IAAIA,KAAaA,EAAU,SAAS,WAAWA,EAAU,eACvDA,EAAU,aAAaA,EAAU;AAAA,EAErC,CAAC;AACH;","x_google_ignoreList":[0]}
@@ -1,14 +0,0 @@
1
- import { use as o } from "../../extension.js";
2
- import a from "./radarLayout.js";
3
- import t from "../../processor/dataFilter.js";
4
- import i from "./backwardCompat.js";
5
- import e from "./RadarView.js";
6
- import m from "./RadarSeries.js";
7
- import { install as p } from "../../component/radar/install.js";
8
- function w(r) {
9
- o(p), r.registerChartView(e), r.registerSeriesModel(m), r.registerLayout(a), r.registerProcessor(t("radar")), r.registerPreprocessor(i);
10
- }
11
- export {
12
- w as install
13
- };
14
- //# sourceMappingURL=install.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"install.js","sources":["../../../../../../node_modules/echarts/lib/chart/radar/install.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport { use } from '../../extension.js';\nimport radarLayout from '../radar/radarLayout.js';\nimport dataFilter from '../../processor/dataFilter.js';\nimport backwardCompat from '../radar/backwardCompat.js';\nimport RadarView from './RadarView.js';\nimport RadarSeriesModel from './RadarSeries.js';\nimport { install as installRadarComponent } from '../../component/radar/install.js';\nexport function install(registers) {\n use(installRadarComponent);\n registers.registerChartView(RadarView);\n registers.registerSeriesModel(RadarSeriesModel);\n registers.registerLayout(radarLayout);\n registers.registerProcessor(dataFilter('radar'));\n registers.registerPreprocessor(backwardCompat);\n}"],"names":["install","registers","use","installRadarComponent","RadarView","RadarSeriesModel","radarLayout","dataFilter","backwardCompat"],"mappings":";;;;;;;AAkDO,SAASA,EAAQC,GAAW;AACjC,EAAAC,EAAIC,CAAqB,GACzBF,EAAU,kBAAkBG,CAAS,GACrCH,EAAU,oBAAoBI,CAAgB,GAC9CJ,EAAU,eAAeK,CAAW,GACpCL,EAAU,kBAAkBM,EAAW,OAAO,CAAC,GAC/CN,EAAU,qBAAqBO,CAAc;AAC/C;","x_google_ignoreList":[0]}
@@ -1,31 +0,0 @@
1
- import { each as v, find as y } from "../../../../zrender/lib/core/util.js";
2
- function g(t) {
3
- t.eachSeriesByType("radar", function(u) {
4
- var o = u.getData(), a = [], n = u.coordinateSystem;
5
- if (n) {
6
- var f = n.getIndicatorAxes();
7
- v(f, function(i, r) {
8
- o.each(o.mapDimension(f[r].dim), function(e, c) {
9
- a[c] = a[c] || [];
10
- var s = n.dataToPoint(e, r);
11
- a[c][r] = m(s) ? s : p(n);
12
- });
13
- }), o.each(function(i) {
14
- var r = y(a[i], function(e) {
15
- return m(e);
16
- }) || p(n);
17
- a[i].push(r.slice()), o.setItemLayout(i, a[i]);
18
- });
19
- }
20
- });
21
- }
22
- function m(t) {
23
- return !isNaN(t[0]) && !isNaN(t[1]);
24
- }
25
- function p(t) {
26
- return [t.cx, t.cy];
27
- }
28
- export {
29
- g as default
30
- };
31
- //# sourceMappingURL=radarLayout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radarLayout.js","sources":["../../../../../../node_modules/echarts/lib/chart/radar/radarLayout.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport * as zrUtil from 'zrender/lib/core/util.js';\nexport default function radarLayout(ecModel) {\n ecModel.eachSeriesByType('radar', function (seriesModel) {\n var data = seriesModel.getData();\n var points = [];\n var coordSys = seriesModel.coordinateSystem;\n if (!coordSys) {\n return;\n }\n var axes = coordSys.getIndicatorAxes();\n zrUtil.each(axes, function (axis, axisIndex) {\n data.each(data.mapDimension(axes[axisIndex].dim), function (val, dataIndex) {\n points[dataIndex] = points[dataIndex] || [];\n var point = coordSys.dataToPoint(val, axisIndex);\n points[dataIndex][axisIndex] = isValidPoint(point) ? point : getValueMissingPoint(coordSys);\n });\n });\n // Close polygon\n data.each(function (idx) {\n // TODO\n // Is it appropriate to connect to the next data when some data is missing?\n // Or, should trade it like `connectNull` in line chart?\n var firstPoint = zrUtil.find(points[idx], function (point) {\n return isValidPoint(point);\n }) || getValueMissingPoint(coordSys);\n // Copy the first actual point to the end of the array\n points[idx].push(firstPoint.slice());\n data.setItemLayout(idx, points[idx]);\n });\n });\n}\nfunction isValidPoint(point) {\n return !isNaN(point[0]) && !isNaN(point[1]);\n}\nfunction getValueMissingPoint(coordSys) {\n // It is error-prone to input [NaN, NaN] into polygon, polygon.\n // (probably cause problem when refreshing or animating)\n return [coordSys.cx, coordSys.cy];\n}"],"names":["radarLayout","ecModel","seriesModel","data","points","coordSys","axes","zrUtil.each","axis","axisIndex","val","dataIndex","point","isValidPoint","getValueMissingPoint","idx","firstPoint","zrUtil.find"],"mappings":";AA4Ce,SAASA,EAAYC,GAAS;AAC3C,EAAAA,EAAQ,iBAAiB,SAAS,SAAUC,GAAa;AACvD,QAAIC,IAAOD,EAAY,QAAO,GAC1BE,IAAS,CAAA,GACTC,IAAWH,EAAY;AAC3B,QAAKG,GAGL;AAAA,UAAIC,IAAOD,EAAS,iBAAgB;AACpCE,MAAAA,EAAYD,GAAM,SAAUE,GAAMC,GAAW;AAC3C,QAAAN,EAAK,KAAKA,EAAK,aAAaG,EAAKG,CAAS,EAAE,GAAG,GAAG,SAAUC,GAAKC,GAAW;AAC1E,UAAAP,EAAOO,CAAS,IAAIP,EAAOO,CAAS,KAAK,CAAA;AACzC,cAAIC,IAAQP,EAAS,YAAYK,GAAKD,CAAS;AAC/C,UAAAL,EAAOO,CAAS,EAAEF,CAAS,IAAII,EAAaD,CAAK,IAAIA,IAAQE,EAAqBT,CAAQ;AAAA,QAC5F,CAAC;AAAA,MACH,CAAC,GAEDF,EAAK,KAAK,SAAUY,GAAK;AAIvB,YAAIC,IAAaC,EAAYb,EAAOW,CAAG,GAAG,SAAUH,GAAO;AACzD,iBAAOC,EAAaD,CAAK;AAAA,QAC3B,CAAC,KAAKE,EAAqBT,CAAQ;AAEnC,QAAAD,EAAOW,CAAG,EAAE,KAAKC,EAAW,MAAK,CAAE,GACnCb,EAAK,cAAcY,GAAKX,EAAOW,CAAG,CAAC;AAAA,MACrC,CAAC;AAAA;AAAA,EACH,CAAC;AACH;AACA,SAASF,EAAaD,GAAO;AAC3B,SAAO,CAAC,MAAMA,EAAM,CAAC,CAAC,KAAK,CAAC,MAAMA,EAAM,CAAC,CAAC;AAC5C;AACA,SAASE,EAAqBT,GAAU;AAGtC,SAAO,CAACA,EAAS,IAAIA,EAAS,EAAE;AAClC;","x_google_ignoreList":[0]}