@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 +0,0 @@
1
- {"version":3,"file":"GeoJSONResource.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/GeoJSONResource.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, isString, createHashMap, hasOwn } from 'zrender/lib/core/util.js';\nimport parseGeoJson from './parseGeoJson.js';\n// Built-in GEO fixer.\nimport fixNanhai from './fix/nanhai.js';\nimport fixTextCoord from './fix/textCoord.js';\nimport fixDiaoyuIsland from './fix/diaoyuIsland.js';\nimport BoundingRect from 'zrender/lib/core/BoundingRect.js';\nvar DEFAULT_NAME_PROPERTY = 'name';\nvar GeoJSONResource = /** @class */function () {\n function GeoJSONResource(mapName, geoJSON, specialAreas) {\n this.type = 'geoJSON';\n this._parsedMap = createHashMap();\n this._mapName = mapName;\n this._specialAreas = specialAreas;\n // PENDING: delay the parse to the first usage to rapid up the FMP?\n this._geoJSON = parseInput(geoJSON);\n }\n /**\r\n * @param nameMap can be null/undefined\r\n * @param nameProperty can be null/undefined\r\n */\n GeoJSONResource.prototype.load = function (nameMap, nameProperty) {\n nameProperty = nameProperty || DEFAULT_NAME_PROPERTY;\n var parsed = this._parsedMap.get(nameProperty);\n if (!parsed) {\n var rawRegions = this._parseToRegions(nameProperty);\n parsed = this._parsedMap.set(nameProperty, {\n regions: rawRegions,\n boundingRect: calculateBoundingRect(rawRegions)\n });\n }\n var regionsMap = createHashMap();\n var finalRegions = [];\n each(parsed.regions, function (region) {\n var regionName = region.name;\n // Try use the alias in geoNameMap\n if (nameMap && hasOwn(nameMap, regionName)) {\n region = region.cloneShallow(regionName = nameMap[regionName]);\n }\n finalRegions.push(region);\n regionsMap.set(regionName, region);\n });\n return {\n regions: finalRegions,\n boundingRect: parsed.boundingRect || new BoundingRect(0, 0, 0, 0),\n regionsMap: regionsMap\n };\n };\n GeoJSONResource.prototype._parseToRegions = function (nameProperty) {\n var mapName = this._mapName;\n var geoJSON = this._geoJSON;\n var rawRegions;\n // https://jsperf.com/try-catch-performance-overhead\n try {\n rawRegions = geoJSON ? parseGeoJson(geoJSON, nameProperty) : [];\n } catch (e) {\n throw new Error('Invalid geoJson format\\n' + e.message);\n }\n fixNanhai(mapName, rawRegions);\n each(rawRegions, function (region) {\n var regionName = region.name;\n fixTextCoord(mapName, region);\n fixDiaoyuIsland(mapName, region);\n // Some area like Alaska in USA map needs to be tansformed\n // to look better\n var specialArea = this._specialAreas && this._specialAreas[regionName];\n if (specialArea) {\n region.transformTo(specialArea.left, specialArea.top, specialArea.width, specialArea.height);\n }\n }, this);\n return rawRegions;\n };\n /**\r\n * Only for exporting to users.\r\n * **MUST NOT** used internally.\r\n */\n GeoJSONResource.prototype.getMapForUser = function () {\n return {\n // For backward compatibility, use geoJson\n // PENDING: it has been returning them without clone.\n // do we need to avoid outsite modification?\n geoJson: this._geoJSON,\n geoJSON: this._geoJSON,\n specialAreas: this._specialAreas\n };\n };\n return GeoJSONResource;\n}();\nexport { GeoJSONResource };\nfunction calculateBoundingRect(regions) {\n var rect;\n for (var i = 0; i < regions.length; i++) {\n var regionRect = regions[i].getBoundingRect();\n rect = rect || regionRect.clone();\n rect.union(regionRect);\n }\n return rect;\n}\nfunction parseInput(source) {\n return !isString(source) ? source : typeof JSON !== 'undefined' && JSON.parse ? JSON.parse(source) : new Function('return (' + source + ');')();\n}"],"names":["DEFAULT_NAME_PROPERTY","GeoJSONResource","mapName","geoJSON","specialAreas","createHashMap","parseInput","nameMap","nameProperty","parsed","rawRegions","calculateBoundingRect","regionsMap","finalRegions","each","region","regionName","hasOwn","BoundingRect","parseGeoJson","e","fixNanhai","fixTextCoord","fixDiaoyuIsland","specialArea","regions","rect","i","regionRect","source","isString"],"mappings":";;;;;;AAkDA,IAAIA,IAAwB,QACxBC;AAAA;AAAA,GAA+B,WAAY;AAC7C,aAASA,EAAgBC,GAASC,GAASC,GAAc;AACvD,WAAK,OAAO,WACZ,KAAK,aAAaC,EAAa,GAC/B,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AG/B,YAAIS,IAAc,KAAK,iBAAiB,KAAK,cAAcR,CAAU;AACrE,QAAIQ,KACFT,EAAO,YAAYS,EAAY,MAAMA,EAAY,KAAKA,EAAY,OAAOA,EAAY,MAAM;AAAA,MAE/F,GAAG,IAAI,GACAd;AAAA,IACT,GAKAT,EAAgB,UAAU,gBAAgB,WAAY;AACpD,aAAO;AAAA;AAAA;AAAA;AAAA,QAIL,SAAS,KAAK;AAAA,QACd,SAAS,KAAK;AAAA,QACd,cAAc,KAAK;AAAA,MACzB;AAAA,IACE,GACOA;AAAA,EACT,GAAC;AAAA;AAED,SAASU,EAAsBc,GAAS;AAEtC,WADIC,GACKC,IAAI,GAAGA,IAAIF,EAAQ,QAAQE,KAAK;AACvC,QAAIC,IAAaH,EAAQE,CAAC,EAAE,gBAAe;AAC3C,IAAAD,IAAOA,KAAQE,EAAW,MAAK,GAC/BF,EAAK,MAAME,CAAU;AAAA,EACvB;AACA,SAAOF;AACT;AACA,SAASpB,EAAWuB,GAAQ;AAC1B,SAAQC,EAASD,CAAM,IAAa,OAAO,OAAS,OAAe,KAAK,QAAQ,KAAK,MAAMA,CAAM,IAAI,IAAI,SAAS,aAAaA,IAAS,IAAI,EAAC,IAAlHA;AAC7B;","x_google_ignoreList":[0]}
@@ -1,126 +0,0 @@
1
- import { __extends as p } from "../../../node_modules/tslib/tslib.es6.js";
2
- import { reduce as c, createHashMap as u, isFunction as d, isString as f } from "../../../../zrender/lib/core/util.js";
3
- import { defaultEmphasis as m } from "../../util/model.js";
4
- import g from "../../model/Component.js";
5
- import s from "../../model/Model.js";
6
- import h from "./geoCreator.js";
7
- import M from "./geoSourceManager.js";
8
- var _ = (
9
- /** @class */
10
- (function(n) {
11
- p(o, n);
12
- function o() {
13
- var e = n !== null && n.apply(this, arguments) || this;
14
- return e.type = o.type, e;
15
- }
16
- return o.prototype.init = function(e, t, l) {
17
- var r = M.getGeoResource(e.map);
18
- if (r && r.type === "geoJSON") {
19
- var i = e.itemStyle = e.itemStyle || {};
20
- "color" in i || (i.color = "#eee");
21
- }
22
- this.mergeDefaultAndTheme(e, l), m(e, "label", ["show"]);
23
- }, o.prototype.optionUpdated = function() {
24
- var e = this, t = this.option;
25
- t.regions = h.getFilledRegions(t.regions, t.map, t.nameMap, t.nameProperty);
26
- var l = {};
27
- this._optionModelMap = c(t.regions || [], function(r, i) {
28
- var a = i.name;
29
- return a && (r.set(a, new s(i, e, e.ecModel)), i.selected && (l[a] = !0)), r;
30
- }, u()), t.selectedMap || (t.selectedMap = l);
31
- }, o.prototype.getRegionModel = function(e) {
32
- return this._optionModelMap.get(e) || new s(null, this, this.ecModel);
33
- }, o.prototype.getFormattedLabel = function(e, t) {
34
- var l = this.getRegionModel(e), r = t === "normal" ? l.get(["label", "formatter"]) : l.get(["emphasis", "label", "formatter"]), i = {
35
- name: e
36
- };
37
- if (d(r))
38
- return i.status = t, r(i);
39
- if (f(r))
40
- return r.replace("{a}", e ?? "");
41
- }, o.prototype.setZoom = function(e) {
42
- this.option.zoom = e;
43
- }, o.prototype.setCenter = function(e) {
44
- this.option.center = e;
45
- }, o.prototype.select = function(e) {
46
- var t = this.option, l = t.selectedMode;
47
- if (l) {
48
- l !== "multiple" && (t.selectedMap = null);
49
- var r = t.selectedMap || (t.selectedMap = {});
50
- r[e] = !0;
51
- }
52
- }, o.prototype.unSelect = function(e) {
53
- var t = this.option.selectedMap;
54
- t && (t[e] = !1);
55
- }, o.prototype.toggleSelected = function(e) {
56
- this[this.isSelected(e) ? "unSelect" : "select"](e);
57
- }, o.prototype.isSelected = function(e) {
58
- var t = this.option.selectedMap;
59
- return !!(t && t[e]);
60
- }, o.type = "geo", o.layoutMode = "box", o.defaultOption = {
61
- // zlevel: 0,
62
- z: 0,
63
- show: !0,
64
- left: "center",
65
- top: "center",
66
- // Default value:
67
- // for geoSVG source: 1,
68
- // for geoJSON source: 0.75.
69
- aspectScale: null,
70
- // /// Layout with center and size
71
- // If you want to put map in a fixed size box with right aspect ratio
72
- // This two properties may be more convenient
73
- // layoutCenter: [50%, 50%]
74
- // layoutSize: 100
75
- silent: !1,
76
- // Map type
77
- map: "",
78
- // Define left-top, right-bottom coords to control view
79
- // For example, [ [180, 90], [-180, -90] ]
80
- boundingCoords: null,
81
- // Default on center of map
82
- center: null,
83
- zoom: 1,
84
- scaleLimit: null,
85
- // selectedMode: false
86
- label: {
87
- show: !1,
88
- color: "#000"
89
- },
90
- itemStyle: {
91
- borderWidth: 0.5,
92
- borderColor: "#444"
93
- // Default color:
94
- // + geoJSON: #eee
95
- // + geoSVG: null (use SVG original `fill`)
96
- // color: '#eee'
97
- },
98
- emphasis: {
99
- label: {
100
- show: !0,
101
- color: "rgb(100,0,0)"
102
- },
103
- itemStyle: {
104
- color: "rgba(255,215,0,0.8)"
105
- }
106
- },
107
- select: {
108
- label: {
109
- show: !0,
110
- color: "rgb(100,0,0)"
111
- },
112
- itemStyle: {
113
- color: "rgba(255,215,0,0.8)"
114
- }
115
- },
116
- regions: []
117
- // tooltip: {
118
- // show: false
119
- // }
120
- }, o;
121
- })(g)
122
- );
123
- export {
124
- _ as default
125
- };
126
- //# sourceMappingURL=GeoModel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeoModel.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/GeoModel.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport { __extends } from \"tslib\";\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport * as modelUtil from '../../util/model.js';\nimport ComponentModel from '../../model/Component.js';\nimport Model from '../../model/Model.js';\nimport geoCreator from './geoCreator.js';\nimport geoSourceManager from './geoSourceManager.js';\n;\nvar GeoModel = /** @class */function (_super) {\n __extends(GeoModel, _super);\n function GeoModel() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = GeoModel.type;\n return _this;\n }\n GeoModel.prototype.init = function (option, parentModel, ecModel) {\n var source = geoSourceManager.getGeoResource(option.map);\n if (source && source.type === 'geoJSON') {\n var itemStyle = option.itemStyle = option.itemStyle || {};\n if (!('color' in itemStyle)) {\n itemStyle.color = '#eee';\n }\n }\n this.mergeDefaultAndTheme(option, ecModel);\n // Default label emphasis `show`\n modelUtil.defaultEmphasis(option, 'label', ['show']);\n };\n GeoModel.prototype.optionUpdated = function () {\n var _this = this;\n var option = this.option;\n option.regions = geoCreator.getFilledRegions(option.regions, option.map, option.nameMap, option.nameProperty);\n var selectedMap = {};\n this._optionModelMap = zrUtil.reduce(option.regions || [], function (optionModelMap, regionOpt) {\n var regionName = regionOpt.name;\n if (regionName) {\n optionModelMap.set(regionName, new Model(regionOpt, _this, _this.ecModel));\n if (regionOpt.selected) {\n selectedMap[regionName] = true;\n }\n }\n return optionModelMap;\n }, zrUtil.createHashMap());\n if (!option.selectedMap) {\n option.selectedMap = selectedMap;\n }\n };\n /**\r\n * Get model of region.\r\n */\n GeoModel.prototype.getRegionModel = function (name) {\n return this._optionModelMap.get(name) || new Model(null, this, this.ecModel);\n };\n /**\r\n * Format label\r\n * @param name Region name\r\n */\n GeoModel.prototype.getFormattedLabel = function (name, status) {\n var regionModel = this.getRegionModel(name);\n var formatter = status === 'normal' ? regionModel.get(['label', 'formatter']) : regionModel.get(['emphasis', 'label', 'formatter']);\n var params = {\n name: name\n };\n if (zrUtil.isFunction(formatter)) {\n params.status = status;\n return formatter(params);\n } else if (zrUtil.isString(formatter)) {\n return formatter.replace('{a}', name != null ? name : '');\n }\n };\n GeoModel.prototype.setZoom = function (zoom) {\n this.option.zoom = zoom;\n };\n GeoModel.prototype.setCenter = function (center) {\n this.option.center = center;\n };\n // PENGING If selectedMode is null ?\n GeoModel.prototype.select = function (name) {\n var option = this.option;\n var selectedMode = option.selectedMode;\n if (!selectedMode) {\n return;\n }\n if (selectedMode !== 'multiple') {\n option.selectedMap = null;\n }\n var selectedMap = option.selectedMap || (option.selectedMap = {});\n selectedMap[name] = true;\n };\n GeoModel.prototype.unSelect = function (name) {\n var selectedMap = this.option.selectedMap;\n if (selectedMap) {\n selectedMap[name] = false;\n }\n };\n GeoModel.prototype.toggleSelected = function (name) {\n this[this.isSelected(name) ? 'unSelect' : 'select'](name);\n };\n GeoModel.prototype.isSelected = function (name) {\n var selectedMap = this.option.selectedMap;\n return !!(selectedMap && selectedMap[name]);\n };\n GeoModel.type = 'geo';\n GeoModel.layoutMode = 'box';\n GeoModel.defaultOption = {\n // zlevel: 0,\n z: 0,\n show: true,\n left: 'center',\n top: 'center',\n // Default value:\n // for geoSVG source: 1,\n // for geoJSON source: 0.75.\n aspectScale: null,\n // /// Layout with center and size\n // If you want to put map in a fixed size box with right aspect ratio\n // This two properties may be more convenient\n // layoutCenter: [50%, 50%]\n // layoutSize: 100\n silent: false,\n // Map type\n map: '',\n // Define left-top, right-bottom coords to control view\n // For example, [ [180, 90], [-180, -90] ]\n boundingCoords: null,\n // Default on center of map\n center: null,\n zoom: 1,\n scaleLimit: null,\n // selectedMode: false\n label: {\n show: false,\n color: '#000'\n },\n itemStyle: {\n borderWidth: 0.5,\n borderColor: '#444'\n // Default color:\n // + geoJSON: #eee\n // + geoSVG: null (use SVG original `fill`)\n // color: '#eee'\n },\n emphasis: {\n label: {\n show: true,\n color: 'rgb(100,0,0)'\n },\n itemStyle: {\n color: 'rgba(255,215,0,0.8)'\n }\n },\n select: {\n label: {\n show: true,\n color: 'rgb(100,0,0)'\n },\n itemStyle: {\n color: 'rgba(255,215,0,0.8)'\n }\n },\n regions: []\n // tooltip: {\n // show: false\n // }\n };\n return GeoModel;\n}(ComponentModel);\nexport default GeoModel;"],"names":["GeoModel","_super","__extends","_this","option","parentModel","ecModel","source","geoSourceManager","itemStyle","modelUtil.defaultEmphasis","geoCreator","selectedMap","zrUtil.reduce","optionModelMap","regionOpt","regionName","Model","zrUtil.createHashMap","name","status","regionModel","formatter","params","zrUtil.isFunction","zrUtil.isString","zoom","center","selectedMode","ComponentModel"],"mappings":";;;;;;;AAmDG,IAACA;AAAA;AAAA,GAAwB,SAAUC,GAAQ;AAC5C,IAAAC,EAAUF,GAAUC,CAAM;AAC1B,aAASD,IAAW;AAClB,UAAIG,IAAQF,MAAW,QAAQA,EAAO,MAAM,MAAM,SAAS,KAAK;AAChE,aAAAE,EAAM,OAAOH,EAAS,MACfG;AAAA,IACT;AACA,WAAAH,EAAS,UAAU,OAAO,SAAUI,GAAQC,GAAaC,GAAS;AAChE,UAAIC,IAASC,EAAiB,eAAeJ,EAAO,GAAG;AACvD,UAAIG,KAAUA,EAAO,SAAS,WAAW;AACvC,YAAIE,IAAYL,EAAO,YAAYA,EAAO,aAAa,CAAA;AACvD,QAAM,WAAWK,MACfA,EAAU,QAAQ;AAAA,MAEtB;AACA,WAAK,qBAAqBL,GAAQE,CAAO,GAEzCI,EAA0BN,GAAQ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,WAAW;AAAA,UACT,OAAO;AAAA,QACf;AAAA,MACA;AAAA,MACI,QAAQ;AAAA,QACN,OAAO;AAAA,UACL,MAAM;AAAA,UACN,OAAO;AAAA,QACf;AAAA,QACM,WAAW;AAAA,UACT,OAAO;AAAA,QACf;AAAA,MACA;AAAA,MACI,SAAS,CAAA;AAAA;AAAA;AAAA;AAAA,IAIb,GACSA;AAAA,EACT,GAAE6B,CAAc;AAAA;","x_google_ignoreList":[0]}
@@ -1,109 +0,0 @@
1
- import { parseSVG as m, makeViewBoxTransform as M } from "../../../../zrender/lib/tool/parseSVG.js";
2
- import w from "../../../../zrender/lib/graphic/Group.js";
3
- import y from "../../../../zrender/lib/graphic/shape/Rect.js";
4
- import { createHashMap as v, assert as V, each as _ } from "../../../../zrender/lib/core/util.js";
5
- import x from "../../../../zrender/lib/core/BoundingRect.js";
6
- import { parseXML as S } from "../../../../zrender/lib/tool/parseXML.js";
7
- import { GeoSVGRegion as L } from "./Region.js";
8
- var A = v([
9
- "rect",
10
- "circle",
11
- "line",
12
- "ellipse",
13
- "polygon",
14
- "polyline",
15
- "path",
16
- // <text> <tspan> are also enabled because some SVG might paint text itself,
17
- // but still need to trigger events or tooltip.
18
- "text",
19
- "tspan",
20
- // <g> is also enabled because this case: if multiple tags share one name
21
- // and need label displayed, every tags will display the name, which is not
22
- // expected. So we can put them into a <g name="xxx">. Thereby only one label
23
- // displayed and located based on the bounding rect of the <g>.
24
- "g"
25
- ]), T = (
26
- /** @class */
27
- (function() {
28
- function o(i, e) {
29
- this.type = "geoSVG", this._usedGraphicMap = v(), this._freedGraphics = [], this._mapName = i, this._parsedXML = S(e);
30
- }
31
- return o.prototype.load = function() {
32
- var i = this._firstGraphic;
33
- if (!i) {
34
- i = this._firstGraphic = this._buildGraphic(this._parsedXML), this._freedGraphics.push(i), this._boundingRect = this._firstGraphic.boundingRect.clone();
35
- var e = N(i.named), r = e.regions, s = e.regionsMap;
36
- this._regions = r, this._regionsMap = s;
37
- }
38
- return {
39
- boundingRect: this._boundingRect,
40
- regions: this._regions,
41
- regionsMap: this._regionsMap
42
- };
43
- }, o.prototype._buildGraphic = function(i) {
44
- var e, r;
45
- try {
46
- e = i && m(i, {
47
- ignoreViewBox: !0,
48
- ignoreRootClip: !0
49
- }) || {}, r = e.root, V(r != null);
50
- } catch (h) {
51
- throw new Error(`Invalid svg format
52
- ` + h.message);
53
- }
54
- var s = new w();
55
- s.add(r), s.isGeoSVGGraphicRoot = !0;
56
- var G = e.width, c = e.height, t = e.viewBoxRect, p = this._boundingRect;
57
- if (!p) {
58
- var n = void 0, a = void 0, u = void 0, f = void 0;
59
- if (G != null ? (n = 0, u = G) : t && (n = t.x, u = t.width), c != null ? (a = 0, f = c) : t && (a = t.y, f = t.height), n == null || a == null) {
60
- var g = r.getBoundingRect();
61
- n == null && (n = g.x, u = g.width), a == null && (a = g.y, f = g.height);
62
- }
63
- p = this._boundingRect = new x(n, a, u, f);
64
- }
65
- if (t) {
66
- var l = M(t, p);
67
- r.scaleX = r.scaleY = l.scale, r.x = l.x, r.y = l.y;
68
- }
69
- s.setClipPath(new y({
70
- shape: p.plain()
71
- }));
72
- var d = [];
73
- return _(e.named, function(h) {
74
- A.get(h.svgNodeTagLower) != null && (d.push(h), E(h.el));
75
- }), {
76
- root: s,
77
- boundingRect: p,
78
- named: d
79
- };
80
- }, o.prototype.useGraphic = function(i) {
81
- var e = this._usedGraphicMap, r = e.get(i);
82
- return r || (r = this._freedGraphics.pop() || this._buildGraphic(this._parsedXML), e.set(i, r), r);
83
- }, o.prototype.freeGraphic = function(i) {
84
- var e = this._usedGraphicMap, r = e.get(i);
85
- r && (e.removeKey(i), this._freedGraphics.push(r));
86
- }, o;
87
- })()
88
- );
89
- function E(o) {
90
- o.silent = !1, o.isGroup && o.traverse(function(i) {
91
- i.silent = !1;
92
- });
93
- }
94
- function N(o) {
95
- var i = [], e = v();
96
- return _(o, function(r) {
97
- if (r.namedFrom == null) {
98
- var s = new L(r.name, r.el);
99
- i.push(s), e.set(r.name, s);
100
- }
101
- }), {
102
- regions: i,
103
- regionsMap: e
104
- };
105
- }
106
- export {
107
- T as GeoSVGResource
108
- };
109
- //# sourceMappingURL=GeoSVGResource.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeoSVGResource.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/GeoSVGResource.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 { parseSVG, makeViewBoxTransform } from 'zrender/lib/tool/parseSVG.js';\nimport Group from 'zrender/lib/graphic/Group.js';\nimport Rect from 'zrender/lib/graphic/shape/Rect.js';\nimport { assert, createHashMap, each } from 'zrender/lib/core/util.js';\nimport BoundingRect from 'zrender/lib/core/BoundingRect.js';\nimport { parseXML } from 'zrender/lib/tool/parseXML.js';\nimport { GeoSVGRegion } from './Region.js';\n/**\r\n * \"region available\" means that: enable users to set attribute `name=\"xxx\"` on those tags\r\n * to make it be a region.\r\n * 1. region styles and its label styles can be defined in echarts opton:\r\n * ```js\r\n * geo: {\r\n * regions: [{\r\n * name: 'xxx',\r\n * itemStyle: { ... },\r\n * label: { ... }\r\n * }, {\r\n * ...\r\n * },\r\n * ...]\r\n * };\r\n * ```\r\n * 2. name can be duplicated in different SVG tag. All of the tags with the same name share\r\n * a region option. For exampel if there are two <path> representing two lung lobes. They have\r\n * no common parents but both of them need to display label \"lung\" inside.\r\n */\nvar REGION_AVAILABLE_SVG_TAG_MAP = createHashMap(['rect', 'circle', 'line', 'ellipse', 'polygon', 'polyline', 'path',\n// <text> <tspan> are also enabled because some SVG might paint text itself,\n// but still need to trigger events or tooltip.\n'text', 'tspan',\n// <g> is also enabled because this case: if multiple tags share one name\n// and need label displayed, every tags will display the name, which is not\n// expected. So we can put them into a <g name=\"xxx\">. Thereby only one label\n// displayed and located based on the bounding rect of the <g>.\n'g']);\nvar GeoSVGResource = /** @class */function () {\n function GeoSVGResource(mapName, svg) {\n this.type = 'geoSVG';\n // All used graphics. key: hostKey, value: root\n this._usedGraphicMap = createHashMap();\n // All unused graphics.\n this._freedGraphics = [];\n this._mapName = mapName;\n // Only perform parse to XML object here, which might be time\n // consiming for large SVG.\n // Although convert XML to zrender element is also time consiming,\n // if we do it here, the clone of zrender elements has to be\n // required. So we do it once for each geo instance, util real\n // performance issues call for optimizing it.\n this._parsedXML = parseXML(svg);\n }\n GeoSVGResource.prototype.load = function /* nameMap: NameMap */\n () {\n // In the \"load\" stage, graphic need to be built to\n // get boundingRect for geo coordinate system.\n var firstGraphic = this._firstGraphic;\n // Create the return data structure only when first graphic created.\n // Because they will be used in geo coordinate system update stage,\n // and `regions` will be mounted at `geo` coordinate system,\n // in which there is no \"view\" info, so that it should better not to\n // make references to graphic elements.\n if (!firstGraphic) {\n firstGraphic = this._firstGraphic = this._buildGraphic(this._parsedXML);\n this._freedGraphics.push(firstGraphic);\n this._boundingRect = this._firstGraphic.boundingRect.clone();\n // PENDING: `nameMap` will not be supported until some real requirement come.\n // if (nameMap) {\n // named = applyNameMap(named, nameMap);\n // }\n var _a = createRegions(firstGraphic.named),\n regions = _a.regions,\n regionsMap = _a.regionsMap;\n this._regions = regions;\n this._regionsMap = regionsMap;\n }\n return {\n boundingRect: this._boundingRect,\n regions: this._regions,\n regionsMap: this._regionsMap\n };\n };\n GeoSVGResource.prototype._buildGraphic = function (svgXML) {\n var result;\n var rootFromParse;\n try {\n result = svgXML && parseSVG(svgXML, {\n ignoreViewBox: true,\n ignoreRootClip: true\n }) || {};\n rootFromParse = result.root;\n assert(rootFromParse != null);\n } catch (e) {\n throw new Error('Invalid svg format\\n' + e.message);\n }\n // Note: we keep the covenant that the root has no transform. So always add an extra root.\n var root = new Group();\n root.add(rootFromParse);\n root.isGeoSVGGraphicRoot = true;\n // [THE_RULE_OF_VIEWPORT_AND_VIEWBOX]\n //\n // Consider: `<svg width=\"...\" height=\"...\" viewBox=\"...\">`\n // - the `width/height` we call it `svgWidth/svgHeight` for short.\n // - `(0, 0, svgWidth, svgHeight)` defines the viewport of the SVG, or say,\n // \"viewport boundingRect\", or `boundingRect` for short.\n // - `viewBox` defines the transform from the real content ot the viewport.\n // `viewBox` has the same unit as the content of SVG.\n // If `viewBox` exists, a transform is defined, so the unit of `svgWidth/svgHeight` become\n // different from the content of SVG. Otherwise, they are the same.\n //\n // If both `svgWidth/svgHeight/viewBox` are specified in a SVG file, the transform rule will be:\n // 0. `boundingRect` is `(0, 0, svgWidth, svgHeight)`. Set it to Geo['_rect'] (View['_rect']).\n // 1. Make a transform from `viewBox` to `boundingRect`.\n // Note: only support `preserveAspectRatio 'xMidYMid'` here. That is, this transform will preserve\n // the aspect ratio.\n // 2. Make a transform from boundingRect to Geo['_viewRect'] (View['_viewRect'])\n // (`Geo`/`View` will do this job).\n // Note: this transform might not preserve aspect radio, which depending on how users specify\n // viewRect in echarts option (e.g., `geo.left/top/width/height` will not preserve aspect ratio,\n // but `geo.layoutCenter/layoutSize` will preserve aspect ratio).\n //\n // If `svgWidth/svgHeight` not specified, we use `viewBox` as the `boundingRect` to make the SVG\n // layout look good.\n //\n // If neither `svgWidth/svgHeight` nor `viewBox` are not specified, we calculate the boundingRect\n // of the SVG content and use them to make SVG layout look good.\n var svgWidth = result.width;\n var svgHeight = result.height;\n var viewBoxRect = result.viewBoxRect;\n var boundingRect = this._boundingRect;\n if (!boundingRect) {\n var bRectX = void 0;\n var bRectY = void 0;\n var bRectWidth = void 0;\n var bRectHeight = void 0;\n if (svgWidth != null) {\n bRectX = 0;\n bRectWidth = svgWidth;\n } else if (viewBoxRect) {\n bRectX = viewBoxRect.x;\n bRectWidth = viewBoxRect.width;\n }\n if (svgHeight != null) {\n bRectY = 0;\n bRectHeight = svgHeight;\n } else if (viewBoxRect) {\n bRectY = viewBoxRect.y;\n bRectHeight = viewBoxRect.height;\n }\n // If both viewBox and svgWidth/svgHeight not specified,\n // we have to determine how to layout those element to make them look good.\n if (bRectX == null || bRectY == null) {\n var calculatedBoundingRect = rootFromParse.getBoundingRect();\n if (bRectX == null) {\n bRectX = calculatedBoundingRect.x;\n bRectWidth = calculatedBoundingRect.width;\n }\n if (bRectY == null) {\n bRectY = calculatedBoundingRect.y;\n bRectHeight = calculatedBoundingRect.height;\n }\n }\n boundingRect = this._boundingRect = new BoundingRect(bRectX, bRectY, bRectWidth, bRectHeight);\n }\n if (viewBoxRect) {\n var viewBoxTransform = makeViewBoxTransform(viewBoxRect, boundingRect);\n // Only support `preserveAspectRatio 'xMidYMid'`\n rootFromParse.scaleX = rootFromParse.scaleY = viewBoxTransform.scale;\n rootFromParse.x = viewBoxTransform.x;\n rootFromParse.y = viewBoxTransform.y;\n }\n // SVG needs to clip based on `viewBox`. And some SVG files really rely on this feature.\n // They do not strictly confine all of the content inside a display rect, but deliberately\n // use a `viewBox` to define a displayable rect.\n // PENDING:\n // The drawback of the `setClipPath` here is: the region label (genereted by echarts) near the\n // edge might also be clipped, because region labels are put as `textContent` of the SVG path.\n root.setClipPath(new Rect({\n shape: boundingRect.plain()\n }));\n var named = [];\n each(result.named, function (namedItem) {\n if (REGION_AVAILABLE_SVG_TAG_MAP.get(namedItem.svgNodeTagLower) != null) {\n named.push(namedItem);\n setSilent(namedItem.el);\n }\n });\n return {\n root: root,\n boundingRect: boundingRect,\n named: named\n };\n };\n /**\r\n * Consider:\r\n * (1) One graphic element can not be shared by different `geoView` running simultaneously.\r\n * Notice, also need to consider multiple echarts instances share a `mapRecord`.\r\n * (2) Converting SVG to graphic elements is time consuming.\r\n * (3) In the current architecture, `load` should be called frequently to get boundingRect,\r\n * and it is called without view info.\r\n * So we maintain graphic elements in this module, and enables `view` to use/return these\r\n * graphics from/to the pool with it's uid.\r\n */\n GeoSVGResource.prototype.useGraphic = function (hostKey /* , nameMap: NameMap */) {\n var usedRootMap = this._usedGraphicMap;\n var svgGraphic = usedRootMap.get(hostKey);\n if (svgGraphic) {\n return svgGraphic;\n }\n svgGraphic = this._freedGraphics.pop()\n // use the first boundingRect to avoid duplicated boundingRect calculation.\n || this._buildGraphic(this._parsedXML);\n usedRootMap.set(hostKey, svgGraphic);\n // PENDING: `nameMap` will not be supported until some real requirement come.\n // `nameMap` can only be obtained from echarts option.\n // The original `named` must not be modified.\n // if (nameMap) {\n // svgGraphic = extend({}, svgGraphic);\n // svgGraphic.named = applyNameMap(svgGraphic.named, nameMap);\n // }\n return svgGraphic;\n };\n GeoSVGResource.prototype.freeGraphic = function (hostKey) {\n var usedRootMap = this._usedGraphicMap;\n var svgGraphic = usedRootMap.get(hostKey);\n if (svgGraphic) {\n usedRootMap.removeKey(hostKey);\n this._freedGraphics.push(svgGraphic);\n }\n };\n return GeoSVGResource;\n}();\nexport { GeoSVGResource };\nfunction setSilent(el) {\n // Only named element has silent: false, other elements should\n // act as background and has no user interaction.\n el.silent = false;\n // text|tspan will be converted to group.\n if (el.isGroup) {\n el.traverse(function (child) {\n child.silent = false;\n });\n }\n}\nfunction createRegions(named) {\n var regions = [];\n var regionsMap = createHashMap();\n // Create resions only for the first graphic.\n each(named, function (namedItem) {\n // Region has feature to calculate center for tooltip or other features.\n // If there is a <g name=\"xxx\">, the center should be the center of the\n // bounding rect of the g.\n if (namedItem.namedFrom != null) {\n return;\n }\n var region = new GeoSVGRegion(namedItem.name, namedItem.el);\n // PENDING: if `nameMap` supported, this region can not be mounted on\n // `this`, but can only be created each time `load()` called.\n regions.push(region);\n // PENDING: if multiple tag named with the same name, only one will be\n // found by `_regionsMap`. `_regionsMap` is used to find a coordinate\n // by name. We use `region.getCenter()` as the coordinate.\n regionsMap.set(namedItem.name, region);\n });\n return {\n regions: regions,\n regionsMap: regionsMap\n };\n}\n// PENDING: `nameMap` will not be supported until some real requirement come.\n// /**\n// * Use the alias in geoNameMap.\n// * The input `named` must not be modified.\n// */\n// function applyNameMap(\n// named: GeoSVGGraphicRecord['named'],\n// nameMap: NameMap\n// ): GeoSVGGraphicRecord['named'] {\n// const result = [] as GeoSVGGraphicRecord['named'];\n// for (let i = 0; i < named.length; i++) {\n// let regionGraphic = named[i];\n// const name = regionGraphic.name;\n// if (nameMap && nameMap.hasOwnProperty(name)) {\n// regionGraphic = extend({}, regionGraphic);\n// regionGraphic.name = name;\n// }\n// result.push(regionGraphic);\n// }\n// return result;\n// }"],"names":["REGION_AVAILABLE_SVG_TAG_MAP","createHashMap","GeoSVGResource","mapName","svg","parseXML","firstGraphic","_a","createRegions","regions","regionsMap","svgXML","result","rootFromParse","parseSVG","assert","e","root","Group","svgWidth","svgHeight","viewBoxRect","boundingRect","bRectX","bRectY","bRectWidth","bRectHeight","calculatedBoundingRect","BoundingRect","viewBoxTransform","makeViewBoxTransform","Rect","named","each","namedItem","setSilent","hostKey","usedRootMap","svgGraphic","el","child","region","GeoSVGRegion"],"mappings":";;;;;;;AAsEA,IAAIA,IAA+BC,E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ChF,UAAIC,IAAc,KAAK,iBACnBC,IAAaD,EAAY,IAAID,CAAO;AACxC,aAAIE,MAGJA,IAAa,KAAK,eAAe,IAAG,KAEjC,KAAK,cAAc,KAAK,UAAU,GACrCD,EAAY,IAAID,GAASE,CAAU,GAQ5BA;AAAA,IACT,GACApC,EAAe,UAAU,cAAc,SAAUkC,GAAS;AACxD,UAAIC,IAAc,KAAK,iBACnBC,IAAaD,EAAY,IAAID,CAAO;AACxC,MAAIE,MACFD,EAAY,UAAUD,CAAO,GAC7B,KAAK,eAAe,KAAKE,CAAU;AAAA,IAEvC,GACOpC;AAAA,EACT,GAAC;AAAA;AAED,SAASiC,EAAUI,GAAI;AAGrB,EAAAA,EAAG,SAAS,IAERA,EAAG,WACLA,EAAG,SAAS,SAAUC,GAAO;AAC3B,IAAAA,EAAM,SAAS;AAAA,EACjB,CAAC;AAEL;AACA,SAAShC,EAAcwB,GAAO;AAC5B,MAAIvB,IAAU,CAAA,GACVC,IAAaT,EAAa;AAE9B,SAAAgC,EAAKD,GAAO,SAAUE,GAAW;AAI/B,QAAIA,EAAU,aAAa,MAG3B;AAAA,UAAIO,IAAS,IAAIC,EAAaR,EAAU,MAAMA,EAAU,EAAE;AAG1D,MAAAzB,EAAQ,KAAKgC,CAAM,GAInB/B,EAAW,IAAIwB,EAAU,MAAMO,CAAM;AAAA;AAAA,EACvC,CAAC,GACM;AAAA,IACL,SAAShC;AAAA,IACT,YAAYC;AAAA,EAChB;AACA;","x_google_ignoreList":[0]}
@@ -1,138 +0,0 @@
1
- import { __extends as R } from "../../../node_modules/tslib/tslib.es6.js";
2
- import y from "../../../../zrender/lib/core/BoundingRect.js";
3
- import { applyTransform as S, min as x, max as F } from "../../../../zrender/lib/core/vector.js";
4
- import { contain as G } from "../../../../zrender/lib/contain/polygon.js";
5
- import { identity as O, mul as B, invert as N } from "../../../../zrender/lib/core/matrix.js";
6
- import { each as l } from "../../../../zrender/lib/core/util.js";
7
- var d = [];
8
- function m(o, n) {
9
- for (var r = 0; r < o.length; r++)
10
- S(o[r], o[r], n);
11
- }
12
- function p(o, n, r, i) {
13
- for (var e = 0; e < o.length; e++) {
14
- var t = o[e];
15
- i && (t = i.project(t)), t && isFinite(t[0]) && isFinite(t[1]) && (x(n, n, t), F(r, r, t));
16
- }
17
- }
18
- function w(o) {
19
- for (var n = 0, r = 0, i = 0, e = o.length, t = o[e - 1][0], a = o[e - 1][1], f = 0; f < e; f++) {
20
- var s = o[f][0], c = o[f][1], u = t * c - s * a;
21
- n += u, r += (t + s) * u, i += (a + c) * u, t = s, a = c;
22
- }
23
- return n ? [r / n / 3, i / n / 3, n] : [o[0][0] || 0, o[0][1] || 0];
24
- }
25
- var _ = (
26
- /** @class */
27
- (function() {
28
- function o(n) {
29
- this.name = n;
30
- }
31
- return o.prototype.setCenter = function(n) {
32
- this._center = n;
33
- }, o.prototype.getCenter = function() {
34
- var n = this._center;
35
- return n || (n = this._center = this.calcCenter()), n;
36
- }, o;
37
- })()
38
- ), L = (
39
- /** @class */
40
- /* @__PURE__ */ (function() {
41
- function o(n, r) {
42
- this.type = "polygon", this.exterior = n, this.interiors = r;
43
- }
44
- return o;
45
- })()
46
- ), A = (
47
- /** @class */
48
- /* @__PURE__ */ (function() {
49
- function o(n) {
50
- this.type = "linestring", this.points = n;
51
- }
52
- return o;
53
- })()
54
- ), M = (
55
- /** @class */
56
- (function(o) {
57
- R(n, o);
58
- function n(r, i, e) {
59
- var t = o.call(this, r) || this;
60
- return t.type = "geoJSON", t.geometries = i, t._center = e && [e[0], e[1]], t;
61
- }
62
- return n.prototype.calcCenter = function() {
63
- for (var r = this.geometries, i, e = 0, t = 0; t < r.length; t++) {
64
- var a = r[t], f = a.exterior, s = f && f.length;
65
- s > e && (i = a, e = s);
66
- }
67
- if (i)
68
- return w(i.exterior);
69
- var c = this.getBoundingRect();
70
- return [c.x + c.width / 2, c.y + c.height / 2];
71
- }, n.prototype.getBoundingRect = function(r) {
72
- var i = this._rect;
73
- if (i && !r)
74
- return i;
75
- var e = [1 / 0, 1 / 0], t = [-1 / 0, -1 / 0], a = this.geometries;
76
- return l(a, function(f) {
77
- f.type === "polygon" ? p(f.exterior, e, t, r) : l(f.points, function(s) {
78
- p(s, e, t, r);
79
- });
80
- }), isFinite(e[0]) && isFinite(e[1]) && isFinite(t[0]) && isFinite(t[1]) || (e[0] = e[1] = t[0] = t[1] = 0), i = new y(e[0], e[1], t[0] - e[0], t[1] - e[1]), r || (this._rect = i), i;
81
- }, n.prototype.contain = function(r) {
82
- var i = this.getBoundingRect(), e = this.geometries;
83
- if (!i.contain(r[0], r[1]))
84
- return !1;
85
- t: for (var t = 0, a = e.length; t < a; t++) {
86
- var f = e[t];
87
- if (f.type === "polygon") {
88
- var s = f.exterior, c = f.interiors;
89
- if (G(s, r[0], r[1])) {
90
- for (var u = 0; u < (c ? c.length : 0); u++)
91
- if (G(c[u], r[0], r[1]))
92
- continue t;
93
- return !0;
94
- }
95
- }
96
- }
97
- return !1;
98
- }, n.prototype.transformTo = function(r, i, e, t) {
99
- var a = this.getBoundingRect(), f = a.width / a.height;
100
- e ? t || (t = e / f) : e = f * t;
101
- for (var s = new y(r, i, e, t), c = a.calculateTransform(s), u = this.geometries, g = 0; g < u.length; g++) {
102
- var v = u[g];
103
- v.type === "polygon" ? (m(v.exterior, c), l(v.interiors, function(h) {
104
- m(h, c);
105
- })) : l(v.points, function(h) {
106
- m(h, c);
107
- });
108
- }
109
- a = this._rect, a.copy(s), this._center = [a.x + a.width / 2, a.y + a.height / 2];
110
- }, n.prototype.cloneShallow = function(r) {
111
- r == null && (r = this.name);
112
- var i = new n(r, this.geometries, this._center);
113
- return i._rect = this._rect, i.transformTo = null, i;
114
- }, n;
115
- })(_)
116
- ), b = (
117
- /** @class */
118
- (function(o) {
119
- R(n, o);
120
- function n(r, i) {
121
- var e = o.call(this, r) || this;
122
- return e.type = "geoSVG", e._elOnlyForCalculate = i, e;
123
- }
124
- return n.prototype.calcCenter = function() {
125
- for (var r = this._elOnlyForCalculate, i = r.getBoundingRect(), e = [i.x + i.width / 2, i.y + i.height / 2], t = O(d), a = r; a && !a.isGeoSVGGraphicRoot; )
126
- B(t, a.getLocalTransform(), t), a = a.parent;
127
- return N(t, t), S(e, e, t), e;
128
- }, n;
129
- })(_)
130
- );
131
- export {
132
- A as GeoJSONLineStringGeometry,
133
- L as GeoJSONPolygonGeometry,
134
- M as GeoJSONRegion,
135
- b as GeoSVGRegion,
136
- _ as Region
137
- };
138
- //# sourceMappingURL=Region.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Region.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/Region.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport { __extends } from \"tslib\";\nimport BoundingRect from 'zrender/lib/core/BoundingRect.js';\nimport * as vec2 from 'zrender/lib/core/vector.js';\nimport * as polygonContain from 'zrender/lib/contain/polygon.js';\nimport * as matrix from 'zrender/lib/core/matrix.js';\nimport { each } from 'zrender/lib/core/util.js';\nvar TMP_TRANSFORM = [];\nfunction transformPoints(points, transform) {\n for (var p = 0; p < points.length; p++) {\n vec2.applyTransform(points[p], points[p], transform);\n }\n}\nfunction updateBBoxFromPoints(points, min, max, projection) {\n for (var i = 0; i < points.length; i++) {\n var p = points[i];\n if (projection) {\n // projection may return null point.\n p = projection.project(p);\n }\n if (p && isFinite(p[0]) && isFinite(p[1])) {\n vec2.min(min, min, p);\n vec2.max(max, max, p);\n }\n }\n}\nfunction centroid(points) {\n var signedArea = 0;\n var cx = 0;\n var cy = 0;\n var len = points.length;\n var x0 = points[len - 1][0];\n var y0 = points[len - 1][1];\n // Polygon should been closed.\n for (var i = 0; i < len; i++) {\n var x1 = points[i][0];\n var y1 = points[i][1];\n var a = x0 * y1 - x1 * y0;\n signedArea += a;\n cx += (x0 + x1) * a;\n cy += (y0 + y1) * a;\n x0 = x1;\n y0 = y1;\n }\n return signedArea ? [cx / signedArea / 3, cy / signedArea / 3, signedArea] : [points[0][0] || 0, points[0][1] || 0];\n}\nvar Region = /** @class */function () {\n function Region(name) {\n this.name = name;\n }\n Region.prototype.setCenter = function (center) {\n this._center = center;\n };\n /**\r\n * Get center point in data unit. That is,\r\n * for GeoJSONRegion, the unit is lat/lng,\r\n * for GeoSVGRegion, the unit is SVG local coord.\r\n */\n Region.prototype.getCenter = function () {\n var center = this._center;\n if (!center) {\n // In most cases there are no need to calculate this center.\n // So calculate only when called.\n center = this._center = this.calcCenter();\n }\n return center;\n };\n return Region;\n}();\nexport { Region };\nvar GeoJSONPolygonGeometry = /** @class */function () {\n function GeoJSONPolygonGeometry(exterior, interiors) {\n this.type = 'polygon';\n this.exterior = exterior;\n this.interiors = interiors;\n }\n return GeoJSONPolygonGeometry;\n}();\nexport { GeoJSONPolygonGeometry };\nvar GeoJSONLineStringGeometry = /** @class */function () {\n function GeoJSONLineStringGeometry(points) {\n this.type = 'linestring';\n this.points = points;\n }\n return GeoJSONLineStringGeometry;\n}();\nexport { GeoJSONLineStringGeometry };\nvar GeoJSONRegion = /** @class */function (_super) {\n __extends(GeoJSONRegion, _super);\n function GeoJSONRegion(name, geometries, cp) {\n var _this = _super.call(this, name) || this;\n _this.type = 'geoJSON';\n _this.geometries = geometries;\n _this._center = cp && [cp[0], cp[1]];\n return _this;\n }\n GeoJSONRegion.prototype.calcCenter = function () {\n var geometries = this.geometries;\n var largestGeo;\n var largestGeoSize = 0;\n for (var i = 0; i < geometries.length; i++) {\n var geo = geometries[i];\n var exterior = geo.exterior;\n // Simple trick to use points count instead of polygon area as region size.\n // Ignore linestring\n var size = exterior && exterior.length;\n if (size > largestGeoSize) {\n largestGeo = geo;\n largestGeoSize = size;\n }\n }\n if (largestGeo) {\n return centroid(largestGeo.exterior);\n }\n // from bounding rect by default.\n var rect = this.getBoundingRect();\n return [rect.x + rect.width / 2, rect.y + rect.height / 2];\n };\n GeoJSONRegion.prototype.getBoundingRect = function (projection) {\n var rect = this._rect;\n // Always recalculate if using projection.\n if (rect && !projection) {\n return rect;\n }\n var min = [Infinity, Infinity];\n var max = [-Infinity, -Infinity];\n var geometries = this.geometries;\n each(geometries, function (geo) {\n if (geo.type === 'polygon') {\n // Doesn't consider hole\n updateBBoxFromPoints(geo.exterior, min, max, projection);\n } else {\n each(geo.points, function (points) {\n updateBBoxFromPoints(points, min, max, projection);\n });\n }\n });\n // Normalie invalid bounding.\n if (!(isFinite(min[0]) && isFinite(min[1]) && isFinite(max[0]) && isFinite(max[1]))) {\n min[0] = min[1] = max[0] = max[1] = 0;\n }\n rect = new BoundingRect(min[0], min[1], max[0] - min[0], max[1] - min[1]);\n if (!projection) {\n this._rect = rect;\n }\n return rect;\n };\n GeoJSONRegion.prototype.contain = function (coord) {\n var rect = this.getBoundingRect();\n var geometries = this.geometries;\n if (!rect.contain(coord[0], coord[1])) {\n return false;\n }\n loopGeo: for (var i = 0, len = geometries.length; i < len; i++) {\n var geo = geometries[i];\n // Only support polygon.\n if (geo.type !== 'polygon') {\n continue;\n }\n var exterior = geo.exterior;\n var interiors = geo.interiors;\n if (polygonContain.contain(exterior, coord[0], coord[1])) {\n // Not in the region if point is in the hole.\n for (var k = 0; k < (interiors ? interiors.length : 0); k++) {\n if (polygonContain.contain(interiors[k], coord[0], coord[1])) {\n continue loopGeo;\n }\n }\n return true;\n }\n }\n return false;\n };\n /**\r\n * Transform the raw coords to target bounding.\r\n * @param x\r\n * @param y\r\n * @param width\r\n * @param height\r\n */\n GeoJSONRegion.prototype.transformTo = function (x, y, width, height) {\n var rect = this.getBoundingRect();\n var aspect = rect.width / rect.height;\n if (!width) {\n width = aspect * height;\n } else if (!height) {\n height = width / aspect;\n }\n var target = new BoundingRect(x, y, width, height);\n var transform = rect.calculateTransform(target);\n var geometries = this.geometries;\n for (var i = 0; i < geometries.length; i++) {\n var geo = geometries[i];\n if (geo.type === 'polygon') {\n transformPoints(geo.exterior, transform);\n each(geo.interiors, function (interior) {\n transformPoints(interior, transform);\n });\n } else {\n each(geo.points, function (points) {\n transformPoints(points, transform);\n });\n }\n }\n rect = this._rect;\n rect.copy(target);\n // Update center\n this._center = [rect.x + rect.width / 2, rect.y + rect.height / 2];\n };\n GeoJSONRegion.prototype.cloneShallow = function (name) {\n name == null && (name = this.name);\n var newRegion = new GeoJSONRegion(name, this.geometries, this._center);\n newRegion._rect = this._rect;\n newRegion.transformTo = null; // Simply avoid to be called.\n return newRegion;\n };\n return GeoJSONRegion;\n}(Region);\nexport { GeoJSONRegion };\nvar GeoSVGRegion = /** @class */function (_super) {\n __extends(GeoSVGRegion, _super);\n function GeoSVGRegion(name, elOnlyForCalculate) {\n var _this = _super.call(this, name) || this;\n _this.type = 'geoSVG';\n _this._elOnlyForCalculate = elOnlyForCalculate;\n return _this;\n }\n GeoSVGRegion.prototype.calcCenter = function () {\n var el = this._elOnlyForCalculate;\n var rect = el.getBoundingRect();\n var center = [rect.x + rect.width / 2, rect.y + rect.height / 2];\n var mat = matrix.identity(TMP_TRANSFORM);\n var target = el;\n while (target && !target.isGeoSVGGraphicRoot) {\n matrix.mul(mat, target.getLocalTransform(), mat);\n target = target.parent;\n }\n matrix.invert(mat, mat);\n vec2.applyTransform(center, center, mat);\n return center;\n };\n return GeoSVGRegion;\n}(Region);\nexport { GeoSVGRegion };"],"names":["TMP_TRANSFORM","transformPoints","points","transform","p","vec2.applyTransform","updateBBoxFromPoints","min","max","projection","i","vec2.min","vec2.max","centroid","signedArea","cx","cy","len","x0","y0","x1","y1","a","Region","name","center","GeoJSONPolygonGeometry","exterior","interiors","GeoJSONLineStringGeometry","GeoJSONRegion","_super","__extends","geometries","cp","_this","largestGeo","largestGeoSize","geo","size","rect","each","BoundingRect","coord","loopGeo","polygonContain.contain","k","x","y","width","height","aspect","target","interior","newRegion","GeoSVGRegion","elOnlyForCalculate","el","mat","matrix.identity","matrix.mul","matrix.invert"],"mappings":";;;;;;AAiDA,IAAIA,IAAgB,CAAA;AACpB,SAASC,EAAgBC,GAAQC,GAAW;AAC1C,WAASC,IAAI,GAAGA,IAAIF,EAAO,QAAQE;AACjCC,IAAAA,EAAoBH,EAAOE,CAAC,GAAGF,EAAOE,CAAC,GAAGD,CAAS;AAEvD;AACA,SAASG,EAAqBJ,GAAQK,GAAKC,GAAKC,GAAY;AAC1D,WAASC,IAAI,GAAGA,IAAIR,EAAO,QAAQQ,KAAK;AACtC,QAAIN,IAAIF,EAAOQ,CAAC;AAChB,IAAID,MAEFL,IAAIK,EAAW,QAAQL,CAAC,IAEtBA,KAAK,SAASA,EAAE,CAAC,CAAC,KAAK,SAASA,EAAE,CAAC,CAAC,MACtCO,EAASJ,GAAKA,GAAKH,CAAC,GACpBQ,EAASJ,GAAKA,GAAKJ,CAAC;AAAA,EAExB;AACF;AACA,SAASS,EAASX,GAAQ;AAQxB,W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,IAAS,CAACe,EAAK,IAAIA,EAAK,QAAQ,GAAGA,EAAK,IAAIA,EAAK,SAAS,CAAC,GAC3DkB,IAAMC,EAAgB3D,CAAa,GACnCoD,IAASK,GACNL,KAAU,CAACA,EAAO;AACvBQ,QAAAA,EAAWF,GAAKN,EAAO,kBAAiB,GAAIM,CAAG,GAC/CN,IAASA,EAAO;AAElBS,aAAAA,EAAcH,GAAKA,CAAG,GACtBrD,EAAoBoB,GAAQA,GAAQiC,CAAG,GAChCjC;AAAA,IACT,GACO8B;AAAA,EACT,GAAEhC,CAAM;AAAA;","x_google_ignoreList":[0]}
@@ -1,11 +0,0 @@
1
- var i = [[[123.45165252685547, 25.73527164402261], [123.49731445312499, 25.73527164402261], [123.49731445312499, 25.750734064600884], [123.45165252685547, 25.750734064600884], [123.45165252685547, 25.73527164402261]]];
2
- function o(a, e) {
3
- a === "china" && e.name === "台湾" && e.geometries.push({
4
- type: "polygon",
5
- exterior: i[0]
6
- });
7
- }
8
- export {
9
- o as default
10
- };
11
- //# sourceMappingURL=diaoyuIsland.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"diaoyuIsland.js","sources":["../../../../../../../node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.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// Fix for 钓鱼岛\n// let Region = require('../Region');\n// let zrUtil = require('zrender/lib/core/util');\n// let geoCoord = [126, 25];\nvar points = [[[123.45165252685547, 25.73527164402261], [123.49731445312499, 25.73527164402261], [123.49731445312499, 25.750734064600884], [123.45165252685547, 25.750734064600884], [123.45165252685547, 25.73527164402261]]];\nexport default function fixDiaoyuIsland(mapType, region) {\n if (mapType === 'china' && region.name === '台湾') {\n region.geometries.push({\n type: 'polygon',\n exterior: points[0]\n });\n }\n}"],"names":["points","fixDiaoyuIsland","mapType","region"],"mappings":"AA+CA,IAAIA,IAAS,CAAC,CAAC,CAAC,oBAAoB,iBAAiB,GAAG,CAAC,oBAAoB,iBAAiB,GAAG,CAAC,oBAAoB,kBAAkB,GAAG,CAAC,oBAAoB,kBAAkB,GAAG,CAAC,oBAAoB,iBAAiB,CAAC,CAAC;AAC9M,SAASC,EAAgBC,GAASC,GAAQ;AACvD,EAAID,MAAY,WAAWC,EAAO,SAAS,QACzCA,EAAO,WAAW,KAAK;AAAA,IACrB,MAAM;AAAA,IACN,UAAUH,EAAO,CAAC;AAAA,EACxB,CAAK;AAEL;","x_google_ignoreList":[0]}
@@ -1,23 +0,0 @@
1
- import { map as m } from "../../../../../zrender/lib/core/util.js";
2
- import { GeoJSONRegion as u } from "../Region.js";
3
- var t = [126, 25], f = "南海诸岛", o = [[[0, 3.5], [7, 11.2], [15, 11.9], [30, 7], [42, 0.7], [52, 0.7], [56, 7.7], [59, 0.7], [64, 0.7], [64, 0], [5, 0], [0, 3.5]], [[13, 16.1], [19, 14.7], [16, 21.7], [11, 23.1], [13, 16.1]], [[12, 32.2], [14, 38.5], [15, 38.5], [13, 32.2], [12, 32.2]], [[16, 47.6], [12, 53.2], [13, 53.2], [18, 47.6], [16, 47.6]], [[6, 64.4], [8, 70], [9, 70], [8, 64.4], [6, 64.4]], [[23, 82.6], [29, 79.8], [30, 79.8], [25, 82.6], [23, 82.6]], [[37, 70.7], [43, 62.3], [44, 62.3], [39, 70.7], [37, 70.7]], [[48, 51.1], [51, 45.5], [53, 45.5], [50, 51.1], [48, 51.1]], [[51, 35], [51, 28.7], [53, 28.7], [53, 35], [51, 35]], [[52, 22.4], [55, 17.5], [56, 17.5], [53, 22.4], [52, 22.4]], [[58, 12.6], [62, 7], [63, 7], [60, 12.6], [58, 12.6]], [[0, 3.5], [0, 93.1], [64, 93.1], [64, 0], [63, 0], [63, 92.4], [1, 92.4], [1, 3.5], [0, 3.5]]];
4
- for (var r = 0; r < o.length; r++)
5
- for (var a = 0; a < o[r].length; a++)
6
- o[r][a][0] /= 10.5, o[r][a][1] /= -10.5 / 0.75, o[r][a][0] += t[0], o[r][a][1] += t[1];
7
- function g(p, n) {
8
- if (p === "china") {
9
- for (var e = 0; e < n.length; e++)
10
- if (n[e].name === f)
11
- return;
12
- n.push(new u(f, m(o, function(h) {
13
- return {
14
- type: "polygon",
15
- exterior: h
16
- };
17
- }), t));
18
- }
19
- }
20
- export {
21
- g as default
22
- };
23
- //# sourceMappingURL=nanhai.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nanhai.js","sources":["../../../../../../../node_modules/echarts/lib/coord/geo/fix/nanhai.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// Fix for 南海诸岛\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport { GeoJSONRegion } from '../Region.js';\nvar geoCoord = [126, 25];\nvar nanhaiName = '南海诸岛';\nvar points = [[[0, 3.5], [7, 11.2], [15, 11.9], [30, 7], [42, 0.7], [52, 0.7], [56, 7.7], [59, 0.7], [64, 0.7], [64, 0], [5, 0], [0, 3.5]], [[13, 16.1], [19, 14.7], [16, 21.7], [11, 23.1], [13, 16.1]], [[12, 32.2], [14, 38.5], [15, 38.5], [13, 32.2], [12, 32.2]], [[16, 47.6], [12, 53.2], [13, 53.2], [18, 47.6], [16, 47.6]], [[6, 64.4], [8, 70], [9, 70], [8, 64.4], [6, 64.4]], [[23, 82.6], [29, 79.8], [30, 79.8], [25, 82.6], [23, 82.6]], [[37, 70.7], [43, 62.3], [44, 62.3], [39, 70.7], [37, 70.7]], [[48, 51.1], [51, 45.5], [53, 45.5], [50, 51.1], [48, 51.1]], [[51, 35], [51, 28.7], [53, 28.7], [53, 35], [51, 35]], [[52, 22.4], [55, 17.5], [56, 17.5], [53, 22.4], [52, 22.4]], [[58, 12.6], [62, 7], [63, 7], [60, 12.6], [58, 12.6]], [[0, 3.5], [0, 93.1], [64, 93.1], [64, 0], [63, 0], [63, 92.4], [1, 92.4], [1, 3.5], [0, 3.5]]];\nfor (var i = 0; i < points.length; i++) {\n for (var k = 0; k < points[i].length; k++) {\n points[i][k][0] /= 10.5;\n points[i][k][1] /= -10.5 / 0.75;\n points[i][k][0] += geoCoord[0];\n points[i][k][1] += geoCoord[1];\n }\n}\nexport default function fixNanhai(mapType, regions) {\n if (mapType === 'china') {\n for (var i = 0; i < regions.length; i++) {\n // Already exists.\n if (regions[i].name === nanhaiName) {\n return;\n }\n }\n regions.push(new GeoJSONRegion(nanhaiName, zrUtil.map(points, function (exterior) {\n return {\n type: 'polygon',\n exterior: exterior\n };\n }), geoCoord));\n }\n}"],"names":["geoCoord","nanhaiName","points","i","k","fixNanhai","mapType","regions","GeoJSONRegion","zrUtil.map","exterior"],"mappings":";;AA8CA,IAAIA,IAAW,CAAC,KAAK,EAAE,GACnBC,IAAa,QACbC,IAAS,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,I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CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC;AACj0B,SAASC,IAAI,GAAGA,IAAID,EAAO,QAAQC;AACjC,WAASC,IAAI,GAAGA,IAAIF,EAAOC,CAAC,EAAE,QAAQC;AACpC,IAAAF,EAAOC,CAAC,EAAEC,CAAC,EAAE,CAAC,KAAK,MACnBF,EAAOC,CAAC,EAAEC,CAAC,EAAE,CAAC,KAAK,QAAQ,MAC3BF,EAAOC,CAAC,EAAEC,CAAC,EAAE,CAAC,KAAKJ,EAAS,CAAC,GAC7BE,EAAOC,CAAC,EAAEC,CAAC,EAAE,CAAC,KAAKJ,EAAS,CAAC;AAGlB,SAASK,EAAUC,GAASC,GAAS;AAClD,MAAID,MAAY,SAAS;AACvB,aAASH,IAAI,GAAGA,IAAII,EAAQ,QAAQJ;AAElC,UAAII,EAAQJ,CAAC,EAAE,SAASF;AACtB;AAGJ,IAAAM,EAAQ,KAAK,IAAIC,EAAcP,GAAYQ,EAAWP,GAAQ,SAAUQ,GAAU;AAChF,aAAO;AAAA,QACL,MAAM;AAAA,QACN,UAAUA;AAAA,MAClB;AAAA,IACI,CAAC,GAAGV,CAAQ,CAAC;AAAA,EACf;AACF;","x_google_ignoreList":[0]}
@@ -1,22 +0,0 @@
1
- var s = {
2
- 南海诸岛: [32, 80],
3
- // 全国
4
- 广东: [0, -10],
5
- 香港: [10, 5],
6
- 澳门: [-10, 10],
7
- // '北京': [-10, 0],
8
- 天津: [5, 5]
9
- };
10
- function n(f, e) {
11
- if (f === "china") {
12
- var t = s[e.name];
13
- if (t) {
14
- var a = e.getCenter();
15
- a[0] += t[0] / 10.5, a[1] += -t[1] / (10.5 / 0.75), e.setCenter(a);
16
- }
17
- }
18
- }
19
- export {
20
- n as default
21
- };
22
- //# sourceMappingURL=textCoord.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"textCoord.js","sources":["../../../../../../../node_modules/echarts/lib/coord/geo/fix/textCoord.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*/\nvar coordsOffsetMap = {\n '南海诸岛': [32, 80],\n // 全国\n '广东': [0, -10],\n '香港': [10, 5],\n '澳门': [-10, 10],\n // '北京': [-10, 0],\n '天津': [5, 5]\n};\nexport default function fixTextCoords(mapType, region) {\n if (mapType === 'china') {\n var coordFix = coordsOffsetMap[region.name];\n if (coordFix) {\n var cp = region.getCenter();\n cp[0] += coordFix[0] / 10.5;\n cp[1] += -coordFix[1] / (10.5 / 0.75);\n region.setCenter(cp);\n }\n }\n}"],"names":["coordsOffsetMap","fixTextCoords","mapType","region","coordFix","cp"],"mappings":"AA2CA,IAAIA,IAAkB;AAAA,EACpB,MAAQ,CAAC,IAAI,EAAE;AAAA;AAAA,EAEf,IAAM,CAAC,GAAG,GAAG;AAAA,EACb,IAAM,CAAC,IAAI,CAAC;AAAA,EACZ,IAAM,CAAC,KAAK,EAAE;AAAA;AAAA,EAEd,IAAM,CAAC,GAAG,CAAC;AACb;AACe,SAASC,EAAcC,GAASC,GAAQ;AACrD,MAAID,MAAY,SAAS;AACvB,QAAIE,IAAWJ,EAAgBG,EAAO,IAAI;AAC1C,QAAIC,GAAU;AACZ,UAAIC,IAAKF,EAAO,UAAS;AACzB,MAAAE,EAAG,CAAC,KAAKD,EAAS,CAAC,IAAI,MACvBC,EAAG,CAAC,KAAK,CAACD,EAAS,CAAC,KAAK,OAAO,OAChCD,EAAO,UAAUE,CAAE;AAAA,IACrB;AAAA,EACF;AACF;","x_google_ignoreList":[0]}