@hkyhy/marsun-components-core 0.1.8 → 0.1.11

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 (1137) hide show
  1. package/dist/components/File/FilePreview/FilePreviewContent.js +55 -48
  2. package/dist/components/File/FilePreview/FilePreviewContent.js.map +1 -1
  3. package/dist/components/File/FilePreview/style.module.scss.js +17 -16
  4. package/dist/components/File/FilePreview/style.module.scss.js.map +1 -1
  5. package/dist/components/File/FilePreviewLink/index.d.ts +2 -0
  6. package/dist/components/File/FilePreviewLink/index.js +46 -33
  7. package/dist/components/File/FilePreviewLink/index.js.map +1 -1
  8. package/dist/components/File/FilePreviewLink/style.module.scss.js +7 -5
  9. package/dist/components/File/FilePreviewLink/style.module.scss.js.map +1 -1
  10. package/dist/components/File/fileDisplay.d.ts +2 -0
  11. package/dist/components/File/fileDisplay.js +25 -21
  12. package/dist/components/File/fileDisplay.js.map +1 -1
  13. package/dist/components/File/index.d.ts +1 -1
  14. package/dist/components/File/previewKind.js +17 -17
  15. package/dist/components/File/previewKind.js.map +1 -1
  16. package/dist/index.js +36 -35
  17. package/dist/marsun-components-core.css +1 -1
  18. package/dist/styles/global.css +1 -1
  19. package/package.json +1 -1
  20. package/dist/_virtual/_commonjs-dynamic-modules.js +0 -7
  21. package/dist/_virtual/_commonjs-dynamic-modules.js.map +0 -1
  22. package/dist/_virtual/_commonjsHelpers.js +0 -9
  23. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  24. package/dist/_virtual/jszip.min.js +0 -8
  25. package/dist/_virtual/jszip.min.js.map +0 -1
  26. package/dist/_virtual/jszip2.min.js +0 -5
  27. package/dist/_virtual/jszip2.min.js.map +0 -1
  28. package/dist/_virtual/lodash.js +0 -6
  29. package/dist/_virtual/lodash.js.map +0 -1
  30. package/dist/_virtual/lodash2.js +0 -5
  31. package/dist/_virtual/lodash2.js.map +0 -1
  32. package/dist/node_modules/@js-preview/excel/lib/index.js +0 -43346
  33. package/dist/node_modules/@js-preview/excel/lib/index.js.map +0 -1
  34. package/dist/node_modules/docx-preview/dist/docx-preview.js +0 -3203
  35. package/dist/node_modules/docx-preview/dist/docx-preview.js.map +0 -1
  36. package/dist/node_modules/echarts/index.js +0 -88
  37. package/dist/node_modules/echarts/index.js.map +0 -1
  38. package/dist/node_modules/echarts/lib/action/roamHelper.js +0 -23
  39. package/dist/node_modules/echarts/lib/action/roamHelper.js.map +0 -1
  40. package/dist/node_modules/echarts/lib/animation/basicTransition.js +0 -97
  41. package/dist/node_modules/echarts/lib/animation/basicTransition.js.map +0 -1
  42. package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +0 -57
  43. package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js.map +0 -1
  44. package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +0 -236
  45. package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js.map +0 -1
  46. package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +0 -107
  47. package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js.map +0 -1
  48. package/dist/node_modules/echarts/lib/animation/universalTransition.js +0 -346
  49. package/dist/node_modules/echarts/lib/animation/universalTransition.js.map +0 -1
  50. package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +0 -55
  51. package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js.map +0 -1
  52. package/dist/node_modules/echarts/lib/chart/bar/BarView.js +0 -478
  53. package/dist/node_modules/echarts/lib/chart/bar/BarView.js.map +0 -1
  54. package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +0 -77
  55. package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js.map +0 -1
  56. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +0 -49
  57. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js.map +0 -1
  58. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +0 -326
  59. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js.map +0 -1
  60. package/dist/node_modules/echarts/lib/chart/bar/install.js +0 -24
  61. package/dist/node_modules/echarts/lib/chart/bar/install.js.map +0 -1
  62. package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +0 -11
  63. package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js.map +0 -1
  64. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +0 -57
  65. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js.map +0 -1
  66. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +0 -96
  67. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js.map +0 -1
  68. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +0 -73
  69. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js.map +0 -1
  70. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +0 -24
  71. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js.map +0 -1
  72. package/dist/node_modules/echarts/lib/chart/boxplot/install.js +0 -11
  73. package/dist/node_modules/echarts/lib/chart/boxplot/install.js.map +0 -1
  74. package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +0 -26
  75. package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js.map +0 -1
  76. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +0 -71
  77. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js.map +0 -1
  78. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +0 -196
  79. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js.map +0 -1
  80. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +0 -77
  81. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js.map +0 -1
  82. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +0 -36
  83. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js.map +0 -1
  84. package/dist/node_modules/echarts/lib/chart/candlestick/install.js +0 -12
  85. package/dist/node_modules/echarts/lib/chart/candlestick/install.js.map +0 -1
  86. package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +0 -10
  87. package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js.map +0 -1
  88. package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +0 -56
  89. package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js.map +0 -1
  90. package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +0 -439
  91. package/dist/node_modules/echarts/lib/chart/custom/CustomView.js.map +0 -1
  92. package/dist/node_modules/echarts/lib/chart/custom/install.js +0 -9
  93. package/dist/node_modules/echarts/lib/chart/custom/install.js.map +0 -1
  94. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +0 -61
  95. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js.map +0 -1
  96. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +0 -45
  97. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js.map +0 -1
  98. package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +0 -10
  99. package/dist/node_modules/echarts/lib/chart/effectScatter/install.js.map +0 -1
  100. package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +0 -84
  101. package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js.map +0 -1
  102. package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +0 -110
  103. package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js.map +0 -1
  104. package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +0 -98
  105. package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js.map +0 -1
  106. package/dist/node_modules/echarts/lib/chart/funnel/install.js +0 -11
  107. package/dist/node_modules/echarts/lib/chart/funnel/install.js.map +0 -1
  108. package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +0 -143
  109. package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js.map +0 -1
  110. package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +0 -300
  111. package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js.map +0 -1
  112. package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +0 -30
  113. package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js.map +0 -1
  114. package/dist/node_modules/echarts/lib/chart/gauge/install.js +0 -9
  115. package/dist/node_modules/echarts/lib/chart/gauge/install.js.map +0 -1
  116. package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +0 -181
  117. package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js.map +0 -1
  118. package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +0 -137
  119. package/dist/node_modules/echarts/lib/chart/graph/GraphView.js.map +0 -1
  120. package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +0 -54
  121. package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js.map +0 -1
  122. package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +0 -23
  123. package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js.map +0 -1
  124. package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +0 -30
  125. package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js.map +0 -1
  126. package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +0 -10
  127. package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js.map +0 -1
  128. package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +0 -81
  129. package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js.map +0 -1
  130. package/dist/node_modules/echarts/lib/chart/graph/createView.js +0 -34
  131. package/dist/node_modules/echarts/lib/chart/graph/createView.js.map +0 -1
  132. package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +0 -29
  133. package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js.map +0 -1
  134. package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +0 -74
  135. package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js.map +0 -1
  136. package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +0 -62
  137. package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js.map +0 -1
  138. package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +0 -16
  139. package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js.map +0 -1
  140. package/dist/node_modules/echarts/lib/chart/graph/install.js +0 -43
  141. package/dist/node_modules/echarts/lib/chart/graph/install.js.map +0 -1
  142. package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +0 -25
  143. package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js.map +0 -1
  144. package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +0 -24
  145. package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js.map +0 -1
  146. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +0 -46
  147. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js.map +0 -1
  148. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +0 -45
  149. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js.map +0 -1
  150. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +0 -155
  151. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js.map +0 -1
  152. package/dist/node_modules/echarts/lib/chart/heatmap/install.js +0 -9
  153. package/dist/node_modules/echarts/lib/chart/heatmap/install.js.map +0 -1
  154. package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +0 -69
  155. package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js.map +0 -1
  156. package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +0 -55
  157. package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js.map +0 -1
  158. package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +0 -90
  159. package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js.map +0 -1
  160. package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +0 -158
  161. package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js.map +0 -1
  162. package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +0 -144
  163. package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js.map +0 -1
  164. package/dist/node_modules/echarts/lib/chart/helper/Line.js +0 -209
  165. package/dist/node_modules/echarts/lib/chart/helper/Line.js.map +0 -1
  166. package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +0 -88
  167. package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js.map +0 -1
  168. package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +0 -53
  169. package/dist/node_modules/echarts/lib/chart/helper/LinePath.js.map +0 -1
  170. package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +0 -46
  171. package/dist/node_modules/echarts/lib/chart/helper/Polyline.js.map +0 -1
  172. package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +0 -156
  173. package/dist/node_modules/echarts/lib/chart/helper/Symbol.js.map +0 -1
  174. package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +0 -107
  175. package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js.map +0 -1
  176. package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +0 -71
  177. package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js.map +0 -1
  178. package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +0 -51
  179. package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js.map +0 -1
  180. package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +0 -12
  181. package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js.map +0 -1
  182. package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +0 -71
  183. package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js.map +0 -1
  184. package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +0 -16
  185. package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js.map +0 -1
  186. package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +0 -14
  187. package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js.map +0 -1
  188. package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +0 -28
  189. package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js.map +0 -1
  190. package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +0 -68
  191. package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js.map +0 -1
  192. package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +0 -20
  193. package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js.map +0 -1
  194. package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +0 -42
  195. package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js.map +0 -1
  196. package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +0 -52
  197. package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js.map +0 -1
  198. package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +0 -93
  199. package/dist/node_modules/echarts/lib/chart/line/LineSeries.js.map +0 -1
  200. package/dist/node_modules/echarts/lib/chart/line/LineView.js +0 -532
  201. package/dist/node_modules/echarts/lib/chart/line/LineView.js.map +0 -1
  202. package/dist/node_modules/echarts/lib/chart/line/helper.js +0 -41
  203. package/dist/node_modules/echarts/lib/chart/line/helper.js.map +0 -1
  204. package/dist/node_modules/echarts/lib/chart/line/install.js +0 -17
  205. package/dist/node_modules/echarts/lib/chart/line/install.js.map +0 -1
  206. package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +0 -61
  207. package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js.map +0 -1
  208. package/dist/node_modules/echarts/lib/chart/line/poly.js +0 -164
  209. package/dist/node_modules/echarts/lib/chart/line/poly.js.map +0 -1
  210. package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +0 -154
  211. package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js.map +0 -1
  212. package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +0 -66
  213. package/dist/node_modules/echarts/lib/chart/lines/LinesView.js.map +0 -1
  214. package/dist/node_modules/echarts/lib/chart/lines/install.js +0 -11
  215. package/dist/node_modules/echarts/lib/chart/lines/install.js.map +0 -1
  216. package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +0 -51
  217. package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js.map +0 -1
  218. package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +0 -21
  219. package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js.map +0 -1
  220. package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +0 -144
  221. package/dist/node_modules/echarts/lib/chart/map/MapSeries.js.map +0 -1
  222. package/dist/node_modules/echarts/lib/chart/map/MapView.js +0 -84
  223. package/dist/node_modules/echarts/lib/chart/map/MapView.js.map +0 -1
  224. package/dist/node_modules/echarts/lib/chart/map/install.js +0 -14
  225. package/dist/node_modules/echarts/lib/chart/map/install.js.map +0 -1
  226. package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +0 -33
  227. package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js.map +0 -1
  228. package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +0 -32
  229. package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js.map +0 -1
  230. package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +0 -64
  231. package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js.map +0 -1
  232. package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +0 -112
  233. package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js.map +0 -1
  234. package/dist/node_modules/echarts/lib/chart/parallel/install.js +0 -12
  235. package/dist/node_modules/echarts/lib/chart/parallel/install.js.map +0 -1
  236. package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +0 -27
  237. package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js.map +0 -1
  238. package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +0 -143
  239. package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js.map +0 -1
  240. package/dist/node_modules/echarts/lib/chart/pie/PieView.js +0 -152
  241. package/dist/node_modules/echarts/lib/chart/pie/PieView.js.map +0 -1
  242. package/dist/node_modules/echarts/lib/chart/pie/install.js +0 -14
  243. package/dist/node_modules/echarts/lib/chart/pie/install.js.map +0 -1
  244. package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +0 -200
  245. package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js.map +0 -1
  246. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +0 -100
  247. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js.map +0 -1
  248. package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +0 -74
  249. package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js.map +0 -1
  250. package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +0 -124
  251. package/dist/node_modules/echarts/lib/chart/radar/RadarView.js.map +0 -1
  252. package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +0 -18
  253. package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js.map +0 -1
  254. package/dist/node_modules/echarts/lib/chart/radar/install.js +0 -14
  255. package/dist/node_modules/echarts/lib/chart/radar/install.js.map +0 -1
  256. package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +0 -31
  257. package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js.map +0 -1
  258. package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +0 -125
  259. package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js.map +0 -1
  260. package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +0 -169
  261. package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js.map +0 -1
  262. package/dist/node_modules/echarts/lib/chart/sankey/install.js +0 -24
  263. package/dist/node_modules/echarts/lib/chart/sankey/install.js.map +0 -1
  264. package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +0 -278
  265. package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js.map +0 -1
  266. package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +0 -34
  267. package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js.map +0 -1
  268. package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +0 -62
  269. package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js.map +0 -1
  270. package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +0 -61
  271. package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js.map +0 -1
  272. package/dist/node_modules/echarts/lib/chart/scatter/install.js +0 -12
  273. package/dist/node_modules/echarts/lib/chart/scatter/install.js.map +0 -1
  274. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +0 -83
  275. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js.map +0 -1
  276. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +0 -129
  277. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js.map +0 -1
  278. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +0 -94
  279. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js.map +0 -1
  280. package/dist/node_modules/echarts/lib/chart/sunburst/install.js +0 -14
  281. package/dist/node_modules/echarts/lib/chart/sunburst/install.js.map +0 -1
  282. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +0 -51
  283. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js.map +0 -1
  284. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +0 -99
  285. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js.map +0 -1
  286. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +0 -24
  287. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js.map +0 -1
  288. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +0 -123
  289. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js.map +0 -1
  290. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +0 -101
  291. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js.map +0 -1
  292. package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +0 -11
  293. package/dist/node_modules/echarts/lib/chart/themeRiver/install.js.map +0 -1
  294. package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +0 -64
  295. package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js.map +0 -1
  296. package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +0 -101
  297. package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js.map +0 -1
  298. package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +0 -320
  299. package/dist/node_modules/echarts/lib/chart/tree/TreeView.js.map +0 -1
  300. package/dist/node_modules/echarts/lib/chart/tree/install.js +0 -12
  301. package/dist/node_modules/echarts/lib/chart/tree/install.js.map +0 -1
  302. package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +0 -103
  303. package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js.map +0 -1
  304. package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +0 -25
  305. package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js.map +0 -1
  306. package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +0 -38
  307. package/dist/node_modules/echarts/lib/chart/tree/treeAction.js.map +0 -1
  308. package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +0 -54
  309. package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js.map +0 -1
  310. package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +0 -14
  311. package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js.map +0 -1
  312. package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +0 -100
  313. package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js.map +0 -1
  314. package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +0 -204
  315. package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js.map +0 -1
  316. package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +0 -455
  317. package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js.map +0 -1
  318. package/dist/node_modules/echarts/lib/chart/treemap/install.js +0 -12
  319. package/dist/node_modules/echarts/lib/chart/treemap/install.js.map +0 -1
  320. package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +0 -31
  321. package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js.map +0 -1
  322. package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +0 -218
  323. package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js.map +0 -1
  324. package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +0 -96
  325. package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js.map +0 -1
  326. package/dist/node_modules/echarts/lib/component/aria/install.js +0 -9
  327. package/dist/node_modules/echarts/lib/component/aria/install.js.map +0 -1
  328. package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +0 -13
  329. package/dist/node_modules/echarts/lib/component/aria/preprocessor.js.map +0 -1
  330. package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +0 -196
  331. package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js.map +0 -1
  332. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +0 -295
  333. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js.map +0 -1
  334. package/dist/node_modules/echarts/lib/component/axis/AxisView.js +0 -41
  335. package/dist/node_modules/echarts/lib/component/axis/AxisView.js.map +0 -1
  336. package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +0 -123
  337. package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js.map +0 -1
  338. package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +0 -89
  339. package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js.map +0 -1
  340. package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +0 -118
  341. package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js.map +0 -1
  342. package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +0 -71
  343. package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js.map +0 -1
  344. package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +0 -54
  345. package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js.map +0 -1
  346. package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +0 -26
  347. package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js.map +0 -1
  348. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +0 -72
  349. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js.map +0 -1
  350. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +0 -32
  351. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js.map +0 -1
  352. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +0 -186
  353. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js.map +0 -1
  354. package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +0 -86
  355. package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js.map +0 -1
  356. package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +0 -84
  357. package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js.map +0 -1
  358. package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +0 -81
  359. package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js.map +0 -1
  360. package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +0 -203
  361. package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js.map +0 -1
  362. package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +0 -37
  363. package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js.map +0 -1
  364. package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +0 -59
  365. package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js.map +0 -1
  366. package/dist/node_modules/echarts/lib/component/axisPointer/install.js +0 -26
  367. package/dist/node_modules/echarts/lib/component/axisPointer/install.js.map +0 -1
  368. package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +0 -138
  369. package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js.map +0 -1
  370. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +0 -115
  371. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js.map +0 -1
  372. package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +0 -59
  373. package/dist/node_modules/echarts/lib/component/brush/BrushModel.js.map +0 -1
  374. package/dist/node_modules/echarts/lib/component/brush/BrushView.js +0 -47
  375. package/dist/node_modules/echarts/lib/component/brush/BrushView.js.map +0 -1
  376. package/dist/node_modules/echarts/lib/component/brush/install.js +0 -33
  377. package/dist/node_modules/echarts/lib/component/brush/install.js.map +0 -1
  378. package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +0 -31
  379. package/dist/node_modules/echarts/lib/component/brush/preprocessor.js.map +0 -1
  380. package/dist/node_modules/echarts/lib/component/brush/selector.js +0 -63
  381. package/dist/node_modules/echarts/lib/component/brush/selector.js.map +0 -1
  382. package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +0 -141
  383. package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js.map +0 -1
  384. package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +0 -188
  385. package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js.map +0 -1
  386. package/dist/node_modules/echarts/lib/component/calendar/install.js +0 -10
  387. package/dist/node_modules/echarts/lib/component/calendar/install.js.map +0 -1
  388. package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +0 -126
  389. package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js.map +0 -1
  390. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +0 -189
  391. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js.map +0 -1
  392. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +0 -19
  393. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js.map +0 -1
  394. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +0 -25
  395. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js.map +0 -1
  396. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +0 -77
  397. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js.map +0 -1
  398. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +0 -17
  399. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js.map +0 -1
  400. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +0 -17
  401. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js.map +0 -1
  402. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +0 -88
  403. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js.map +0 -1
  404. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +0 -454
  405. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js.map +0 -1
  406. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +0 -19
  407. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js.map +0 -1
  408. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +0 -58
  409. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js.map +0 -1
  410. package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +0 -68
  411. package/dist/node_modules/echarts/lib/component/dataZoom/helper.js.map +0 -1
  412. package/dist/node_modules/echarts/lib/component/dataZoom/history.js +0 -57
  413. package/dist/node_modules/echarts/lib/component/dataZoom/history.js.map +0 -1
  414. package/dist/node_modules/echarts/lib/component/dataZoom/install.js +0 -10
  415. package/dist/node_modules/echarts/lib/component/dataZoom/install.js.map +0 -1
  416. package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +0 -12
  417. package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js.map +0 -1
  418. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +0 -11
  419. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js.map +0 -1
  420. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +0 -10
  421. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js.map +0 -1
  422. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +0 -10
  423. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js.map +0 -1
  424. package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +0 -127
  425. package/dist/node_modules/echarts/lib/component/dataZoom/roams.js.map +0 -1
  426. package/dist/node_modules/echarts/lib/component/dataset/install.js +0 -44
  427. package/dist/node_modules/echarts/lib/component/dataset/install.js.map +0 -1
  428. package/dist/node_modules/echarts/lib/component/geo/GeoView.js +0 -50
  429. package/dist/node_modules/echarts/lib/component/geo/GeoView.js.map +0 -1
  430. package/dist/node_modules/echarts/lib/component/geo/install.js +0 -73
  431. package/dist/node_modules/echarts/lib/component/geo/install.js.map +0 -1
  432. package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +0 -96
  433. package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js.map +0 -1
  434. package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +0 -186
  435. package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js.map +0 -1
  436. package/dist/node_modules/echarts/lib/component/graphic/install.js +0 -17
  437. package/dist/node_modules/echarts/lib/component/graphic/install.js.map +0 -1
  438. package/dist/node_modules/echarts/lib/component/grid/install.js +0 -10
  439. package/dist/node_modules/echarts/lib/component/grid/install.js.map +0 -1
  440. package/dist/node_modules/echarts/lib/component/grid/installSimple.js +0 -43
  441. package/dist/node_modules/echarts/lib/component/grid/installSimple.js.map +0 -1
  442. package/dist/node_modules/echarts/lib/component/helper/BrushController.js +0 -466
  443. package/dist/node_modules/echarts/lib/component/helper/BrushController.js.map +0 -1
  444. package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +0 -197
  445. package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js.map +0 -1
  446. package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +0 -304
  447. package/dist/node_modules/echarts/lib/component/helper/MapDraw.js.map +0 -1
  448. package/dist/node_modules/echarts/lib/component/helper/RoamController.js +0 -107
  449. package/dist/node_modules/echarts/lib/component/helper/RoamController.js.map +0 -1
  450. package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +0 -29
  451. package/dist/node_modules/echarts/lib/component/helper/brushHelper.js.map +0 -1
  452. package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +0 -13
  453. package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js.map +0 -1
  454. package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +0 -28
  455. package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js.map +0 -1
  456. package/dist/node_modules/echarts/lib/component/helper/listComponent.js +0 -30
  457. package/dist/node_modules/echarts/lib/component/helper/listComponent.js.map +0 -1
  458. package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +0 -18
  459. package/dist/node_modules/echarts/lib/component/helper/roamHelper.js.map +0 -1
  460. package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +0 -29
  461. package/dist/node_modules/echarts/lib/component/helper/sliderMove.js.map +0 -1
  462. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +0 -197
  463. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js.map +0 -1
  464. package/dist/node_modules/echarts/lib/component/legend/LegendView.js +0 -246
  465. package/dist/node_modules/echarts/lib/component/legend/LegendView.js.map +0 -1
  466. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +0 -50
  467. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js.map +0 -1
  468. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +0 -185
  469. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js.map +0 -1
  470. package/dist/node_modules/echarts/lib/component/legend/install.js +0 -10
  471. package/dist/node_modules/echarts/lib/component/legend/install.js.map +0 -1
  472. package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +0 -13
  473. package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js.map +0 -1
  474. package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +0 -12
  475. package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js.map +0 -1
  476. package/dist/node_modules/echarts/lib/component/legend/legendAction.js +0 -41
  477. package/dist/node_modules/echarts/lib/component/legend/legendAction.js.map +0 -1
  478. package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +0 -15
  479. package/dist/node_modules/echarts/lib/component/legend/legendFilter.js.map +0 -1
  480. package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +0 -16
  481. package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js.map +0 -1
  482. package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +0 -44
  483. package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js.map +0 -1
  484. package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +0 -180
  485. package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js.map +0 -1
  486. package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +0 -47
  487. package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js.map +0 -1
  488. package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +0 -179
  489. package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js.map +0 -1
  490. package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +0 -41
  491. package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js.map +0 -1
  492. package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +0 -85
  493. package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js.map +0 -1
  494. package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +0 -75
  495. package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js.map +0 -1
  496. package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +0 -46
  497. package/dist/node_modules/echarts/lib/component/marker/MarkerView.js.map +0 -1
  498. package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +0 -13
  499. package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js.map +0 -1
  500. package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +0 -12
  501. package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js.map +0 -1
  502. package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +0 -12
  503. package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js.map +0 -1
  504. package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +0 -12
  505. package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js.map +0 -1
  506. package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +0 -84
  507. package/dist/node_modules/echarts/lib/component/marker/markerHelper.js.map +0 -1
  508. package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +0 -67
  509. package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js.map +0 -1
  510. package/dist/node_modules/echarts/lib/component/parallel/install.js +0 -27
  511. package/dist/node_modules/echarts/lib/component/parallel/install.js.map +0 -1
  512. package/dist/node_modules/echarts/lib/component/polar/install.js +0 -41
  513. package/dist/node_modules/echarts/lib/component/polar/install.js.map +0 -1
  514. package/dist/node_modules/echarts/lib/component/radar/RadarView.js +0 -120
  515. package/dist/node_modules/echarts/lib/component/radar/RadarView.js.map +0 -1
  516. package/dist/node_modules/echarts/lib/component/radar/install.js +0 -18
  517. package/dist/node_modules/echarts/lib/component/radar/install.js.map +0 -1
  518. package/dist/node_modules/echarts/lib/component/singleAxis/install.js +0 -28
  519. package/dist/node_modules/echarts/lib/component/singleAxis/install.js.map +0 -1
  520. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +0 -116
  521. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js.map +0 -1
  522. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +0 -362
  523. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js.map +0 -1
  524. package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +0 -21
  525. package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js.map +0 -1
  526. package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +0 -80
  527. package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js.map +0 -1
  528. package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +0 -17
  529. package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js.map +0 -1
  530. package/dist/node_modules/echarts/lib/component/timeline/install.js +0 -13
  531. package/dist/node_modules/echarts/lib/component/timeline/install.js.map +0 -1
  532. package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +0 -36
  533. package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js.map +0 -1
  534. package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +0 -30
  535. package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js.map +0 -1
  536. package/dist/node_modules/echarts/lib/component/title/install.js +0 -122
  537. package/dist/node_modules/echarts/lib/component/title/install.js.map +0 -1
  538. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +0 -61
  539. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js.map +0 -1
  540. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +0 -141
  541. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js.map +0 -1
  542. package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +0 -70
  543. package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js.map +0 -1
  544. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +0 -271
  545. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js.map +0 -1
  546. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +0 -153
  547. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js.map +0 -1
  548. package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +0 -124
  549. package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js.map +0 -1
  550. package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +0 -38
  551. package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js.map +0 -1
  552. package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +0 -70
  553. package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js.map +0 -1
  554. package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +0 -20
  555. package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js.map +0 -1
  556. package/dist/node_modules/echarts/lib/component/toolbox/install.js +0 -17
  557. package/dist/node_modules/echarts/lib/component/toolbox/install.js.map +0 -1
  558. package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +0 -153
  559. package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js.map +0 -1
  560. package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +0 -83
  561. package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js.map +0 -1
  562. package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +0 -90
  563. package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js.map +0 -1
  564. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +0 -413
  565. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js.map +0 -1
  566. package/dist/node_modules/echarts/lib/component/tooltip/helper.js +0 -33
  567. package/dist/node_modules/echarts/lib/component/tooltip/helper.js.map +0 -1
  568. package/dist/node_modules/echarts/lib/component/tooltip/install.js +0 -20
  569. package/dist/node_modules/echarts/lib/component/tooltip/install.js.map +0 -1
  570. package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +0 -64
  571. package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js.map +0 -1
  572. package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +0 -187
  573. package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js.map +0 -1
  574. package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +0 -36
  575. package/dist/node_modules/echarts/lib/component/transform/filterTransform.js.map +0 -1
  576. package/dist/node_modules/echarts/lib/component/transform/install.js +0 -9
  577. package/dist/node_modules/echarts/lib/component/transform/install.js.map +0 -1
  578. package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +0 -59
  579. package/dist/node_modules/echarts/lib/component/transform/sortTransform.js.map +0 -1
  580. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +0 -110
  581. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js.map +0 -1
  582. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +0 -383
  583. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js.map +0 -1
  584. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +0 -217
  585. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js.map +0 -1
  586. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +0 -119
  587. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js.map +0 -1
  588. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +0 -162
  589. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js.map +0 -1
  590. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +0 -78
  591. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js.map +0 -1
  592. package/dist/node_modules/echarts/lib/component/visualMap/helper.js +0 -25
  593. package/dist/node_modules/echarts/lib/component/visualMap/helper.js.map +0 -1
  594. package/dist/node_modules/echarts/lib/component/visualMap/install.js +0 -10
  595. package/dist/node_modules/echarts/lib/component/visualMap/install.js.map +0 -1
  596. package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +0 -16
  597. package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js.map +0 -1
  598. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +0 -10
  599. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js.map +0 -1
  600. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +0 -10
  601. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js.map +0 -1
  602. package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +0 -21
  603. package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js.map +0 -1
  604. package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +0 -52
  605. package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js.map +0 -1
  606. package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +0 -18
  607. package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js.map +0 -1
  608. package/dist/node_modules/echarts/lib/coord/Axis.js +0 -108
  609. package/dist/node_modules/echarts/lib/coord/Axis.js.map +0 -1
  610. package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +0 -7
  611. package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js.map +0 -1
  612. package/dist/node_modules/echarts/lib/coord/View.js +0 -92
  613. package/dist/node_modules/echarts/lib/coord/View.js.map +0 -1
  614. package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +0 -47
  615. package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js.map +0 -1
  616. package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +0 -10
  617. package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js.map +0 -1
  618. package/dist/node_modules/echarts/lib/coord/axisDefault.js +0 -161
  619. package/dist/node_modules/echarts/lib/coord/axisDefault.js.map +0 -1
  620. package/dist/node_modules/echarts/lib/coord/axisHelper.js +0 -163
  621. package/dist/node_modules/echarts/lib/coord/axisHelper.js.map +0 -1
  622. package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +0 -16
  623. package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js.map +0 -1
  624. package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +0 -41
  625. package/dist/node_modules/echarts/lib/coord/axisModelCreator.js.map +0 -1
  626. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +0 -177
  627. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js.map +0 -1
  628. package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +0 -159
  629. package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js.map +0 -1
  630. package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +0 -92
  631. package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js.map +0 -1
  632. package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +0 -29
  633. package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js.map +0 -1
  634. package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +0 -29
  635. package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js.map +0 -1
  636. package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +0 -22
  637. package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js.map +0 -1
  638. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +0 -27
  639. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js.map +0 -1
  640. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +0 -67
  641. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js.map +0 -1
  642. package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +0 -234
  643. package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js.map +0 -1
  644. package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +0 -31
  645. package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js.map +0 -1
  646. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +0 -47
  647. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js.map +0 -1
  648. package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +0 -30
  649. package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js.map +0 -1
  650. package/dist/node_modules/echarts/lib/coord/geo/Geo.js +0 -86
  651. package/dist/node_modules/echarts/lib/coord/geo/Geo.js.map +0 -1
  652. package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +0 -71
  653. package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js.map +0 -1
  654. package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +0 -126
  655. package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js.map +0 -1
  656. package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +0 -109
  657. package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js.map +0 -1
  658. package/dist/node_modules/echarts/lib/coord/geo/Region.js +0 -138
  659. package/dist/node_modules/echarts/lib/coord/geo/Region.js.map +0 -1
  660. package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +0 -11
  661. package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js.map +0 -1
  662. package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +0 -23
  663. package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js.map +0 -1
  664. package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +0 -22
  665. package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js.map +0 -1
  666. package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +0 -109
  667. package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js.map +0 -1
  668. package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +0 -70
  669. package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js.map +0 -1
  670. package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +0 -68
  671. package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js.map +0 -1
  672. package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +0 -30
  673. package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js.map +0 -1
  674. package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +0 -52
  675. package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js.map +0 -1
  676. package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +0 -181
  677. package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js.map +0 -1
  678. package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +0 -19
  679. package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js.map +0 -1
  680. package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +0 -62
  681. package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js.map +0 -1
  682. package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +0 -21
  683. package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js.map +0 -1
  684. package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +0 -26
  685. package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js.map +0 -1
  686. package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +0 -30
  687. package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js.map +0 -1
  688. package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +0 -45
  689. package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js.map +0 -1
  690. package/dist/node_modules/echarts/lib/coord/polar/Polar.js +0 -87
  691. package/dist/node_modules/echarts/lib/coord/polar/Polar.js.map +0 -1
  692. package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +0 -27
  693. package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js.map +0 -1
  694. package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +0 -20
  695. package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js.map +0 -1
  696. package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +0 -64
  697. package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js.map +0 -1
  698. package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +0 -30
  699. package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js.map +0 -1
  700. package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +0 -17
  701. package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js.map +0 -1
  702. package/dist/node_modules/echarts/lib/coord/radar/Radar.js +0 -80
  703. package/dist/node_modules/echarts/lib/coord/radar/Radar.js.map +0 -1
  704. package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +0 -90
  705. package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js.map +0 -1
  706. package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +0 -71
  707. package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js.map +0 -1
  708. package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +0 -61
  709. package/dist/node_modules/echarts/lib/coord/single/AxisModel.js.map +0 -1
  710. package/dist/node_modules/echarts/lib/coord/single/Single.js +0 -89
  711. package/dist/node_modules/echarts/lib/coord/single/Single.js.map +0 -1
  712. package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +0 -22
  713. package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js.map +0 -1
  714. package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +0 -27
  715. package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js.map +0 -1
  716. package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +0 -33
  717. package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js.map +0 -1
  718. package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +0 -22
  719. package/dist/node_modules/echarts/lib/coord/single/singleCreator.js.map +0 -1
  720. package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +0 -30
  721. package/dist/node_modules/echarts/lib/core/CoordinateSystem.js.map +0 -1
  722. package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +0 -35
  723. package/dist/node_modules/echarts/lib/core/ExtensionAPI.js.map +0 -1
  724. package/dist/node_modules/echarts/lib/core/Scheduler.js +0 -227
  725. package/dist/node_modules/echarts/lib/core/Scheduler.js.map +0 -1
  726. package/dist/node_modules/echarts/lib/core/echarts.js +0 -1058
  727. package/dist/node_modules/echarts/lib/core/echarts.js.map +0 -1
  728. package/dist/node_modules/echarts/lib/core/impl.js +0 -13
  729. package/dist/node_modules/echarts/lib/core/impl.js.map +0 -1
  730. package/dist/node_modules/echarts/lib/core/lifecycle.js +0 -6
  731. package/dist/node_modules/echarts/lib/core/lifecycle.js.map +0 -1
  732. package/dist/node_modules/echarts/lib/core/locale.js +0 -38
  733. package/dist/node_modules/echarts/lib/core/locale.js.map +0 -1
  734. package/dist/node_modules/echarts/lib/core/task.js +0 -92
  735. package/dist/node_modules/echarts/lib/core/task.js.map +0 -1
  736. package/dist/node_modules/echarts/lib/data/DataDiffer.js +0 -81
  737. package/dist/node_modules/echarts/lib/data/DataDiffer.js.map +0 -1
  738. package/dist/node_modules/echarts/lib/data/DataStore.js +0 -431
  739. package/dist/node_modules/echarts/lib/data/DataStore.js.map +0 -1
  740. package/dist/node_modules/echarts/lib/data/Graph.js +0 -210
  741. package/dist/node_modules/echarts/lib/data/Graph.js.map +0 -1
  742. package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +0 -37
  743. package/dist/node_modules/echarts/lib/data/OrdinalMeta.js.map +0 -1
  744. package/dist/node_modules/echarts/lib/data/SeriesData.js +0 -339
  745. package/dist/node_modules/echarts/lib/data/SeriesData.js.map +0 -1
  746. package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +0 -14
  747. package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js.map +0 -1
  748. package/dist/node_modules/echarts/lib/data/Source.js +0 -158
  749. package/dist/node_modules/echarts/lib/data/Source.js.map +0 -1
  750. package/dist/node_modules/echarts/lib/data/Tree.js +0 -155
  751. package/dist/node_modules/echarts/lib/data/Tree.js.map +0 -1
  752. package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +0 -87
  753. package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js.map +0 -1
  754. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +0 -123
  755. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js.map +0 -1
  756. package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +0 -177
  757. package/dist/node_modules/echarts/lib/data/helper/dataProvider.js.map +0 -1
  758. package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +0 -61
  759. package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js.map +0 -1
  760. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +0 -90
  761. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js.map +0 -1
  762. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +0 -59
  763. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js.map +0 -1
  764. package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +0 -63
  765. package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js.map +0 -1
  766. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +0 -164
  767. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js.map +0 -1
  768. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +0 -138
  769. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js.map +0 -1
  770. package/dist/node_modules/echarts/lib/data/helper/transform.js +0 -174
  771. package/dist/node_modules/echarts/lib/data/helper/transform.js.map +0 -1
  772. package/dist/node_modules/echarts/lib/extension.js +0 -62
  773. package/dist/node_modules/echarts/lib/extension.js.map +0 -1
  774. package/dist/node_modules/echarts/lib/i18n/langEN.js +0 -115
  775. package/dist/node_modules/echarts/lib/i18n/langEN.js.map +0 -1
  776. package/dist/node_modules/echarts/lib/i18n/langZH.js +0 -115
  777. package/dist/node_modules/echarts/lib/i18n/langZH.js.map +0 -1
  778. package/dist/node_modules/echarts/lib/label/LabelManager.js +0 -236
  779. package/dist/node_modules/echarts/lib/label/LabelManager.js.map +0 -1
  780. package/dist/node_modules/echarts/lib/label/installLabelLayout.js +0 -18
  781. package/dist/node_modules/echarts/lib/label/installLabelLayout.js.map +0 -1
  782. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +0 -235
  783. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js.map +0 -1
  784. package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +0 -133
  785. package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js.map +0 -1
  786. package/dist/node_modules/echarts/lib/label/labelStyle.js +0 -195
  787. package/dist/node_modules/echarts/lib/label/labelStyle.js.map +0 -1
  788. package/dist/node_modules/echarts/lib/label/sectorLabel.js +0 -95
  789. package/dist/node_modules/echarts/lib/label/sectorLabel.js.map +0 -1
  790. package/dist/node_modules/echarts/lib/layout/barGrid.js +0 -236
  791. package/dist/node_modules/echarts/lib/layout/barGrid.js.map +0 -1
  792. package/dist/node_modules/echarts/lib/layout/barPolar.js +0 -102
  793. package/dist/node_modules/echarts/lib/layout/barPolar.js.map +0 -1
  794. package/dist/node_modules/echarts/lib/layout/points.js +0 -38
  795. package/dist/node_modules/echarts/lib/layout/points.js.map +0 -1
  796. package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +0 -52
  797. package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js.map +0 -1
  798. package/dist/node_modules/echarts/lib/loading/default.js +0 -93
  799. package/dist/node_modules/echarts/lib/loading/default.js.map +0 -1
  800. package/dist/node_modules/echarts/lib/model/Component.js +0 -82
  801. package/dist/node_modules/echarts/lib/model/Component.js.map +0 -1
  802. package/dist/node_modules/echarts/lib/model/Global.js +0 -355
  803. package/dist/node_modules/echarts/lib/model/Global.js.map +0 -1
  804. package/dist/node_modules/echarts/lib/model/Model.js +0 -65
  805. package/dist/node_modules/echarts/lib/model/Model.js.map +0 -1
  806. package/dist/node_modules/echarts/lib/model/OptionManager.js +0 -88
  807. package/dist/node_modules/echarts/lib/model/OptionManager.js.map +0 -1
  808. package/dist/node_modules/echarts/lib/model/Series.js +0 -232
  809. package/dist/node_modules/echarts/lib/model/Series.js.map +0 -1
  810. package/dist/node_modules/echarts/lib/model/globalDefault.js +0 -88
  811. package/dist/node_modules/echarts/lib/model/globalDefault.js.map +0 -1
  812. package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +0 -23
  813. package/dist/node_modules/echarts/lib/model/internalComponentCreator.js.map +0 -1
  814. package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +0 -25
  815. package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js.map +0 -1
  816. package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +0 -72
  817. package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js.map +0 -1
  818. package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +0 -32
  819. package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js.map +0 -1
  820. package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +0 -31
  821. package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js.map +0 -1
  822. package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +0 -19
  823. package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js.map +0 -1
  824. package/dist/node_modules/echarts/lib/model/mixin/palette.js +0 -43
  825. package/dist/node_modules/echarts/lib/model/mixin/palette.js.map +0 -1
  826. package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +0 -31
  827. package/dist/node_modules/echarts/lib/model/mixin/textStyle.js.map +0 -1
  828. package/dist/node_modules/echarts/lib/model/referHelper.js +0 -61
  829. package/dist/node_modules/echarts/lib/model/referHelper.js.map +0 -1
  830. package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +0 -81
  831. package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js.map +0 -1
  832. package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +0 -112
  833. package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js.map +0 -1
  834. package/dist/node_modules/echarts/lib/processor/dataFilter.js +0 -23
  835. package/dist/node_modules/echarts/lib/processor/dataFilter.js.map +0 -1
  836. package/dist/node_modules/echarts/lib/processor/dataSample.js +0 -52
  837. package/dist/node_modules/echarts/lib/processor/dataSample.js.map +0 -1
  838. package/dist/node_modules/echarts/lib/processor/dataStack.js +0 -51
  839. package/dist/node_modules/echarts/lib/processor/dataStack.js.map +0 -1
  840. package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +0 -17
  841. package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js.map +0 -1
  842. package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +0 -8
  843. package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js.map +0 -1
  844. package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +0 -8
  845. package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js.map +0 -1
  846. package/dist/node_modules/echarts/lib/scale/Interval.js +0 -98
  847. package/dist/node_modules/echarts/lib/scale/Interval.js.map +0 -1
  848. package/dist/node_modules/echarts/lib/scale/Log.js +0 -69
  849. package/dist/node_modules/echarts/lib/scale/Log.js.map +0 -1
  850. package/dist/node_modules/echarts/lib/scale/Ordinal.js +0 -77
  851. package/dist/node_modules/echarts/lib/scale/Ordinal.js.map +0 -1
  852. package/dist/node_modules/echarts/lib/scale/Scale.js +0 -33
  853. package/dist/node_modules/echarts/lib/scale/Scale.js.map +0 -1
  854. package/dist/node_modules/echarts/lib/scale/Time.js +0 -260
  855. package/dist/node_modules/echarts/lib/scale/Time.js.map +0 -1
  856. package/dist/node_modules/echarts/lib/scale/helper.js +0 -48
  857. package/dist/node_modules/echarts/lib/scale/helper.js.map +0 -1
  858. package/dist/node_modules/echarts/lib/theme/dark.js +0 -181
  859. package/dist/node_modules/echarts/lib/theme/dark.js.map +0 -1
  860. package/dist/node_modules/echarts/lib/theme/light.js +0 -9
  861. package/dist/node_modules/echarts/lib/theme/light.js.map +0 -1
  862. package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +0 -55
  863. package/dist/node_modules/echarts/lib/util/ECEventProcessor.js.map +0 -1
  864. package/dist/node_modules/echarts/lib/util/animation.js +0 -41
  865. package/dist/node_modules/echarts/lib/util/animation.js.map +0 -1
  866. package/dist/node_modules/echarts/lib/util/clazz.js +0 -110
  867. package/dist/node_modules/echarts/lib/util/clazz.js.map +0 -1
  868. package/dist/node_modules/echarts/lib/util/component.js +0 -80
  869. package/dist/node_modules/echarts/lib/util/component.js.map +0 -1
  870. package/dist/node_modules/echarts/lib/util/conditionalExpression.js +0 -147
  871. package/dist/node_modules/echarts/lib/util/conditionalExpression.js.map +0 -1
  872. package/dist/node_modules/echarts/lib/util/decal.js +0 -175
  873. package/dist/node_modules/echarts/lib/util/decal.js.map +0 -1
  874. package/dist/node_modules/echarts/lib/util/event.js +0 -9
  875. package/dist/node_modules/echarts/lib/util/event.js.map +0 -1
  876. package/dist/node_modules/echarts/lib/util/format.js +0 -112
  877. package/dist/node_modules/echarts/lib/util/format.js.map +0 -1
  878. package/dist/node_modules/echarts/lib/util/graphic.js +0 -295
  879. package/dist/node_modules/echarts/lib/util/graphic.js.map +0 -1
  880. package/dist/node_modules/echarts/lib/util/innerStore.js +0 -15
  881. package/dist/node_modules/echarts/lib/util/innerStore.js.map +0 -1
  882. package/dist/node_modules/echarts/lib/util/layout.js +0 -141
  883. package/dist/node_modules/echarts/lib/util/layout.js.map +0 -1
  884. package/dist/node_modules/echarts/lib/util/log.js +0 -69
  885. package/dist/node_modules/echarts/lib/util/log.js.map +0 -1
  886. package/dist/node_modules/echarts/lib/util/model.js +0 -350
  887. package/dist/node_modules/echarts/lib/util/model.js.map +0 -1
  888. package/dist/node_modules/echarts/lib/util/number.js +0 -197
  889. package/dist/node_modules/echarts/lib/util/number.js.map +0 -1
  890. package/dist/node_modules/echarts/lib/util/shape/sausage.js +0 -33
  891. package/dist/node_modules/echarts/lib/util/shape/sausage.js.map +0 -1
  892. package/dist/node_modules/echarts/lib/util/states.js +0 -395
  893. package/dist/node_modules/echarts/lib/util/states.js.map +0 -1
  894. package/dist/node_modules/echarts/lib/util/styleCompat.js +0 -59
  895. package/dist/node_modules/echarts/lib/util/styleCompat.js.map +0 -1
  896. package/dist/node_modules/echarts/lib/util/symbol.js +0 -156
  897. package/dist/node_modules/echarts/lib/util/symbol.js.map +0 -1
  898. package/dist/node_modules/echarts/lib/util/throttle.js +0 -42
  899. package/dist/node_modules/echarts/lib/util/throttle.js.map +0 -1
  900. package/dist/node_modules/echarts/lib/util/time.js +0 -194
  901. package/dist/node_modules/echarts/lib/util/time.js.map +0 -1
  902. package/dist/node_modules/echarts/lib/util/types.js +0 -14
  903. package/dist/node_modules/echarts/lib/util/types.js.map +0 -1
  904. package/dist/node_modules/echarts/lib/util/vendor.js +0 -9
  905. package/dist/node_modules/echarts/lib/util/vendor.js.map +0 -1
  906. package/dist/node_modules/echarts/lib/view/Chart.js +0 -99
  907. package/dist/node_modules/echarts/lib/view/Chart.js.map +0 -1
  908. package/dist/node_modules/echarts/lib/view/Component.js +0 -28
  909. package/dist/node_modules/echarts/lib/view/Component.js.map +0 -1
  910. package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +0 -25
  911. package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js.map +0 -1
  912. package/dist/node_modules/echarts/lib/visual/VisualMapping.js +0 -264
  913. package/dist/node_modules/echarts/lib/visual/VisualMapping.js.map +0 -1
  914. package/dist/node_modules/echarts/lib/visual/aria.js +0 -134
  915. package/dist/node_modules/echarts/lib/visual/aria.js.map +0 -1
  916. package/dist/node_modules/echarts/lib/visual/decal.js +0 -24
  917. package/dist/node_modules/echarts/lib/visual/decal.js.map +0 -1
  918. package/dist/node_modules/echarts/lib/visual/helper.js +0 -54
  919. package/dist/node_modules/echarts/lib/visual/helper.js.map +0 -1
  920. package/dist/node_modules/echarts/lib/visual/style.js +0 -96
  921. package/dist/node_modules/echarts/lib/visual/style.js.map +0 -1
  922. package/dist/node_modules/echarts/lib/visual/symbol.js +0 -53
  923. package/dist/node_modules/echarts/lib/visual/symbol.js.map +0 -1
  924. package/dist/node_modules/echarts/lib/visual/visualDefault.js +0 -47
  925. package/dist/node_modules/echarts/lib/visual/visualDefault.js.map +0 -1
  926. package/dist/node_modules/echarts/lib/visual/visualSolution.js +0 -98
  927. package/dist/node_modules/echarts/lib/visual/visualSolution.js.map +0 -1
  928. package/dist/node_modules/echarts/node_modules/tslib/tslib.es6.js +0 -34
  929. package/dist/node_modules/echarts/node_modules/tslib/tslib.es6.js.map +0 -1
  930. package/dist/node_modules/jszip/dist/jszip.min.js +0 -2321
  931. package/dist/node_modules/jszip/dist/jszip.min.js.map +0 -1
  932. package/dist/node_modules/lodash/lodash.js +0 -3693
  933. package/dist/node_modules/lodash/lodash.js.map +0 -1
  934. package/dist/node_modules/pptx-preview/dist/pptx-preview.es.js +0 -2599
  935. package/dist/node_modules/pptx-preview/dist/pptx-preview.es.js.map +0 -1
  936. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/native.js +0 -8
  937. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
  938. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/rng.js +0 -10
  939. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/rng.js.map +0 -1
  940. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/stringify.js +0 -10
  941. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/stringify.js.map +0 -1
  942. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/v4.js +0 -14
  943. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/v4.js.map +0 -1
  944. package/dist/node_modules/tslib/tslib.es6.js +0 -125
  945. package/dist/node_modules/tslib/tslib.es6.js.map +0 -1
  946. package/dist/node_modules/zrender/lib/Element.js +0 -455
  947. package/dist/node_modules/zrender/lib/Element.js.map +0 -1
  948. package/dist/node_modules/zrender/lib/Handler.js +0 -169
  949. package/dist/node_modules/zrender/lib/Handler.js.map +0 -1
  950. package/dist/node_modules/zrender/lib/Storage.js +0 -76
  951. package/dist/node_modules/zrender/lib/Storage.js.map +0 -1
  952. package/dist/node_modules/zrender/lib/animation/Animation.js +0 -67
  953. package/dist/node_modules/zrender/lib/animation/Animation.js.map +0 -1
  954. package/dist/node_modules/zrender/lib/animation/Animator.js +0 -382
  955. package/dist/node_modules/zrender/lib/animation/Animator.js.map +0 -1
  956. package/dist/node_modules/zrender/lib/animation/Clip.js +0 -34
  957. package/dist/node_modules/zrender/lib/animation/Clip.js.map +0 -1
  958. package/dist/node_modules/zrender/lib/animation/cubicEasing.js +0 -19
  959. package/dist/node_modules/zrender/lib/animation/cubicEasing.js.map +0 -1
  960. package/dist/node_modules/zrender/lib/animation/easing.js +0 -105
  961. package/dist/node_modules/zrender/lib/animation/easing.js.map +0 -1
  962. package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +0 -9
  963. package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js.map +0 -1
  964. package/dist/node_modules/zrender/lib/canvas/Layer.js +0 -135
  965. package/dist/node_modules/zrender/lib/canvas/Layer.js.map +0 -1
  966. package/dist/node_modules/zrender/lib/canvas/Painter.js +0 -309
  967. package/dist/node_modules/zrender/lib/canvas/Painter.js.map +0 -1
  968. package/dist/node_modules/zrender/lib/canvas/dashStyle.js +0 -19
  969. package/dist/node_modules/zrender/lib/canvas/dashStyle.js.map +0 -1
  970. package/dist/node_modules/zrender/lib/canvas/graphic.js +0 -198
  971. package/dist/node_modules/zrender/lib/canvas/graphic.js.map +0 -1
  972. package/dist/node_modules/zrender/lib/canvas/helper.js +0 -48
  973. package/dist/node_modules/zrender/lib/canvas/helper.js.map +0 -1
  974. package/dist/node_modules/zrender/lib/config.js +0 -12
  975. package/dist/node_modules/zrender/lib/config.js.map +0 -1
  976. package/dist/node_modules/zrender/lib/contain/arc.js +0 -25
  977. package/dist/node_modules/zrender/lib/contain/arc.js.map +0 -1
  978. package/dist/node_modules/zrender/lib/contain/cubic.js +0 -14
  979. package/dist/node_modules/zrender/lib/contain/cubic.js.map +0 -1
  980. package/dist/node_modules/zrender/lib/contain/line.js +0 -17
  981. package/dist/node_modules/zrender/lib/contain/line.js.map +0 -1
  982. package/dist/node_modules/zrender/lib/contain/path.js +0 -149
  983. package/dist/node_modules/zrender/lib/contain/path.js.map +0 -1
  984. package/dist/node_modules/zrender/lib/contain/polygon.js +0 -20
  985. package/dist/node_modules/zrender/lib/contain/polygon.js.map +0 -1
  986. package/dist/node_modules/zrender/lib/contain/quadratic.js +0 -14
  987. package/dist/node_modules/zrender/lib/contain/quadratic.js.map +0 -1
  988. package/dist/node_modules/zrender/lib/contain/text.js +0 -97
  989. package/dist/node_modules/zrender/lib/contain/text.js.map +0 -1
  990. package/dist/node_modules/zrender/lib/contain/util.js +0 -8
  991. package/dist/node_modules/zrender/lib/contain/util.js.map +0 -1
  992. package/dist/node_modules/zrender/lib/contain/windingLine.js +0 -12
  993. package/dist/node_modules/zrender/lib/contain/windingLine.js.map +0 -1
  994. package/dist/node_modules/zrender/lib/core/BoundingRect.js +0 -65
  995. package/dist/node_modules/zrender/lib/core/BoundingRect.js.map +0 -1
  996. package/dist/node_modules/zrender/lib/core/Eventful.js +0 -98
  997. package/dist/node_modules/zrender/lib/core/Eventful.js.map +0 -1
  998. package/dist/node_modules/zrender/lib/core/GestureMgr.js +0 -64
  999. package/dist/node_modules/zrender/lib/core/GestureMgr.js.map +0 -1
  1000. package/dist/node_modules/zrender/lib/core/LRU.js +0 -53
  1001. package/dist/node_modules/zrender/lib/core/LRU.js.map +0 -1
  1002. package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +0 -47
  1003. package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js.map +0 -1
  1004. package/dist/node_modules/zrender/lib/core/PathProxy.js +0 -301
  1005. package/dist/node_modules/zrender/lib/core/PathProxy.js.map +0 -1
  1006. package/dist/node_modules/zrender/lib/core/Point.js +0 -73
  1007. package/dist/node_modules/zrender/lib/core/Point.js.map +0 -1
  1008. package/dist/node_modules/zrender/lib/core/Transformable.js +0 -106
  1009. package/dist/node_modules/zrender/lib/core/Transformable.js.map +0 -1
  1010. package/dist/node_modules/zrender/lib/core/WeakMap.js +0 -27
  1011. package/dist/node_modules/zrender/lib/core/WeakMap.js.map +0 -1
  1012. package/dist/node_modules/zrender/lib/core/bbox.js +0 -53
  1013. package/dist/node_modules/zrender/lib/core/bbox.js.map +0 -1
  1014. package/dist/node_modules/zrender/lib/core/curve.js +0 -162
  1015. package/dist/node_modules/zrender/lib/core/curve.js.map +0 -1
  1016. package/dist/node_modules/zrender/lib/core/dom.js +0 -68
  1017. package/dist/node_modules/zrender/lib/core/dom.js.map +0 -1
  1018. package/dist/node_modules/zrender/lib/core/env.js +0 -22
  1019. package/dist/node_modules/zrender/lib/core/env.js.map +0 -1
  1020. package/dist/node_modules/zrender/lib/core/event.js +0 -70
  1021. package/dist/node_modules/zrender/lib/core/event.js.map +0 -1
  1022. package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +0 -42
  1023. package/dist/node_modules/zrender/lib/core/fourPointsTransform.js.map +0 -1
  1024. package/dist/node_modules/zrender/lib/core/matrix.js +0 -45
  1025. package/dist/node_modules/zrender/lib/core/matrix.js.map +0 -1
  1026. package/dist/node_modules/zrender/lib/core/platform.js +0 -49
  1027. package/dist/node_modules/zrender/lib/core/platform.js.map +0 -1
  1028. package/dist/node_modules/zrender/lib/core/timsort.js +0 -287
  1029. package/dist/node_modules/zrender/lib/core/timsort.js.map +0 -1
  1030. package/dist/node_modules/zrender/lib/core/util.js +0 -406
  1031. package/dist/node_modules/zrender/lib/core/util.js.map +0 -1
  1032. package/dist/node_modules/zrender/lib/core/vector.js +0 -77
  1033. package/dist/node_modules/zrender/lib/core/vector.js.map +0 -1
  1034. package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +0 -189
  1035. package/dist/node_modules/zrender/lib/dom/HandlerProxy.js.map +0 -1
  1036. package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +0 -30
  1037. package/dist/node_modules/zrender/lib/graphic/CompoundPath.js.map +0 -1
  1038. package/dist/node_modules/zrender/lib/graphic/Displayable.js +0 -147
  1039. package/dist/node_modules/zrender/lib/graphic/Displayable.js.map +0 -1
  1040. package/dist/node_modules/zrender/lib/graphic/Gradient.js +0 -15
  1041. package/dist/node_modules/zrender/lib/graphic/Gradient.js.map +0 -1
  1042. package/dist/node_modules/zrender/lib/graphic/Group.js +0 -96
  1043. package/dist/node_modules/zrender/lib/graphic/Group.js.map +0 -1
  1044. package/dist/node_modules/zrender/lib/graphic/Image.js +0 -56
  1045. package/dist/node_modules/zrender/lib/graphic/Image.js.map +0 -1
  1046. package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +0 -70
  1047. package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js.map +0 -1
  1048. package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +0 -14
  1049. package/dist/node_modules/zrender/lib/graphic/LinearGradient.js.map +0 -1
  1050. package/dist/node_modules/zrender/lib/graphic/Path.js +0 -217
  1051. package/dist/node_modules/zrender/lib/graphic/Path.js.map +0 -1
  1052. package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +0 -14
  1053. package/dist/node_modules/zrender/lib/graphic/RadialGradient.js.map +0 -1
  1054. package/dist/node_modules/zrender/lib/graphic/TSpan.js +0 -53
  1055. package/dist/node_modules/zrender/lib/graphic/TSpan.js.map +0 -1
  1056. package/dist/node_modules/zrender/lib/graphic/Text.js +0 -221
  1057. package/dist/node_modules/zrender/lib/graphic/Text.js.map +0 -1
  1058. package/dist/node_modules/zrender/lib/graphic/constants.js +0 -7
  1059. package/dist/node_modules/zrender/lib/graphic/constants.js.map +0 -1
  1060. package/dist/node_modules/zrender/lib/graphic/helper/image.js +0 -42
  1061. package/dist/node_modules/zrender/lib/graphic/helper/image.js.map +0 -1
  1062. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +0 -212
  1063. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js.map +0 -1
  1064. package/dist/node_modules/zrender/lib/graphic/helper/poly.js +0 -23
  1065. package/dist/node_modules/zrender/lib/graphic/helper/poly.js.map +0 -1
  1066. package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +0 -10
  1067. package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js.map +0 -1
  1068. package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +0 -80
  1069. package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js.map +0 -1
  1070. package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +0 -30
  1071. package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js.map +0 -1
  1072. package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +0 -29
  1073. package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js.map +0 -1
  1074. package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +0 -30
  1075. package/dist/node_modules/zrender/lib/graphic/shape/Arc.js.map +0 -1
  1076. package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +0 -48
  1077. package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js.map +0 -1
  1078. package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +0 -24
  1079. package/dist/node_modules/zrender/lib/graphic/shape/Circle.js.map +0 -1
  1080. package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +0 -25
  1081. package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js.map +0 -1
  1082. package/dist/node_modules/zrender/lib/graphic/shape/Line.js +0 -43
  1083. package/dist/node_modules/zrender/lib/graphic/shape/Line.js.map +0 -1
  1084. package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +0 -25
  1085. package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js.map +0 -1
  1086. package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +0 -30
  1087. package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js.map +0 -1
  1088. package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +0 -34
  1089. package/dist/node_modules/zrender/lib/graphic/shape/Rect.js.map +0 -1
  1090. package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +0 -25
  1091. package/dist/node_modules/zrender/lib/graphic/shape/Ring.js.map +0 -1
  1092. package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +0 -27
  1093. package/dist/node_modules/zrender/lib/graphic/shape/Sector.js.map +0 -1
  1094. package/dist/node_modules/zrender/lib/mixin/Draggable.js +0 -30
  1095. package/dist/node_modules/zrender/lib/mixin/Draggable.js.map +0 -1
  1096. package/dist/node_modules/zrender/lib/svg/Painter.js +0 -153
  1097. package/dist/node_modules/zrender/lib/svg/Painter.js.map +0 -1
  1098. package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +0 -53
  1099. package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js.map +0 -1
  1100. package/dist/node_modules/zrender/lib/svg/core.js +0 -99
  1101. package/dist/node_modules/zrender/lib/svg/core.js.map +0 -1
  1102. package/dist/node_modules/zrender/lib/svg/cssAnimation.js +0 -183
  1103. package/dist/node_modules/zrender/lib/svg/cssAnimation.js.map +0 -1
  1104. package/dist/node_modules/zrender/lib/svg/cssClassId.js +0 -8
  1105. package/dist/node_modules/zrender/lib/svg/cssClassId.js.map +0 -1
  1106. package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +0 -34
  1107. package/dist/node_modules/zrender/lib/svg/cssEmphasis.js.map +0 -1
  1108. package/dist/node_modules/zrender/lib/svg/domapi.js +0 -31
  1109. package/dist/node_modules/zrender/lib/svg/domapi.js.map +0 -1
  1110. package/dist/node_modules/zrender/lib/svg/graphic.js +0 -232
  1111. package/dist/node_modules/zrender/lib/svg/graphic.js.map +0 -1
  1112. package/dist/node_modules/zrender/lib/svg/helper.js +0 -113
  1113. package/dist/node_modules/zrender/lib/svg/helper.js.map +0 -1
  1114. package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +0 -51
  1115. package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js.map +0 -1
  1116. package/dist/node_modules/zrender/lib/svg/patch.js +0 -86
  1117. package/dist/node_modules/zrender/lib/svg/patch.js.map +0 -1
  1118. package/dist/node_modules/zrender/lib/tool/color.js +0 -343
  1119. package/dist/node_modules/zrender/lib/tool/color.js.map +0 -1
  1120. package/dist/node_modules/zrender/lib/tool/convertPath.js +0 -92
  1121. package/dist/node_modules/zrender/lib/tool/convertPath.js.map +0 -1
  1122. package/dist/node_modules/zrender/lib/tool/dividePath.js +0 -182
  1123. package/dist/node_modules/zrender/lib/tool/dividePath.js.map +0 -1
  1124. package/dist/node_modules/zrender/lib/tool/morphPath.js +0 -320
  1125. package/dist/node_modules/zrender/lib/tool/morphPath.js.map +0 -1
  1126. package/dist/node_modules/zrender/lib/tool/parseSVG.js +0 -404
  1127. package/dist/node_modules/zrender/lib/tool/parseSVG.js.map +0 -1
  1128. package/dist/node_modules/zrender/lib/tool/parseXML.js +0 -15
  1129. package/dist/node_modules/zrender/lib/tool/parseXML.js.map +0 -1
  1130. package/dist/node_modules/zrender/lib/tool/path.js +0 -165
  1131. package/dist/node_modules/zrender/lib/tool/path.js.map +0 -1
  1132. package/dist/node_modules/zrender/lib/tool/transformPath.js +0 -39
  1133. package/dist/node_modules/zrender/lib/tool/transformPath.js.map +0 -1
  1134. package/dist/node_modules/zrender/lib/zrender.js +0 -141
  1135. package/dist/node_modules/zrender/lib/zrender.js.map +0 -1
  1136. package/dist/node_modules/zrender/node_modules/tslib/tslib.es6.js +0 -34
  1137. package/dist/node_modules/zrender/node_modules/tslib/tslib.es6.js.map +0 -1
@@ -1,81 +0,0 @@
1
- import { normalize as C, scale as z, clone as M } from "../../../../zrender/lib/core/vector.js";
2
- import { getNodeGlobalScale as D, getSymbolSize as H } from "./graphHelper.js";
3
- import { retrieve3 as w, extend as E } from "../../../../zrender/lib/core/util.js";
4
- import { getCurvenessForEdge as T } from "../helper/multipleGraphEdgeHelper.js";
5
- var x = Math.PI, p = [];
6
- function _(i, h, f, c) {
7
- var l = i.coordinateSystem;
8
- if (!(l && l.type !== "view")) {
9
- var v = l.getBoundingRect(), u = i.getData(), o = u.graph, e = v.width / 2 + v.x, t = v.height / 2 + v.y, n = Math.min(v.width, v.height) / 2, r = u.count();
10
- if (u.setLayout({
11
- cx: e,
12
- cy: t
13
- }), !!r) {
14
- if (f) {
15
- var a = l.pointToData(c), s = a[0], S = a[1], y = [s - e, S - t];
16
- C(y, y), z(y, y, n), f.setLayout([e + y[0], t + y[1]], !0);
17
- var I = i.get(["circular", "rotateLabel"]);
18
- G(f, I, e, t);
19
- }
20
- B[h](i, o, u, n, e, t, r), o.eachEdge(function(m, N) {
21
- var g = w(m.getModel().get(["lineStyle", "curveness"]), T(m, i, N), 0), b = M(m.node1.getLayout()), d = M(m.node2.getLayout()), L, P = (b[0] + d[0]) / 2, R = (b[1] + d[1]) / 2;
22
- +g && (g *= 3, L = [e * g + P * (1 - g), t * g + R * (1 - g)]), m.setLayout([b, d, L]);
23
- });
24
- }
25
- }
26
- }
27
- var B = {
28
- value: function(i, h, f, c, l, v, u) {
29
- var o = 0, e = f.getSum("value"), t = Math.PI * 2 / (e || u);
30
- h.eachNode(function(n) {
31
- var r = n.getValue("value"), a = t * (e ? r : 1) / 2;
32
- o += a, n.setLayout([c * Math.cos(o) + l, c * Math.sin(o) + v]), o += a;
33
- });
34
- },
35
- symbolSize: function(i, h, f, c, l, v, u) {
36
- var o = 0;
37
- p.length = u;
38
- var e = D(i);
39
- h.eachNode(function(r) {
40
- var a = H(r);
41
- isNaN(a) && (a = 2), a < 0 && (a = 0), a *= e;
42
- var s = Math.asin(a / 2 / c);
43
- isNaN(s) && (s = x / 2), p[r.dataIndex] = s, o += s * 2;
44
- });
45
- var t = (2 * x - o) / u / 2, n = 0;
46
- h.eachNode(function(r) {
47
- var a = t + p[r.dataIndex];
48
- n += a, (!r.getLayout() || !r.getLayout().fixed) && r.setLayout([c * Math.cos(n) + l, c * Math.sin(n) + v]), n += a;
49
- });
50
- }
51
- };
52
- function G(i, h, f, c) {
53
- var l = i.getGraphicEl();
54
- if (l) {
55
- var v = i.getModel(), u = v.get(["label", "rotate"]) || 0, o = l.getSymbolPath();
56
- if (h) {
57
- var e = i.getLayout(), t = Math.atan2(e[1] - c, e[0] - f);
58
- t < 0 && (t = Math.PI * 2 + t);
59
- var n = e[0] < f;
60
- n && (t = t - Math.PI);
61
- var r = n ? "left" : "right";
62
- o.setTextConfig({
63
- rotation: -t,
64
- position: r,
65
- origin: "center"
66
- });
67
- var a = o.ensureState("emphasis");
68
- E(a.textConfig || (a.textConfig = {}), {
69
- position: r
70
- });
71
- } else
72
- o.setTextConfig({
73
- rotation: u *= Math.PI / 180
74
- });
75
- }
76
- }
77
- export {
78
- _ as circularLayout,
79
- G as rotateNodeLabel
80
- };
81
- //# sourceMappingURL=circularLayoutHelper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"circularLayoutHelper.js","sources":["../../../../../../node_modules/echarts/lib/chart/graph/circularLayoutHelper.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 vec2 from 'zrender/lib/core/vector.js';\nimport { getSymbolSize, getNodeGlobalScale } from './graphHelper.js';\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport { getCurvenessForEdge } from '../helper/multipleGraphEdgeHelper.js';\nvar PI = Math.PI;\nvar _symbolRadiansHalf = [];\n/**\r\n * `basedOn` can be:\r\n * 'value':\r\n * This layout is not accurate and have same bad case. For example,\r\n * if the min value is very smaller than the max value, the nodes\r\n * with the min value probably overlap even though there is enough\r\n * space to layout them. So we only use this approach in the as the\r\n * init layout of the force layout.\r\n * FIXME\r\n * Probably we do not need this method any more but use\r\n * `basedOn: 'symbolSize'` in force layout if\r\n * delay its init operations to GraphView.\r\n * 'symbolSize':\r\n * This approach work only if all of the symbol size calculated.\r\n * That is, the progressive rendering is not applied to graph.\r\n * FIXME\r\n * If progressive rendering is applied to graph some day,\r\n * probably we have to use `basedOn: 'value'`.\r\n */\nexport function circularLayout(seriesModel, basedOn, draggingNode, pointer) {\n var coordSys = seriesModel.coordinateSystem;\n if (coordSys && coordSys.type !== 'view') {\n return;\n }\n var rect = coordSys.getBoundingRect();\n var nodeData = seriesModel.getData();\n var graph = nodeData.graph;\n var cx = rect.width / 2 + rect.x;\n var cy = rect.height / 2 + rect.y;\n var r = Math.min(rect.width, rect.height) / 2;\n var count = nodeData.count();\n nodeData.setLayout({\n cx: cx,\n cy: cy\n });\n if (!count) {\n return;\n }\n if (draggingNode) {\n var _a = coordSys.pointToData(pointer),\n tempX = _a[0],\n tempY = _a[1];\n var v = [tempX - cx, tempY - cy];\n vec2.normalize(v, v);\n vec2.scale(v, v, r);\n draggingNode.setLayout([cx + v[0], cy + v[1]], true);\n var circularRotateLabel = seriesModel.get(['circular', 'rotateLabel']);\n rotateNodeLabel(draggingNode, circularRotateLabel, cx, cy);\n }\n _layoutNodesBasedOn[basedOn](seriesModel, graph, nodeData, r, cx, cy, count);\n graph.eachEdge(function (edge, index) {\n var curveness = zrUtil.retrieve3(edge.getModel().get(['lineStyle', 'curveness']), getCurvenessForEdge(edge, seriesModel, index), 0);\n var p1 = vec2.clone(edge.node1.getLayout());\n var p2 = vec2.clone(edge.node2.getLayout());\n var cp1;\n var x12 = (p1[0] + p2[0]) / 2;\n var y12 = (p1[1] + p2[1]) / 2;\n if (+curveness) {\n curveness *= 3;\n cp1 = [cx * curveness + x12 * (1 - curveness), cy * curveness + y12 * (1 - curveness)];\n }\n edge.setLayout([p1, p2, cp1]);\n });\n}\nvar _layoutNodesBasedOn = {\n value: function (seriesModel, graph, nodeData, r, cx, cy, count) {\n var angle = 0;\n var sum = nodeData.getSum('value');\n var unitAngle = Math.PI * 2 / (sum || count);\n graph.eachNode(function (node) {\n var value = node.getValue('value');\n var radianHalf = unitAngle * (sum ? value : 1) / 2;\n angle += radianHalf;\n node.setLayout([r * Math.cos(angle) + cx, r * Math.sin(angle) + cy]);\n angle += radianHalf;\n });\n },\n symbolSize: function (seriesModel, graph, nodeData, r, cx, cy, count) {\n var sumRadian = 0;\n _symbolRadiansHalf.length = count;\n var nodeScale = getNodeGlobalScale(seriesModel);\n graph.eachNode(function (node) {\n var symbolSize = getSymbolSize(node);\n // Normally this case will not happen, but we still add\n // some the defensive code (2px is an arbitrary value).\n isNaN(symbolSize) && (symbolSize = 2);\n symbolSize < 0 && (symbolSize = 0);\n symbolSize *= nodeScale;\n var symbolRadianHalf = Math.asin(symbolSize / 2 / r);\n // when `symbolSize / 2` is bigger than `r`.\n isNaN(symbolRadianHalf) && (symbolRadianHalf = PI / 2);\n _symbolRadiansHalf[node.dataIndex] = symbolRadianHalf;\n sumRadian += symbolRadianHalf * 2;\n });\n var halfRemainRadian = (2 * PI - sumRadian) / count / 2;\n var angle = 0;\n graph.eachNode(function (node) {\n var radianHalf = halfRemainRadian + _symbolRadiansHalf[node.dataIndex];\n angle += radianHalf;\n // init circular layout for\n // 1. layout undefined node\n // 2. not fixed node\n (!node.getLayout() || !node.getLayout().fixed) && node.setLayout([r * Math.cos(angle) + cx, r * Math.sin(angle) + cy]);\n angle += radianHalf;\n });\n }\n};\nexport function rotateNodeLabel(node, circularRotateLabel, cx, cy) {\n var el = node.getGraphicEl();\n // need to check if el exists. '-' value may not create node element.\n if (!el) {\n return;\n }\n var nodeModel = node.getModel();\n var labelRotate = nodeModel.get(['label', 'rotate']) || 0;\n var symbolPath = el.getSymbolPath();\n if (circularRotateLabel) {\n var pos = node.getLayout();\n var rad = Math.atan2(pos[1] - cy, pos[0] - cx);\n if (rad < 0) {\n rad = Math.PI * 2 + rad;\n }\n var isLeft = pos[0] < cx;\n if (isLeft) {\n rad = rad - Math.PI;\n }\n var textPosition = isLeft ? 'left' : 'right';\n symbolPath.setTextConfig({\n rotation: -rad,\n position: textPosition,\n origin: 'center'\n });\n var emphasisState = symbolPath.ensureState('emphasis');\n zrUtil.extend(emphasisState.textConfig || (emphasisState.textConfig = {}), {\n position: textPosition\n });\n } else {\n symbolPath.setTextConfig({\n rotation: labelRotate *= Math.PI / 180\n });\n }\n}"],"names":["PI","_symbolRadiansHalf","circularLayout","seriesModel","basedOn","draggingNode","pointer","coordSys","rect","nodeData","graph","cx","cy","r","count","_a","tempX","tempY","v","vec2.normalize","vec2.scale","circularRotateLabel","rotateNodeLabel","_layoutNodesBasedOn","edge","index","curveness","zrUtil.retrieve3","getCurvenessForEdge","p1","vec2.clone","p2","cp1","x12","y12","angle","sum","unitAngle","node","value","radianHalf","sumRadian","nodeScale","getNodeGlobalScale","symbolSize","getSymbolSize","symbolRadianHalf","halfRemainRadian","el","nodeModel","labelRotate","symbolPath","pos","rad","isLeft","textPosition","emphasisState","zrUtil.extend"],"mappings":";;;;AA+CA,IAAIA,IAAK,KAAK,IACVC,IAAqB,CAAA;AAoBlB,SAASC,EAAeC,GAAaC,GAASC,GAAcC,GAAS;AAC1E,MAAIC,IAAWJ,EAAY;AAC3B,MAAI,EAAAI,KAAYA,EAAS,SAAS,SAGlC;AAAA,QAAIC,IAAOD,EAAS,gBAAe,GAC/BE,IAAWN,EAAY,QAAO,GAC9BO,IAAQD,EAAS,OACjBE,IAAKH,EAAK,QAAQ,IAAIA,EAAK,GAC3BI,IAAKJ,EAAK,SAAS,IAAIA,EAAK,GAC5BK,IAAI,KAAK,IAAIL,EAAK,OAAOA,EAAK,MAAM,IAAI,GACxCM,IAAQL,EAAS,MAAK;AAK1B,QAJAA,EAAS,UAAU;AAAA,MACjB,IAAIE;AAAA,MACJ,IAAIC;AAAA,IACR,CAAG,GACG,EAACE,GAGL;AAAA,UAAIT,GAAc;AAChB,YAAIU,IAAKR,EAAS,YAAYD,CAAO,GACnCU,IAAQD,EAAG,CAAC,GACZE,IAAQF,EAAG,CAAC,GACVG,IAAI,CAACF,IAAQL,GAAIM,IAAQL,CAAE;AAC/BO,QAAAA,EAAeD,GAAGA,CAAC,GACnBE,EAAWF,GAAGA,GAAGL,CAAC,GAClBR,EAAa,UAAU,CAACM,IAAKO,EAAE,CAAC,GAAGN,IAAKM,EAAE,CAAC,CAAC,GAAG,EAAI;AACnD,YAAIG,IAAsBlB,EAAY,IAAI,CAAC,YAAY,aAAa,CAAC;AACrE,QAAAmB,EAAgBjB,GAAcgB,GAAqBV,GAAIC,CAAE;AAAA,MAC3D;AACA,MAAAW,EAAoBnB,CAAO,EAAED,GAAaO,GAAOD,GAAUI,GAAGF,GAAIC,GAAIE,CAAK,GAC3EJ,EAAM,SAAS,SAAUc,GAAMC,GAAO;AACpC,YAAIC,IAAYC,EAAiBH,EAAK,SAAQ,EAAG,IAAI,CAAC,aAAa,WAAW,CAAC,GAAGI,EAAoBJ,GAAMrB,GAAasB,CAAK,GAAG,CAAC,GAC9HI,IAAKC,EAAWN,EAAK,MAAM,UAAS,CAAE,GACtCO,IAAKD,EAAWN,EAAK,MAAM,UAAS,CAAE,GACtCQ,GACAC,KAAOJ,EAAG,CAAC,IAAIE,EAAG,CAAC,KAAK,GACxBG,KAAOL,EAAG,CAAC,IAAIE,EAAG,CAAC,KAAK;AAC5B,QAAI,CAACL,MACHA,KAAa,GACbM,IAAM,CAACrB,IAAKe,IAAYO,KAAO,IAAIP,IAAYd,IAAKc,IAAYQ,KAAO,IAAIR,EAAU,IAEvFF,EAAK,UAAU,CAACK,GAAIE,GAAIC,CAAG,CAAC;AAAA,MAC9B,CAAC;AAAA;AAAA;AACH;AACA,IAAIT,IAAsB;AAAA,EACxB,OAAO,SAAUpB,GAAaO,GAAOD,GAAUI,GAAGF,GAAIC,GAAIE,GAAO;AAC/D,QAAIqB,IAAQ,GACRC,IAAM3B,EAAS,OAAO,OAAO,GAC7B4B,IAAY,KAAK,KAAK,KAAKD,KAAOtB;AACtC,IAAAJ,EAAM,SAAS,SAAU4B,GAAM;AAC7B,UAAIC,IAAQD,EAAK,SAAS,OAAO,GAC7BE,IAAaH,KAAaD,IAAMG,IAAQ,KAAK;AACjD,MAAAJ,KAASK,GACTF,EAAK,UAAU,CAACzB,IAAI,KAAK,IAAIsB,CAAK,IAAIxB,GAAIE,IAAI,KAAK,IAAIsB,CAAK,IAAIvB,CAAE,CAAC,GACnEuB,KAASK;AAAA,IACX,CAAC;AAAA,EACH;AAAA,EACA,YAAY,SAAUrC,GAAaO,GAAOD,GAAUI,GAAGF,GAAIC,GAAIE,GAAO;AACpE,QAAI2B,IAAY;AAChB,IAAAxC,EAAmB,SAASa;AAC5B,QAAI4B,IAAYC,EAAmBxC,CAAW;AAC9C,IAAAO,EAAM,SAAS,SAAU4B,GAAM;AAC7B,UAAIM,IAAaC,EAAcP,CAAI;AAGnC,YAAMM,CAAU,MAAMA,IAAa,IACnCA,IAAa,MAAMA,IAAa,IAChCA,KAAcF;AACd,UAAII,IAAmB,KAAK,KAAKF,IAAa,IAAI/B,CAAC;AAEnD,YAAMiC,CAAgB,MAAMA,IAAmB9C,IAAK,IACpDC,EAAmBqC,EAAK,SAAS,IAAIQ,GACrCL,KAAaK,IAAmB;AAAA,IAClC,CAAC;AACD,QAAIC,KAAoB,IAAI/C,IAAKyC,KAAa3B,IAAQ,GAClDqB,IAAQ;AACZ,IAAAzB,EAAM,SAAS,SAAU4B,GAAM;AAC7B,UAAIE,IAAaO,IAAmB9C,EAAmBqC,EAAK,SAAS;AACrE,MAAAH,KAASK,IAIR,CAACF,EAAK,UAAS,KAAM,CAACA,EAAK,UAAS,EAAG,UAAUA,EAAK,UAAU,CAACzB,IAAI,KAAK,IAAIsB,CAAK,IAAIxB,GAAIE,IAAI,KAAK,IAAIsB,CAAK,IAAIvB,CAAE,CAAC,GACrHuB,KAASK;AAAA,IACX,CAAC;AAAA,EACH;AACF;AACO,SAASlB,EAAgBgB,GAAMjB,GAAqBV,GAAIC,GAAI;AACjE,MAAIoC,IAAKV,EAAK,aAAY;AAE1B,MAAKU,GAGL;AAAA,QAAIC,IAAYX,EAAK,SAAQ,GACzBY,IAAcD,EAAU,IAAI,CAAC,SAAS,QAAQ,CAAC,KAAK,GACpDE,IAAaH,EAAG,cAAa;AACjC,QAAI3B,GAAqB;AACvB,UAAI+B,IAAMd,EAAK,UAAS,GACpBe,IAAM,KAAK,MAAMD,EAAI,CAAC,IAAIxC,GAAIwC,EAAI,CAAC,IAAIzC,CAAE;AAC7C,MAAI0C,IAAM,MACRA,IAAM,KAAK,KAAK,IAAIA;AAEtB,UAAIC,IAASF,EAAI,CAAC,IAAIzC;AACtB,MAAI2C,MACFD,IAAMA,IAAM,KAAK;AAEnB,UAAIE,IAAeD,IAAS,SAAS;AACrC,MAAAH,EAAW,cAAc;AAAA,QACvB,UAAU,CAACE;AAAA,QACX,UAAUE;AAAA,QACV,QAAQ;AAAA,MACd,CAAK;AACD,UAAIC,IAAgBL,EAAW,YAAY,UAAU;AACrDM,MAAAA,EAAcD,EAAc,eAAeA,EAAc,aAAa,CAAA,IAAK;AAAA,QACzE,UAAUD;AAAA,MAChB,CAAK;AAAA,IACH;AACE,MAAAJ,EAAW,cAAc;AAAA,QACvB,UAAUD,KAAe,KAAK,KAAK;AAAA,MACzC,CAAK;AAAA;AAEL;","x_google_ignoreList":[0]}
@@ -1,34 +0,0 @@
1
- import z from "../../coord/View.js";
2
- import { getLayoutRect as N } from "../../util/layout.js";
3
- import { fromPoints as P } from "../../../../zrender/lib/core/bbox.js";
4
- import { extend as T } from "../../../../zrender/lib/core/util.js";
5
- function d(h, e, f) {
6
- var a = T(h.getBoxLayoutParams(), {
7
- aspect: f
8
- });
9
- return N(a, {
10
- width: e.getWidth(),
11
- height: e.getHeight()
12
- });
13
- }
14
- function W(h, e) {
15
- var f = [];
16
- return h.eachSeriesByType("graph", function(a) {
17
- var u = a.get("coordinateSystem");
18
- if (!u || u === "view") {
19
- var n = a.getData(), c = n.mapArray(function(B) {
20
- var y = n.getItemModel(B);
21
- return [+y.get("x"), +y.get("y")];
22
- }), t = [], r = [];
23
- P(c, t, r), r[0] - t[0] === 0 && (r[0] += 1, t[0] -= 1), r[1] - t[1] === 0 && (r[1] += 1, t[1] -= 1);
24
- var p = (r[0] - t[0]) / (r[1] - t[1]), o = d(a, e, p);
25
- isNaN(p) && (t = [o.x, o.y], r = [o.x + o.width, o.y + o.height]);
26
- var i = r[0] - t[0], L = r[1] - t[1], V = o.width, v = o.height, g = a.coordinateSystem = new z();
27
- g.zoomLimit = a.get("scaleLimit"), g.setBoundingRect(t[0], t[1], i, L), g.setViewRect(o.x, o.y, V, v), g.setCenter(a.get("center"), e), g.setZoom(a.get("zoom")), f.push(g);
28
- }
29
- }), f;
30
- }
31
- export {
32
- W as default
33
- };
34
- //# sourceMappingURL=createView.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createView.js","sources":["../../../../../../node_modules/echarts/lib/chart/graph/createView.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 Where to create the simple view coordinate system\nimport View from '../../coord/View.js';\nimport { getLayoutRect } from '../../util/layout.js';\nimport * as bbox from 'zrender/lib/core/bbox.js';\nimport { extend } from 'zrender/lib/core/util.js';\nfunction getViewRect(seriesModel, api, aspect) {\n var option = extend(seriesModel.getBoxLayoutParams(), {\n aspect: aspect\n });\n return getLayoutRect(option, {\n width: api.getWidth(),\n height: api.getHeight()\n });\n}\nexport default function createViewCoordSys(ecModel, api) {\n var viewList = [];\n ecModel.eachSeriesByType('graph', function (seriesModel) {\n var coordSysType = seriesModel.get('coordinateSystem');\n if (!coordSysType || coordSysType === 'view') {\n var data_1 = seriesModel.getData();\n var positions = data_1.mapArray(function (idx) {\n var itemModel = data_1.getItemModel(idx);\n return [+itemModel.get('x'), +itemModel.get('y')];\n });\n var min = [];\n var max = [];\n bbox.fromPoints(positions, min, max);\n // If width or height is 0\n if (max[0] - min[0] === 0) {\n max[0] += 1;\n min[0] -= 1;\n }\n if (max[1] - min[1] === 0) {\n max[1] += 1;\n min[1] -= 1;\n }\n var aspect = (max[0] - min[0]) / (max[1] - min[1]);\n // FIXME If get view rect after data processed?\n var viewRect = getViewRect(seriesModel, api, aspect);\n // Position may be NaN, use view rect instead\n if (isNaN(aspect)) {\n min = [viewRect.x, viewRect.y];\n max = [viewRect.x + viewRect.width, viewRect.y + viewRect.height];\n }\n var bbWidth = max[0] - min[0];\n var bbHeight = max[1] - min[1];\n var viewWidth = viewRect.width;\n var viewHeight = viewRect.height;\n var viewCoordSys = seriesModel.coordinateSystem = new View();\n viewCoordSys.zoomLimit = seriesModel.get('scaleLimit');\n viewCoordSys.setBoundingRect(min[0], min[1], bbWidth, bbHeight);\n viewCoordSys.setViewRect(viewRect.x, viewRect.y, viewWidth, viewHeight);\n // Update roam info\n viewCoordSys.setCenter(seriesModel.get('center'), api);\n viewCoordSys.setZoom(seriesModel.get('zoom'));\n viewList.push(viewCoordSys);\n }\n });\n return viewList;\n}"],"names":["getViewRect","seriesModel","api","aspect","option","extend","getLayoutRect","createViewCoordSys","ecModel","viewList","coordSysType","data_1","positions","idx","itemModel","min","max","bbox.fromPoints","viewRect","bbWidth","bbHeight","viewWidth","viewHeight","viewCoordSys","View"],"mappings":";;;;AAgDA,SAASA,EAAYC,GAAaC,GAAKC,GAAQ;AAC7C,MAAIC,IAASC,EAAOJ,EAAY,mBAAkB,GAAI;AAAA,IACpD,QAAQE;AAAA,EACZ,CAAG;AACD,SAAOG,EAAcF,GAAQ;AAAA,IAC3B,OAAOF,EAAI,SAAQ;AAAA,IACnB,QAAQA,EAAI,UAAS;AAAA,EACzB,CAAG;AACH;AACe,SAASK,EAAmBC,GAASN,GAAK;AACvD,MAAIO,IAAW,CAAA;AACf,SAAAD,EAAQ,iBAAiB,SAAS,SAAUP,GAAa;AACvD,QAAIS,IAAeT,EAAY,IAAI,kBAAkB;AACrD,QAAI,CAACS,KAAgBA,MAAiB,QAAQ;AAC5C,UAAIC,IAASV,EAAY,QAAO,GAC5BW,IAAYD,EAAO,SAAS,SAAUE,GAAK;AAC7C,YAAIC,IAAYH,EAAO,aAAaE,CAAG;AACvC,eAAO,CAAC,CAACC,EAAU,IAAI,GAAG,GAAG,CAACA,EAAU,IAAI,GAAG,CAAC;AAAA,MAClD,CAAC,GACGC,IAAM,CAAA,GACNC,IAAM,CAAA;AACVC,MAAAA,EAAgBL,GAAWG,GAAKC,CAAG,GAE/BA,EAAI,CAAC,IAAID,EAAI,CAAC,MAAM,MACtBC,EAAI,CAAC,KAAK,GACVD,EAAI,CAAC,KAAK,IAERC,EAAI,CAAC,IAAID,EAAI,CAAC,MAAM,MACtBC,EAAI,CAAC,KAAK,GACVD,EAAI,CAAC,KAAK;AAEZ,UAAIZ,KAAUa,EAAI,CAAC,IAAID,EAAI,CAAC,MAAMC,EAAI,CAAC,IAAID,EAAI,CAAC,IAE5CG,IAAWlB,EAAYC,GAAaC,GAAKC,CAAM;AAEnD,MAAI,MAAMA,CAAM,MACdY,IAAM,CAACG,EAAS,GAAGA,EAAS,CAAC,GAC7BF,IAAM,CAACE,EAAS,IAAIA,EAAS,OAAOA,EAAS,IAAIA,EAAS,MAAM;AAElE,UAAIC,IAAUH,EAAI,CAAC,IAAID,EAAI,CAAC,GACxBK,IAAWJ,EAAI,CAAC,IAAID,EAAI,CAAC,GACzBM,IAAYH,EAAS,OACrBI,IAAaJ,EAAS,QACtBK,IAAetB,EAAY,mBAAmB,IAAIuB,EAAI;AAC1D,MAAAD,EAAa,YAAYtB,EAAY,IAAI,YAAY,GACrDsB,EAAa,gBAAgBR,EAAI,CAAC,GAAGA,EAAI,CAAC,GAAGI,GAASC,CAAQ,GAC9DG,EAAa,YAAYL,EAAS,GAAGA,EAAS,GAAGG,GAAWC,CAAU,GAEtEC,EAAa,UAAUtB,EAAY,IAAI,QAAQ,GAAGC,CAAG,GACrDqB,EAAa,QAAQtB,EAAY,IAAI,MAAM,CAAC,GAC5CQ,EAAS,KAAKc,CAAY;AAAA,IAC5B;AAAA,EACF,CAAC,GACMd;AACT;","x_google_ignoreList":[0]}
@@ -1,29 +0,0 @@
1
- import { extend as f } from "../../../../zrender/lib/core/util.js";
2
- function S(t) {
3
- return t instanceof Array || (t = [t, t]), t;
4
- }
5
- function v(t) {
6
- t.eachSeriesByType("graph", function(a) {
7
- var n = a.getGraph(), e = a.getEdgeData(), s = S(a.get("edgeSymbol")), r = S(a.get("edgeSymbolSize"));
8
- e.setVisual("fromSymbol", s && s[0]), e.setVisual("toSymbol", s && s[1]), e.setVisual("fromSymbolSize", r && r[0]), e.setVisual("toSymbolSize", r && r[1]), e.setVisual("style", a.getModel("lineStyle").getLineStyle()), e.each(function(g) {
9
- var u = e.getItemModel(g), l = n.getEdgeByIndex(g), i = S(u.getShallow("symbol", !0)), y = S(u.getShallow("symbolSize", !0)), b = u.getModel("lineStyle").getLineStyle(), m = e.ensureUniqueItemVisual(g, "style");
10
- switch (f(m, b), m.stroke) {
11
- case "source": {
12
- var o = l.node1.getVisual("style");
13
- m.stroke = o && o.fill;
14
- break;
15
- }
16
- case "target": {
17
- var o = l.node2.getVisual("style");
18
- m.stroke = o && o.fill;
19
- break;
20
- }
21
- }
22
- i[0] && l.setVisual("fromSymbol", i[0]), i[1] && l.setVisual("toSymbol", i[1]), y[0] && l.setVisual("fromSymbolSize", y[0]), y[1] && l.setVisual("toSymbolSize", y[1]);
23
- });
24
- });
25
- }
26
- export {
27
- v as default
28
- };
29
- //# sourceMappingURL=edgeVisual.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"edgeVisual.js","sources":["../../../../../../node_modules/echarts/lib/chart/graph/edgeVisual.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 { extend } from 'zrender/lib/core/util.js';\nfunction normalize(a) {\n if (!(a instanceof Array)) {\n a = [a, a];\n }\n return a;\n}\nexport default function graphEdgeVisual(ecModel) {\n ecModel.eachSeriesByType('graph', function (seriesModel) {\n var graph = seriesModel.getGraph();\n var edgeData = seriesModel.getEdgeData();\n var symbolType = normalize(seriesModel.get('edgeSymbol'));\n var symbolSize = normalize(seriesModel.get('edgeSymbolSize'));\n // const colorQuery = ['lineStyle', 'color'] as const;\n // const opacityQuery = ['lineStyle', 'opacity'] as const;\n edgeData.setVisual('fromSymbol', symbolType && symbolType[0]);\n edgeData.setVisual('toSymbol', symbolType && symbolType[1]);\n edgeData.setVisual('fromSymbolSize', symbolSize && symbolSize[0]);\n edgeData.setVisual('toSymbolSize', symbolSize && symbolSize[1]);\n edgeData.setVisual('style', seriesModel.getModel('lineStyle').getLineStyle());\n edgeData.each(function (idx) {\n var itemModel = edgeData.getItemModel(idx);\n var edge = graph.getEdgeByIndex(idx);\n var symbolType = normalize(itemModel.getShallow('symbol', true));\n var symbolSize = normalize(itemModel.getShallow('symbolSize', true));\n // Edge visual must after node visual\n var style = itemModel.getModel('lineStyle').getLineStyle();\n var existsStyle = edgeData.ensureUniqueItemVisual(idx, 'style');\n extend(existsStyle, style);\n switch (existsStyle.stroke) {\n case 'source':\n {\n var nodeStyle = edge.node1.getVisual('style');\n existsStyle.stroke = nodeStyle && nodeStyle.fill;\n break;\n }\n case 'target':\n {\n var nodeStyle = edge.node2.getVisual('style');\n existsStyle.stroke = nodeStyle && nodeStyle.fill;\n break;\n }\n }\n symbolType[0] && edge.setVisual('fromSymbol', symbolType[0]);\n symbolType[1] && edge.setVisual('toSymbol', symbolType[1]);\n symbolSize[0] && edge.setVisual('fromSymbolSize', symbolSize[0]);\n symbolSize[1] && edge.setVisual('toSymbolSize', symbolSize[1]);\n });\n });\n}"],"names":["normalize","a","graphEdgeVisual","ecModel","seriesModel","graph","edgeData","symbolType","symbolSize","idx","itemModel","edge","style","existsStyle","extend","nodeStyle"],"mappings":";AA4CA,SAASA,EAAUC,GAAG;AACpB,SAAMA,aAAa,UACjBA,IAAI,CAACA,GAAGA,CAAC,IAEJA;AACT;AACe,SAASC,EAAgBC,GAAS;AAC/C,EAAAA,EAAQ,iBAAiB,SAAS,SAAUC,GAAa;AACvD,QAAIC,IAAQD,EAAY,SAAQ,GAC5BE,IAAWF,EAAY,YAAW,GAClCG,IAAaP,EAAUI,EAAY,IAAI,YAAY,CAAC,GACpDI,IAAaR,EAAUI,EAAY,IAAI,gBAAgB,CAAC;AAG5D,IAAAE,EAAS,UAAU,cAAcC,KAAcA,EAAW,CAAC,CAAC,GAC5DD,EAAS,UAAU,YAAYC,KAAcA,EAAW,CAAC,CAAC,GAC1DD,EAAS,UAAU,kBAAkBE,KAAcA,EAAW,CAAC,CAAC,GAChEF,EAAS,UAAU,gBAAgBE,KAAcA,EAAW,CAAC,CAAC,GAC9DF,EAAS,UAAU,SAASF,EAAY,SAAS,WAAW,EAAE,cAAc,GAC5EE,EAAS,KAAK,SAAUG,GAAK;AAC3B,UAAIC,IAAYJ,EAAS,aAAaG,CAAG,GACrCE,IAAON,EAAM,eAAeI,CAAG,GAC/BF,IAAaP,EAAUU,EAAU,WAAW,UAAU,EAAI,CAAC,GAC3DF,IAAaR,EAAUU,EAAU,WAAW,cAAc,EAAI,CAAC,GAE/DE,IAAQF,EAAU,SAAS,WAAW,EAAE,aAAY,GACpDG,IAAcP,EAAS,uBAAuBG,GAAK,OAAO;AAE9D,cADAK,EAAOD,GAAaD,CAAK,GACjBC,EAAY,QAAM;AAAA,QACxB,KAAK,UACH;AACE,cAAIE,IAAYJ,EAAK,MAAM,UAAU,OAAO;AAC5C,UAAAE,EAAY,SAASE,KAAaA,EAAU;AAC5C;AAAA,QACF;AAAA,QACF,KAAK,UACH;AACE,cAAIA,IAAYJ,EAAK,MAAM,UAAU,OAAO;AAC5C,UAAAE,EAAY,SAASE,KAAaA,EAAU;AAC5C;AAAA,QACF;AAAA,MACV;AACM,MAAAR,EAAW,CAAC,KAAKI,EAAK,UAAU,cAAcJ,EAAW,CAAC,CAAC,GAC3DA,EAAW,CAAC,KAAKI,EAAK,UAAU,YAAYJ,EAAW,CAAC,CAAC,GACzDC,EAAW,CAAC,KAAKG,EAAK,UAAU,kBAAkBH,EAAW,CAAC,CAAC,GAC/DA,EAAW,CAAC,KAAKG,EAAK,UAAU,gBAAgBH,EAAW,CAAC,CAAC;AAAA,IAC/D,CAAC;AAAA,EACH,CAAC;AACH;","x_google_ignoreList":[0]}
@@ -1,74 +0,0 @@
1
- import { create as q, clone as B, sub as s, len as N, normalize as D, set as E, copy as G, scaleAndAdd as H } from "../../../../zrender/lib/core/vector.js";
2
- var o = H;
3
- function J(U, z, d) {
4
- for (var t = U, l = z, u = d.rect, S = u.width, w = u.height, m = [u.x + S / 2, u.y + w / 2], $ = d.gravity == null ? 0.1 : d.gravity, y = 0; y < t.length; y++) {
5
- var c = t[y];
6
- c.p || (c.p = q(S * (Math.random() - 0.5) + m[0], w * (Math.random() - 0.5) + m[1])), c.pp = B(c.p), c.edges = null;
7
- }
8
- var L = d.friction == null ? 0.6 : d.friction, p = L, A, b;
9
- return {
10
- warmUp: function() {
11
- p = L * 0.8;
12
- },
13
- setFixed: function(v) {
14
- t[v].fixed = !0;
15
- },
16
- setUnfixed: function(v) {
17
- t[v].fixed = !1;
18
- },
19
- /**
20
- * Before step hook
21
- */
22
- beforeStep: function(v) {
23
- A = v;
24
- },
25
- /**
26
- * After step hook
27
- */
28
- afterStep: function(v) {
29
- b = v;
30
- },
31
- /**
32
- * Some formulas were originally copied from "d3.js"
33
- * https://github.com/d3/d3/blob/b516d77fb8566b576088e73410437494717ada26/src/layout/force.js
34
- * with some modifications made for this project.
35
- * See the license statement at the head of this file.
36
- */
37
- step: function(v) {
38
- A && A(t, l);
39
- for (var a = [], h = t.length, r = 0; r < l.length; r++) {
40
- var x = l[r];
41
- if (!x.ignoreForceLayout) {
42
- var f = x.n1, e = x.n2;
43
- s(a, e.p, f.p);
44
- var n = N(a) - x.d, g = e.w / (f.w + e.w);
45
- isNaN(g) && (g = 0), D(a, a), !f.fixed && o(f.p, f.p, a, g * n * p), !e.fixed && o(e.p, e.p, a, -(1 - g) * n * p);
46
- }
47
- }
48
- for (var r = 0; r < h; r++) {
49
- var i = t[r];
50
- i.fixed || (s(a, m, i.p), o(i.p, i.p, a, $ * p));
51
- }
52
- for (var r = 0; r < h; r++)
53
- for (var f = t[r], M = r + 1; M < h; M++) {
54
- var e = t[M];
55
- s(a, e.p, f.p);
56
- var n = N(a);
57
- n === 0 && (E(a, Math.random() - 0.5, Math.random() - 0.5), n = 1);
58
- var k = (f.rep + e.rep) / n / n;
59
- !f.fixed && o(f.pp, f.pp, a, k), !e.fixed && o(e.pp, e.pp, a, -k);
60
- }
61
- for (var C = [], r = 0; r < h; r++) {
62
- var i = t[r];
63
- i.fixed || (s(C, i.p, i.pp), o(i.p, i.p, C, p), G(i.pp, i.p));
64
- }
65
- p = p * 0.992;
66
- var F = p < 0.01;
67
- b && b(t, l, F), v && v(F);
68
- }
69
- };
70
- }
71
- export {
72
- J as forceLayout
73
- };
74
- //# sourceMappingURL=forceHelper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"forceHelper.js","sources":["../../../../../../node_modules/echarts/lib/chart/graph/forceHelper.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/*\r\n* A third-party license is embedded for some of the code in this file:\r\n* Some formulas were originally copied from \"d3.js\" with some\r\n* modifications made for this project.\r\n* (See more details in the comment of the method \"step\" below.)\r\n* The use of the source code of this file is also subject to the terms\r\n* and consitions of the license of \"d3.js\" (BSD-3Clause, see\r\n* </licenses/LICENSE-d3>).\r\n*/\nimport * as vec2 from 'zrender/lib/core/vector.js';\nvar scaleAndAdd = vec2.scaleAndAdd;\n// function adjacentNode(n, e) {\n// return e.n1 === n ? e.n2 : e.n1;\n// }\nexport function forceLayout(inNodes, inEdges, opts) {\n var nodes = inNodes;\n var edges = inEdges;\n var rect = opts.rect;\n var width = rect.width;\n var height = rect.height;\n var center = [rect.x + width / 2, rect.y + height / 2];\n // let scale = opts.scale || 1;\n var gravity = opts.gravity == null ? 0.1 : opts.gravity;\n // for (let i = 0; i < edges.length; i++) {\n // let e = edges[i];\n // let n1 = e.n1;\n // let n2 = e.n2;\n // n1.edges = n1.edges || [];\n // n2.edges = n2.edges || [];\n // n1.edges.push(e);\n // n2.edges.push(e);\n // }\n // Init position\n for (var i = 0; i < nodes.length; i++) {\n var n = nodes[i];\n if (!n.p) {\n n.p = vec2.create(width * (Math.random() - 0.5) + center[0], height * (Math.random() - 0.5) + center[1]);\n }\n n.pp = vec2.clone(n.p);\n n.edges = null;\n }\n // Formula in 'Graph Drawing by Force-directed Placement'\n // let k = scale * Math.sqrt(width * height / nodes.length);\n // let k2 = k * k;\n var initialFriction = opts.friction == null ? 0.6 : opts.friction;\n var friction = initialFriction;\n var beforeStepCallback;\n var afterStepCallback;\n return {\n warmUp: function () {\n friction = initialFriction * 0.8;\n },\n setFixed: function (idx) {\n nodes[idx].fixed = true;\n },\n setUnfixed: function (idx) {\n nodes[idx].fixed = false;\n },\n /**\r\n * Before step hook\r\n */\n beforeStep: function (cb) {\n beforeStepCallback = cb;\n },\n /**\r\n * After step hook\r\n */\n afterStep: function (cb) {\n afterStepCallback = cb;\n },\n /**\r\n * Some formulas were originally copied from \"d3.js\"\r\n * https://github.com/d3/d3/blob/b516d77fb8566b576088e73410437494717ada26/src/layout/force.js\r\n * with some modifications made for this project.\r\n * See the license statement at the head of this file.\r\n */\n step: function (cb) {\n beforeStepCallback && beforeStepCallback(nodes, edges);\n var v12 = [];\n var nLen = nodes.length;\n for (var i = 0; i < edges.length; i++) {\n var e = edges[i];\n if (e.ignoreForceLayout) {\n continue;\n }\n var n1 = e.n1;\n var n2 = e.n2;\n vec2.sub(v12, n2.p, n1.p);\n var d = vec2.len(v12) - e.d;\n var w = n2.w / (n1.w + n2.w);\n if (isNaN(w)) {\n w = 0;\n }\n vec2.normalize(v12, v12);\n !n1.fixed && scaleAndAdd(n1.p, n1.p, v12, w * d * friction);\n !n2.fixed && scaleAndAdd(n2.p, n2.p, v12, -(1 - w) * d * friction);\n }\n // Gravity\n for (var i = 0; i < nLen; i++) {\n var n = nodes[i];\n if (!n.fixed) {\n vec2.sub(v12, center, n.p);\n // let d = vec2.len(v12);\n // vec2.scale(v12, v12, 1 / d);\n // let gravityFactor = gravity;\n scaleAndAdd(n.p, n.p, v12, gravity * friction);\n }\n }\n // Repulsive\n // PENDING\n for (var i = 0; i < nLen; i++) {\n var n1 = nodes[i];\n for (var j = i + 1; j < nLen; j++) {\n var n2 = nodes[j];\n vec2.sub(v12, n2.p, n1.p);\n var d = vec2.len(v12);\n if (d === 0) {\n // Random repulse\n vec2.set(v12, Math.random() - 0.5, Math.random() - 0.5);\n d = 1;\n }\n var repFact = (n1.rep + n2.rep) / d / d;\n !n1.fixed && scaleAndAdd(n1.pp, n1.pp, v12, repFact);\n !n2.fixed && scaleAndAdd(n2.pp, n2.pp, v12, -repFact);\n }\n }\n var v = [];\n for (var i = 0; i < nLen; i++) {\n var n = nodes[i];\n if (!n.fixed) {\n vec2.sub(v, n.p, n.pp);\n scaleAndAdd(n.p, n.p, v, friction);\n vec2.copy(n.pp, n.p);\n }\n }\n friction = friction * 0.992;\n var finished = friction < 0.01;\n afterStepCallback && afterStepCallback(nodes, edges, finished);\n cb && cb(finished);\n }\n };\n}"],"names":["scaleAndAdd","vec2.scaleAndAdd","forceLayout","inNodes","inEdges","opts","nodes","edges","rect","width","height","center","gravity","i","n","vec2.create","vec2.clone","initialFriction","friction","beforeStepCallback","afterStepCallback","idx","cb","v12","nLen","e","n1","n2","vec2.sub","d","vec2.len","w","vec2.normalize","j","vec2.set","repFact","v","vec2.copy","finished"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,62 +0,0 @@
1
- import { forceLayout as k } from "./forceHelper.js";
2
- import { simpleLayout as q } from "./simpleLayoutHelper.js";
3
- import { circularLayout as s } from "./circularLayoutHelper.js";
4
- import { linearMap as b } from "../../util/number.js";
5
- import { copy as F } from "../../../../zrender/lib/core/vector.js";
6
- import { isArray as C, retrieve3 as z } from "../../../../zrender/lib/core/util.js";
7
- import { getCurvenessForEdge as H } from "../helper/multipleGraphEdgeHelper.js";
8
- function X(G) {
9
- G.eachSeriesByType("graph", function(r) {
10
- var d = r.coordinateSystem;
11
- if (!(d && d.type !== "view"))
12
- if (r.get("layout") === "force") {
13
- var I = r.preservedPoints || {}, y = r.getGraph(), f = y.data, w = y.edgeData, l = r.getModel("force"), B = l.get("initLayout");
14
- r.preservedPoints ? f.each(function(a) {
15
- var v = f.getId(a);
16
- f.setItemLayout(a, I[v] || [NaN, NaN]);
17
- }) : !B || B === "none" ? q(r) : B === "circular" && s(r, "value");
18
- var P = f.getDataExtent("value"), R = w.getDataExtent("value"), N = l.get("repulsion"), g = l.get("edgeLength"), L = C(N) ? N : [N, N], c = C(g) ? g : [g, g];
19
- c = [c[1], c[0]];
20
- var E = f.mapArray("value", function(a, v) {
21
- var e = f.getItemLayout(v), t = b(a, P, L);
22
- return isNaN(t) && (t = (L[0] + L[1]) / 2), {
23
- w: t,
24
- rep: t,
25
- fixed: f.getItemModel(v).get("fixed"),
26
- p: !e || isNaN(e[0]) || isNaN(e[1]) ? null : e
27
- };
28
- }), T = w.mapArray("value", function(a, v) {
29
- var e = y.getEdgeByIndex(v), t = b(a, R, c);
30
- isNaN(t) && (t = (c[0] + c[1]) / 2);
31
- var m = e.getModel(), o = z(e.getModel().get(["lineStyle", "curveness"]), -H(e, r, v, !0), 0);
32
- return {
33
- n1: E[e.node1.dataIndex],
34
- n2: E[e.node2.dataIndex],
35
- d: t,
36
- curveness: o,
37
- ignoreForceLayout: m.get("ignoreForceLayout")
38
- };
39
- }), j = d.getBoundingRect(), x = k(E, T, {
40
- rect: j,
41
- gravity: l.get("gravity"),
42
- friction: l.get("friction")
43
- });
44
- x.beforeStep(function(a, v) {
45
- for (var e = 0, t = a.length; e < t; e++)
46
- a[e].fixed && F(a[e].p, y.getNodeByIndex(e).getLayout());
47
- }), x.afterStep(function(a, v, e) {
48
- for (var t = 0, m = a.length; t < m; t++)
49
- a[t].fixed || y.getNodeByIndex(t).setLayout(a[t].p), I[f.getId(t)] = a[t].p;
50
- for (var t = 0, m = v.length; t < m; t++) {
51
- var o = v[t], M = y.getEdgeByIndex(t), i = o.n1.p, n = o.n2.p, u = M.getLayout();
52
- u = u ? u.slice() : [], u[0] = u[0] || [], u[1] = u[1] || [], F(u[0], i), F(u[1], n), +o.curveness && (u[2] = [(i[0] + n[0]) / 2 - (i[1] - n[1]) * o.curveness, (i[1] + n[1]) / 2 - (n[0] - i[0]) * o.curveness]), M.setLayout(u);
53
- }
54
- }), r.forceLayout = x, r.preservedPoints = I, x.step();
55
- } else
56
- r.forceLayout = null;
57
- });
58
- }
59
- export {
60
- X as default
61
- };
62
- //# sourceMappingURL=forceLayout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"forceLayout.js","sources":["../../../../../../node_modules/echarts/lib/chart/graph/forceLayout.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 { forceLayout } from './forceHelper.js';\nimport { simpleLayout } from './simpleLayoutHelper.js';\nimport { circularLayout } from './circularLayoutHelper.js';\nimport { linearMap } from '../../util/number.js';\nimport * as vec2 from 'zrender/lib/core/vector.js';\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport { getCurvenessForEdge } from '../helper/multipleGraphEdgeHelper.js';\nexport default function graphForceLayout(ecModel) {\n ecModel.eachSeriesByType('graph', function (graphSeries) {\n var coordSys = graphSeries.coordinateSystem;\n if (coordSys && coordSys.type !== 'view') {\n return;\n }\n if (graphSeries.get('layout') === 'force') {\n var preservedPoints_1 = graphSeries.preservedPoints || {};\n var graph_1 = graphSeries.getGraph();\n var nodeData_1 = graph_1.data;\n var edgeData = graph_1.edgeData;\n var forceModel = graphSeries.getModel('force');\n var initLayout = forceModel.get('initLayout');\n if (graphSeries.preservedPoints) {\n nodeData_1.each(function (idx) {\n var id = nodeData_1.getId(idx);\n nodeData_1.setItemLayout(idx, preservedPoints_1[id] || [NaN, NaN]);\n });\n } else if (!initLayout || initLayout === 'none') {\n simpleLayout(graphSeries);\n } else if (initLayout === 'circular') {\n circularLayout(graphSeries, 'value');\n }\n var nodeDataExtent_1 = nodeData_1.getDataExtent('value');\n var edgeDataExtent_1 = edgeData.getDataExtent('value');\n // let edgeDataExtent = edgeData.getDataExtent('value');\n var repulsion = forceModel.get('repulsion');\n var edgeLength = forceModel.get('edgeLength');\n var repulsionArr_1 = zrUtil.isArray(repulsion) ? repulsion : [repulsion, repulsion];\n var edgeLengthArr_1 = zrUtil.isArray(edgeLength) ? edgeLength : [edgeLength, edgeLength];\n // Larger value has smaller length\n edgeLengthArr_1 = [edgeLengthArr_1[1], edgeLengthArr_1[0]];\n var nodes_1 = nodeData_1.mapArray('value', function (value, idx) {\n var point = nodeData_1.getItemLayout(idx);\n var rep = linearMap(value, nodeDataExtent_1, repulsionArr_1);\n if (isNaN(rep)) {\n rep = (repulsionArr_1[0] + repulsionArr_1[1]) / 2;\n }\n return {\n w: rep,\n rep: rep,\n fixed: nodeData_1.getItemModel(idx).get('fixed'),\n p: !point || isNaN(point[0]) || isNaN(point[1]) ? null : point\n };\n });\n var edges = edgeData.mapArray('value', function (value, idx) {\n var edge = graph_1.getEdgeByIndex(idx);\n var d = linearMap(value, edgeDataExtent_1, edgeLengthArr_1);\n if (isNaN(d)) {\n d = (edgeLengthArr_1[0] + edgeLengthArr_1[1]) / 2;\n }\n var edgeModel = edge.getModel();\n var curveness = zrUtil.retrieve3(edge.getModel().get(['lineStyle', 'curveness']), -getCurvenessForEdge(edge, graphSeries, idx, true), 0);\n return {\n n1: nodes_1[edge.node1.dataIndex],\n n2: nodes_1[edge.node2.dataIndex],\n d: d,\n curveness: curveness,\n ignoreForceLayout: edgeModel.get('ignoreForceLayout')\n };\n });\n // let coordSys = graphSeries.coordinateSystem;\n var rect = coordSys.getBoundingRect();\n var forceInstance = forceLayout(nodes_1, edges, {\n rect: rect,\n gravity: forceModel.get('gravity'),\n friction: forceModel.get('friction')\n });\n forceInstance.beforeStep(function (nodes, edges) {\n for (var i = 0, l = nodes.length; i < l; i++) {\n if (nodes[i].fixed) {\n // Write back to layout instance\n vec2.copy(nodes[i].p, graph_1.getNodeByIndex(i).getLayout());\n }\n }\n });\n forceInstance.afterStep(function (nodes, edges, stopped) {\n for (var i = 0, l = nodes.length; i < l; i++) {\n if (!nodes[i].fixed) {\n graph_1.getNodeByIndex(i).setLayout(nodes[i].p);\n }\n preservedPoints_1[nodeData_1.getId(i)] = nodes[i].p;\n }\n for (var i = 0, l = edges.length; i < l; i++) {\n var e = edges[i];\n var edge = graph_1.getEdgeByIndex(i);\n var p1 = e.n1.p;\n var p2 = e.n2.p;\n var points = edge.getLayout();\n points = points ? points.slice() : [];\n points[0] = points[0] || [];\n points[1] = points[1] || [];\n vec2.copy(points[0], p1);\n vec2.copy(points[1], p2);\n if (+e.curveness) {\n points[2] = [(p1[0] + p2[0]) / 2 - (p1[1] - p2[1]) * e.curveness, (p1[1] + p2[1]) / 2 - (p2[0] - p1[0]) * e.curveness];\n }\n edge.setLayout(points);\n }\n });\n graphSeries.forceLayout = forceInstance;\n graphSeries.preservedPoints = preservedPoints_1;\n // Step to get the layout\n forceInstance.step();\n } else {\n // Remove prev injected forceLayout instance\n graphSeries.forceLayout = null;\n }\n });\n}"],"names":["graphForceLayout","ecModel","graphSeries","coordSys","preservedPoints_1","graph_1","nodeData_1","edgeData","forceModel","initLayout","idx","id","simpleLayout","circularLayout","nodeDataExtent_1","edgeDataExtent_1","repulsion","edgeLength","repulsionArr_1","zrUtil.isArray","edgeLengthArr_1","nodes_1","value","point","rep","linearMap","edges","edge","d","edgeModel","curveness","zrUtil.retrieve3","getCurvenessForEdge","rect","forceInstance","forceLayout","nodes","i","l","vec2.copy","stopped","e","p1","p2","points"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,16 +0,0 @@
1
- function i(e) {
2
- var o = e.coordinateSystem;
3
- if (o.type !== "view")
4
- return 1;
5
- var a = e.option.nodeScaleRatio, r = o.scaleX, t = o.getZoom(), n = (t - 1) * a + 1;
6
- return n / r;
7
- }
8
- function c(e) {
9
- var o = e.getVisual("symbolSize");
10
- return o instanceof Array && (o = (o[0] + o[1]) / 2), +o;
11
- }
12
- export {
13
- i as getNodeGlobalScale,
14
- c as getSymbolSize
15
- };
16
- //# sourceMappingURL=graphHelper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graphHelper.js","sources":["../../../../../../node_modules/echarts/lib/chart/graph/graphHelper.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*/\nexport function getNodeGlobalScale(seriesModel) {\n var coordSys = seriesModel.coordinateSystem;\n if (coordSys.type !== 'view') {\n return 1;\n }\n var nodeScaleRatio = seriesModel.option.nodeScaleRatio;\n var groupZoom = coordSys.scaleX;\n // Scale node when zoom changes\n var roamZoom = coordSys.getZoom();\n var nodeScale = (roamZoom - 1) * nodeScaleRatio + 1;\n return nodeScale / groupZoom;\n}\nexport function getSymbolSize(node) {\n var symbolSize = node.getVisual('symbolSize');\n if (symbolSize instanceof Array) {\n symbolSize = (symbolSize[0] + symbolSize[1]) / 2;\n }\n return +symbolSize;\n}"],"names":["getNodeGlobalScale","seriesModel","coordSys","nodeScaleRatio","groupZoom","roamZoom","nodeScale","getSymbolSize","node","symbolSize"],"mappings":"AA2CO,SAASA,EAAmBC,GAAa;AAC9C,MAAIC,IAAWD,EAAY;AAC3B,MAAIC,EAAS,SAAS;AACpB,WAAO;AAET,MAAIC,IAAiBF,EAAY,OAAO,gBACpCG,IAAYF,EAAS,QAErBG,IAAWH,EAAS,QAAO,GAC3BI,KAAaD,IAAW,KAAKF,IAAiB;AAClD,SAAOG,IAAYF;AACrB;AACO,SAASG,EAAcC,GAAM;AAClC,MAAIC,IAAaD,EAAK,UAAU,YAAY;AAC5C,SAAIC,aAAsB,UACxBA,KAAcA,EAAW,CAAC,IAAIA,EAAW,CAAC,KAAK,IAE1C,CAACA;AACV;","x_google_ignoreList":[0]}
@@ -1,43 +0,0 @@
1
- import c from "./categoryFilter.js";
2
- import p from "./categoryVisual.js";
3
- import u from "./edgeVisual.js";
4
- import d from "./simpleLayout.js";
5
- import f from "./circularLayout.js";
6
- import y from "./forceLayout.js";
7
- import s from "./createView.js";
8
- import A from "../../coord/View.js";
9
- import h from "./GraphView.js";
10
- import g from "./GraphSeries.js";
11
- import { updateCenterAndZoom as V } from "../../action/roamHelper.js";
12
- import { noop as a } from "../../../../zrender/lib/core/util.js";
13
- var C = {
14
- type: "graphRoam",
15
- event: "graphRoam",
16
- update: "none"
17
- };
18
- function Z(o) {
19
- o.registerChartView(h), o.registerSeriesModel(g), o.registerProcessor(c), o.registerVisual(p), o.registerVisual(u), o.registerLayout(d), o.registerLayout(o.PRIORITY.VISUAL.POST_CHART_LAYOUT, f), o.registerLayout(y), o.registerCoordinateSystem("graphView", {
20
- dimensions: A.dimensions,
21
- create: s
22
- }), o.registerAction({
23
- type: "focusNodeAdjacency",
24
- event: "focusNodeAdjacency",
25
- update: "series:focusNodeAdjacency"
26
- }, a), o.registerAction({
27
- type: "unfocusNodeAdjacency",
28
- event: "unfocusNodeAdjacency",
29
- update: "series:unfocusNodeAdjacency"
30
- }, a), o.registerAction(C, function(r, n, i) {
31
- n.eachComponent({
32
- mainType: "series",
33
- query: r
34
- }, function(e) {
35
- var m = e.coordinateSystem, t = V(m, r, void 0, i);
36
- e.setCenter && e.setCenter(t.center), e.setZoom && e.setZoom(t.zoom);
37
- });
38
- });
39
- }
40
- export {
41
- Z as install
42
- };
43
- //# sourceMappingURL=install.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"install.js","sources":["../../../../../../node_modules/echarts/lib/chart/graph/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 categoryFilter from './categoryFilter.js';\nimport categoryVisual from './categoryVisual.js';\nimport edgeVisual from './edgeVisual.js';\nimport simpleLayout from './simpleLayout.js';\nimport circularLayout from './circularLayout.js';\nimport forceLayout from './forceLayout.js';\nimport createView from './createView.js';\nimport View from '../../coord/View.js';\nimport GraphView from './GraphView.js';\nimport GraphSeriesModel from './GraphSeries.js';\nimport { updateCenterAndZoom } from '../../action/roamHelper.js';\nimport { noop } from 'zrender/lib/core/util.js';\nvar actionInfo = {\n type: 'graphRoam',\n event: 'graphRoam',\n update: 'none'\n};\nexport function install(registers) {\n registers.registerChartView(GraphView);\n registers.registerSeriesModel(GraphSeriesModel);\n registers.registerProcessor(categoryFilter);\n registers.registerVisual(categoryVisual);\n registers.registerVisual(edgeVisual);\n registers.registerLayout(simpleLayout);\n registers.registerLayout(registers.PRIORITY.VISUAL.POST_CHART_LAYOUT, circularLayout);\n registers.registerLayout(forceLayout);\n registers.registerCoordinateSystem('graphView', {\n dimensions: View.dimensions,\n create: createView\n });\n // Register legacy focus actions\n registers.registerAction({\n type: 'focusNodeAdjacency',\n event: 'focusNodeAdjacency',\n update: 'series:focusNodeAdjacency'\n }, noop);\n registers.registerAction({\n type: 'unfocusNodeAdjacency',\n event: 'unfocusNodeAdjacency',\n update: 'series:unfocusNodeAdjacency'\n }, noop);\n // Register roam action.\n registers.registerAction(actionInfo, function (payload, ecModel, api) {\n ecModel.eachComponent({\n mainType: 'series',\n query: payload\n }, function (seriesModel) {\n var coordSys = seriesModel.coordinateSystem;\n var res = updateCenterAndZoom(coordSys, payload, undefined, api);\n seriesModel.setCenter && seriesModel.setCenter(res.center);\n seriesModel.setZoom && seriesModel.setZoom(res.zoom);\n });\n });\n}"],"names":["actionInfo","install","registers","GraphView","GraphSeriesModel","categoryFilter","categoryVisual","edgeVisual","simpleLayout","circularLayout","forceLayout","View","createView","noop","payload","ecModel","api","seriesModel","coordSys","res","updateCenterAndZoom"],"mappings":";;;;;;;;;;;;AAuDA,IAAIA,IAAa;AAAA,EACf,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AACV;AACO,SAASC,EAAQC,GAAW;AACjC,EAAAA,EAAU,kBAAkBC,CAAS,GACrCD,EAAU,oBAAoBE,CAAgB,GAC9CF,EAAU,kBAAkBG,CAAc,GAC1CH,EAAU,eAAeI,CAAc,GACvCJ,EAAU,eAAeK,CAAU,GACnCL,EAAU,eAAeM,CAAY,GACrCN,EAAU,eAAeA,EAAU,SAAS,OAAO,mBAAmBO,CAAc,GACpFP,EAAU,eAAeQ,CAAW,GACpCR,EAAU,yBAAyB,aAAa;AAAA,IAC9C,YAAYS,EAAK;AAAA,IACjB,QAAQC;AAAAA,EACZ,CAAG,GAEDV,EAAU,eAAe;AAAA,IACvB,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,EACZ,GAAKW,CAAI,GACPX,EAAU,eAAe;AAAA,IACvB,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,EACZ,GAAKW,CAAI,GAEPX,EAAU,eAAeF,GAAY,SAAUc,GAASC,GAASC,GAAK;AACpE,IAAAD,EAAQ,cAAc;AAAA,MACpB,UAAU;AAAA,MACV,OAAOD;AAAA,IACb,GAAO,SAAUG,GAAa;AACxB,UAAIC,IAAWD,EAAY,kBACvBE,IAAMC,EAAoBF,GAAUJ,GAAS,QAAWE,CAAG;AAC/D,MAAAC,EAAY,aAAaA,EAAY,UAAUE,EAAI,MAAM,GACzDF,EAAY,WAAWA,EAAY,QAAQE,EAAI,IAAI;AAAA,IACrD,CAAC;AAAA,EACH,CAAC;AACH;","x_google_ignoreList":[0]}
@@ -1,25 +0,0 @@
1
- import { each as g } from "../../../../zrender/lib/core/util.js";
2
- import { simpleLayoutEdge as v, simpleLayout as n } from "./simpleLayoutHelper.js";
3
- function L(i, h) {
4
- i.eachSeriesByType("graph", function(o) {
5
- var u = o.get("layout"), p = o.coordinateSystem;
6
- if (p && p.type !== "view") {
7
- var t = o.getData(), a = [];
8
- g(p.dimensions, function(m) {
9
- a = a.concat(t.mapDimensionsAll(m));
10
- });
11
- for (var r = 0; r < t.count(); r++) {
12
- for (var y = [], e = !1, f = 0; f < a.length; f++) {
13
- var c = t.get(a[f], r);
14
- isNaN(c) || (e = !0), y.push(c);
15
- }
16
- e ? t.setItemLayout(r, p.dataToPoint(y)) : t.setItemLayout(r, [NaN, NaN]);
17
- }
18
- v(t.graph, o);
19
- } else (!u || u === "none") && n(o);
20
- });
21
- }
22
- export {
23
- L as default
24
- };
25
- //# sourceMappingURL=simpleLayout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"simpleLayout.js","sources":["../../../../../../node_modules/echarts/lib/chart/graph/simpleLayout.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 { each } from 'zrender/lib/core/util.js';\nimport { simpleLayout, simpleLayoutEdge } from './simpleLayoutHelper.js';\nexport default function graphSimpleLayout(ecModel, api) {\n ecModel.eachSeriesByType('graph', function (seriesModel) {\n var layout = seriesModel.get('layout');\n var coordSys = seriesModel.coordinateSystem;\n if (coordSys && coordSys.type !== 'view') {\n var data_1 = seriesModel.getData();\n var dimensions_1 = [];\n each(coordSys.dimensions, function (coordDim) {\n dimensions_1 = dimensions_1.concat(data_1.mapDimensionsAll(coordDim));\n });\n for (var dataIndex = 0; dataIndex < data_1.count(); dataIndex++) {\n var value = [];\n var hasValue = false;\n for (var i = 0; i < dimensions_1.length; i++) {\n var val = data_1.get(dimensions_1[i], dataIndex);\n if (!isNaN(val)) {\n hasValue = true;\n }\n value.push(val);\n }\n if (hasValue) {\n data_1.setItemLayout(dataIndex, coordSys.dataToPoint(value));\n } else {\n // Also {Array.<number>}, not undefined to avoid if...else... statement\n data_1.setItemLayout(dataIndex, [NaN, NaN]);\n }\n }\n simpleLayoutEdge(data_1.graph, seriesModel);\n } else if (!layout || layout === 'none') {\n simpleLayout(seriesModel);\n }\n });\n}"],"names":["graphSimpleLayout","ecModel","api","seriesModel","layout","coordSys","data_1","dimensions_1","each","coordDim","dataIndex","value","hasValue","i","val","simpleLayoutEdge","simpleLayout"],"mappings":";;AA6Ce,SAASA,EAAkBC,GAASC,GAAK;AACtD,EAAAD,EAAQ,iBAAiB,SAAS,SAAUE,GAAa;AACvD,QAAIC,IAASD,EAAY,IAAI,QAAQ,GACjCE,IAAWF,EAAY;AAC3B,QAAIE,KAAYA,EAAS,SAAS,QAAQ;AACxC,UAAIC,IAASH,EAAY,QAAO,GAC5BI,IAAe,CAAA;AACnB,MAAAC,EAAKH,EAAS,YAAY,SAAUI,GAAU;AAC5C,QAAAF,IAAeA,EAAa,OAAOD,EAAO,iBAAiBG,CAAQ,CAAC;AAAA,MACtE,CAAC;AACD,eAASC,IAAY,GAAGA,IAAYJ,EAAO,MAAK,GAAII,KAAa;AAG/D,iBAFIC,IAAQ,CAAA,GACRC,IAAW,IACNC,IAAI,GAAGA,IAAIN,EAAa,QAAQM,KAAK;AAC5C,cAAIC,IAAMR,EAAO,IAAIC,EAAaM,CAAC,GAAGH,CAAS;AAC/C,UAAK,MAAMI,CAAG,MACZF,IAAW,KAEbD,EAAM,KAAKG,CAAG;AAAA,QAChB;AACA,QAAIF,IACFN,EAAO,cAAcI,GAAWL,EAAS,YAAYM,CAAK,CAAC,IAG3DL,EAAO,cAAcI,GAAW,CAAC,KAAK,GAAG,CAAC;AAAA,MAE9C;AACA,MAAAK,EAAiBT,EAAO,OAAOH,CAAW;AAAA,IAC5C,MAAO,EAAI,CAACC,KAAUA,MAAW,WAC/BY,EAAab,CAAW;AAAA,EAE5B,CAAC;AACH;","x_google_ignoreList":[0]}
@@ -1,24 +0,0 @@
1
- import { clone as p } from "../../../../zrender/lib/core/vector.js";
2
- import { retrieve3 as v } from "../../../../zrender/lib/core/util.js";
3
- import { getCurvenessForEdge as c } from "../helper/multipleGraphEdgeHelper.js";
4
- function g(o) {
5
- var n = o.coordinateSystem;
6
- if (!(n && n.type !== "view")) {
7
- var t = o.getGraph();
8
- t.eachNode(function(u) {
9
- var e = u.getModel();
10
- u.setLayout([+e.get("x"), +e.get("y")]);
11
- }), y(t, o);
12
- }
13
- }
14
- function y(o, n) {
15
- o.eachEdge(function(t, u) {
16
- var e = v(t.getModel().get(["lineStyle", "curveness"]), -c(t, n, u, !0), 0), r = p(t.node1.getLayout()), a = p(t.node2.getLayout()), i = [r, a];
17
- +e && i.push([(r[0] + a[0]) / 2 - (r[1] - a[1]) * e, (r[1] + a[1]) / 2 - (a[0] - r[0]) * e]), t.setLayout(i);
18
- });
19
- }
20
- export {
21
- g as simpleLayout,
22
- y as simpleLayoutEdge
23
- };
24
- //# sourceMappingURL=simpleLayoutHelper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"simpleLayoutHelper.js","sources":["../../../../../../node_modules/echarts/lib/chart/graph/simpleLayoutHelper.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 vec2 from 'zrender/lib/core/vector.js';\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport { getCurvenessForEdge } from '../helper/multipleGraphEdgeHelper.js';\nexport function simpleLayout(seriesModel) {\n var coordSys = seriesModel.coordinateSystem;\n if (coordSys && coordSys.type !== 'view') {\n return;\n }\n var graph = seriesModel.getGraph();\n graph.eachNode(function (node) {\n var model = node.getModel();\n node.setLayout([+model.get('x'), +model.get('y')]);\n });\n simpleLayoutEdge(graph, seriesModel);\n}\nexport function simpleLayoutEdge(graph, seriesModel) {\n graph.eachEdge(function (edge, index) {\n var curveness = zrUtil.retrieve3(edge.getModel().get(['lineStyle', 'curveness']), -getCurvenessForEdge(edge, seriesModel, index, true), 0);\n var p1 = vec2.clone(edge.node1.getLayout());\n var p2 = vec2.clone(edge.node2.getLayout());\n var points = [p1, p2];\n if (+curveness) {\n points.push([(p1[0] + p2[0]) / 2 - (p1[1] - p2[1]) * curveness, (p1[1] + p2[1]) / 2 - (p2[0] - p1[0]) * curveness]);\n }\n edge.setLayout(points);\n });\n}"],"names":["simpleLayout","seriesModel","coordSys","graph","node","model","simpleLayoutEdge","edge","index","curveness","zrUtil.retrieve3","getCurvenessForEdge","p1","vec2.clone","p2","points"],"mappings":";;;AA8CO,SAASA,EAAaC,GAAa;AACxC,MAAIC,IAAWD,EAAY;AAC3B,MAAI,EAAAC,KAAYA,EAAS,SAAS,SAGlC;AAAA,QAAIC,IAAQF,EAAY,SAAQ;AAChC,IAAAE,EAAM,SAAS,SAAUC,GAAM;AAC7B,UAAIC,IAAQD,EAAK,SAAQ;AACzB,MAAAA,EAAK,UAAU,CAAC,CAACC,EAAM,IAAI,GAAG,GAAG,CAACA,EAAM,IAAI,GAAG,CAAC,CAAC;AAAA,IACnD,CAAC,GACDC,EAAiBH,GAAOF,CAAW;AAAA;AACrC;AACO,SAASK,EAAiBH,GAAOF,GAAa;AACnD,EAAAE,EAAM,SAAS,SAAUI,GAAMC,GAAO;AACpC,QAAIC,IAAYC,EAAiBH,EAAK,SAAQ,EAAG,IAAI,CAAC,aAAa,WAAW,CAAC,GAAG,CAACI,EAAoBJ,GAAMN,GAAaO,GAAO,EAAI,GAAG,CAAC,GACrII,IAAKC,EAAWN,EAAK,MAAM,UAAS,CAAE,GACtCO,IAAKD,EAAWN,EAAK,MAAM,UAAS,CAAE,GACtCQ,IAAS,CAACH,GAAIE,CAAE;AACpB,IAAI,CAACL,KACHM,EAAO,KAAK,EAAEH,EAAG,CAAC,IAAIE,EAAG,CAAC,KAAK,KAAKF,EAAG,CAAC,IAAIE,EAAG,CAAC,KAAKL,IAAYG,EAAG,CAAC,IAAIE,EAAG,CAAC,KAAK,KAAKA,EAAG,CAAC,IAAIF,EAAG,CAAC,KAAKH,CAAS,CAAC,GAEpHF,EAAK,UAAUQ,CAAM;AAAA,EACvB,CAAC;AACH;","x_google_ignoreList":[0]}
@@ -1,46 +0,0 @@
1
- import { platformApi as S } from "../../../../zrender/lib/core/platform.js";
2
- var L = 256, D = (
3
- /** @class */
4
- (function() {
5
- function u() {
6
- this.blurSize = 30, this.pointSize = 20, this.maxOpacity = 1, this.minOpacity = 0, this._gradientPixels = {
7
- inRange: null,
8
- outOfRange: null
9
- };
10
- var t = S.createCanvas();
11
- this.canvas = t;
12
- }
13
- return u.prototype.update = function(t, e, r, a, h, v) {
14
- var l = this._getBrush(), b = this._getGradient(h, "inRange"), w = this._getGradient(h, "outOfRange"), m = this.pointSize + this.blurSize, i = this.canvas, p = i.getContext("2d"), _ = t.length;
15
- i.width = e, i.height = r;
16
- for (var f = 0; f < _; ++f) {
17
- var d = t[f], C = d[0], O = d[1], z = d[2], n = a(z);
18
- p.globalAlpha = n, p.drawImage(l, C - m, O - m);
19
- }
20
- if (!i.width || !i.height)
21
- return i;
22
- for (var x = p.getImageData(0, 0, i.width, i.height), o = x.data, s = 0, R = o.length, y = this.minOpacity, I = this.maxOpacity, P = I - y; s < R; ) {
23
- var n = o[s + 3] / 256, g = Math.floor(n * (L - 1)) * 4;
24
- if (n > 0) {
25
- var c = v(n) ? b : w;
26
- n > 0 && (n = n * P + y), o[s++] = c[g], o[s++] = c[g + 1], o[s++] = c[g + 2], o[s++] = c[g + 3] * n * 256;
27
- } else
28
- s += 4;
29
- }
30
- return p.putImageData(x, 0, 0), i;
31
- }, u.prototype._getBrush = function() {
32
- var t = this._brushCanvas || (this._brushCanvas = S.createCanvas()), e = this.pointSize + this.blurSize, r = e * 2;
33
- t.width = r, t.height = r;
34
- var a = t.getContext("2d");
35
- return a.clearRect(0, 0, r, r), a.shadowOffsetX = r, a.shadowBlur = this.blurSize, a.shadowColor = "#000", a.beginPath(), a.arc(-e, e, this.pointSize, 0, Math.PI * 2, !0), a.closePath(), a.fill(), t;
36
- }, u.prototype._getGradient = function(t, e) {
37
- for (var r = this._gradientPixels, a = r[e] || (r[e] = new Uint8ClampedArray(256 * 4)), h = [0, 0, 0, 0], v = 0, l = 0; l < 256; l++)
38
- t[e](l / 255, !0, h), a[v++] = h[0], a[v++] = h[1], a[v++] = h[2], a[v++] = h[3];
39
- return a;
40
- }, u;
41
- })()
42
- );
43
- export {
44
- D as default
45
- };
46
- //# sourceMappingURL=HeatmapLayer.js.map