@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":"MapDraw.js","sources":["../../../../../../node_modules/echarts/lib/component/helper/MapDraw.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport RoamController from './RoamController.js';\nimport * as roamHelper from '../../component/helper/roamHelper.js';\nimport { onIrrelevantElement } from '../../component/helper/cursorHelper.js';\nimport * as graphic from '../../util/graphic.js';\nimport { toggleHoverEmphasis, enableComponentHighDownFeatures, setDefaultStateProxy } from '../../util/states.js';\nimport geoSourceManager from '../../coord/geo/geoSourceManager.js';\nimport { getUID } from '../../util/component.js';\nimport { setLabelStyle, getLabelStatesModels } from '../../label/labelStyle.js';\nimport { getECData } from '../../util/innerStore.js';\nimport { createOrUpdatePatternFromDecal } from '../../util/decal.js';\nimport Displayable from 'zrender/lib/graphic/Displayable.js';\nimport { makeInner } from '../../util/model.js';\n/**\r\n * Only these tags enable use `itemStyle` if they are named in SVG.\r\n * Other tags like <text> <tspan> <image> might not suitable for `itemStyle`.\r\n * They will not be considered to be styled until some requirements come.\r\n */\nvar OPTION_STYLE_ENABLED_TAGS = ['rect', 'circle', 'line', 'ellipse', 'polygon', 'polyline', 'path'];\nvar OPTION_STYLE_ENABLED_TAG_MAP = zrUtil.createHashMap(OPTION_STYLE_ENABLED_TAGS);\nvar STATE_TRIGGER_TAG_MAP = zrUtil.createHashMap(OPTION_STYLE_ENABLED_TAGS.concat(['g']));\nvar LABEL_HOST_MAP = zrUtil.createHashMap(OPTION_STYLE_ENABLED_TAGS.concat(['g']));\nvar mapLabelRaw = makeInner();\nfunction getFixedItemStyle(model) {\n var itemStyle = model.getItemStyle();\n var areaColor = model.get('areaColor');\n // If user want the color not to be changed when hover,\n // they should both set areaColor and color to be null.\n if (areaColor != null) {\n itemStyle.fill = areaColor;\n }\n return itemStyle;\n}\n// Only stroke can be used for line.\n// Using fill in style if stroke not exits.\n// TODO Not sure yet. Perhaps a separate `lineStyle`?\nfunction fixLineStyle(styleHost) {\n var style = styleHost.style;\n if (style) {\n style.stroke = style.stroke || style.fill;\n style.fill = null;\n }\n}\nvar MapDraw = /** @class */function () {\n function MapDraw(api) {\n var group = new graphic.Group();\n this.uid = getUID('ec_map_draw');\n this._controller = new RoamController(api.getZr());\n this._controllerHost = {\n target: group\n };\n this.group = group;\n group.add(this._regionsGroup = new graphic.Group());\n group.add(this._svgGroup = new graphic.Group());\n }\n MapDraw.prototype.draw = function (mapOrGeoModel, ecModel, api, fromView, payload) {\n var isGeo = mapOrGeoModel.mainType === 'geo';\n // Map series has data. GEO model that controlled by map series\n // will be assigned with map data. Other GEO model has no data.\n var data = mapOrGeoModel.getData && mapOrGeoModel.getData();\n isGeo && ecModel.eachComponent({\n mainType: 'series',\n subType: 'map'\n }, function (mapSeries) {\n if (!data && mapSeries.getHostGeoModel() === mapOrGeoModel) {\n data = mapSeries.getData();\n }\n });\n var geo = mapOrGeoModel.coordinateSystem;\n var regionsGroup = this._regionsGroup;\n var group = this.group;\n var transformInfo = geo.getTransformInfo();\n var transformInfoRaw = transformInfo.raw;\n var transformInfoRoam = transformInfo.roam;\n // No animation when first draw or in action\n var isFirstDraw = !regionsGroup.childAt(0) || payload;\n if (isFirstDraw) {\n group.x = transformInfoRoam.x;\n group.y = transformInfoRoam.y;\n group.scaleX = transformInfoRoam.scaleX;\n group.scaleY = transformInfoRoam.scaleY;\n group.dirty();\n } else {\n graphic.updateProps(group, transformInfoRoam, mapOrGeoModel);\n }\n var isVisualEncodedByVisualMap = data && data.getVisual('visualMeta') && data.getVisual('visualMeta').length > 0;\n var viewBuildCtx = {\n api: api,\n geo: geo,\n mapOrGeoModel: mapOrGeoModel,\n data: data,\n isVisualEncodedByVisualMap: isVisualEncodedByVisualMap,\n isGeo: isGeo,\n transformInfoRaw: transformInfoRaw\n };\n if (geo.resourceType === 'geoJSON') {\n this._buildGeoJSON(viewBuildCtx);\n } else if (geo.resourceType === 'geoSVG') {\n this._buildSVG(viewBuildCtx);\n }\n this._updateController(mapOrGeoModel, ecModel, api);\n this._updateMapSelectHandler(mapOrGeoModel, regionsGroup, api, fromView);\n };\n MapDraw.prototype._buildGeoJSON = function (viewBuildCtx) {\n var regionsGroupByName = this._regionsGroupByName = zrUtil.createHashMap();\n var regionsInfoByName = zrUtil.createHashMap();\n var regionsGroup = this._regionsGroup;\n var transformInfoRaw = viewBuildCtx.transformInfoRaw;\n var mapOrGeoModel = viewBuildCtx.mapOrGeoModel;\n var data = viewBuildCtx.data;\n var projection = viewBuildCtx.geo.projection;\n var projectionStream = projection && projection.stream;\n function transformPoint(point, project) {\n if (project) {\n // projection may return null point.\n point = project(point);\n }\n return point && [point[0] * transformInfoRaw.scaleX + transformInfoRaw.x, point[1] * transformInfoRaw.scaleY + transformInfoRaw.y];\n }\n ;\n function transformPolygonPoints(inPoints) {\n var outPoints = [];\n // If projectionStream is provided. Use it instead of single point project.\n var project = !projectionStream && projection && projection.project;\n for (var i = 0; i < inPoints.length; ++i) {\n var newPt = transformPoint(inPoints[i], project);\n newPt && outPoints.push(newPt);\n }\n return outPoints;\n }\n function getPolyShape(points) {\n return {\n shape: {\n points: transformPolygonPoints(points)\n }\n };\n }\n regionsGroup.removeAll();\n // Only when the resource is GeoJSON, there is `geo.regions`.\n zrUtil.each(viewBuildCtx.geo.regions, function (region) {\n var regionName = region.name;\n // Consider in GeoJson properties.name may be duplicated, for example,\n // there is multiple region named \"United Kindom\" or \"France\" (so many\n // colonies). And it is not appropriate to merge them in geo, which\n // will make them share the same label and bring trouble in label\n // location calculation.\n var regionGroup = regionsGroupByName.get(regionName);\n var _a = regionsInfoByName.get(regionName) || {},\n dataIdx = _a.dataIdx,\n regionModel = _a.regionModel;\n if (!regionGroup) {\n regionGroup = regionsGroupByName.set(regionName, new graphic.Group());\n regionsGroup.add(regionGroup);\n dataIdx = data ? data.indexOfName(regionName) : null;\n regionModel = viewBuildCtx.isGeo ? mapOrGeoModel.getRegionModel(regionName) : data ? data.getItemModel(dataIdx) : null;\n var silent = regionModel.get('silent', true);\n silent != null && (regionGroup.silent = silent);\n regionsInfoByName.set(regionName, {\n dataIdx: dataIdx,\n regionModel: regionModel\n });\n }\n var polygonSubpaths = [];\n var polylineSubpaths = [];\n zrUtil.each(region.geometries, function (geometry) {\n // Polygon and MultiPolygon\n if (geometry.type === 'polygon') {\n var polys = [geometry.exterior].concat(geometry.interiors || []);\n if (projectionStream) {\n polys = projectPolys(polys, projectionStream);\n }\n zrUtil.each(polys, function (poly) {\n polygonSubpaths.push(new graphic.Polygon(getPolyShape(poly)));\n });\n }\n // LineString and MultiLineString\n else {\n var points = geometry.points;\n if (projectionStream) {\n points = projectPolys(points, projectionStream, true);\n }\n zrUtil.each(points, function (points) {\n polylineSubpaths.push(new graphic.Polyline(getPolyShape(points)));\n });\n }\n });\n var centerPt = transformPoint(region.getCenter(), projection && projection.project);\n function createCompoundPath(subpaths, isLine) {\n if (!subpaths.length) {\n return;\n }\n var compoundPath = new graphic.CompoundPath({\n culling: true,\n segmentIgnoreThreshold: 1,\n shape: {\n paths: subpaths\n }\n });\n regionGroup.add(compoundPath);\n applyOptionStyleForRegion(viewBuildCtx, compoundPath, dataIdx, regionModel);\n resetLabelForRegion(viewBuildCtx, compoundPath, regionName, regionModel, mapOrGeoModel, dataIdx, centerPt);\n if (isLine) {\n fixLineStyle(compoundPath);\n zrUtil.each(compoundPath.states, fixLineStyle);\n }\n }\n createCompoundPath(polygonSubpaths);\n createCompoundPath(polylineSubpaths, true);\n });\n // Ensure children have been added to `regionGroup` before calling them.\n regionsGroupByName.each(function (regionGroup, regionName) {\n var _a = regionsInfoByName.get(regionName),\n dataIdx = _a.dataIdx,\n regionModel = _a.regionModel;\n resetEventTriggerForRegion(viewBuildCtx, regionGroup, regionName, regionModel, mapOrGeoModel, dataIdx);\n resetTooltipForRegion(viewBuildCtx, regionGroup, regionName, regionModel, mapOrGeoModel);\n resetStateTriggerForRegion(viewBuildCtx, regionGroup, regionName, regionModel, mapOrGeoModel);\n }, this);\n };\n MapDraw.prototype._buildSVG = function (viewBuildCtx) {\n var mapName = viewBuildCtx.geo.map;\n var transformInfoRaw = viewBuildCtx.transformInfoRaw;\n this._svgGroup.x = transformInfoRaw.x;\n this._svgGroup.y = transformInfoRaw.y;\n this._svgGroup.scaleX = transformInfoRaw.scaleX;\n this._svgGroup.scaleY = transformInfoRaw.scaleY;\n if (this._svgResourceChanged(mapName)) {\n this._freeSVG();\n this._useSVG(mapName);\n }\n var svgDispatcherMap = this._svgDispatcherMap = zrUtil.createHashMap();\n var focusSelf = false;\n zrUtil.each(this._svgGraphicRecord.named, function (namedItem) {\n // Note that we also allow different elements have the same name.\n // For example, a glyph of a city and the label of the city have\n // the same name and their tooltip info can be defined in a single\n // region option.\n var regionName = namedItem.name;\n var mapOrGeoModel = viewBuildCtx.mapOrGeoModel;\n var data = viewBuildCtx.data;\n var svgNodeTagLower = namedItem.svgNodeTagLower;\n var el = namedItem.el;\n var dataIdx = data ? data.indexOfName(regionName) : null;\n var regionModel = mapOrGeoModel.getRegionModel(regionName);\n if (OPTION_STYLE_ENABLED_TAG_MAP.get(svgNodeTagLower) != null && el instanceof Displayable) {\n applyOptionStyleForRegion(viewBuildCtx, el, dataIdx, regionModel);\n }\n if (el instanceof Displayable) {\n el.culling = true;\n }\n var silent = regionModel.get('silent', true);\n silent != null && (el.silent = silent);\n // We do not know how the SVG like so we'd better not to change z2.\n // Otherwise it might bring some unexpected result. For example,\n // an area hovered that make some inner city can not be clicked.\n el.z2EmphasisLift = 0;\n // If self named:\n if (!namedItem.namedFrom) {\n // label should batter to be displayed based on the center of <g>\n // if it is named rather than displayed on each child.\n if (LABEL_HOST_MAP.get(svgNodeTagLower) != null) {\n resetLabelForRegion(viewBuildCtx, el, regionName, regionModel, mapOrGeoModel, dataIdx, null);\n }\n resetEventTriggerForRegion(viewBuildCtx, el, regionName, regionModel, mapOrGeoModel, dataIdx);\n resetTooltipForRegion(viewBuildCtx, el, regionName, regionModel, mapOrGeoModel);\n if (STATE_TRIGGER_TAG_MAP.get(svgNodeTagLower) != null) {\n var focus_1 = resetStateTriggerForRegion(viewBuildCtx, el, regionName, regionModel, mapOrGeoModel);\n if (focus_1 === 'self') {\n focusSelf = true;\n }\n var els = svgDispatcherMap.get(regionName) || svgDispatcherMap.set(regionName, []);\n els.push(el);\n }\n }\n }, this);\n this._enableBlurEntireSVG(focusSelf, viewBuildCtx);\n };\n MapDraw.prototype._enableBlurEntireSVG = function (focusSelf, viewBuildCtx) {\n // It's a little complicated to support blurring the entire geoSVG in series-map.\n // So do not support it until some requirements come.\n // At present, in series-map, only regions can be blurred.\n if (focusSelf && viewBuildCtx.isGeo) {\n var blurStyle = viewBuildCtx.mapOrGeoModel.getModel(['blur', 'itemStyle']).getItemStyle();\n // Only support `opacity` here. Because not sure that other props are suitable for\n // all of the elements generated by SVG (especially for Text/TSpan/Image/... ).\n var opacity_1 = blurStyle.opacity;\n this._svgGraphicRecord.root.traverse(function (el) {\n if (!el.isGroup) {\n // PENDING: clear those settings to SVG elements when `_freeSVG`.\n // (Currently it happen not to be needed.)\n setDefaultStateProxy(el);\n var style = el.ensureState('blur').style || {};\n // Do not overwrite the region style that already set from region option.\n if (style.opacity == null && opacity_1 != null) {\n style.opacity = opacity_1;\n }\n // If `ensureState('blur').style = {}`, there will be default opacity.\n // Enable `stateTransition` (animation).\n el.ensureState('emphasis');\n }\n });\n }\n };\n MapDraw.prototype.remove = function () {\n this._regionsGroup.removeAll();\n this._regionsGroupByName = null;\n this._svgGroup.removeAll();\n this._freeSVG();\n this._controller.dispose();\n this._controllerHost = null;\n };\n MapDraw.prototype.findHighDownDispatchers = function (name, geoModel) {\n if (name == null) {\n return [];\n }\n var geo = geoModel.coordinateSystem;\n if (geo.resourceType === 'geoJSON') {\n var regionsGroupByName = this._regionsGroupByName;\n if (regionsGroupByName) {\n var regionGroup = regionsGroupByName.get(name);\n return regionGroup ? [regionGroup] : [];\n }\n } else if (geo.resourceType === 'geoSVG') {\n return this._svgDispatcherMap && this._svgDispatcherMap.get(name) || [];\n }\n };\n MapDraw.prototype._svgResourceChanged = function (mapName) {\n return this._svgMapName !== mapName;\n };\n MapDraw.prototype._useSVG = function (mapName) {\n var resource = geoSourceManager.getGeoResource(mapName);\n if (resource && resource.type === 'geoSVG') {\n var svgGraphic = resource.useGraphic(this.uid);\n this._svgGroup.add(svgGraphic.root);\n this._svgGraphicRecord = svgGraphic;\n this._svgMapName = mapName;\n }\n };\n MapDraw.prototype._freeSVG = function () {\n var mapName = this._svgMapName;\n if (mapName == null) {\n return;\n }\n var resource = geoSourceManager.getGeoResource(mapName);\n if (resource && resource.type === 'geoSVG') {\n resource.freeGraphic(this.uid);\n }\n this._svgGraphicRecord = null;\n this._svgDispatcherMap = null;\n this._svgGroup.removeAll();\n this._svgMapName = null;\n };\n MapDraw.prototype._updateController = function (mapOrGeoModel, ecModel, api) {\n var geo = mapOrGeoModel.coordinateSystem;\n var controller = this._controller;\n var controllerHost = this._controllerHost;\n // @ts-ignore FIXME:TS\n controllerHost.zoomLimit = mapOrGeoModel.get('scaleLimit');\n controllerHost.zoom = geo.getZoom();\n // roamType is will be set default true if it is null\n // @ts-ignore FIXME:TS\n controller.enable(mapOrGeoModel.get('roam') || false);\n var mainType = mapOrGeoModel.mainType;\n function makeActionBase() {\n var action = {\n type: 'geoRoam',\n componentType: mainType\n };\n action[mainType + 'Id'] = mapOrGeoModel.id;\n return action;\n }\n controller.off('pan').on('pan', function (e) {\n this._mouseDownFlag = false;\n roamHelper.updateViewOnPan(controllerHost, e.dx, e.dy);\n api.dispatchAction(zrUtil.extend(makeActionBase(), {\n dx: e.dx,\n dy: e.dy,\n animation: {\n duration: 0\n }\n }));\n }, this);\n controller.off('zoom').on('zoom', function (e) {\n this._mouseDownFlag = false;\n roamHelper.updateViewOnZoom(controllerHost, e.scale, e.originX, e.originY);\n api.dispatchAction(zrUtil.extend(makeActionBase(), {\n totalZoom: controllerHost.zoom,\n zoom: e.scale,\n originX: e.originX,\n originY: e.originY,\n animation: {\n duration: 0\n }\n }));\n }, this);\n controller.setPointerChecker(function (e, x, y) {\n return geo.containPoint([x, y]) && !onIrrelevantElement(e, api, mapOrGeoModel);\n });\n };\n /**\r\n * FIXME: this is a temporarily workaround.\r\n * When `geoRoam` the elements need to be reset in `MapView['render']`, because the props like\r\n * `ignore` might have been modified by `LabelManager`, and `LabelManager#addLabelsOfSeries`\r\n * will subsequently cache `defaultAttr` like `ignore`. If do not do this reset, the modified\r\n * props will have no chance to be restored.\r\n * Note: This reset should be after `clearStates` in `renderSeries` because `useStates` in\r\n * `renderSeries` will cache the modified `ignore` to `el._normalState`.\r\n * TODO:\r\n * Use clone/immutable in `LabelManager`?\r\n */\n MapDraw.prototype.resetForLabelLayout = function () {\n this.group.traverse(function (el) {\n var label = el.getTextContent();\n if (label) {\n label.ignore = mapLabelRaw(label).ignore;\n }\n });\n };\n MapDraw.prototype._updateMapSelectHandler = function (mapOrGeoModel, regionsGroup, api, fromView) {\n var mapDraw = this;\n regionsGroup.off('mousedown');\n regionsGroup.off('click');\n // @ts-ignore FIXME:TS resolve type conflict\n if (mapOrGeoModel.get('selectedMode')) {\n regionsGroup.on('mousedown', function () {\n mapDraw._mouseDownFlag = true;\n });\n regionsGroup.on('click', function (e) {\n if (!mapDraw._mouseDownFlag) {\n return;\n }\n mapDraw._mouseDownFlag = false;\n });\n }\n };\n return MapDraw;\n}();\n;\nfunction applyOptionStyleForRegion(viewBuildCtx, el, dataIndex, regionModel) {\n // All of the path are using `itemStyle`, because\n // (1) Some SVG also use fill on polyline (The different between\n // polyline and polygon is \"open\" or \"close\" but not fill or not).\n // (2) For the common props like opacity, if some use itemStyle\n // and some use `lineStyle`, it might confuse users.\n // (3) Most SVG use <path>, where can not detect whether to draw a \"line\"\n // or a filled shape, so use `itemStyle` for <path>.\n var normalStyleModel = regionModel.getModel('itemStyle');\n var emphasisStyleModel = regionModel.getModel(['emphasis', 'itemStyle']);\n var blurStyleModel = regionModel.getModel(['blur', 'itemStyle']);\n var selectStyleModel = regionModel.getModel(['select', 'itemStyle']);\n // NOTE: DON'T use 'style' in visual when drawing map.\n // This component is used for drawing underlying map for both geo component and map series.\n var normalStyle = getFixedItemStyle(normalStyleModel);\n var emphasisStyle = getFixedItemStyle(emphasisStyleModel);\n var selectStyle = getFixedItemStyle(selectStyleModel);\n var blurStyle = getFixedItemStyle(blurStyleModel);\n // Update the itemStyle if has data visual\n var data = viewBuildCtx.data;\n if (data) {\n // Only visual color of each item will be used. It can be encoded by visualMap\n // But visual color of series is used in symbol drawing\n // Visual color for each series is for the symbol draw\n var style = data.getItemVisual(dataIndex, 'style');\n var decal = data.getItemVisual(dataIndex, 'decal');\n if (viewBuildCtx.isVisualEncodedByVisualMap && style.fill) {\n normalStyle.fill = style.fill;\n }\n if (decal) {\n normalStyle.decal = createOrUpdatePatternFromDecal(decal, viewBuildCtx.api);\n }\n }\n // SVG text, tspan and image can be named but not supporeted\n // to be styled by region option yet.\n el.setStyle(normalStyle);\n el.style.strokeNoScale = true;\n el.ensureState('emphasis').style = emphasisStyle;\n el.ensureState('select').style = selectStyle;\n el.ensureState('blur').style = blurStyle;\n // Enable blur\n setDefaultStateProxy(el);\n}\nfunction resetLabelForRegion(viewBuildCtx, el, regionName, regionModel, mapOrGeoModel,\n// Exist only if `viewBuildCtx.data` exists.\ndataIdx,\n// If labelXY not provided, use `textConfig.position: 'inside'`\nlabelXY) {\n var data = viewBuildCtx.data;\n var isGeo = viewBuildCtx.isGeo;\n var isDataNaN = data && isNaN(data.get(data.mapDimension('value'), dataIdx));\n var itemLayout = data && data.getItemLayout(dataIdx);\n // In the following cases label will be drawn\n // 1. In map series and data value is NaN\n // 2. In geo component\n // 3. Region has no series legendIcon, which will be add a showLabel flag in mapSymbolLayout\n if (isGeo || isDataNaN || itemLayout && itemLayout.showLabel) {\n var query = !isGeo ? dataIdx : regionName;\n var labelFetcher = void 0;\n // Consider dataIdx not found.\n if (!data || dataIdx >= 0) {\n labelFetcher = mapOrGeoModel;\n }\n var specifiedTextOpt = labelXY ? {\n normal: {\n align: 'center',\n verticalAlign: 'middle'\n }\n } : null;\n // Caveat: must be called after `setDefaultStateProxy(el);` called.\n // because textContent will be assign with `el.stateProxy` inside.\n setLabelStyle(el, getLabelStatesModels(regionModel), {\n labelFetcher: labelFetcher,\n labelDataIndex: query,\n defaultText: regionName\n }, specifiedTextOpt);\n var textEl = el.getTextContent();\n if (textEl) {\n mapLabelRaw(textEl).ignore = textEl.ignore;\n if (el.textConfig && labelXY) {\n // Compute a relative offset based on the el bounding rect.\n var rect = el.getBoundingRect().clone();\n // Need to make sure the percent position base on the same rect in normal and\n // emphasis state. Otherwise if using boundingRect of el, but the emphasis state\n // has borderWidth (even 0.5px), the text position will be changed obviously\n // if the position is very big like ['1234%', '1345%'].\n el.textConfig.layoutRect = rect;\n el.textConfig.position = [(labelXY[0] - rect.x) / rect.width * 100 + '%', (labelXY[1] - rect.y) / rect.height * 100 + '%'];\n }\n }\n // PENDING:\n // If labelLayout is enabled (test/label-layout.html), el.dataIndex should be specified.\n // But el.dataIndex is also used to determine whether user event should be triggered,\n // where el.seriesIndex or el.dataModel must be specified. At present for a single el\n // there is not case that \"only label layout enabled but user event disabled\", so here\n // we depends `resetEventTriggerForRegion` to do the job of setting `el.dataIndex`.\n el.disableLabelAnimation = true;\n } else {\n el.removeTextContent();\n el.removeTextConfig();\n el.disableLabelAnimation = null;\n }\n}\nfunction resetEventTriggerForRegion(viewBuildCtx, eventTrigger, regionName, regionModel, mapOrGeoModel,\n// Exist only if `viewBuildCtx.data` exists.\ndataIdx) {\n // setItemGraphicEl, setHoverStyle after all polygons and labels\n // are added to the regionGroup\n if (viewBuildCtx.data) {\n // FIXME: when series-map use a SVG map, and there are duplicated name specified\n // on different SVG elements, after `data.setItemGraphicEl(...)`:\n // (1) all of them will be mounted with `dataIndex`, `seriesIndex`, so that tooltip\n // can be triggered only mouse hover. That's correct.\n // (2) only the last element will be kept in `data`, so that if trigger tooltip\n // by `dispatchAction`, only the last one can be found and triggered. That might be\n // not correct. We will fix it in future if anyone demanding that.\n viewBuildCtx.data.setItemGraphicEl(dataIdx, eventTrigger);\n }\n // series-map will not trigger \"geoselectchange\" no matter it is\n // based on a declared geo component. Because series-map will\n // trigger \"selectchange\". If it trigger both the two events,\n // If users call `chart.dispatchAction({type: 'toggleSelect'})`,\n // it not easy to also fire event \"geoselectchanged\".\n else {\n // Package custom mouse event for geo component\n getECData(eventTrigger).eventData = {\n componentType: 'geo',\n componentIndex: mapOrGeoModel.componentIndex,\n geoIndex: mapOrGeoModel.componentIndex,\n name: regionName,\n region: regionModel && regionModel.option || {}\n };\n }\n}\nfunction resetTooltipForRegion(viewBuildCtx, el, regionName, regionModel, mapOrGeoModel) {\n if (!viewBuildCtx.data) {\n graphic.setTooltipConfig({\n el: el,\n componentModel: mapOrGeoModel,\n itemName: regionName,\n // @ts-ignore FIXME:TS fix the \"compatible with each other\"?\n itemTooltipOption: regionModel.get('tooltip')\n });\n }\n}\nfunction resetStateTriggerForRegion(viewBuildCtx, el, regionName, regionModel, mapOrGeoModel) {\n // @ts-ignore FIXME:TS fix the \"compatible with each other\"?\n el.highDownSilentOnTouch = !!mapOrGeoModel.get('selectedMode');\n // @ts-ignore FIXME:TS fix the \"compatible with each other\"?\n var emphasisModel = regionModel.getModel('emphasis');\n var focus = emphasisModel.get('focus');\n toggleHoverEmphasis(el, focus, emphasisModel.get('blurScope'), emphasisModel.get('disabled'));\n if (viewBuildCtx.isGeo) {\n enableComponentHighDownFeatures(el, mapOrGeoModel, regionName);\n }\n return focus;\n}\nfunction projectPolys(rings,\n// Polygons include exterior and interiors. Or polylines.\ncreateStream, isLine) {\n var polygons = [];\n var curPoly;\n function startPolygon() {\n curPoly = [];\n }\n function endPolygon() {\n if (curPoly.length) {\n polygons.push(curPoly);\n curPoly = [];\n }\n }\n var stream = createStream({\n polygonStart: startPolygon,\n polygonEnd: endPolygon,\n lineStart: startPolygon,\n lineEnd: endPolygon,\n point: function (x, y) {\n // May have NaN values from stream.\n if (isFinite(x) && isFinite(y)) {\n curPoly.push([x, y]);\n }\n },\n sphere: function () {}\n });\n !isLine && stream.polygonStart();\n zrUtil.each(rings, function (ring) {\n stream.lineStart();\n for (var i = 0; i < ring.length; i++) {\n stream.point(ring[i][0], ring[i][1]);\n }\n stream.lineEnd();\n });\n !isLine && stream.polygonEnd();\n return polygons;\n}\nexport default MapDraw;\n// @ts-ignore FIXME:TS fix the \"compatible with each other\"?"],"names":["OPTION_STYLE_ENABLED_TAGS","OPTION_STYLE_ENABLED_TAG_MAP","zrUtil.createHashMap","STATE_TRIGGER_TAG_MAP","LABEL_HOST_MAP","mapLabelRaw","makeInner","getFixedItemStyle","model","itemStyle","areaColor","fixLineStyle","styleHost","style","MapDraw","api","group","graphic.Group","getUID","RoamController","mapOrGeoModel","ecModel","fromView","payload","isGeo","data","mapSeries","geo","regionsGroup","transformInfo","transformInfoRaw","transformInfoRoam","isFirstDraw","graphic.updateProps","isVisualEncodedByVisualMap","viewBuildCtx","regionsGroupByName","regionsInfoByName","projection","projectionStream","transformPoint","point","project","transformPolygonPoints","inPoints","outPoints","i","newPt","getPolyShape","points","zrUtil.each","region","regionName","regionGroup","_a","dataIdx","regionModel","silent","polygonSubpaths","polylineSubpaths","geometry","polys","projectPolys","poly","graphic.Polygon","graphic.Polyline","centerPt","createCompoundPath","subpaths","isLine","compoundPath","graphic.CompoundPath","applyOptionStyleForRegion","resetLabelForRegion","resetEventTriggerForRegion","resetTooltipForRegion","resetStateTriggerForRegion","mapName","svgDispatcherMap","focusSelf","namedItem","svgNodeTagLower","el","Displayable","focus_1","els","blurStyle","opacity_1","setDefaultStateProxy","name","geoModel","resource","geoSourceManager","svgGraphic","controller","controllerHost","mainType","makeActionBase","action","e","roamHelper.updateViewOnPan","zrUtil.extend","roamHelper.updateViewOnZoom","x","y","onIrrelevantElement","label","mapDraw","dataIndex","normalStyleModel","emphasisStyleModel","blurStyleModel","selectStyleModel","normalStyle","emphasisStyle","selectStyle","decal","createOrUpdatePatternFromDecal","labelXY","isDataNaN","itemLayout","query","labelFetcher","specifiedTextOpt","setLabelStyle","getLabelStatesModels","textEl","rect","eventTrigger","getECData","graphic.setTooltipConfig","emphasisModel","focus","toggleHoverEmphasis","enableComponentHighDownFeatures","rings","createStream","polygons","curPoly","startPolygon","endPolygon","stream","ring"],"mappings":";;;;;;;;;;;;;;;;;;AA6DA,IAAIA,IAA4B,CAAC,QAAQ,UAAU,QAAQ,WAAW,WAAW,YAAY,MAAM,GAC/FC,KAA+BC,EAAqBF,CAAyB,GAC7EG,KAAwBD,EAAqBF,EAA0B,OAAO,CAAC,GAAG,CAAC,CAAC,GACpFI,KAAiBF,EAAqBF,EAA0B,OAAO,CAAC,GAAG,CAAC,CAAC,GAC7EK,IAAcC,GAAS;AAC3B,SAASC,EAAkBC,GAAO;AAChC,MAAIC,IAAYD,EAAM,aAAY,GAC9BE,IAAYF,EAAM,IAAI,WAAW;AAGrC,SAAIE,KAAa,SACfD,EAAU,OAAOC,IAEZD;AACT;AAIA,SAASE,EAAaC,GAAW;AAC/B,MAAIC,IAAQD,EAAU;AACtB,EAAIC,MACFA,EAAM,SAASA,EAAM,UAAUA,EAAM,MACrCA,EAAM,OAAO;AAEjB;AACG,IAACC;AAAA;AAAA,GAAuB,WAAY;AACrC,aAASA,EAAQC,GAAK;AACpB,UAAIC,IAAQ,IAAIC,EAAa;AAC7B,WAAK,MAAMC,EAAO,aAAa,GAC/B,KAAK,cAAc,IAAIC,EAAeJ,EAAI,MAAK,CAAE,GACjD,KAAK,kBAAkB;AAAA,QACrB,QAAQC;AAAA,MACd,GACI,KAAK,QAAQA,GACbA,EAAM,IAAI,KAAK,gBAAgB,IAAIC,EAAa,CAAE,GAClDD,EAAM,IAAI,KAAK,YAAY,IAAIC,EAAa,CAAE;AAAA,IAChD;AACA,WAAAH,EAAQ,UAAU,OAAO,SAAUM,GAAeC,GAASN,GAAKO,GAAUC,GAAS;A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AAKC,CAAO,GACrBA,IAAU,CAAA;AAAA,EAEd;AACA,MAAIG,IAASL,EAAa;AAAA,IACxB,cAAcG;AAAA,IACd,YAAYC;AAAA,IACZ,WAAWD;AAAA,IACX,SAASC;AAAA,IACT,OAAO,SAAUrC,GAAGC,GAAG;AAErB,MAAI,SAASD,CAAC,KAAK,SAASC,CAAC,KAC3BkC,EAAQ,KAAK,CAACnC,GAAGC,CAAC,CAAC;AAAA,IAEvB;AAAA,IACA,QAAQ,WAAY;AAAA,IAAC;AAAA,EACzB,CAAG;AACD,UAACnC,KAAUwE,EAAO,aAAY,GAC9B3F,EAAYqF,GAAO,SAAUO,GAAM;AACjC,IAAAD,EAAO,UAAS;AAChB,aAAS/F,IAAI,GAAGA,IAAIgG,EAAK,QAAQhG;AAC/B,MAAA+F,EAAO,MAAMC,EAAKhG,CAAC,EAAE,CAAC,GAAGgG,EAAKhG,CAAC,EAAE,CAAC,CAAC;AAErC,IAAA+F,EAAO,QAAO;AAAA,EAChB,CAAC,GACD,CAACxE,KAAUwE,EAAO,WAAU,GACrBJ;AACT;","x_google_ignoreList":[0]}
@@ -1,107 +0,0 @@
1
- import { __extends as w } from "../../../node_modules/tslib/tslib.es6.js";
2
- import b from "../../../../zrender/lib/core/Eventful.js";
3
- import { isMiddleOrRightButtonOnMouseUpDown as d, stop as _ } from "../../../../zrender/lib/core/event.js";
4
- import { isTaken as g } from "./interactionMutex.js";
5
- import { bind as h, defaults as H, clone as X, isString as Y } from "../../../../zrender/lib/core/util.js";
6
- var A = (
7
- /** @class */
8
- (function(r) {
9
- w(n, r);
10
- function n(e) {
11
- var o = r.call(this) || this;
12
- o._zr = e;
13
- var i = h(o._mousedownHandler, o), t = h(o._mousemoveHandler, o), s = h(o._mouseupHandler, o), u = h(o._mousewheelHandler, o), l = h(o._pinchHandler, o);
14
- return o.enable = function(a, v) {
15
- this.disable(), this._opt = H(X(v) || {}, {
16
- zoomOnMouseWheel: !0,
17
- moveOnMouseMove: !0,
18
- // By default, wheel do not trigger move.
19
- moveOnMouseWheel: !1,
20
- preventDefaultMouseMove: !0
21
- }), a == null && (a = !0), (a === !0 || a === "move" || a === "pan") && (e.on("mousedown", i), e.on("mousemove", t), e.on("mouseup", s)), (a === !0 || a === "scale" || a === "zoom") && (e.on("mousewheel", u), e.on("pinch", l));
22
- }, o.disable = function() {
23
- e.off("mousedown", i), e.off("mousemove", t), e.off("mouseup", s), e.off("mousewheel", u), e.off("pinch", l);
24
- }, o;
25
- }
26
- return n.prototype.isDragging = function() {
27
- return this._dragging;
28
- }, n.prototype.isPinching = function() {
29
- return this._pinching;
30
- }, n.prototype.setPointerChecker = function(e) {
31
- this.pointerChecker = e;
32
- }, n.prototype.dispose = function() {
33
- this.disable();
34
- }, n.prototype._mousedownHandler = function(e) {
35
- if (!d(e)) {
36
- for (var o = e.target; o; ) {
37
- if (o.draggable)
38
- return;
39
- o = o.__hostTarget || o.parent;
40
- }
41
- var i = e.offsetX, t = e.offsetY;
42
- this.pointerChecker && this.pointerChecker(e, i, t) && (this._x = i, this._y = t, this._dragging = !0);
43
- }
44
- }, n.prototype._mousemoveHandler = function(e) {
45
- if (!(!this._dragging || !f("moveOnMouseMove", e, this._opt) || e.gestureEvent === "pinch" || g(this._zr, "globalPan"))) {
46
- var o = e.offsetX, i = e.offsetY, t = this._x, s = this._y, u = o - t, l = i - s;
47
- this._x = o, this._y = i, this._opt.preventDefaultMouseMove && _(e.event), c(this, "pan", "moveOnMouseMove", e, {
48
- dx: u,
49
- dy: l,
50
- oldX: t,
51
- oldY: s,
52
- newX: o,
53
- newY: i,
54
- isAvailableBehavior: null
55
- });
56
- }
57
- }, n.prototype._mouseupHandler = function(e) {
58
- d(e) || (this._dragging = !1);
59
- }, n.prototype._mousewheelHandler = function(e) {
60
- var o = f("zoomOnMouseWheel", e, this._opt), i = f("moveOnMouseWheel", e, this._opt), t = e.wheelDelta, s = Math.abs(t), u = e.offsetX, l = e.offsetY;
61
- if (!(t === 0 || !o && !i)) {
62
- if (o) {
63
- var a = s > 3 ? 1.4 : s > 1 ? 1.2 : 1.1, v = t > 0 ? a : 1 / a;
64
- m(this, "zoom", "zoomOnMouseWheel", e, {
65
- scale: v,
66
- originX: u,
67
- originY: l,
68
- isAvailableBehavior: null
69
- });
70
- }
71
- if (i) {
72
- var p = Math.abs(t), M = (t > 0 ? 1 : -1) * (p > 3 ? 0.4 : p > 1 ? 0.15 : 0.05);
73
- m(this, "scrollMove", "moveOnMouseWheel", e, {
74
- scrollDelta: M,
75
- originX: u,
76
- originY: l,
77
- isAvailableBehavior: null
78
- });
79
- }
80
- }
81
- }, n.prototype._pinchHandler = function(e) {
82
- if (!g(this._zr, "globalPan")) {
83
- var o = e.pinchScale > 1 ? 1.1 : 1 / 1.1;
84
- m(this, "zoom", null, e, {
85
- scale: o,
86
- originX: e.pinchX,
87
- originY: e.pinchY,
88
- isAvailableBehavior: null
89
- });
90
- }
91
- }, n;
92
- })(b)
93
- );
94
- function m(r, n, e, o, i) {
95
- r.pointerChecker && r.pointerChecker(o, i.originX, i.originY) && (_(o.event), c(r, n, e, o, i));
96
- }
97
- function c(r, n, e, o, i) {
98
- i.isAvailableBehavior = h(f, null, e, o), r.trigger(n, i);
99
- }
100
- function f(r, n, e) {
101
- var o = e[r];
102
- return !r || o && (!Y(o) || n.event[o + "Key"]);
103
- }
104
- export {
105
- A as default
106
- };
107
- //# sourceMappingURL=RoamController.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RoamController.js","sources":["../../../../../../node_modules/echarts/lib/component/helper/RoamController.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 Eventful from 'zrender/lib/core/Eventful.js';\nimport * as eventTool from 'zrender/lib/core/event.js';\nimport * as interactionMutex from './interactionMutex.js';\nimport { isString, bind, defaults, clone } from 'zrender/lib/core/util.js';\n;\nvar RoamController = /** @class */function (_super) {\n __extends(RoamController, _super);\n function RoamController(zr) {\n var _this = _super.call(this) || this;\n _this._zr = zr;\n // Avoid two roamController bind the same handler\n var mousedownHandler = bind(_this._mousedownHandler, _this);\n var mousemoveHandler = bind(_this._mousemoveHandler, _this);\n var mouseupHandler = bind(_this._mouseupHandler, _this);\n var mousewheelHandler = bind(_this._mousewheelHandler, _this);\n var pinchHandler = bind(_this._pinchHandler, _this);\n /**\r\n * Notice: only enable needed types. For example, if 'zoom'\r\n * is not needed, 'zoom' should not be enabled, otherwise\r\n * default mousewheel behaviour (scroll page) will be disabled.\r\n */\n _this.enable = function (controlType, opt) {\n // Disable previous first\n this.disable();\n this._opt = defaults(clone(opt) || {}, {\n zoomOnMouseWheel: true,\n moveOnMouseMove: true,\n // By default, wheel do not trigger move.\n moveOnMouseWheel: false,\n preventDefaultMouseMove: true\n });\n if (controlType == null) {\n controlType = true;\n }\n if (controlType === true || controlType === 'move' || controlType === 'pan') {\n zr.on('mousedown', mousedownHandler);\n zr.on('mousemove', mousemoveHandler);\n zr.on('mouseup', mouseupHandler);\n }\n if (controlType === true || controlType === 'scale' || controlType === 'zoom') {\n zr.on('mousewheel', mousewheelHandler);\n zr.on('pinch', pinchHandler);\n }\n };\n _this.disable = function () {\n zr.off('mousedown', mousedownHandler);\n zr.off('mousemove', mousemoveHandler);\n zr.off('mouseup', mouseupHandler);\n zr.off('mousewheel', mousewheelHandler);\n zr.off('pinch', pinchHandler);\n };\n return _this;\n }\n RoamController.prototype.isDragging = function () {\n return this._dragging;\n };\n RoamController.prototype.isPinching = function () {\n return this._pinching;\n };\n RoamController.prototype.setPointerChecker = function (pointerChecker) {\n this.pointerChecker = pointerChecker;\n };\n RoamController.prototype.dispose = function () {\n this.disable();\n };\n RoamController.prototype._mousedownHandler = function (e) {\n if (eventTool.isMiddleOrRightButtonOnMouseUpDown(e)) {\n return;\n }\n var el = e.target;\n while (el) {\n if (el.draggable) {\n return;\n }\n // check if host is draggable\n el = el.__hostTarget || el.parent;\n }\n var x = e.offsetX;\n var y = e.offsetY;\n // Only check on mosedown, but not mousemove.\n // Mouse can be out of target when mouse moving.\n if (this.pointerChecker && this.pointerChecker(e, x, y)) {\n this._x = x;\n this._y = y;\n this._dragging = true;\n }\n };\n RoamController.prototype._mousemoveHandler = function (e) {\n if (!this._dragging || !isAvailableBehavior('moveOnMouseMove', e, this._opt) || e.gestureEvent === 'pinch' || interactionMutex.isTaken(this._zr, 'globalPan')) {\n return;\n }\n var x = e.offsetX;\n var y = e.offsetY;\n var oldX = this._x;\n var oldY = this._y;\n var dx = x - oldX;\n var dy = y - oldY;\n this._x = x;\n this._y = y;\n this._opt.preventDefaultMouseMove && eventTool.stop(e.event);\n trigger(this, 'pan', 'moveOnMouseMove', e, {\n dx: dx,\n dy: dy,\n oldX: oldX,\n oldY: oldY,\n newX: x,\n newY: y,\n isAvailableBehavior: null\n });\n };\n RoamController.prototype._mouseupHandler = function (e) {\n if (!eventTool.isMiddleOrRightButtonOnMouseUpDown(e)) {\n this._dragging = false;\n }\n };\n RoamController.prototype._mousewheelHandler = function (e) {\n var shouldZoom = isAvailableBehavior('zoomOnMouseWheel', e, this._opt);\n var shouldMove = isAvailableBehavior('moveOnMouseWheel', e, this._opt);\n var wheelDelta = e.wheelDelta;\n var absWheelDeltaDelta = Math.abs(wheelDelta);\n var originX = e.offsetX;\n var originY = e.offsetY;\n // wheelDelta maybe -0 in chrome mac.\n if (wheelDelta === 0 || !shouldZoom && !shouldMove) {\n return;\n }\n // If both `shouldZoom` and `shouldMove` is true, trigger\n // their event both, and the final behavior is determined\n // by event listener themselves.\n if (shouldZoom) {\n // Convenience:\n // Mac and VM Windows on Mac: scroll up: zoom out.\n // Windows: scroll up: zoom in.\n // FIXME: Should do more test in different environment.\n // wheelDelta is too complicated in difference nvironment\n // (https://developer.mozilla.org/en-US/docs/Web/Events/mousewheel),\n // although it has been normallized by zrender.\n // wheelDelta of mouse wheel is bigger than touch pad.\n var factor = absWheelDeltaDelta > 3 ? 1.4 : absWheelDeltaDelta > 1 ? 1.2 : 1.1;\n var scale = wheelDelta > 0 ? factor : 1 / factor;\n checkPointerAndTrigger(this, 'zoom', 'zoomOnMouseWheel', e, {\n scale: scale,\n originX: originX,\n originY: originY,\n isAvailableBehavior: null\n });\n }\n if (shouldMove) {\n // FIXME: Should do more test in different environment.\n var absDelta = Math.abs(wheelDelta);\n // wheelDelta of mouse wheel is bigger than touch pad.\n var scrollDelta = (wheelDelta > 0 ? 1 : -1) * (absDelta > 3 ? 0.4 : absDelta > 1 ? 0.15 : 0.05);\n checkPointerAndTrigger(this, 'scrollMove', 'moveOnMouseWheel', e, {\n scrollDelta: scrollDelta,\n originX: originX,\n originY: originY,\n isAvailableBehavior: null\n });\n }\n };\n RoamController.prototype._pinchHandler = function (e) {\n if (interactionMutex.isTaken(this._zr, 'globalPan')) {\n return;\n }\n var scale = e.pinchScale > 1 ? 1.1 : 1 / 1.1;\n checkPointerAndTrigger(this, 'zoom', null, e, {\n scale: scale,\n originX: e.pinchX,\n originY: e.pinchY,\n isAvailableBehavior: null\n });\n };\n return RoamController;\n}(Eventful);\nfunction checkPointerAndTrigger(controller, eventName, behaviorToCheck, e, contollerEvent) {\n if (controller.pointerChecker && controller.pointerChecker(e, contollerEvent.originX, contollerEvent.originY)) {\n // When mouse is out of roamController rect,\n // default befavoius should not be be disabled, otherwise\n // page sliding is disabled, contrary to expectation.\n eventTool.stop(e.event);\n trigger(controller, eventName, behaviorToCheck, e, contollerEvent);\n }\n}\nfunction trigger(controller, eventName, behaviorToCheck, e, contollerEvent) {\n // Also provide behavior checker for event listener, for some case that\n // multiple components share one listener.\n contollerEvent.isAvailableBehavior = bind(isAvailableBehavior, null, behaviorToCheck, e);\n // TODO should not have type issue.\n controller.trigger(eventName, contollerEvent);\n}\n// settings: {\n// zoomOnMouseWheel\n// moveOnMouseMove\n// moveOnMouseWheel\n// }\n// The value can be: true / false / 'shift' / 'ctrl' / 'alt'.\nfunction isAvailableBehavior(behaviorToCheck, e, settings) {\n var setting = settings[behaviorToCheck];\n return !behaviorToCheck || setting && (!isString(setting) || e.event[setting + 'Key']);\n}\nexport default RoamController;"],"names":["RoamController","_super","__extends","zr","_this","mousedownHandler","bind","mousemoveHandler","mouseupHandler","mousewheelHandler","pinchHandler","controlType","opt","defaults","clone","pointerChecker","eventTool.isMiddleOrRightButtonOnMouseUpDown","el","x","y","isAvailableBehavior","interactionMutex.isTaken","oldX","oldY","dx","dy","eventTool.stop","trigger","shouldZoom","shouldMove","wheelDelta","absWheelDeltaDelta","originX","originY","factor","scale","checkPointerAndTrigger","absDelta","scrollDelta","Eventful","controller","eventName","behaviorToCheck","e","contollerEvent","settings","setting","isString"],"mappings":";;;;;AAiDG,IAACA;AAAA;AAAA,GAA8B,SAAUC,GAAQ;AAClD,IAAAC,EAAUF,GAAgBC,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AGC,EAAe,SAASA,EAAe,OAAO,MAI1GlB,EAAeiB,EAAE,KAAK,GACtBhB,EAAQa,GAAYC,GAAWC,GAAiBC,GAAGC,CAAc;AAErE;AACA,SAASjB,EAAQa,GAAYC,GAAWC,GAAiBC,GAAGC,GAAgB;AAG1E,EAAAA,EAAe,sBAAsBtC,EAAKc,GAAqB,MAAMsB,GAAiBC,CAAC,GAEvFH,EAAW,QAAQC,GAAWG,CAAc;AAC9C;AAOA,SAASxB,EAAoBsB,GAAiBC,GAAGE,GAAU;AACzD,MAAIC,IAAUD,EAASH,CAAe;AACtC,SAAO,CAACA,KAAmBI,MAAY,CAACC,EAASD,CAAO,KAAKH,EAAE,MAAMG,IAAU,KAAK;AACtF;","x_google_ignoreList":[0]}
@@ -1,29 +0,0 @@
1
- import a from "../../../../zrender/lib/core/BoundingRect.js";
2
- import { onIrrelevantElement as m } from "./cursorHelper.js";
3
- import { clipPointsByRect as f } from "../../util/graphic.js";
4
- function R(n) {
5
- return n = o(n), function(t) {
6
- return f(t, n);
7
- };
8
- }
9
- function p(n, t) {
10
- return n = o(n), function(i) {
11
- var e = t ?? i, u = e ? n.width : n.height, r = e ? n.x : n.y;
12
- return [r, r + (u || 0)];
13
- };
14
- }
15
- function v(n, t, i) {
16
- var e = o(n);
17
- return function(u, r) {
18
- return e.contain(r[0], r[1]) && !m(u, t, i);
19
- };
20
- }
21
- function o(n) {
22
- return a.create(n);
23
- }
24
- export {
25
- p as makeLinearBrushOtherExtent,
26
- v as makeRectIsTargetByCursor,
27
- R as makeRectPanelClipPath
28
- };
29
- //# sourceMappingURL=brushHelper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"brushHelper.js","sources":["../../../../../../node_modules/echarts/lib/component/helper/brushHelper.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 BoundingRect from 'zrender/lib/core/BoundingRect.js';\nimport { onIrrelevantElement } from './cursorHelper.js';\nimport * as graphicUtil from '../../util/graphic.js';\nexport function makeRectPanelClipPath(rect) {\n rect = normalizeRect(rect);\n return function (localPoints) {\n return graphicUtil.clipPointsByRect(localPoints, rect);\n };\n}\nexport function makeLinearBrushOtherExtent(rect, specifiedXYIndex) {\n rect = normalizeRect(rect);\n return function (xyIndex) {\n var idx = specifiedXYIndex != null ? specifiedXYIndex : xyIndex;\n var brushWidth = idx ? rect.width : rect.height;\n var base = idx ? rect.x : rect.y;\n return [base, base + (brushWidth || 0)];\n };\n}\nexport function makeRectIsTargetByCursor(rect, api, targetModel) {\n var boundingRect = normalizeRect(rect);\n return function (e, localCursorPoint) {\n return boundingRect.contain(localCursorPoint[0], localCursorPoint[1]) && !onIrrelevantElement(e, api, targetModel);\n };\n}\n// Consider width/height is negative.\nfunction normalizeRect(rect) {\n return BoundingRect.create(rect);\n}"],"names":["makeRectPanelClipPath","rect","normalizeRect","localPoints","graphicUtil.clipPointsByRect","makeLinearBrushOtherExtent","specifiedXYIndex","xyIndex","idx","brushWidth","base","makeRectIsTargetByCursor","api","targetModel","boundingRect","e","localCursorPoint","onIrrelevantElement","BoundingRect"],"mappings":";;;AA8CO,SAASA,EAAsBC,GAAM;AAC1C,SAAAA,IAAOC,EAAcD,CAAI,GAClB,SAAUE,GAAa;AAC5B,WAAOC,EAA6BD,GAAaF,CAAI;AAAA,EACvD;AACF;AACO,SAASI,EAA2BJ,GAAMK,GAAkB;AACjE,SAAAL,IAAOC,EAAcD,CAAI,GAClB,SAAUM,GAAS;AACxB,QAAIC,IAAMF,KAA8CC,GACpDE,IAAaD,IAAMP,EAAK,QAAQA,EAAK,QACrCS,IAAOF,IAAMP,EAAK,IAAIA,EAAK;AAC/B,WAAO,CAACS,GAAMA,KAAQD,KAAc,EAAE;AAAA,EACxC;AACF;AACO,SAASE,EAAyBV,GAAMW,GAAKC,GAAa;AAC/D,MAAIC,IAAeZ,EAAcD,CAAI;AACrC,SAAO,SAAUc,GAAGC,GAAkB;AACpC,WAAOF,EAAa,QAAQE,EAAiB,CAAC,GAAGA,EAAiB,CAAC,CAAC,KAAK,CAACC,EAAoBF,GAAGH,GAAKC,CAAW;AAAA,EACnH;AACF;AAEA,SAASX,EAAcD,GAAM;AAC3B,SAAOiB,EAAa,OAAOjB,CAAI;AACjC;","x_google_ignoreList":[0]}
@@ -1,13 +0,0 @@
1
- var a = {
2
- axisPointer: 1,
3
- tooltip: 1,
4
- brush: 1
5
- };
6
- function m(o, r, t) {
7
- var e = r.getComponentByElement(o.topTarget), n = e && e.coordinateSystem;
8
- return e && e !== t && !a.hasOwnProperty(e.mainType) && n && n.model !== t;
9
- }
10
- export {
11
- m as onIrrelevantElement
12
- };
13
- //# sourceMappingURL=cursorHelper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cursorHelper.js","sources":["../../../../../../node_modules/echarts/lib/component/helper/cursorHelper.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 IRRELEVANT_EXCLUDES = {\n 'axisPointer': 1,\n 'tooltip': 1,\n 'brush': 1\n};\n/**\r\n * Avoid that: mouse click on a elements that is over geo or graph,\r\n * but roam is triggered.\r\n */\nexport function onIrrelevantElement(e, api, targetCoordSysModel) {\n var model = api.getComponentByElement(e.topTarget);\n // If model is axisModel, it works only if it is injected with coordinateSystem.\n var coordSys = model && model.coordinateSystem;\n return model && model !== targetCoordSysModel && !IRRELEVANT_EXCLUDES.hasOwnProperty(model.mainType) && coordSys && coordSys.model !== targetCoordSysModel;\n}"],"names":["IRRELEVANT_EXCLUDES","onIrrelevantElement","e","api","targetCoordSysModel","model","coordSys"],"mappings":"AA2CA,IAAIA,IAAsB;AAAA,EACxB,aAAe;AAAA,EACf,SAAW;AAAA,EACX,OAAS;AACX;AAKO,SAASC,EAAoBC,GAAGC,GAAKC,GAAqB;AAC/D,MAAIC,IAAQF,EAAI,sBAAsBD,EAAE,SAAS,GAE7CI,IAAWD,KAASA,EAAM;AAC9B,SAAOA,KAASA,MAAUD,KAAuB,CAACJ,EAAoB,eAAeK,EAAM,QAAQ,KAAKC,KAAYA,EAAS,UAAUF;AACzI;","x_google_ignoreList":[0]}
@@ -1,28 +0,0 @@
1
- import { registerAction as u } from "../../core/echarts.js";
2
- import { noop as f } from "../../../../zrender/lib/core/util.js";
3
- var a = "\0_ec_interaction_mutex";
4
- function c(t, e, o) {
5
- var r = n(t);
6
- r[e] = o;
7
- }
8
- function s(t, e, o) {
9
- var r = n(t), i = r[e];
10
- i === o && (r[e] = null);
11
- }
12
- function m(t, e) {
13
- return !!n(t)[e];
14
- }
15
- function n(t) {
16
- return t[a] || (t[a] = {});
17
- }
18
- u({
19
- type: "takeGlobalCursor",
20
- event: "globalCursorTaken",
21
- update: "update"
22
- }, f);
23
- export {
24
- m as isTaken,
25
- s as release,
26
- c as take
27
- };
28
- //# sourceMappingURL=interactionMutex.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interactionMutex.js","sources":["../../../../../../node_modules/echarts/lib/component/helper/interactionMutex.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\n// @ts-nocheck\nimport * as echarts from '../../core/echarts.js';\nimport { noop } from 'zrender/lib/core/util.js';\nvar ATTR = '\\0_ec_interaction_mutex';\nexport function take(zr, resourceKey, userKey) {\n var store = getStore(zr);\n store[resourceKey] = userKey;\n}\nexport function release(zr, resourceKey, userKey) {\n var store = getStore(zr);\n var uKey = store[resourceKey];\n if (uKey === userKey) {\n store[resourceKey] = null;\n }\n}\nexport function isTaken(zr, resourceKey) {\n return !!getStore(zr)[resourceKey];\n}\nfunction getStore(zr) {\n return zr[ATTR] || (zr[ATTR] = {});\n}\n/**\r\n * payload: {\r\n * type: 'takeGlobalCursor',\r\n * key: 'dataZoomSelect', or 'brush', or ...,\r\n * If no userKey, release global cursor.\r\n * }\r\n */\n// TODO: SELF REGISTERED.\necharts.registerAction({\n type: 'takeGlobalCursor',\n event: 'globalCursorTaken',\n update: 'update'\n}, noop);"],"names":["ATTR","take","zr","resourceKey","userKey","store","getStore","release","uKey","isTaken","echarts.registerAction","noop"],"mappings":";;AA8CA,IAAIA,IAAO;AACJ,SAASC,EAAKC,GAAIC,GAAaC,GAAS;AAC7C,MAAIC,IAAQC,EAASJ,CAAE;AACvB,EAAAG,EAAMF,CAAW,IAAIC;AACvB;AACO,SAASG,EAAQL,GAAIC,GAAaC,GAAS;AAChD,MAAIC,IAAQC,EAASJ,CAAE,GACnBM,IAAOH,EAAMF,CAAW;AAC5B,EAAIK,MAASJ,MACXC,EAAMF,CAAW,IAAI;AAEzB;AACO,SAASM,EAAQP,GAAIC,GAAa;AACvC,SAAO,CAAC,CAACG,EAASJ,CAAE,EAAEC,CAAW;AACnC;AACA,SAASG,EAASJ,GAAI;AACpB,SAAOA,EAAGF,CAAI,MAAME,EAAGF,CAAI,IAAI,CAAA;AACjC;AASAU,EAAuB;AAAA,EACrB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AACV,GAAGC,CAAI;","x_google_ignoreList":[0]}
@@ -1,30 +0,0 @@
1
- import { getLayoutRect as d, box as y, positionElement as o } from "../../util/layout.js";
2
- import { normalizeCssArray as s } from "../../util/format.js";
3
- import u from "../../../../zrender/lib/graphic/shape/Rect.js";
4
- function w(t, i, a) {
5
- var r = i.getBoxLayoutParams(), e = i.get("padding"), g = {
6
- width: a.getWidth(),
7
- height: a.getHeight()
8
- }, h = d(r, g, e);
9
- y(i.get("orient"), t, i.get("itemGap"), h.width, h.height), o(t, r, g, e);
10
- }
11
- function x(t, i) {
12
- var a = s(i.get("padding")), r = i.getItemStyle(["color", "opacity"]);
13
- return r.fill = i.get("backgroundColor"), t = new u({
14
- shape: {
15
- x: t.x - a[3],
16
- y: t.y - a[0],
17
- width: t.width + a[1] + a[3],
18
- height: t.height + a[0] + a[2],
19
- r: i.get("borderRadius")
20
- },
21
- style: r,
22
- silent: !0,
23
- z2: -1
24
- }), t;
25
- }
26
- export {
27
- w as layout,
28
- x as makeBackground
29
- };
30
- //# sourceMappingURL=listComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listComponent.js","sources":["../../../../../../node_modules/echarts/lib/component/helper/listComponent.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\n// @ts-nocheck\nimport { getLayoutRect, box as layoutBox, positionElement } from '../../util/layout.js';\nimport * as formatUtil from '../../util/format.js';\nimport * as graphic from '../../util/graphic.js';\n/**\r\n * Layout list like component.\r\n * It will box layout each items in group of component and then position the whole group in the viewport\r\n * @param {module:zrender/group/Group} group\r\n * @param {module:echarts/model/Component} componentModel\r\n * @param {module:echarts/ExtensionAPI}\r\n */\nexport function layout(group, componentModel, api) {\n var boxLayoutParams = componentModel.getBoxLayoutParams();\n var padding = componentModel.get('padding');\n var viewportSize = {\n width: api.getWidth(),\n height: api.getHeight()\n };\n var rect = getLayoutRect(boxLayoutParams, viewportSize, padding);\n layoutBox(componentModel.get('orient'), group, componentModel.get('itemGap'), rect.width, rect.height);\n positionElement(group, boxLayoutParams, viewportSize, padding);\n}\nexport function makeBackground(rect, componentModel) {\n var padding = formatUtil.normalizeCssArray(componentModel.get('padding'));\n var style = componentModel.getItemStyle(['color', 'opacity']);\n style.fill = componentModel.get('backgroundColor');\n rect = new graphic.Rect({\n shape: {\n x: rect.x - padding[3],\n y: rect.y - padding[0],\n width: rect.width + padding[1] + padding[3],\n height: rect.height + padding[0] + padding[2],\n r: componentModel.get('borderRadius')\n },\n style: style,\n silent: true,\n z2: -1\n });\n // FIXME\n // `subPixelOptimizeRect` may bring some gap between edge of viewpart\n // and background rect when setting like `left: 0`, `top: 0`.\n // graphic.subPixelOptimizeRect(rect);\n return rect;\n}"],"names":["layout","group","componentModel","api","boxLayoutParams","padding","viewportSize","rect","getLayoutRect","layoutBox","positionElement","makeBackground","formatUtil.normalizeCssArray","style","graphic.Rect"],"mappings":";;;AAsDO,SAASA,EAAOC,GAAOC,GAAgBC,GAAK;AACjD,MAAIC,IAAkBF,EAAe,mBAAkB,GACnDG,IAAUH,EAAe,IAAI,SAAS,GACtCI,IAAe;AAAA,IACjB,OAAOH,EAAI,SAAQ;AAAA,IACnB,QAAQA,EAAI,UAAS;AAAA,EACzB,GACMI,IAAOC,EAAcJ,GAAiBE,GAAcD,CAAO;AAC/DI,EAAAA,EAAUP,EAAe,IAAI,QAAQ,GAAGD,GAAOC,EAAe,IAAI,SAAS,GAAGK,EAAK,OAAOA,EAAK,MAAM,GACrGG,EAAgBT,GAAOG,GAAiBE,GAAcD,CAAO;AAC/D;AACO,SAASM,EAAeJ,GAAML,GAAgB;AACnD,MAAIG,IAAUO,EAA6BV,EAAe,IAAI,SAAS,CAAC,GACpEW,IAAQX,EAAe,aAAa,CAAC,SAAS,SAAS,CAAC;AAC5D,SAAAW,EAAM,OAAOX,EAAe,IAAI,iBAAiB,GACjDK,IAAO,IAAIO,EAAa;AAAA,IACtB,OAAO;AAAA,MACL,GAAGP,EAAK,IAAIF,EAAQ,CAAC;AAAA,MACrB,GAAGE,EAAK,IAAIF,EAAQ,CAAC;AAAA,MACrB,OAAOE,EAAK,QAAQF,EAAQ,CAAC,IAAIA,EAAQ,CAAC;AAAA,MAC1C,QAAQE,EAAK,SAASF,EAAQ,CAAC,IAAIA,EAAQ,CAAC;AAAA,MAC5C,GAAGH,EAAe,IAAI,cAAc;AAAA,IAC1C;AAAA,IACI,OAAOW;AAAA,IACP,QAAQ;AAAA,IACR,IAAI;AAAA,EACR,CAAG,GAKMN;AACT;","x_google_ignoreList":[0]}
@@ -1,18 +0,0 @@
1
- function y(a, n, v) {
2
- var m = a.target;
3
- m.x += n, m.y += v, m.dirty();
4
- }
5
- function d(a, n, v, m) {
6
- var i = a.target, z = a.zoomLimit, t = a.zoom = a.zoom || 1;
7
- if (t *= n, z) {
8
- var o = z.min || 0, x = z.max || 1 / 0;
9
- t = Math.max(Math.min(x, t), o);
10
- }
11
- var e = t / a.zoom;
12
- a.zoom = t, i.x -= (v - i.x) * (e - 1), i.y -= (m - i.y) * (e - 1), i.scaleX *= e, i.scaleY *= e, i.dirty();
13
- }
14
- export {
15
- y as updateViewOnPan,
16
- d as updateViewOnZoom
17
- };
18
- //# sourceMappingURL=roamHelper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"roamHelper.js","sources":["../../../../../../node_modules/echarts/lib/component/helper/roamHelper.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\n/**\r\n * For geo and graph.\r\n */\nexport function updateViewOnPan(controllerHost, dx, dy) {\n var target = controllerHost.target;\n target.x += dx;\n target.y += dy;\n target.dirty();\n}\n/**\r\n * For geo and graph.\r\n */\nexport function updateViewOnZoom(controllerHost, zoomDelta, zoomX, zoomY) {\n var target = controllerHost.target;\n var zoomLimit = controllerHost.zoomLimit;\n var newZoom = controllerHost.zoom = controllerHost.zoom || 1;\n newZoom *= zoomDelta;\n if (zoomLimit) {\n var zoomMin = zoomLimit.min || 0;\n var zoomMax = zoomLimit.max || Infinity;\n newZoom = Math.max(Math.min(zoomMax, newZoom), zoomMin);\n }\n var zoomScale = newZoom / controllerHost.zoom;\n controllerHost.zoom = newZoom;\n // Keep the mouse center when scaling\n target.x -= (zoomX - target.x) * (zoomScale - 1);\n target.y -= (zoomY - target.y) * (zoomScale - 1);\n target.scaleX *= zoomScale;\n target.scaleY *= zoomScale;\n target.dirty();\n}"],"names":["updateViewOnPan","controllerHost","dx","dy","target","updateViewOnZoom","zoomDelta","zoomX","zoomY","zoomLimit","newZoom","zoomMin","zoomMax","zoomScale"],"mappings":"AA8CO,SAASA,EAAgBC,GAAgBC,GAAIC,GAAI;AACtD,MAAIC,IAASH,EAAe;AAC5B,EAAAG,EAAO,KAAKF,GACZE,EAAO,KAAKD,GACZC,EAAO,MAAK;AACd;AAIO,SAASC,EAAiBJ,GAAgBK,GAAWC,GAAOC,GAAO;AACxE,MAAIJ,IAASH,EAAe,QACxBQ,IAAYR,EAAe,WAC3BS,IAAUT,EAAe,OAAOA,EAAe,QAAQ;AAE3D,MADAS,KAAWJ,GACPG,GAAW;AACb,QAAIE,IAAUF,EAAU,OAAO,GAC3BG,IAAUH,EAAU,OAAO;AAC/B,IAAAC,IAAU,KAAK,IAAI,KAAK,IAAIE,GAASF,CAAO,GAAGC,CAAO;AAAA,EACxD;AACA,MAAIE,IAAYH,IAAUT,EAAe;AACzC,EAAAA,EAAe,OAAOS,GAEtBN,EAAO,MAAMG,IAAQH,EAAO,MAAMS,IAAY,IAC9CT,EAAO,MAAMI,IAAQJ,EAAO,MAAMS,IAAY,IAC9CT,EAAO,UAAUS,GACjBT,EAAO,UAAUS,GACjBT,EAAO,MAAK;AACd;","x_google_ignoreList":[0]}
@@ -1,29 +0,0 @@
1
- function j(f, i, t, r, u, g) {
2
- f = f || 0;
3
- var D = t[1] - t[0];
4
- if (u != null && (u = M(u, [0, D])), g != null && (g = Math.max(g, u ?? 0)), r === "all") {
5
- var c = Math.abs(i[1] - i[0]);
6
- c = M(c, [0, D]), u = g = M(c, [u, g]), r = 0;
7
- }
8
- i[0] = M(i[0], t), i[1] = M(i[1], t);
9
- var o = y(i, r);
10
- i[r] += f;
11
- var s = u || 0, b = t.slice();
12
- o.sign < 0 ? b[0] += s : b[1] -= s, i[r] = M(i[r], b);
13
- var v;
14
- return v = y(i, r), u != null && (v.sign !== o.sign || v.span < u) && (i[1 - r] = i[r] + o.sign * u), v = y(i, r), g != null && v.span > g && (i[1 - r] = i[r] + v.sign * g), i;
15
- }
16
- function y(f, i) {
17
- var t = f[i] - f[1 - i];
18
- return {
19
- span: Math.abs(t),
20
- sign: t > 0 ? -1 : t < 0 ? 1 : i ? -1 : 1
21
- };
22
- }
23
- function M(f, i) {
24
- return Math.min(i[1] != null ? i[1] : 1 / 0, Math.max(i[0] != null ? i[0] : -1 / 0, f));
25
- }
26
- export {
27
- j as default
28
- };
29
- //# sourceMappingURL=sliderMove.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sliderMove.js","sources":["../../../../../../node_modules/echarts/lib/component/helper/sliderMove.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\n/**\r\n * Calculate slider move result.\r\n * Usage:\r\n * (1) If both handle0 and handle1 are needed to be moved, set minSpan the same as\r\n * maxSpan and the same as `Math.abs(handleEnd[1] - handleEnds[0])`.\r\n * (2) If handle0 is forbidden to cross handle1, set minSpan as `0`.\r\n *\r\n * @param delta Move length.\r\n * @param handleEnds handleEnds[0] can be bigger then handleEnds[1].\r\n * handleEnds will be modified in this method.\r\n * @param extent handleEnds is restricted by extent.\r\n * extent[0] should less or equals than extent[1].\r\n * @param handleIndex Can be 'all', means that both move the two handleEnds.\r\n * @param minSpan The range of dataZoom can not be smaller than that.\r\n * If not set, handle0 and cross handle1. If set as a non-negative\r\n * number (including `0`), handles will push each other when reaching\r\n * the minSpan.\r\n * @param maxSpan The range of dataZoom can not be larger than that.\r\n * @return The input handleEnds.\r\n */\nexport default function sliderMove(delta, handleEnds, extent, handleIndex, minSpan, maxSpan) {\n delta = delta || 0;\n var extentSpan = extent[1] - extent[0];\n // Notice maxSpan and minSpan can be null/undefined.\n if (minSpan != null) {\n minSpan = restrict(minSpan, [0, extentSpan]);\n }\n if (maxSpan != null) {\n maxSpan = Math.max(maxSpan, minSpan != null ? minSpan : 0);\n }\n if (handleIndex === 'all') {\n var handleSpan = Math.abs(handleEnds[1] - handleEnds[0]);\n handleSpan = restrict(handleSpan, [0, extentSpan]);\n minSpan = maxSpan = restrict(handleSpan, [minSpan, maxSpan]);\n handleIndex = 0;\n }\n handleEnds[0] = restrict(handleEnds[0], extent);\n handleEnds[1] = restrict(handleEnds[1], extent);\n var originalDistSign = getSpanSign(handleEnds, handleIndex);\n handleEnds[handleIndex] += delta;\n // Restrict in extent.\n var extentMinSpan = minSpan || 0;\n var realExtent = extent.slice();\n originalDistSign.sign < 0 ? realExtent[0] += extentMinSpan : realExtent[1] -= extentMinSpan;\n handleEnds[handleIndex] = restrict(handleEnds[handleIndex], realExtent);\n // Expand span.\n var currDistSign;\n currDistSign = getSpanSign(handleEnds, handleIndex);\n if (minSpan != null && (currDistSign.sign !== originalDistSign.sign || currDistSign.span < minSpan)) {\n // If minSpan exists, 'cross' is forbidden.\n handleEnds[1 - handleIndex] = handleEnds[handleIndex] + originalDistSign.sign * minSpan;\n }\n // Shrink span.\n currDistSign = getSpanSign(handleEnds, handleIndex);\n if (maxSpan != null && currDistSign.span > maxSpan) {\n handleEnds[1 - handleIndex] = handleEnds[handleIndex] + currDistSign.sign * maxSpan;\n }\n return handleEnds;\n}\nfunction getSpanSign(handleEnds, handleIndex) {\n var dist = handleEnds[handleIndex] - handleEnds[1 - handleIndex];\n // If `handleEnds[0] === handleEnds[1]`, always believe that handleEnd[0]\n // is at left of handleEnds[1] for non-cross case.\n return {\n span: Math.abs(dist),\n sign: dist > 0 ? -1 : dist < 0 ? 1 : handleIndex ? -1 : 1\n };\n}\nfunction restrict(value, extend) {\n return Math.min(extend[1] != null ? extend[1] : Infinity, Math.max(extend[0] != null ? extend[0] : -Infinity, value));\n}"],"names":["sliderMove","delta","handleEnds","extent","handleIndex","minSpan","maxSpan","extentSpan","restrict","handleSpan","originalDistSign","getSpanSign","extentMinSpan","realExtent","currDistSign","dist","value","extend"],"mappings":"AA+De,SAASA,EAAWC,GAAOC,GAAYC,GAAQC,GAAaC,GAASC,GAAS;AAC3F,EAAAL,IAAQA,KAAS;AACjB,MAAIM,IAAaJ,EAAO,CAAC,IAAIA,EAAO,CAAC;AAQrC,MANIE,KAAW,SACbA,IAAUG,EAASH,GAAS,CAAC,GAAGE,CAAU,CAAC,IAEzCD,KAAW,SACbA,IAAU,KAAK,IAAIA,GAASD,KAA4B,CAAC,IAEvDD,MAAgB,OAAO;AACzB,QAAIK,IAAa,KAAK,IAAIP,EAAW,CAAC,IAAIA,EAAW,CAAC,CAAC;AACvD,IAAAO,IAAaD,EAASC,GAAY,CAAC,GAAGF,CAAU,CAAC,GACjDF,IAAUC,IAAUE,EAASC,GAAY,CAACJ,GAASC,CAAO,CAAC,GAC3DF,IAAc;AAAA,EAChB;AACA,EAAAF,EAAW,CAAC,IAAIM,EAASN,EAAW,CAAC,GAAGC,CAAM,GAC9CD,EAAW,CAAC,IAAIM,EAASN,EAAW,CAAC,GAAGC,CAAM;AAC9C,MAAIO,IAAmBC,EAAYT,GAAYE,CAAW;AAC1D,EAAAF,EAAWE,CAAW,KAAKH;AAE3B,MAAIW,IAAgBP,KAAW,GAC3BQ,IAAaV,EAAO,MAAK;AAC7B,EAAAO,EAAiB,OA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