@hkyhy/marsun-components-core 0.1.5 → 0.1.8

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 (1143) hide show
  1. package/dist/_virtual/_commonjs-dynamic-modules.js +7 -0
  2. package/dist/_virtual/_commonjs-dynamic-modules.js.map +1 -0
  3. package/dist/_virtual/_commonjsHelpers.js +9 -0
  4. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  5. package/dist/_virtual/jszip.min.js +8 -0
  6. package/dist/_virtual/jszip.min.js.map +1 -0
  7. package/dist/_virtual/jszip2.min.js +5 -0
  8. package/dist/_virtual/jszip2.min.js.map +1 -0
  9. package/dist/_virtual/lodash.js +6 -0
  10. package/dist/_virtual/lodash.js.map +1 -0
  11. package/dist/_virtual/lodash2.js +5 -0
  12. package/dist/_virtual/lodash2.js.map +1 -0
  13. package/dist/components/File/FilePreview/FilePreviewContent.d.ts +9 -0
  14. package/dist/components/File/FilePreview/FilePreviewContent.js +83 -0
  15. package/dist/components/File/FilePreview/FilePreviewContent.js.map +1 -0
  16. package/dist/components/File/FilePreview/index.d.ts +2 -0
  17. package/dist/components/File/FilePreview/index.js +46 -39
  18. package/dist/components/File/FilePreview/index.js.map +1 -1
  19. package/dist/components/File/FilePreview/style.module.scss.js +19 -2
  20. package/dist/components/File/FilePreview/style.module.scss.js.map +1 -1
  21. package/dist/components/File/FilePreviewLink/index.d.ts +13 -0
  22. package/dist/components/File/FilePreviewLink/index.js +61 -0
  23. package/dist/components/File/FilePreviewLink/index.js.map +1 -0
  24. package/dist/components/File/FilePreviewLink/style.module.scss.js +11 -0
  25. package/dist/components/File/FilePreviewLink/style.module.scss.js.map +1 -0
  26. package/dist/components/File/FilePreviewModal/index.d.ts +3 -0
  27. package/dist/components/File/FilePreviewModal/index.js +37 -8
  28. package/dist/components/File/FilePreviewModal/index.js.map +1 -1
  29. package/dist/components/File/index.d.ts +2 -0
  30. package/dist/components/File/previewKind.d.ts +6 -0
  31. package/dist/components/File/previewKind.js +42 -0
  32. package/dist/components/File/previewKind.js.map +1 -0
  33. package/dist/index.js +84 -82
  34. package/dist/index.js.map +1 -1
  35. package/dist/marsun-components-core.css +1 -1
  36. package/dist/node_modules/@js-preview/excel/lib/index.js +43346 -0
  37. package/dist/node_modules/@js-preview/excel/lib/index.js.map +1 -0
  38. package/dist/node_modules/docx-preview/dist/docx-preview.js +3203 -0
  39. package/dist/node_modules/docx-preview/dist/docx-preview.js.map +1 -0
  40. package/dist/node_modules/echarts/index.js +88 -0
  41. package/dist/node_modules/echarts/index.js.map +1 -0
  42. package/dist/node_modules/echarts/lib/action/roamHelper.js +23 -0
  43. package/dist/node_modules/echarts/lib/action/roamHelper.js.map +1 -0
  44. package/dist/node_modules/echarts/lib/animation/basicTransition.js +97 -0
  45. package/dist/node_modules/echarts/lib/animation/basicTransition.js.map +1 -0
  46. package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +57 -0
  47. package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js.map +1 -0
  48. package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +236 -0
  49. package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js.map +1 -0
  50. package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +107 -0
  51. package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js.map +1 -0
  52. package/dist/node_modules/echarts/lib/animation/universalTransition.js +346 -0
  53. package/dist/node_modules/echarts/lib/animation/universalTransition.js.map +1 -0
  54. package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +55 -0
  55. package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js.map +1 -0
  56. package/dist/node_modules/echarts/lib/chart/bar/BarView.js +478 -0
  57. package/dist/node_modules/echarts/lib/chart/bar/BarView.js.map +1 -0
  58. package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +77 -0
  59. package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js.map +1 -0
  60. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +49 -0
  61. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js.map +1 -0
  62. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +326 -0
  63. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js.map +1 -0
  64. package/dist/node_modules/echarts/lib/chart/bar/install.js +24 -0
  65. package/dist/node_modules/echarts/lib/chart/bar/install.js.map +1 -0
  66. package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +11 -0
  67. package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js.map +1 -0
  68. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +57 -0
  69. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js.map +1 -0
  70. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +96 -0
  71. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js.map +1 -0
  72. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +73 -0
  73. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js.map +1 -0
  74. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +24 -0
  75. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js.map +1 -0
  76. package/dist/node_modules/echarts/lib/chart/boxplot/install.js +11 -0
  77. package/dist/node_modules/echarts/lib/chart/boxplot/install.js.map +1 -0
  78. package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +26 -0
  79. package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js.map +1 -0
  80. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +71 -0
  81. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js.map +1 -0
  82. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +196 -0
  83. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js.map +1 -0
  84. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +77 -0
  85. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js.map +1 -0
  86. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +36 -0
  87. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js.map +1 -0
  88. package/dist/node_modules/echarts/lib/chart/candlestick/install.js +12 -0
  89. package/dist/node_modules/echarts/lib/chart/candlestick/install.js.map +1 -0
  90. package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +10 -0
  91. package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js.map +1 -0
  92. package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +56 -0
  93. package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js.map +1 -0
  94. package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +439 -0
  95. package/dist/node_modules/echarts/lib/chart/custom/CustomView.js.map +1 -0
  96. package/dist/node_modules/echarts/lib/chart/custom/install.js +9 -0
  97. package/dist/node_modules/echarts/lib/chart/custom/install.js.map +1 -0
  98. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +61 -0
  99. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js.map +1 -0
  100. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +45 -0
  101. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js.map +1 -0
  102. package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +10 -0
  103. package/dist/node_modules/echarts/lib/chart/effectScatter/install.js.map +1 -0
  104. package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +84 -0
  105. package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js.map +1 -0
  106. package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +110 -0
  107. package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js.map +1 -0
  108. package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +98 -0
  109. package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js.map +1 -0
  110. package/dist/node_modules/echarts/lib/chart/funnel/install.js +11 -0
  111. package/dist/node_modules/echarts/lib/chart/funnel/install.js.map +1 -0
  112. package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +143 -0
  113. package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js.map +1 -0
  114. package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +300 -0
  115. package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js.map +1 -0
  116. package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +30 -0
  117. package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js.map +1 -0
  118. package/dist/node_modules/echarts/lib/chart/gauge/install.js +9 -0
  119. package/dist/node_modules/echarts/lib/chart/gauge/install.js.map +1 -0
  120. package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +181 -0
  121. package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js.map +1 -0
  122. package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +137 -0
  123. package/dist/node_modules/echarts/lib/chart/graph/GraphView.js.map +1 -0
  124. package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +54 -0
  125. package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js.map +1 -0
  126. package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +23 -0
  127. package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js.map +1 -0
  128. package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +30 -0
  129. package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js.map +1 -0
  130. package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +10 -0
  131. package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js.map +1 -0
  132. package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +81 -0
  133. package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js.map +1 -0
  134. package/dist/node_modules/echarts/lib/chart/graph/createView.js +34 -0
  135. package/dist/node_modules/echarts/lib/chart/graph/createView.js.map +1 -0
  136. package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +29 -0
  137. package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js.map +1 -0
  138. package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +74 -0
  139. package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js.map +1 -0
  140. package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +62 -0
  141. package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js.map +1 -0
  142. package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +16 -0
  143. package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js.map +1 -0
  144. package/dist/node_modules/echarts/lib/chart/graph/install.js +43 -0
  145. package/dist/node_modules/echarts/lib/chart/graph/install.js.map +1 -0
  146. package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +25 -0
  147. package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js.map +1 -0
  148. package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +24 -0
  149. package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js.map +1 -0
  150. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +46 -0
  151. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js.map +1 -0
  152. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +45 -0
  153. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js.map +1 -0
  154. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +155 -0
  155. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js.map +1 -0
  156. package/dist/node_modules/echarts/lib/chart/heatmap/install.js +9 -0
  157. package/dist/node_modules/echarts/lib/chart/heatmap/install.js.map +1 -0
  158. package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +69 -0
  159. package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js.map +1 -0
  160. package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +55 -0
  161. package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js.map +1 -0
  162. package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +90 -0
  163. package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js.map +1 -0
  164. package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +158 -0
  165. package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js.map +1 -0
  166. package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +144 -0
  167. package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js.map +1 -0
  168. package/dist/node_modules/echarts/lib/chart/helper/Line.js +209 -0
  169. package/dist/node_modules/echarts/lib/chart/helper/Line.js.map +1 -0
  170. package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +88 -0
  171. package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js.map +1 -0
  172. package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +53 -0
  173. package/dist/node_modules/echarts/lib/chart/helper/LinePath.js.map +1 -0
  174. package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +46 -0
  175. package/dist/node_modules/echarts/lib/chart/helper/Polyline.js.map +1 -0
  176. package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +156 -0
  177. package/dist/node_modules/echarts/lib/chart/helper/Symbol.js.map +1 -0
  178. package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +107 -0
  179. package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js.map +1 -0
  180. package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +71 -0
  181. package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js.map +1 -0
  182. package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +51 -0
  183. package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js.map +1 -0
  184. package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +12 -0
  185. package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js.map +1 -0
  186. package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +71 -0
  187. package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js.map +1 -0
  188. package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +16 -0
  189. package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js.map +1 -0
  190. package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +14 -0
  191. package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js.map +1 -0
  192. package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +28 -0
  193. package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js.map +1 -0
  194. package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +68 -0
  195. package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js.map +1 -0
  196. package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +20 -0
  197. package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js.map +1 -0
  198. package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +42 -0
  199. package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js.map +1 -0
  200. package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +52 -0
  201. package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js.map +1 -0
  202. package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +93 -0
  203. package/dist/node_modules/echarts/lib/chart/line/LineSeries.js.map +1 -0
  204. package/dist/node_modules/echarts/lib/chart/line/LineView.js +532 -0
  205. package/dist/node_modules/echarts/lib/chart/line/LineView.js.map +1 -0
  206. package/dist/node_modules/echarts/lib/chart/line/helper.js +41 -0
  207. package/dist/node_modules/echarts/lib/chart/line/helper.js.map +1 -0
  208. package/dist/node_modules/echarts/lib/chart/line/install.js +17 -0
  209. package/dist/node_modules/echarts/lib/chart/line/install.js.map +1 -0
  210. package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +61 -0
  211. package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js.map +1 -0
  212. package/dist/node_modules/echarts/lib/chart/line/poly.js +164 -0
  213. package/dist/node_modules/echarts/lib/chart/line/poly.js.map +1 -0
  214. package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +154 -0
  215. package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js.map +1 -0
  216. package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +66 -0
  217. package/dist/node_modules/echarts/lib/chart/lines/LinesView.js.map +1 -0
  218. package/dist/node_modules/echarts/lib/chart/lines/install.js +11 -0
  219. package/dist/node_modules/echarts/lib/chart/lines/install.js.map +1 -0
  220. package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +51 -0
  221. package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js.map +1 -0
  222. package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +21 -0
  223. package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js.map +1 -0
  224. package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +144 -0
  225. package/dist/node_modules/echarts/lib/chart/map/MapSeries.js.map +1 -0
  226. package/dist/node_modules/echarts/lib/chart/map/MapView.js +84 -0
  227. package/dist/node_modules/echarts/lib/chart/map/MapView.js.map +1 -0
  228. package/dist/node_modules/echarts/lib/chart/map/install.js +14 -0
  229. package/dist/node_modules/echarts/lib/chart/map/install.js.map +1 -0
  230. package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +33 -0
  231. package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js.map +1 -0
  232. package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +32 -0
  233. package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js.map +1 -0
  234. package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +64 -0
  235. package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js.map +1 -0
  236. package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +112 -0
  237. package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js.map +1 -0
  238. package/dist/node_modules/echarts/lib/chart/parallel/install.js +12 -0
  239. package/dist/node_modules/echarts/lib/chart/parallel/install.js.map +1 -0
  240. package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +27 -0
  241. package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js.map +1 -0
  242. package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +143 -0
  243. package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js.map +1 -0
  244. package/dist/node_modules/echarts/lib/chart/pie/PieView.js +152 -0
  245. package/dist/node_modules/echarts/lib/chart/pie/PieView.js.map +1 -0
  246. package/dist/node_modules/echarts/lib/chart/pie/install.js +14 -0
  247. package/dist/node_modules/echarts/lib/chart/pie/install.js.map +1 -0
  248. package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +200 -0
  249. package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js.map +1 -0
  250. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +100 -0
  251. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js.map +1 -0
  252. package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +74 -0
  253. package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js.map +1 -0
  254. package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +124 -0
  255. package/dist/node_modules/echarts/lib/chart/radar/RadarView.js.map +1 -0
  256. package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +18 -0
  257. package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js.map +1 -0
  258. package/dist/node_modules/echarts/lib/chart/radar/install.js +14 -0
  259. package/dist/node_modules/echarts/lib/chart/radar/install.js.map +1 -0
  260. package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +31 -0
  261. package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js.map +1 -0
  262. package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +125 -0
  263. package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js.map +1 -0
  264. package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +169 -0
  265. package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js.map +1 -0
  266. package/dist/node_modules/echarts/lib/chart/sankey/install.js +24 -0
  267. package/dist/node_modules/echarts/lib/chart/sankey/install.js.map +1 -0
  268. package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +278 -0
  269. package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js.map +1 -0
  270. package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +34 -0
  271. package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js.map +1 -0
  272. package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +62 -0
  273. package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js.map +1 -0
  274. package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +61 -0
  275. package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js.map +1 -0
  276. package/dist/node_modules/echarts/lib/chart/scatter/install.js +12 -0
  277. package/dist/node_modules/echarts/lib/chart/scatter/install.js.map +1 -0
  278. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +83 -0
  279. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js.map +1 -0
  280. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +129 -0
  281. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js.map +1 -0
  282. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +94 -0
  283. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js.map +1 -0
  284. package/dist/node_modules/echarts/lib/chart/sunburst/install.js +14 -0
  285. package/dist/node_modules/echarts/lib/chart/sunburst/install.js.map +1 -0
  286. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +51 -0
  287. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js.map +1 -0
  288. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +99 -0
  289. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js.map +1 -0
  290. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +24 -0
  291. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js.map +1 -0
  292. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +123 -0
  293. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js.map +1 -0
  294. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +101 -0
  295. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js.map +1 -0
  296. package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +11 -0
  297. package/dist/node_modules/echarts/lib/chart/themeRiver/install.js.map +1 -0
  298. package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +64 -0
  299. package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js.map +1 -0
  300. package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +101 -0
  301. package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js.map +1 -0
  302. package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +320 -0
  303. package/dist/node_modules/echarts/lib/chart/tree/TreeView.js.map +1 -0
  304. package/dist/node_modules/echarts/lib/chart/tree/install.js +12 -0
  305. package/dist/node_modules/echarts/lib/chart/tree/install.js.map +1 -0
  306. package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +103 -0
  307. package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js.map +1 -0
  308. package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +25 -0
  309. package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js.map +1 -0
  310. package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +38 -0
  311. package/dist/node_modules/echarts/lib/chart/tree/treeAction.js.map +1 -0
  312. package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +54 -0
  313. package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js.map +1 -0
  314. package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +14 -0
  315. package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js.map +1 -0
  316. package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +100 -0
  317. package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js.map +1 -0
  318. package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +204 -0
  319. package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js.map +1 -0
  320. package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +455 -0
  321. package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js.map +1 -0
  322. package/dist/node_modules/echarts/lib/chart/treemap/install.js +12 -0
  323. package/dist/node_modules/echarts/lib/chart/treemap/install.js.map +1 -0
  324. package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +31 -0
  325. package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js.map +1 -0
  326. package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +218 -0
  327. package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js.map +1 -0
  328. package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +96 -0
  329. package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js.map +1 -0
  330. package/dist/node_modules/echarts/lib/component/aria/install.js +9 -0
  331. package/dist/node_modules/echarts/lib/component/aria/install.js.map +1 -0
  332. package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +13 -0
  333. package/dist/node_modules/echarts/lib/component/aria/preprocessor.js.map +1 -0
  334. package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +196 -0
  335. package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js.map +1 -0
  336. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +295 -0
  337. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js.map +1 -0
  338. package/dist/node_modules/echarts/lib/component/axis/AxisView.js +41 -0
  339. package/dist/node_modules/echarts/lib/component/axis/AxisView.js.map +1 -0
  340. package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +123 -0
  341. package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js.map +1 -0
  342. package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +89 -0
  343. package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js.map +1 -0
  344. package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +118 -0
  345. package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js.map +1 -0
  346. package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +71 -0
  347. package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js.map +1 -0
  348. package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +54 -0
  349. package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js.map +1 -0
  350. package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +26 -0
  351. package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js.map +1 -0
  352. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +72 -0
  353. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js.map +1 -0
  354. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +32 -0
  355. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js.map +1 -0
  356. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +186 -0
  357. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js.map +1 -0
  358. package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +86 -0
  359. package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js.map +1 -0
  360. package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +84 -0
  361. package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js.map +1 -0
  362. package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +81 -0
  363. package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js.map +1 -0
  364. package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +203 -0
  365. package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js.map +1 -0
  366. package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +37 -0
  367. package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js.map +1 -0
  368. package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +59 -0
  369. package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js.map +1 -0
  370. package/dist/node_modules/echarts/lib/component/axisPointer/install.js +26 -0
  371. package/dist/node_modules/echarts/lib/component/axisPointer/install.js.map +1 -0
  372. package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +138 -0
  373. package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js.map +1 -0
  374. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +115 -0
  375. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js.map +1 -0
  376. package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +59 -0
  377. package/dist/node_modules/echarts/lib/component/brush/BrushModel.js.map +1 -0
  378. package/dist/node_modules/echarts/lib/component/brush/BrushView.js +47 -0
  379. package/dist/node_modules/echarts/lib/component/brush/BrushView.js.map +1 -0
  380. package/dist/node_modules/echarts/lib/component/brush/install.js +33 -0
  381. package/dist/node_modules/echarts/lib/component/brush/install.js.map +1 -0
  382. package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +31 -0
  383. package/dist/node_modules/echarts/lib/component/brush/preprocessor.js.map +1 -0
  384. package/dist/node_modules/echarts/lib/component/brush/selector.js +63 -0
  385. package/dist/node_modules/echarts/lib/component/brush/selector.js.map +1 -0
  386. package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +141 -0
  387. package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js.map +1 -0
  388. package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +188 -0
  389. package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js.map +1 -0
  390. package/dist/node_modules/echarts/lib/component/calendar/install.js +10 -0
  391. package/dist/node_modules/echarts/lib/component/calendar/install.js.map +1 -0
  392. package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +126 -0
  393. package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js.map +1 -0
  394. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +189 -0
  395. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js.map +1 -0
  396. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +19 -0
  397. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js.map +1 -0
  398. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +25 -0
  399. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js.map +1 -0
  400. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +77 -0
  401. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js.map +1 -0
  402. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +17 -0
  403. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js.map +1 -0
  404. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +17 -0
  405. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js.map +1 -0
  406. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +88 -0
  407. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js.map +1 -0
  408. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +454 -0
  409. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js.map +1 -0
  410. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +19 -0
  411. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js.map +1 -0
  412. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +58 -0
  413. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js.map +1 -0
  414. package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +68 -0
  415. package/dist/node_modules/echarts/lib/component/dataZoom/helper.js.map +1 -0
  416. package/dist/node_modules/echarts/lib/component/dataZoom/history.js +57 -0
  417. package/dist/node_modules/echarts/lib/component/dataZoom/history.js.map +1 -0
  418. package/dist/node_modules/echarts/lib/component/dataZoom/install.js +10 -0
  419. package/dist/node_modules/echarts/lib/component/dataZoom/install.js.map +1 -0
  420. package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +12 -0
  421. package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js.map +1 -0
  422. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +11 -0
  423. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js.map +1 -0
  424. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +10 -0
  425. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js.map +1 -0
  426. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +10 -0
  427. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js.map +1 -0
  428. package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +127 -0
  429. package/dist/node_modules/echarts/lib/component/dataZoom/roams.js.map +1 -0
  430. package/dist/node_modules/echarts/lib/component/dataset/install.js +44 -0
  431. package/dist/node_modules/echarts/lib/component/dataset/install.js.map +1 -0
  432. package/dist/node_modules/echarts/lib/component/geo/GeoView.js +50 -0
  433. package/dist/node_modules/echarts/lib/component/geo/GeoView.js.map +1 -0
  434. package/dist/node_modules/echarts/lib/component/geo/install.js +73 -0
  435. package/dist/node_modules/echarts/lib/component/geo/install.js.map +1 -0
  436. package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +96 -0
  437. package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js.map +1 -0
  438. package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +186 -0
  439. package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js.map +1 -0
  440. package/dist/node_modules/echarts/lib/component/graphic/install.js +17 -0
  441. package/dist/node_modules/echarts/lib/component/graphic/install.js.map +1 -0
  442. package/dist/node_modules/echarts/lib/component/grid/install.js +10 -0
  443. package/dist/node_modules/echarts/lib/component/grid/install.js.map +1 -0
  444. package/dist/node_modules/echarts/lib/component/grid/installSimple.js +43 -0
  445. package/dist/node_modules/echarts/lib/component/grid/installSimple.js.map +1 -0
  446. package/dist/node_modules/echarts/lib/component/helper/BrushController.js +466 -0
  447. package/dist/node_modules/echarts/lib/component/helper/BrushController.js.map +1 -0
  448. package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +197 -0
  449. package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js.map +1 -0
  450. package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +304 -0
  451. package/dist/node_modules/echarts/lib/component/helper/MapDraw.js.map +1 -0
  452. package/dist/node_modules/echarts/lib/component/helper/RoamController.js +107 -0
  453. package/dist/node_modules/echarts/lib/component/helper/RoamController.js.map +1 -0
  454. package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +29 -0
  455. package/dist/node_modules/echarts/lib/component/helper/brushHelper.js.map +1 -0
  456. package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +13 -0
  457. package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js.map +1 -0
  458. package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +28 -0
  459. package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js.map +1 -0
  460. package/dist/node_modules/echarts/lib/component/helper/listComponent.js +30 -0
  461. package/dist/node_modules/echarts/lib/component/helper/listComponent.js.map +1 -0
  462. package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +18 -0
  463. package/dist/node_modules/echarts/lib/component/helper/roamHelper.js.map +1 -0
  464. package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +29 -0
  465. package/dist/node_modules/echarts/lib/component/helper/sliderMove.js.map +1 -0
  466. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +197 -0
  467. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js.map +1 -0
  468. package/dist/node_modules/echarts/lib/component/legend/LegendView.js +246 -0
  469. package/dist/node_modules/echarts/lib/component/legend/LegendView.js.map +1 -0
  470. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +50 -0
  471. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js.map +1 -0
  472. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +185 -0
  473. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js.map +1 -0
  474. package/dist/node_modules/echarts/lib/component/legend/install.js +10 -0
  475. package/dist/node_modules/echarts/lib/component/legend/install.js.map +1 -0
  476. package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +13 -0
  477. package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js.map +1 -0
  478. package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +12 -0
  479. package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js.map +1 -0
  480. package/dist/node_modules/echarts/lib/component/legend/legendAction.js +41 -0
  481. package/dist/node_modules/echarts/lib/component/legend/legendAction.js.map +1 -0
  482. package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +15 -0
  483. package/dist/node_modules/echarts/lib/component/legend/legendFilter.js.map +1 -0
  484. package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +16 -0
  485. package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js.map +1 -0
  486. package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +44 -0
  487. package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js.map +1 -0
  488. package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +180 -0
  489. package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js.map +1 -0
  490. package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +47 -0
  491. package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js.map +1 -0
  492. package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +179 -0
  493. package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js.map +1 -0
  494. package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +41 -0
  495. package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js.map +1 -0
  496. package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +85 -0
  497. package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js.map +1 -0
  498. package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +75 -0
  499. package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js.map +1 -0
  500. package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +46 -0
  501. package/dist/node_modules/echarts/lib/component/marker/MarkerView.js.map +1 -0
  502. package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +13 -0
  503. package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js.map +1 -0
  504. package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +12 -0
  505. package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js.map +1 -0
  506. package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +12 -0
  507. package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js.map +1 -0
  508. package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +12 -0
  509. package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js.map +1 -0
  510. package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +84 -0
  511. package/dist/node_modules/echarts/lib/component/marker/markerHelper.js.map +1 -0
  512. package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +67 -0
  513. package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js.map +1 -0
  514. package/dist/node_modules/echarts/lib/component/parallel/install.js +27 -0
  515. package/dist/node_modules/echarts/lib/component/parallel/install.js.map +1 -0
  516. package/dist/node_modules/echarts/lib/component/polar/install.js +41 -0
  517. package/dist/node_modules/echarts/lib/component/polar/install.js.map +1 -0
  518. package/dist/node_modules/echarts/lib/component/radar/RadarView.js +120 -0
  519. package/dist/node_modules/echarts/lib/component/radar/RadarView.js.map +1 -0
  520. package/dist/node_modules/echarts/lib/component/radar/install.js +18 -0
  521. package/dist/node_modules/echarts/lib/component/radar/install.js.map +1 -0
  522. package/dist/node_modules/echarts/lib/component/singleAxis/install.js +28 -0
  523. package/dist/node_modules/echarts/lib/component/singleAxis/install.js.map +1 -0
  524. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +116 -0
  525. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js.map +1 -0
  526. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +362 -0
  527. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js.map +1 -0
  528. package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +21 -0
  529. package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js.map +1 -0
  530. package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +80 -0
  531. package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js.map +1 -0
  532. package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +17 -0
  533. package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js.map +1 -0
  534. package/dist/node_modules/echarts/lib/component/timeline/install.js +13 -0
  535. package/dist/node_modules/echarts/lib/component/timeline/install.js.map +1 -0
  536. package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +36 -0
  537. package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js.map +1 -0
  538. package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +30 -0
  539. package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js.map +1 -0
  540. package/dist/node_modules/echarts/lib/component/title/install.js +122 -0
  541. package/dist/node_modules/echarts/lib/component/title/install.js.map +1 -0
  542. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +61 -0
  543. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js.map +1 -0
  544. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +141 -0
  545. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js.map +1 -0
  546. package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +70 -0
  547. package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js.map +1 -0
  548. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +271 -0
  549. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js.map +1 -0
  550. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +153 -0
  551. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js.map +1 -0
  552. package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +124 -0
  553. package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js.map +1 -0
  554. package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +38 -0
  555. package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js.map +1 -0
  556. package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +70 -0
  557. package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js.map +1 -0
  558. package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +20 -0
  559. package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js.map +1 -0
  560. package/dist/node_modules/echarts/lib/component/toolbox/install.js +17 -0
  561. package/dist/node_modules/echarts/lib/component/toolbox/install.js.map +1 -0
  562. package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +153 -0
  563. package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js.map +1 -0
  564. package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +83 -0
  565. package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js.map +1 -0
  566. package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +90 -0
  567. package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js.map +1 -0
  568. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +413 -0
  569. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js.map +1 -0
  570. package/dist/node_modules/echarts/lib/component/tooltip/helper.js +33 -0
  571. package/dist/node_modules/echarts/lib/component/tooltip/helper.js.map +1 -0
  572. package/dist/node_modules/echarts/lib/component/tooltip/install.js +20 -0
  573. package/dist/node_modules/echarts/lib/component/tooltip/install.js.map +1 -0
  574. package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +64 -0
  575. package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js.map +1 -0
  576. package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +187 -0
  577. package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js.map +1 -0
  578. package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +36 -0
  579. package/dist/node_modules/echarts/lib/component/transform/filterTransform.js.map +1 -0
  580. package/dist/node_modules/echarts/lib/component/transform/install.js +9 -0
  581. package/dist/node_modules/echarts/lib/component/transform/install.js.map +1 -0
  582. package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +59 -0
  583. package/dist/node_modules/echarts/lib/component/transform/sortTransform.js.map +1 -0
  584. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +110 -0
  585. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js.map +1 -0
  586. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +383 -0
  587. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js.map +1 -0
  588. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +217 -0
  589. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js.map +1 -0
  590. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +119 -0
  591. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js.map +1 -0
  592. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +162 -0
  593. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js.map +1 -0
  594. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +78 -0
  595. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js.map +1 -0
  596. package/dist/node_modules/echarts/lib/component/visualMap/helper.js +25 -0
  597. package/dist/node_modules/echarts/lib/component/visualMap/helper.js.map +1 -0
  598. package/dist/node_modules/echarts/lib/component/visualMap/install.js +10 -0
  599. package/dist/node_modules/echarts/lib/component/visualMap/install.js.map +1 -0
  600. package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +16 -0
  601. package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js.map +1 -0
  602. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +10 -0
  603. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js.map +1 -0
  604. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +10 -0
  605. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js.map +1 -0
  606. package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +21 -0
  607. package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js.map +1 -0
  608. package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +52 -0
  609. package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js.map +1 -0
  610. package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +18 -0
  611. package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js.map +1 -0
  612. package/dist/node_modules/echarts/lib/coord/Axis.js +108 -0
  613. package/dist/node_modules/echarts/lib/coord/Axis.js.map +1 -0
  614. package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +7 -0
  615. package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js.map +1 -0
  616. package/dist/node_modules/echarts/lib/coord/View.js +92 -0
  617. package/dist/node_modules/echarts/lib/coord/View.js.map +1 -0
  618. package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +47 -0
  619. package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js.map +1 -0
  620. package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +10 -0
  621. package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js.map +1 -0
  622. package/dist/node_modules/echarts/lib/coord/axisDefault.js +161 -0
  623. package/dist/node_modules/echarts/lib/coord/axisDefault.js.map +1 -0
  624. package/dist/node_modules/echarts/lib/coord/axisHelper.js +163 -0
  625. package/dist/node_modules/echarts/lib/coord/axisHelper.js.map +1 -0
  626. package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +16 -0
  627. package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js.map +1 -0
  628. package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +41 -0
  629. package/dist/node_modules/echarts/lib/coord/axisModelCreator.js.map +1 -0
  630. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +177 -0
  631. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js.map +1 -0
  632. package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +159 -0
  633. package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js.map +1 -0
  634. package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +92 -0
  635. package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js.map +1 -0
  636. package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +29 -0
  637. package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js.map +1 -0
  638. package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +29 -0
  639. package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js.map +1 -0
  640. package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +22 -0
  641. package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js.map +1 -0
  642. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +27 -0
  643. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js.map +1 -0
  644. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +67 -0
  645. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js.map +1 -0
  646. package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +234 -0
  647. package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js.map +1 -0
  648. package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +31 -0
  649. package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js.map +1 -0
  650. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +47 -0
  651. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js.map +1 -0
  652. package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +30 -0
  653. package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js.map +1 -0
  654. package/dist/node_modules/echarts/lib/coord/geo/Geo.js +86 -0
  655. package/dist/node_modules/echarts/lib/coord/geo/Geo.js.map +1 -0
  656. package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +71 -0
  657. package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js.map +1 -0
  658. package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +126 -0
  659. package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js.map +1 -0
  660. package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +109 -0
  661. package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js.map +1 -0
  662. package/dist/node_modules/echarts/lib/coord/geo/Region.js +138 -0
  663. package/dist/node_modules/echarts/lib/coord/geo/Region.js.map +1 -0
  664. package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +11 -0
  665. package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js.map +1 -0
  666. package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +23 -0
  667. package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js.map +1 -0
  668. package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +22 -0
  669. package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js.map +1 -0
  670. package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +109 -0
  671. package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js.map +1 -0
  672. package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +70 -0
  673. package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js.map +1 -0
  674. package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +68 -0
  675. package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js.map +1 -0
  676. package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +30 -0
  677. package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js.map +1 -0
  678. package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +52 -0
  679. package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js.map +1 -0
  680. package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +181 -0
  681. package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js.map +1 -0
  682. package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +19 -0
  683. package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js.map +1 -0
  684. package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +62 -0
  685. package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js.map +1 -0
  686. package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +21 -0
  687. package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js.map +1 -0
  688. package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +26 -0
  689. package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js.map +1 -0
  690. package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +30 -0
  691. package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js.map +1 -0
  692. package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +45 -0
  693. package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js.map +1 -0
  694. package/dist/node_modules/echarts/lib/coord/polar/Polar.js +87 -0
  695. package/dist/node_modules/echarts/lib/coord/polar/Polar.js.map +1 -0
  696. package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +27 -0
  697. package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js.map +1 -0
  698. package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +20 -0
  699. package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js.map +1 -0
  700. package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +64 -0
  701. package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js.map +1 -0
  702. package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +30 -0
  703. package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js.map +1 -0
  704. package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +17 -0
  705. package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js.map +1 -0
  706. package/dist/node_modules/echarts/lib/coord/radar/Radar.js +80 -0
  707. package/dist/node_modules/echarts/lib/coord/radar/Radar.js.map +1 -0
  708. package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +90 -0
  709. package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js.map +1 -0
  710. package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +71 -0
  711. package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js.map +1 -0
  712. package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +61 -0
  713. package/dist/node_modules/echarts/lib/coord/single/AxisModel.js.map +1 -0
  714. package/dist/node_modules/echarts/lib/coord/single/Single.js +89 -0
  715. package/dist/node_modules/echarts/lib/coord/single/Single.js.map +1 -0
  716. package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +22 -0
  717. package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js.map +1 -0
  718. package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +27 -0
  719. package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js.map +1 -0
  720. package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +33 -0
  721. package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js.map +1 -0
  722. package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +22 -0
  723. package/dist/node_modules/echarts/lib/coord/single/singleCreator.js.map +1 -0
  724. package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +30 -0
  725. package/dist/node_modules/echarts/lib/core/CoordinateSystem.js.map +1 -0
  726. package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +35 -0
  727. package/dist/node_modules/echarts/lib/core/ExtensionAPI.js.map +1 -0
  728. package/dist/node_modules/echarts/lib/core/Scheduler.js +227 -0
  729. package/dist/node_modules/echarts/lib/core/Scheduler.js.map +1 -0
  730. package/dist/node_modules/echarts/lib/core/echarts.js +1058 -0
  731. package/dist/node_modules/echarts/lib/core/echarts.js.map +1 -0
  732. package/dist/node_modules/echarts/lib/core/impl.js +13 -0
  733. package/dist/node_modules/echarts/lib/core/impl.js.map +1 -0
  734. package/dist/node_modules/echarts/lib/core/lifecycle.js +6 -0
  735. package/dist/node_modules/echarts/lib/core/lifecycle.js.map +1 -0
  736. package/dist/node_modules/echarts/lib/core/locale.js +38 -0
  737. package/dist/node_modules/echarts/lib/core/locale.js.map +1 -0
  738. package/dist/node_modules/echarts/lib/core/task.js +92 -0
  739. package/dist/node_modules/echarts/lib/core/task.js.map +1 -0
  740. package/dist/node_modules/echarts/lib/data/DataDiffer.js +81 -0
  741. package/dist/node_modules/echarts/lib/data/DataDiffer.js.map +1 -0
  742. package/dist/node_modules/echarts/lib/data/DataStore.js +431 -0
  743. package/dist/node_modules/echarts/lib/data/DataStore.js.map +1 -0
  744. package/dist/node_modules/echarts/lib/data/Graph.js +210 -0
  745. package/dist/node_modules/echarts/lib/data/Graph.js.map +1 -0
  746. package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +37 -0
  747. package/dist/node_modules/echarts/lib/data/OrdinalMeta.js.map +1 -0
  748. package/dist/node_modules/echarts/lib/data/SeriesData.js +339 -0
  749. package/dist/node_modules/echarts/lib/data/SeriesData.js.map +1 -0
  750. package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +14 -0
  751. package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js.map +1 -0
  752. package/dist/node_modules/echarts/lib/data/Source.js +158 -0
  753. package/dist/node_modules/echarts/lib/data/Source.js.map +1 -0
  754. package/dist/node_modules/echarts/lib/data/Tree.js +155 -0
  755. package/dist/node_modules/echarts/lib/data/Tree.js.map +1 -0
  756. package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +87 -0
  757. package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js.map +1 -0
  758. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +123 -0
  759. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js.map +1 -0
  760. package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +177 -0
  761. package/dist/node_modules/echarts/lib/data/helper/dataProvider.js.map +1 -0
  762. package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +61 -0
  763. package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js.map +1 -0
  764. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +90 -0
  765. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js.map +1 -0
  766. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +59 -0
  767. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js.map +1 -0
  768. package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +63 -0
  769. package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js.map +1 -0
  770. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +164 -0
  771. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js.map +1 -0
  772. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +138 -0
  773. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js.map +1 -0
  774. package/dist/node_modules/echarts/lib/data/helper/transform.js +174 -0
  775. package/dist/node_modules/echarts/lib/data/helper/transform.js.map +1 -0
  776. package/dist/node_modules/echarts/lib/extension.js +62 -0
  777. package/dist/node_modules/echarts/lib/extension.js.map +1 -0
  778. package/dist/node_modules/echarts/lib/i18n/langEN.js +115 -0
  779. package/dist/node_modules/echarts/lib/i18n/langEN.js.map +1 -0
  780. package/dist/node_modules/echarts/lib/i18n/langZH.js +115 -0
  781. package/dist/node_modules/echarts/lib/i18n/langZH.js.map +1 -0
  782. package/dist/node_modules/echarts/lib/label/LabelManager.js +236 -0
  783. package/dist/node_modules/echarts/lib/label/LabelManager.js.map +1 -0
  784. package/dist/node_modules/echarts/lib/label/installLabelLayout.js +18 -0
  785. package/dist/node_modules/echarts/lib/label/installLabelLayout.js.map +1 -0
  786. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +235 -0
  787. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js.map +1 -0
  788. package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +133 -0
  789. package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js.map +1 -0
  790. package/dist/node_modules/echarts/lib/label/labelStyle.js +195 -0
  791. package/dist/node_modules/echarts/lib/label/labelStyle.js.map +1 -0
  792. package/dist/node_modules/echarts/lib/label/sectorLabel.js +95 -0
  793. package/dist/node_modules/echarts/lib/label/sectorLabel.js.map +1 -0
  794. package/dist/node_modules/echarts/lib/layout/barGrid.js +236 -0
  795. package/dist/node_modules/echarts/lib/layout/barGrid.js.map +1 -0
  796. package/dist/node_modules/echarts/lib/layout/barPolar.js +102 -0
  797. package/dist/node_modules/echarts/lib/layout/barPolar.js.map +1 -0
  798. package/dist/node_modules/echarts/lib/layout/points.js +38 -0
  799. package/dist/node_modules/echarts/lib/layout/points.js.map +1 -0
  800. package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +52 -0
  801. package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js.map +1 -0
  802. package/dist/node_modules/echarts/lib/loading/default.js +93 -0
  803. package/dist/node_modules/echarts/lib/loading/default.js.map +1 -0
  804. package/dist/node_modules/echarts/lib/model/Component.js +82 -0
  805. package/dist/node_modules/echarts/lib/model/Component.js.map +1 -0
  806. package/dist/node_modules/echarts/lib/model/Global.js +355 -0
  807. package/dist/node_modules/echarts/lib/model/Global.js.map +1 -0
  808. package/dist/node_modules/echarts/lib/model/Model.js +65 -0
  809. package/dist/node_modules/echarts/lib/model/Model.js.map +1 -0
  810. package/dist/node_modules/echarts/lib/model/OptionManager.js +88 -0
  811. package/dist/node_modules/echarts/lib/model/OptionManager.js.map +1 -0
  812. package/dist/node_modules/echarts/lib/model/Series.js +232 -0
  813. package/dist/node_modules/echarts/lib/model/Series.js.map +1 -0
  814. package/dist/node_modules/echarts/lib/model/globalDefault.js +88 -0
  815. package/dist/node_modules/echarts/lib/model/globalDefault.js.map +1 -0
  816. package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +23 -0
  817. package/dist/node_modules/echarts/lib/model/internalComponentCreator.js.map +1 -0
  818. package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +25 -0
  819. package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js.map +1 -0
  820. package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +72 -0
  821. package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js.map +1 -0
  822. package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +32 -0
  823. package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js.map +1 -0
  824. package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +31 -0
  825. package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js.map +1 -0
  826. package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +19 -0
  827. package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js.map +1 -0
  828. package/dist/node_modules/echarts/lib/model/mixin/palette.js +43 -0
  829. package/dist/node_modules/echarts/lib/model/mixin/palette.js.map +1 -0
  830. package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +31 -0
  831. package/dist/node_modules/echarts/lib/model/mixin/textStyle.js.map +1 -0
  832. package/dist/node_modules/echarts/lib/model/referHelper.js +61 -0
  833. package/dist/node_modules/echarts/lib/model/referHelper.js.map +1 -0
  834. package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +81 -0
  835. package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js.map +1 -0
  836. package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +112 -0
  837. package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js.map +1 -0
  838. package/dist/node_modules/echarts/lib/processor/dataFilter.js +23 -0
  839. package/dist/node_modules/echarts/lib/processor/dataFilter.js.map +1 -0
  840. package/dist/node_modules/echarts/lib/processor/dataSample.js +52 -0
  841. package/dist/node_modules/echarts/lib/processor/dataSample.js.map +1 -0
  842. package/dist/node_modules/echarts/lib/processor/dataStack.js +51 -0
  843. package/dist/node_modules/echarts/lib/processor/dataStack.js.map +1 -0
  844. package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +17 -0
  845. package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js.map +1 -0
  846. package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +8 -0
  847. package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js.map +1 -0
  848. package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +8 -0
  849. package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js.map +1 -0
  850. package/dist/node_modules/echarts/lib/scale/Interval.js +98 -0
  851. package/dist/node_modules/echarts/lib/scale/Interval.js.map +1 -0
  852. package/dist/node_modules/echarts/lib/scale/Log.js +69 -0
  853. package/dist/node_modules/echarts/lib/scale/Log.js.map +1 -0
  854. package/dist/node_modules/echarts/lib/scale/Ordinal.js +77 -0
  855. package/dist/node_modules/echarts/lib/scale/Ordinal.js.map +1 -0
  856. package/dist/node_modules/echarts/lib/scale/Scale.js +33 -0
  857. package/dist/node_modules/echarts/lib/scale/Scale.js.map +1 -0
  858. package/dist/node_modules/echarts/lib/scale/Time.js +260 -0
  859. package/dist/node_modules/echarts/lib/scale/Time.js.map +1 -0
  860. package/dist/node_modules/echarts/lib/scale/helper.js +48 -0
  861. package/dist/node_modules/echarts/lib/scale/helper.js.map +1 -0
  862. package/dist/node_modules/echarts/lib/theme/dark.js +181 -0
  863. package/dist/node_modules/echarts/lib/theme/dark.js.map +1 -0
  864. package/dist/node_modules/echarts/lib/theme/light.js +9 -0
  865. package/dist/node_modules/echarts/lib/theme/light.js.map +1 -0
  866. package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +55 -0
  867. package/dist/node_modules/echarts/lib/util/ECEventProcessor.js.map +1 -0
  868. package/dist/node_modules/echarts/lib/util/animation.js +41 -0
  869. package/dist/node_modules/echarts/lib/util/animation.js.map +1 -0
  870. package/dist/node_modules/echarts/lib/util/clazz.js +110 -0
  871. package/dist/node_modules/echarts/lib/util/clazz.js.map +1 -0
  872. package/dist/node_modules/echarts/lib/util/component.js +80 -0
  873. package/dist/node_modules/echarts/lib/util/component.js.map +1 -0
  874. package/dist/node_modules/echarts/lib/util/conditionalExpression.js +147 -0
  875. package/dist/node_modules/echarts/lib/util/conditionalExpression.js.map +1 -0
  876. package/dist/node_modules/echarts/lib/util/decal.js +175 -0
  877. package/dist/node_modules/echarts/lib/util/decal.js.map +1 -0
  878. package/dist/node_modules/echarts/lib/util/event.js +9 -0
  879. package/dist/node_modules/echarts/lib/util/event.js.map +1 -0
  880. package/dist/node_modules/echarts/lib/util/format.js +112 -0
  881. package/dist/node_modules/echarts/lib/util/format.js.map +1 -0
  882. package/dist/node_modules/echarts/lib/util/graphic.js +295 -0
  883. package/dist/node_modules/echarts/lib/util/graphic.js.map +1 -0
  884. package/dist/node_modules/echarts/lib/util/innerStore.js +15 -0
  885. package/dist/node_modules/echarts/lib/util/innerStore.js.map +1 -0
  886. package/dist/node_modules/echarts/lib/util/layout.js +141 -0
  887. package/dist/node_modules/echarts/lib/util/layout.js.map +1 -0
  888. package/dist/node_modules/echarts/lib/util/log.js +69 -0
  889. package/dist/node_modules/echarts/lib/util/log.js.map +1 -0
  890. package/dist/node_modules/echarts/lib/util/model.js +350 -0
  891. package/dist/node_modules/echarts/lib/util/model.js.map +1 -0
  892. package/dist/node_modules/echarts/lib/util/number.js +197 -0
  893. package/dist/node_modules/echarts/lib/util/number.js.map +1 -0
  894. package/dist/node_modules/echarts/lib/util/shape/sausage.js +33 -0
  895. package/dist/node_modules/echarts/lib/util/shape/sausage.js.map +1 -0
  896. package/dist/node_modules/echarts/lib/util/states.js +395 -0
  897. package/dist/node_modules/echarts/lib/util/states.js.map +1 -0
  898. package/dist/node_modules/echarts/lib/util/styleCompat.js +59 -0
  899. package/dist/node_modules/echarts/lib/util/styleCompat.js.map +1 -0
  900. package/dist/node_modules/echarts/lib/util/symbol.js +156 -0
  901. package/dist/node_modules/echarts/lib/util/symbol.js.map +1 -0
  902. package/dist/node_modules/echarts/lib/util/throttle.js +42 -0
  903. package/dist/node_modules/echarts/lib/util/throttle.js.map +1 -0
  904. package/dist/node_modules/echarts/lib/util/time.js +194 -0
  905. package/dist/node_modules/echarts/lib/util/time.js.map +1 -0
  906. package/dist/node_modules/echarts/lib/util/types.js +14 -0
  907. package/dist/node_modules/echarts/lib/util/types.js.map +1 -0
  908. package/dist/node_modules/echarts/lib/util/vendor.js +9 -0
  909. package/dist/node_modules/echarts/lib/util/vendor.js.map +1 -0
  910. package/dist/node_modules/echarts/lib/view/Chart.js +99 -0
  911. package/dist/node_modules/echarts/lib/view/Chart.js.map +1 -0
  912. package/dist/node_modules/echarts/lib/view/Component.js +28 -0
  913. package/dist/node_modules/echarts/lib/view/Component.js.map +1 -0
  914. package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +25 -0
  915. package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js.map +1 -0
  916. package/dist/node_modules/echarts/lib/visual/VisualMapping.js +264 -0
  917. package/dist/node_modules/echarts/lib/visual/VisualMapping.js.map +1 -0
  918. package/dist/node_modules/echarts/lib/visual/aria.js +134 -0
  919. package/dist/node_modules/echarts/lib/visual/aria.js.map +1 -0
  920. package/dist/node_modules/echarts/lib/visual/decal.js +24 -0
  921. package/dist/node_modules/echarts/lib/visual/decal.js.map +1 -0
  922. package/dist/node_modules/echarts/lib/visual/helper.js +54 -0
  923. package/dist/node_modules/echarts/lib/visual/helper.js.map +1 -0
  924. package/dist/node_modules/echarts/lib/visual/style.js +96 -0
  925. package/dist/node_modules/echarts/lib/visual/style.js.map +1 -0
  926. package/dist/node_modules/echarts/lib/visual/symbol.js +53 -0
  927. package/dist/node_modules/echarts/lib/visual/symbol.js.map +1 -0
  928. package/dist/node_modules/echarts/lib/visual/visualDefault.js +47 -0
  929. package/dist/node_modules/echarts/lib/visual/visualDefault.js.map +1 -0
  930. package/dist/node_modules/echarts/lib/visual/visualSolution.js +98 -0
  931. package/dist/node_modules/echarts/lib/visual/visualSolution.js.map +1 -0
  932. package/dist/node_modules/echarts/node_modules/tslib/tslib.es6.js +34 -0
  933. package/dist/node_modules/echarts/node_modules/tslib/tslib.es6.js.map +1 -0
  934. package/dist/node_modules/jszip/dist/jszip.min.js +2321 -0
  935. package/dist/node_modules/jszip/dist/jszip.min.js.map +1 -0
  936. package/dist/node_modules/lodash/lodash.js +3693 -0
  937. package/dist/node_modules/lodash/lodash.js.map +1 -0
  938. package/dist/node_modules/pptx-preview/dist/pptx-preview.es.js +2599 -0
  939. package/dist/node_modules/pptx-preview/dist/pptx-preview.es.js.map +1 -0
  940. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/native.js +8 -0
  941. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  942. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/rng.js +10 -0
  943. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/rng.js.map +1 -0
  944. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/stringify.js +10 -0
  945. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -0
  946. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/v4.js +14 -0
  947. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/v4.js.map +1 -0
  948. package/dist/node_modules/tslib/tslib.es6.js +125 -0
  949. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  950. package/dist/node_modules/zrender/lib/Element.js +455 -0
  951. package/dist/node_modules/zrender/lib/Element.js.map +1 -0
  952. package/dist/node_modules/zrender/lib/Handler.js +169 -0
  953. package/dist/node_modules/zrender/lib/Handler.js.map +1 -0
  954. package/dist/node_modules/zrender/lib/Storage.js +76 -0
  955. package/dist/node_modules/zrender/lib/Storage.js.map +1 -0
  956. package/dist/node_modules/zrender/lib/animation/Animation.js +67 -0
  957. package/dist/node_modules/zrender/lib/animation/Animation.js.map +1 -0
  958. package/dist/node_modules/zrender/lib/animation/Animator.js +382 -0
  959. package/dist/node_modules/zrender/lib/animation/Animator.js.map +1 -0
  960. package/dist/node_modules/zrender/lib/animation/Clip.js +34 -0
  961. package/dist/node_modules/zrender/lib/animation/Clip.js.map +1 -0
  962. package/dist/node_modules/zrender/lib/animation/cubicEasing.js +19 -0
  963. package/dist/node_modules/zrender/lib/animation/cubicEasing.js.map +1 -0
  964. package/dist/node_modules/zrender/lib/animation/easing.js +105 -0
  965. package/dist/node_modules/zrender/lib/animation/easing.js.map +1 -0
  966. package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +9 -0
  967. package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js.map +1 -0
  968. package/dist/node_modules/zrender/lib/canvas/Layer.js +135 -0
  969. package/dist/node_modules/zrender/lib/canvas/Layer.js.map +1 -0
  970. package/dist/node_modules/zrender/lib/canvas/Painter.js +309 -0
  971. package/dist/node_modules/zrender/lib/canvas/Painter.js.map +1 -0
  972. package/dist/node_modules/zrender/lib/canvas/dashStyle.js +19 -0
  973. package/dist/node_modules/zrender/lib/canvas/dashStyle.js.map +1 -0
  974. package/dist/node_modules/zrender/lib/canvas/graphic.js +198 -0
  975. package/dist/node_modules/zrender/lib/canvas/graphic.js.map +1 -0
  976. package/dist/node_modules/zrender/lib/canvas/helper.js +48 -0
  977. package/dist/node_modules/zrender/lib/canvas/helper.js.map +1 -0
  978. package/dist/node_modules/zrender/lib/config.js +12 -0
  979. package/dist/node_modules/zrender/lib/config.js.map +1 -0
  980. package/dist/node_modules/zrender/lib/contain/arc.js +25 -0
  981. package/dist/node_modules/zrender/lib/contain/arc.js.map +1 -0
  982. package/dist/node_modules/zrender/lib/contain/cubic.js +14 -0
  983. package/dist/node_modules/zrender/lib/contain/cubic.js.map +1 -0
  984. package/dist/node_modules/zrender/lib/contain/line.js +17 -0
  985. package/dist/node_modules/zrender/lib/contain/line.js.map +1 -0
  986. package/dist/node_modules/zrender/lib/contain/path.js +149 -0
  987. package/dist/node_modules/zrender/lib/contain/path.js.map +1 -0
  988. package/dist/node_modules/zrender/lib/contain/polygon.js +20 -0
  989. package/dist/node_modules/zrender/lib/contain/polygon.js.map +1 -0
  990. package/dist/node_modules/zrender/lib/contain/quadratic.js +14 -0
  991. package/dist/node_modules/zrender/lib/contain/quadratic.js.map +1 -0
  992. package/dist/node_modules/zrender/lib/contain/text.js +97 -0
  993. package/dist/node_modules/zrender/lib/contain/text.js.map +1 -0
  994. package/dist/node_modules/zrender/lib/contain/util.js +8 -0
  995. package/dist/node_modules/zrender/lib/contain/util.js.map +1 -0
  996. package/dist/node_modules/zrender/lib/contain/windingLine.js +12 -0
  997. package/dist/node_modules/zrender/lib/contain/windingLine.js.map +1 -0
  998. package/dist/node_modules/zrender/lib/core/BoundingRect.js +65 -0
  999. package/dist/node_modules/zrender/lib/core/BoundingRect.js.map +1 -0
  1000. package/dist/node_modules/zrender/lib/core/Eventful.js +98 -0
  1001. package/dist/node_modules/zrender/lib/core/Eventful.js.map +1 -0
  1002. package/dist/node_modules/zrender/lib/core/GestureMgr.js +64 -0
  1003. package/dist/node_modules/zrender/lib/core/GestureMgr.js.map +1 -0
  1004. package/dist/node_modules/zrender/lib/core/LRU.js +53 -0
  1005. package/dist/node_modules/zrender/lib/core/LRU.js.map +1 -0
  1006. package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +47 -0
  1007. package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js.map +1 -0
  1008. package/dist/node_modules/zrender/lib/core/PathProxy.js +301 -0
  1009. package/dist/node_modules/zrender/lib/core/PathProxy.js.map +1 -0
  1010. package/dist/node_modules/zrender/lib/core/Point.js +73 -0
  1011. package/dist/node_modules/zrender/lib/core/Point.js.map +1 -0
  1012. package/dist/node_modules/zrender/lib/core/Transformable.js +106 -0
  1013. package/dist/node_modules/zrender/lib/core/Transformable.js.map +1 -0
  1014. package/dist/node_modules/zrender/lib/core/WeakMap.js +27 -0
  1015. package/dist/node_modules/zrender/lib/core/WeakMap.js.map +1 -0
  1016. package/dist/node_modules/zrender/lib/core/bbox.js +53 -0
  1017. package/dist/node_modules/zrender/lib/core/bbox.js.map +1 -0
  1018. package/dist/node_modules/zrender/lib/core/curve.js +162 -0
  1019. package/dist/node_modules/zrender/lib/core/curve.js.map +1 -0
  1020. package/dist/node_modules/zrender/lib/core/dom.js +68 -0
  1021. package/dist/node_modules/zrender/lib/core/dom.js.map +1 -0
  1022. package/dist/node_modules/zrender/lib/core/env.js +22 -0
  1023. package/dist/node_modules/zrender/lib/core/env.js.map +1 -0
  1024. package/dist/node_modules/zrender/lib/core/event.js +70 -0
  1025. package/dist/node_modules/zrender/lib/core/event.js.map +1 -0
  1026. package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +42 -0
  1027. package/dist/node_modules/zrender/lib/core/fourPointsTransform.js.map +1 -0
  1028. package/dist/node_modules/zrender/lib/core/matrix.js +45 -0
  1029. package/dist/node_modules/zrender/lib/core/matrix.js.map +1 -0
  1030. package/dist/node_modules/zrender/lib/core/platform.js +49 -0
  1031. package/dist/node_modules/zrender/lib/core/platform.js.map +1 -0
  1032. package/dist/node_modules/zrender/lib/core/timsort.js +287 -0
  1033. package/dist/node_modules/zrender/lib/core/timsort.js.map +1 -0
  1034. package/dist/node_modules/zrender/lib/core/util.js +406 -0
  1035. package/dist/node_modules/zrender/lib/core/util.js.map +1 -0
  1036. package/dist/node_modules/zrender/lib/core/vector.js +77 -0
  1037. package/dist/node_modules/zrender/lib/core/vector.js.map +1 -0
  1038. package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +189 -0
  1039. package/dist/node_modules/zrender/lib/dom/HandlerProxy.js.map +1 -0
  1040. package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +30 -0
  1041. package/dist/node_modules/zrender/lib/graphic/CompoundPath.js.map +1 -0
  1042. package/dist/node_modules/zrender/lib/graphic/Displayable.js +147 -0
  1043. package/dist/node_modules/zrender/lib/graphic/Displayable.js.map +1 -0
  1044. package/dist/node_modules/zrender/lib/graphic/Gradient.js +15 -0
  1045. package/dist/node_modules/zrender/lib/graphic/Gradient.js.map +1 -0
  1046. package/dist/node_modules/zrender/lib/graphic/Group.js +96 -0
  1047. package/dist/node_modules/zrender/lib/graphic/Group.js.map +1 -0
  1048. package/dist/node_modules/zrender/lib/graphic/Image.js +56 -0
  1049. package/dist/node_modules/zrender/lib/graphic/Image.js.map +1 -0
  1050. package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +70 -0
  1051. package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js.map +1 -0
  1052. package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +14 -0
  1053. package/dist/node_modules/zrender/lib/graphic/LinearGradient.js.map +1 -0
  1054. package/dist/node_modules/zrender/lib/graphic/Path.js +217 -0
  1055. package/dist/node_modules/zrender/lib/graphic/Path.js.map +1 -0
  1056. package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +14 -0
  1057. package/dist/node_modules/zrender/lib/graphic/RadialGradient.js.map +1 -0
  1058. package/dist/node_modules/zrender/lib/graphic/TSpan.js +53 -0
  1059. package/dist/node_modules/zrender/lib/graphic/TSpan.js.map +1 -0
  1060. package/dist/node_modules/zrender/lib/graphic/Text.js +221 -0
  1061. package/dist/node_modules/zrender/lib/graphic/Text.js.map +1 -0
  1062. package/dist/node_modules/zrender/lib/graphic/constants.js +7 -0
  1063. package/dist/node_modules/zrender/lib/graphic/constants.js.map +1 -0
  1064. package/dist/node_modules/zrender/lib/graphic/helper/image.js +42 -0
  1065. package/dist/node_modules/zrender/lib/graphic/helper/image.js.map +1 -0
  1066. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +212 -0
  1067. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js.map +1 -0
  1068. package/dist/node_modules/zrender/lib/graphic/helper/poly.js +23 -0
  1069. package/dist/node_modules/zrender/lib/graphic/helper/poly.js.map +1 -0
  1070. package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +10 -0
  1071. package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js.map +1 -0
  1072. package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +80 -0
  1073. package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js.map +1 -0
  1074. package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +30 -0
  1075. package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js.map +1 -0
  1076. package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +29 -0
  1077. package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js.map +1 -0
  1078. package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +30 -0
  1079. package/dist/node_modules/zrender/lib/graphic/shape/Arc.js.map +1 -0
  1080. package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +48 -0
  1081. package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js.map +1 -0
  1082. package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +24 -0
  1083. package/dist/node_modules/zrender/lib/graphic/shape/Circle.js.map +1 -0
  1084. package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +25 -0
  1085. package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js.map +1 -0
  1086. package/dist/node_modules/zrender/lib/graphic/shape/Line.js +43 -0
  1087. package/dist/node_modules/zrender/lib/graphic/shape/Line.js.map +1 -0
  1088. package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +25 -0
  1089. package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js.map +1 -0
  1090. package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +30 -0
  1091. package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js.map +1 -0
  1092. package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +34 -0
  1093. package/dist/node_modules/zrender/lib/graphic/shape/Rect.js.map +1 -0
  1094. package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +25 -0
  1095. package/dist/node_modules/zrender/lib/graphic/shape/Ring.js.map +1 -0
  1096. package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +27 -0
  1097. package/dist/node_modules/zrender/lib/graphic/shape/Sector.js.map +1 -0
  1098. package/dist/node_modules/zrender/lib/mixin/Draggable.js +30 -0
  1099. package/dist/node_modules/zrender/lib/mixin/Draggable.js.map +1 -0
  1100. package/dist/node_modules/zrender/lib/svg/Painter.js +153 -0
  1101. package/dist/node_modules/zrender/lib/svg/Painter.js.map +1 -0
  1102. package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +53 -0
  1103. package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js.map +1 -0
  1104. package/dist/node_modules/zrender/lib/svg/core.js +99 -0
  1105. package/dist/node_modules/zrender/lib/svg/core.js.map +1 -0
  1106. package/dist/node_modules/zrender/lib/svg/cssAnimation.js +183 -0
  1107. package/dist/node_modules/zrender/lib/svg/cssAnimation.js.map +1 -0
  1108. package/dist/node_modules/zrender/lib/svg/cssClassId.js +8 -0
  1109. package/dist/node_modules/zrender/lib/svg/cssClassId.js.map +1 -0
  1110. package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +34 -0
  1111. package/dist/node_modules/zrender/lib/svg/cssEmphasis.js.map +1 -0
  1112. package/dist/node_modules/zrender/lib/svg/domapi.js +31 -0
  1113. package/dist/node_modules/zrender/lib/svg/domapi.js.map +1 -0
  1114. package/dist/node_modules/zrender/lib/svg/graphic.js +232 -0
  1115. package/dist/node_modules/zrender/lib/svg/graphic.js.map +1 -0
  1116. package/dist/node_modules/zrender/lib/svg/helper.js +113 -0
  1117. package/dist/node_modules/zrender/lib/svg/helper.js.map +1 -0
  1118. package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +51 -0
  1119. package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js.map +1 -0
  1120. package/dist/node_modules/zrender/lib/svg/patch.js +86 -0
  1121. package/dist/node_modules/zrender/lib/svg/patch.js.map +1 -0
  1122. package/dist/node_modules/zrender/lib/tool/color.js +343 -0
  1123. package/dist/node_modules/zrender/lib/tool/color.js.map +1 -0
  1124. package/dist/node_modules/zrender/lib/tool/convertPath.js +92 -0
  1125. package/dist/node_modules/zrender/lib/tool/convertPath.js.map +1 -0
  1126. package/dist/node_modules/zrender/lib/tool/dividePath.js +182 -0
  1127. package/dist/node_modules/zrender/lib/tool/dividePath.js.map +1 -0
  1128. package/dist/node_modules/zrender/lib/tool/morphPath.js +320 -0
  1129. package/dist/node_modules/zrender/lib/tool/morphPath.js.map +1 -0
  1130. package/dist/node_modules/zrender/lib/tool/parseSVG.js +404 -0
  1131. package/dist/node_modules/zrender/lib/tool/parseSVG.js.map +1 -0
  1132. package/dist/node_modules/zrender/lib/tool/parseXML.js +15 -0
  1133. package/dist/node_modules/zrender/lib/tool/parseXML.js.map +1 -0
  1134. package/dist/node_modules/zrender/lib/tool/path.js +165 -0
  1135. package/dist/node_modules/zrender/lib/tool/path.js.map +1 -0
  1136. package/dist/node_modules/zrender/lib/tool/transformPath.js +39 -0
  1137. package/dist/node_modules/zrender/lib/tool/transformPath.js.map +1 -0
  1138. package/dist/node_modules/zrender/lib/zrender.js +141 -0
  1139. package/dist/node_modules/zrender/lib/zrender.js.map +1 -0
  1140. package/dist/node_modules/zrender/node_modules/tslib/tslib.es6.js +34 -0
  1141. package/dist/node_modules/zrender/node_modules/tslib/tslib.es6.js.map +1 -0
  1142. package/dist/styles/global.css +1 -1
  1143. package/package.json +4 -1
@@ -0,0 +1 @@
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,QACr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EAAgCpD,GAAI9D,GAAegC,CAAU,GAExDgF;AACT;AACA,SAAStE,EAAayE,GAEtBC,GAAcnE,GAAQ;AACpB,MAAIoE,IAAW,CAAA,GACXC;AACJ,WAASC,IAAe;AACtB,IAAAD,IAAU,CAAA;AAAA,EACZ;AACA,WAASE,IAAa;AACpB,IAAIF,EAAQ,WACVD,EAAS,KAAKC,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]}
@@ -0,0 +1,107 @@
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
@@ -0,0 +1 @@
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,CAAM;AAChC,aAASD,EAAeG,GAAI;AAC1B,UAAIC,IAAQH,EAAO,KAAK,IAAI,KAAK;AACjC,MAAAG,EAAM,MAAMD;AAEZ,UAAIE,IAAmBC,EAAKF,EAAM,mBAAmBA,CAAK,GACtDG,IAAmBD,EAAKF,EAAM,mBAAmBA,CAAK,GACtDI,IAAiBF,EAAKF,EAAM,iBAAiBA,CAAK,GAClDK,IAAoBH,EAAKF,EAAM,oBAAoBA,CAAK,GACxDM,IAAeJ,EAAKF,EAAM,eAAeA,CAAK;AAMlD,aAAAA,EAAM,SAAS,SAAUO,GAAaC,GAAK;AAEzC,aAAK,QAAO,GACZ,KAAK,OAAOC,EAASC,EAAMF,CAAG,KAAK,CAAA,GAAI;AAAA,UACrC,kBAAkB;AAAA,UAClB,iBAAiB;AAAA;AAAA,UAEjB,kBAAkB;AAAA,UAClB,yBAAyB;AAAA,QACjC,CAAO,GACGD,KAAe,SACjBA,IAAc,MAEZA,MAAgB,MAAQA,MAAgB,UAAUA,MAAgB,WACpER,EAAG,GAAG,aAAaE,CAAgB,GACnCF,EAAG,GAAG,aAAaI,CAAgB,GACnCJ,EAAG,GAAG,WAAWK,CAAc,KAE7BG,MAAgB,MAAQA,MAAgB,WAAWA,MAAgB,YACrER,EAAG,GAAG,cAAcM,CAAiB,GACrCN,EAAG,GAAG,SAASO,CAAY;AAAA,MAE/B,GACAN,EAAM,UAAU,WAAY;A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A,YAAIc,IAAQ,EAAE,aAAa,IAAI,MAAM,IAAI;AACzC,QAAAC,EAAuB,MAAM,QAAQ,MAAM,GAAG;AAAA,UAC5C,OAAOD;AAAA,UACP,SAAS,EAAE;AAAA,UACX,SAAS,EAAE;AAAA,UACX,qBAAqB;AAAA,QAC3B,CAAK;AAAA;AAAA,IACH,GACOnC;AAAA,EACT,GAAEuC,CAAQ;AAAA;AACV,SAASH,EAAuBI,GAAYC,GAAWC,GAAiBC,GAAGC,GAAgB;AACzF,EAAIJ,EAAW,kBAAkBA,EAAW,eAAeG,GAAGC,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]}
@@ -0,0 +1,29 @@
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
@@ -0,0 +1 @@
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]}
@@ -0,0 +1,13 @@
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
@@ -0,0 +1 @@
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]}
@@ -0,0 +1,28 @@
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
@@ -0,0 +1 @@
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]}
@@ -0,0 +1,30 @@
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
@@ -0,0 +1 @@
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]}
@@ -0,0 +1,18 @@
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
@@ -0,0 +1 @@
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]}
@@ -0,0 +1,29 @@
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
@@ -0,0 +1 @@
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,IA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