@hkyhy/marsun-components-core 0.1.3 → 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 (1271) hide show
  1. package/README.md +5 -7
  2. package/dist/_virtual/_commonjs-dynamic-modules.js +7 -0
  3. package/dist/_virtual/_commonjs-dynamic-modules.js.map +1 -0
  4. package/dist/_virtual/_commonjsHelpers.js +9 -0
  5. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  6. package/dist/_virtual/jszip.min.js +8 -0
  7. package/dist/_virtual/jszip.min.js.map +1 -0
  8. package/dist/_virtual/jszip2.min.js +5 -0
  9. package/dist/_virtual/jszip2.min.js.map +1 -0
  10. package/dist/_virtual/lodash.js +6 -0
  11. package/dist/_virtual/lodash.js.map +1 -0
  12. package/dist/_virtual/lodash2.js +5 -0
  13. package/dist/_virtual/lodash2.js.map +1 -0
  14. package/dist/components/AgentHub/AgentHubAccessGuard.d.ts +11 -0
  15. package/dist/components/AgentHub/AgentHubIndexRedirect.d.ts +8 -0
  16. package/dist/components/AgentHub/Chat/Action/CreateButton.d.ts +6 -0
  17. package/dist/components/AgentHub/Chat/Action/ManageActionButtons.d.ts +6 -0
  18. package/dist/components/AgentHub/Chat/Action/SessionActionButtons.d.ts +8 -0
  19. package/dist/components/AgentHub/Chat/Action/handlers.d.ts +11 -0
  20. package/dist/components/AgentHub/Chat/Action/index.d.ts +7 -0
  21. package/dist/components/AgentHub/Chat/Detail/ChatInput/index.d.ts +11 -0
  22. package/dist/components/AgentHub/Chat/Detail/CitationContent/index.d.ts +6 -0
  23. package/dist/components/AgentHub/Chat/Detail/CitationInlineBadge/index.d.ts +7 -0
  24. package/dist/components/AgentHub/Chat/Detail/CitationMarkdownContent/index.d.ts +12 -0
  25. package/dist/components/AgentHub/Chat/Detail/CitationPanel/index.d.ts +9 -0
  26. package/dist/components/AgentHub/Chat/Detail/MermaidBlock/index.d.ts +7 -0
  27. package/dist/components/AgentHub/Chat/Detail/MessageActions/index.d.ts +33 -0
  28. package/dist/components/AgentHub/Chat/Detail/MessageEditPopover/index.d.ts +13 -0
  29. package/dist/components/AgentHub/Chat/Detail/MessageItem/index.d.ts +14 -0
  30. package/dist/components/AgentHub/Chat/Detail/ThinkingSection/index.d.ts +13 -0
  31. package/dist/components/AgentHub/Chat/Detail/index.d.ts +12 -0
  32. package/dist/components/AgentHub/Chat/Form/Form.d.ts +16 -0
  33. package/dist/components/AgentHub/Chat/Form/index.d.ts +2 -0
  34. package/dist/components/AgentHub/Chat/List/ChatCard/index.d.ts +11 -0
  35. package/dist/components/AgentHub/Chat/List/FilterBar.d.ts +7 -0
  36. package/dist/components/AgentHub/Chat/List/SessionSidebar/index.d.ts +15 -0
  37. package/dist/components/AgentHub/Chat/List/index.d.ts +6 -0
  38. package/dist/components/AgentHub/Chat/Modal/FormModal.d.ts +12 -0
  39. package/dist/components/AgentHub/Chat/Modal/index.d.ts +2 -0
  40. package/dist/components/AgentHub/Chat/constants/index.d.ts +1 -0
  41. package/dist/components/AgentHub/Chat/constants/types.d.ts +2 -0
  42. package/dist/components/AgentHub/Chat/hooks/index.d.ts +5 -0
  43. package/dist/components/AgentHub/Chat/hooks/useAutoScrollToBottom.d.ts +21 -0
  44. package/dist/components/AgentHub/Chat/hooks/useChat.d.ts +19 -0
  45. package/dist/components/AgentHub/Chat/hooks/useChatSessions.d.ts +20 -0
  46. package/dist/components/AgentHub/Chat/hooks/useSSECompletion.d.ts +13 -0
  47. package/dist/components/AgentHub/Chat/hooks/useTypewriter.d.ts +16 -0
  48. package/dist/components/AgentHub/Chat/index.d.ts +7 -0
  49. package/dist/components/AgentHub/Chat/utils/citationContent.d.ts +37 -0
  50. package/dist/components/AgentHub/Chat/utils/index.d.ts +5 -0
  51. package/dist/components/AgentHub/Chat/utils/messageContent.d.ts +18 -0
  52. package/dist/components/AgentHub/Chat/utils/sanitizeMermaidChart.d.ts +7 -0
  53. package/dist/components/AgentHub/Chat/utils/sessionMessages.d.ts +21 -0
  54. package/dist/components/AgentHub/Chat/utils/smoothScroll.d.ts +14 -0
  55. package/dist/components/AgentHub/ChatSessionAccessGuard.d.ts +8 -0
  56. package/dist/components/AgentHub/KnowledgeBase/Action/CreateButton.d.ts +6 -0
  57. package/dist/components/AgentHub/KnowledgeBase/Action/ManageActionButtons.d.ts +6 -0
  58. package/dist/components/AgentHub/KnowledgeBase/Action/handlers.d.ts +5 -0
  59. package/dist/components/AgentHub/KnowledgeBase/Action/index.d.ts +5 -0
  60. package/dist/components/AgentHub/KnowledgeBase/Detail/DocumentTable/index.d.ts +16 -0
  61. package/dist/components/AgentHub/KnowledgeBase/Detail/ParseStatusTag/index.d.ts +6 -0
  62. package/dist/components/AgentHub/KnowledgeBase/Detail/index.d.ts +4 -0
  63. package/dist/components/AgentHub/KnowledgeBase/Form/Form.d.ts +13 -0
  64. package/dist/components/AgentHub/KnowledgeBase/Form/index.d.ts +2 -0
  65. package/dist/components/AgentHub/KnowledgeBase/List/FilterBar.d.ts +7 -0
  66. package/dist/components/AgentHub/KnowledgeBase/List/KnowledgeCard/index.d.ts +11 -0
  67. package/dist/components/AgentHub/KnowledgeBase/List/index.d.ts +4 -0
  68. package/dist/components/AgentHub/KnowledgeBase/Modal/FormModal.d.ts +11 -0
  69. package/dist/components/AgentHub/KnowledgeBase/Modal/index.d.ts +2 -0
  70. package/dist/components/AgentHub/KnowledgeBase/constants/index.d.ts +1 -0
  71. package/dist/components/AgentHub/KnowledgeBase/constants/types.d.ts +16 -0
  72. package/dist/components/AgentHub/KnowledgeBase/hooks/index.d.ts +2 -0
  73. package/dist/components/AgentHub/KnowledgeBase/hooks/useKBDocuments.d.ts +10 -0
  74. package/dist/components/AgentHub/KnowledgeBase/hooks/useKnowledgeBase.d.ts +13 -0
  75. package/dist/components/AgentHub/KnowledgeBase/index.d.ts +7 -0
  76. package/dist/components/AgentHub/types.d.ts +83 -0
  77. package/dist/components/Auth/PermissionGuard.d.ts +19 -0
  78. package/dist/components/Auth/ProtectedRoute.d.ts +10 -0
  79. package/dist/components/Auth/hasPermission.d.ts +2 -0
  80. package/dist/components/Auth/index.d.ts +3 -0
  81. package/dist/components/Auth/types.d.ts +1 -0
  82. package/dist/components/Descriptions/CommonDescriptions.d.ts +23 -0
  83. package/dist/components/Descriptions/index.d.ts +2 -0
  84. package/dist/components/File/FileItem/index.d.ts +22 -0
  85. package/dist/components/File/FileLink/index.d.ts +8 -0
  86. package/dist/components/File/FilePreview/FilePreviewContent.d.ts +9 -0
  87. package/dist/components/File/FilePreview/FilePreviewContent.js +83 -0
  88. package/dist/components/File/FilePreview/FilePreviewContent.js.map +1 -0
  89. package/dist/components/File/FilePreview/index.d.ts +13 -0
  90. package/dist/components/File/FilePreview/index.js +46 -39
  91. package/dist/components/File/FilePreview/index.js.map +1 -1
  92. package/dist/components/File/FilePreview/style.module.scss.js +19 -2
  93. package/dist/components/File/FilePreview/style.module.scss.js.map +1 -1
  94. package/dist/components/File/FilePreviewLink/index.d.ts +13 -0
  95. package/dist/components/File/FilePreviewLink/index.js +61 -0
  96. package/dist/components/File/FilePreviewLink/index.js.map +1 -0
  97. package/dist/components/File/FilePreviewLink/style.module.scss.js +11 -0
  98. package/dist/components/File/FilePreviewLink/style.module.scss.js.map +1 -0
  99. package/dist/components/File/FilePreviewModal/index.d.ts +13 -0
  100. package/dist/components/File/FilePreviewModal/index.js +37 -8
  101. package/dist/components/File/FilePreviewModal/index.js.map +1 -1
  102. package/dist/components/File/fileDisplay.d.ts +11 -0
  103. package/dist/components/File/index.d.ts +12 -0
  104. package/dist/components/File/previewKind.d.ts +6 -0
  105. package/dist/components/File/previewKind.js +42 -0
  106. package/dist/components/File/previewKind.js.map +1 -0
  107. package/dist/components/File/types.d.ts +20 -0
  108. package/dist/components/Filter/CommonFilter/index.d.ts +41 -0
  109. package/dist/components/Filter/FilterDateRange/index.d.ts +18 -0
  110. package/dist/components/Filter/FilterInput/index.d.ts +10 -0
  111. package/dist/components/Filter/FilterNumberRange/index.d.ts +12 -0
  112. package/dist/components/Filter/FilterPanel/index.d.ts +11 -0
  113. package/dist/components/Filter/FilterPopover/index.d.ts +24 -0
  114. package/dist/components/Filter/FilterSelect/index.d.ts +18 -0
  115. package/dist/components/Filter/FilterTreeSelect/index.d.ts +22 -0
  116. package/dist/components/Filter/FilterTrigger/index.d.ts +16 -0
  117. package/dist/components/Filter/index.d.ts +30 -0
  118. package/dist/components/Filter/types.d.ts +35 -0
  119. package/dist/components/Filter/useFilterState.d.ts +49 -0
  120. package/dist/components/Form/FetchSelect.d.ts +21 -0
  121. package/dist/components/Form/FetchTreeSelect.d.ts +22 -0
  122. package/dist/components/Form/PersonOptionRow/index.d.ts +9 -0
  123. package/dist/components/Form/StepForm.d.ts +42 -0
  124. package/dist/components/Form/index.d.ts +8 -0
  125. package/dist/components/Icons/index.d.ts +85 -0
  126. package/dist/components/Layout/PageHeaderLayout/index.d.ts +12 -0
  127. package/dist/components/Layout/index.d.ts +2 -0
  128. package/dist/components/Modal/StepModal/index.d.ts +25 -0
  129. package/dist/components/Modal/StepModalTypes.d.ts +40 -0
  130. package/dist/components/Modal/index.d.ts +2 -0
  131. package/dist/components/Stat/StatCard/index.d.ts +22 -0
  132. package/dist/components/Stat/StatCardList.d.ts +26 -0
  133. package/dist/components/Stat/StatPendingBreakdown/index.d.ts +25 -0
  134. package/dist/components/Stat/index.d.ts +6 -0
  135. package/dist/components/Tag/FileTags.d.ts +6 -0
  136. package/dist/components/Tag/SemanticTag.d.ts +52 -0
  137. package/dist/components/Tag/Tags/index.d.ts +16 -0
  138. package/dist/components/Tag/index.d.ts +6 -0
  139. package/dist/components/TooltipInfo/TooltipInfo.d.ts +19 -0
  140. package/dist/components/TooltipInfo/index.d.ts +2 -0
  141. package/dist/components/Tour/AppTour/index.d.ts +19 -0
  142. package/dist/components/Tour/index.d.ts +2 -0
  143. package/dist/components/Upload/index.d.ts +66 -0
  144. package/dist/components/Upload/index.js +181 -0
  145. package/dist/components/Upload/index.js.map +1 -0
  146. package/dist/components/Upload/style.module.scss.js +19 -0
  147. package/dist/components/Upload/style.module.scss.js.map +1 -0
  148. package/dist/components/VirtualScrollbar/VirtualScrollbar/index.d.ts +14 -0
  149. package/dist/components/VirtualScrollbar/index.d.ts +3 -0
  150. package/dist/components/VirtualScrollbar/useVirtualScrollbar.d.ts +23 -0
  151. package/dist/components/index.d.ts +15 -0
  152. package/dist/hooks/useFetchData.d.ts +22 -0
  153. package/dist/index.d.ts +26 -28
  154. package/dist/index.js +170 -166
  155. package/dist/index.js.map +1 -1
  156. package/dist/marsun-components-core.css +1 -1
  157. package/dist/node_modules/@js-preview/excel/lib/index.js +43346 -0
  158. package/dist/node_modules/@js-preview/excel/lib/index.js.map +1 -0
  159. package/dist/node_modules/docx-preview/dist/docx-preview.js +3203 -0
  160. package/dist/node_modules/docx-preview/dist/docx-preview.js.map +1 -0
  161. package/dist/node_modules/echarts/index.js +88 -0
  162. package/dist/node_modules/echarts/index.js.map +1 -0
  163. package/dist/node_modules/echarts/lib/action/roamHelper.js +23 -0
  164. package/dist/node_modules/echarts/lib/action/roamHelper.js.map +1 -0
  165. package/dist/node_modules/echarts/lib/animation/basicTransition.js +97 -0
  166. package/dist/node_modules/echarts/lib/animation/basicTransition.js.map +1 -0
  167. package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +57 -0
  168. package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js.map +1 -0
  169. package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +236 -0
  170. package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js.map +1 -0
  171. package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +107 -0
  172. package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js.map +1 -0
  173. package/dist/node_modules/echarts/lib/animation/universalTransition.js +346 -0
  174. package/dist/node_modules/echarts/lib/animation/universalTransition.js.map +1 -0
  175. package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +55 -0
  176. package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js.map +1 -0
  177. package/dist/node_modules/echarts/lib/chart/bar/BarView.js +478 -0
  178. package/dist/node_modules/echarts/lib/chart/bar/BarView.js.map +1 -0
  179. package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +77 -0
  180. package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js.map +1 -0
  181. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +49 -0
  182. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js.map +1 -0
  183. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +326 -0
  184. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js.map +1 -0
  185. package/dist/node_modules/echarts/lib/chart/bar/install.js +24 -0
  186. package/dist/node_modules/echarts/lib/chart/bar/install.js.map +1 -0
  187. package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +11 -0
  188. package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js.map +1 -0
  189. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +57 -0
  190. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js.map +1 -0
  191. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +96 -0
  192. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js.map +1 -0
  193. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +73 -0
  194. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js.map +1 -0
  195. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +24 -0
  196. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js.map +1 -0
  197. package/dist/node_modules/echarts/lib/chart/boxplot/install.js +11 -0
  198. package/dist/node_modules/echarts/lib/chart/boxplot/install.js.map +1 -0
  199. package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +26 -0
  200. package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js.map +1 -0
  201. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +71 -0
  202. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js.map +1 -0
  203. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +196 -0
  204. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js.map +1 -0
  205. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +77 -0
  206. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js.map +1 -0
  207. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +36 -0
  208. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js.map +1 -0
  209. package/dist/node_modules/echarts/lib/chart/candlestick/install.js +12 -0
  210. package/dist/node_modules/echarts/lib/chart/candlestick/install.js.map +1 -0
  211. package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +10 -0
  212. package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js.map +1 -0
  213. package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +56 -0
  214. package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js.map +1 -0
  215. package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +439 -0
  216. package/dist/node_modules/echarts/lib/chart/custom/CustomView.js.map +1 -0
  217. package/dist/node_modules/echarts/lib/chart/custom/install.js +9 -0
  218. package/dist/node_modules/echarts/lib/chart/custom/install.js.map +1 -0
  219. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +61 -0
  220. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js.map +1 -0
  221. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +45 -0
  222. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js.map +1 -0
  223. package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +10 -0
  224. package/dist/node_modules/echarts/lib/chart/effectScatter/install.js.map +1 -0
  225. package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +84 -0
  226. package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js.map +1 -0
  227. package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +110 -0
  228. package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js.map +1 -0
  229. package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +98 -0
  230. package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js.map +1 -0
  231. package/dist/node_modules/echarts/lib/chart/funnel/install.js +11 -0
  232. package/dist/node_modules/echarts/lib/chart/funnel/install.js.map +1 -0
  233. package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +143 -0
  234. package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js.map +1 -0
  235. package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +300 -0
  236. package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js.map +1 -0
  237. package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +30 -0
  238. package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js.map +1 -0
  239. package/dist/node_modules/echarts/lib/chart/gauge/install.js +9 -0
  240. package/dist/node_modules/echarts/lib/chart/gauge/install.js.map +1 -0
  241. package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +181 -0
  242. package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js.map +1 -0
  243. package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +137 -0
  244. package/dist/node_modules/echarts/lib/chart/graph/GraphView.js.map +1 -0
  245. package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +54 -0
  246. package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js.map +1 -0
  247. package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +23 -0
  248. package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js.map +1 -0
  249. package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +30 -0
  250. package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js.map +1 -0
  251. package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +10 -0
  252. package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js.map +1 -0
  253. package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +81 -0
  254. package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js.map +1 -0
  255. package/dist/node_modules/echarts/lib/chart/graph/createView.js +34 -0
  256. package/dist/node_modules/echarts/lib/chart/graph/createView.js.map +1 -0
  257. package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +29 -0
  258. package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js.map +1 -0
  259. package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +74 -0
  260. package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js.map +1 -0
  261. package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +62 -0
  262. package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js.map +1 -0
  263. package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +16 -0
  264. package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js.map +1 -0
  265. package/dist/node_modules/echarts/lib/chart/graph/install.js +43 -0
  266. package/dist/node_modules/echarts/lib/chart/graph/install.js.map +1 -0
  267. package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +25 -0
  268. package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js.map +1 -0
  269. package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +24 -0
  270. package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js.map +1 -0
  271. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +46 -0
  272. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js.map +1 -0
  273. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +45 -0
  274. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js.map +1 -0
  275. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +155 -0
  276. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js.map +1 -0
  277. package/dist/node_modules/echarts/lib/chart/heatmap/install.js +9 -0
  278. package/dist/node_modules/echarts/lib/chart/heatmap/install.js.map +1 -0
  279. package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +69 -0
  280. package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js.map +1 -0
  281. package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +55 -0
  282. package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js.map +1 -0
  283. package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +90 -0
  284. package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js.map +1 -0
  285. package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +158 -0
  286. package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js.map +1 -0
  287. package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +144 -0
  288. package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js.map +1 -0
  289. package/dist/node_modules/echarts/lib/chart/helper/Line.js +209 -0
  290. package/dist/node_modules/echarts/lib/chart/helper/Line.js.map +1 -0
  291. package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +88 -0
  292. package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js.map +1 -0
  293. package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +53 -0
  294. package/dist/node_modules/echarts/lib/chart/helper/LinePath.js.map +1 -0
  295. package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +46 -0
  296. package/dist/node_modules/echarts/lib/chart/helper/Polyline.js.map +1 -0
  297. package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +156 -0
  298. package/dist/node_modules/echarts/lib/chart/helper/Symbol.js.map +1 -0
  299. package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +107 -0
  300. package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js.map +1 -0
  301. package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +71 -0
  302. package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js.map +1 -0
  303. package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +51 -0
  304. package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js.map +1 -0
  305. package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +12 -0
  306. package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js.map +1 -0
  307. package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +71 -0
  308. package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js.map +1 -0
  309. package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +16 -0
  310. package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js.map +1 -0
  311. package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +14 -0
  312. package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js.map +1 -0
  313. package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +28 -0
  314. package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js.map +1 -0
  315. package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +68 -0
  316. package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js.map +1 -0
  317. package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +20 -0
  318. package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js.map +1 -0
  319. package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +42 -0
  320. package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js.map +1 -0
  321. package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +52 -0
  322. package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js.map +1 -0
  323. package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +93 -0
  324. package/dist/node_modules/echarts/lib/chart/line/LineSeries.js.map +1 -0
  325. package/dist/node_modules/echarts/lib/chart/line/LineView.js +532 -0
  326. package/dist/node_modules/echarts/lib/chart/line/LineView.js.map +1 -0
  327. package/dist/node_modules/echarts/lib/chart/line/helper.js +41 -0
  328. package/dist/node_modules/echarts/lib/chart/line/helper.js.map +1 -0
  329. package/dist/node_modules/echarts/lib/chart/line/install.js +17 -0
  330. package/dist/node_modules/echarts/lib/chart/line/install.js.map +1 -0
  331. package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +61 -0
  332. package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js.map +1 -0
  333. package/dist/node_modules/echarts/lib/chart/line/poly.js +164 -0
  334. package/dist/node_modules/echarts/lib/chart/line/poly.js.map +1 -0
  335. package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +154 -0
  336. package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js.map +1 -0
  337. package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +66 -0
  338. package/dist/node_modules/echarts/lib/chart/lines/LinesView.js.map +1 -0
  339. package/dist/node_modules/echarts/lib/chart/lines/install.js +11 -0
  340. package/dist/node_modules/echarts/lib/chart/lines/install.js.map +1 -0
  341. package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +51 -0
  342. package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js.map +1 -0
  343. package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +21 -0
  344. package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js.map +1 -0
  345. package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +144 -0
  346. package/dist/node_modules/echarts/lib/chart/map/MapSeries.js.map +1 -0
  347. package/dist/node_modules/echarts/lib/chart/map/MapView.js +84 -0
  348. package/dist/node_modules/echarts/lib/chart/map/MapView.js.map +1 -0
  349. package/dist/node_modules/echarts/lib/chart/map/install.js +14 -0
  350. package/dist/node_modules/echarts/lib/chart/map/install.js.map +1 -0
  351. package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +33 -0
  352. package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js.map +1 -0
  353. package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +32 -0
  354. package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js.map +1 -0
  355. package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +64 -0
  356. package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js.map +1 -0
  357. package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +112 -0
  358. package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js.map +1 -0
  359. package/dist/node_modules/echarts/lib/chart/parallel/install.js +12 -0
  360. package/dist/node_modules/echarts/lib/chart/parallel/install.js.map +1 -0
  361. package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +27 -0
  362. package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js.map +1 -0
  363. package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +143 -0
  364. package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js.map +1 -0
  365. package/dist/node_modules/echarts/lib/chart/pie/PieView.js +152 -0
  366. package/dist/node_modules/echarts/lib/chart/pie/PieView.js.map +1 -0
  367. package/dist/node_modules/echarts/lib/chart/pie/install.js +14 -0
  368. package/dist/node_modules/echarts/lib/chart/pie/install.js.map +1 -0
  369. package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +200 -0
  370. package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js.map +1 -0
  371. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +100 -0
  372. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js.map +1 -0
  373. package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +74 -0
  374. package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js.map +1 -0
  375. package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +124 -0
  376. package/dist/node_modules/echarts/lib/chart/radar/RadarView.js.map +1 -0
  377. package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +18 -0
  378. package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js.map +1 -0
  379. package/dist/node_modules/echarts/lib/chart/radar/install.js +14 -0
  380. package/dist/node_modules/echarts/lib/chart/radar/install.js.map +1 -0
  381. package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +31 -0
  382. package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js.map +1 -0
  383. package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +125 -0
  384. package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js.map +1 -0
  385. package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +169 -0
  386. package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js.map +1 -0
  387. package/dist/node_modules/echarts/lib/chart/sankey/install.js +24 -0
  388. package/dist/node_modules/echarts/lib/chart/sankey/install.js.map +1 -0
  389. package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +278 -0
  390. package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js.map +1 -0
  391. package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +34 -0
  392. package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js.map +1 -0
  393. package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +62 -0
  394. package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js.map +1 -0
  395. package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +61 -0
  396. package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js.map +1 -0
  397. package/dist/node_modules/echarts/lib/chart/scatter/install.js +12 -0
  398. package/dist/node_modules/echarts/lib/chart/scatter/install.js.map +1 -0
  399. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +83 -0
  400. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js.map +1 -0
  401. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +129 -0
  402. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js.map +1 -0
  403. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +94 -0
  404. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js.map +1 -0
  405. package/dist/node_modules/echarts/lib/chart/sunburst/install.js +14 -0
  406. package/dist/node_modules/echarts/lib/chart/sunburst/install.js.map +1 -0
  407. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +51 -0
  408. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js.map +1 -0
  409. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +99 -0
  410. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js.map +1 -0
  411. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +24 -0
  412. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js.map +1 -0
  413. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +123 -0
  414. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js.map +1 -0
  415. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +101 -0
  416. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js.map +1 -0
  417. package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +11 -0
  418. package/dist/node_modules/echarts/lib/chart/themeRiver/install.js.map +1 -0
  419. package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +64 -0
  420. package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js.map +1 -0
  421. package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +101 -0
  422. package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js.map +1 -0
  423. package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +320 -0
  424. package/dist/node_modules/echarts/lib/chart/tree/TreeView.js.map +1 -0
  425. package/dist/node_modules/echarts/lib/chart/tree/install.js +12 -0
  426. package/dist/node_modules/echarts/lib/chart/tree/install.js.map +1 -0
  427. package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +103 -0
  428. package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js.map +1 -0
  429. package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +25 -0
  430. package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js.map +1 -0
  431. package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +38 -0
  432. package/dist/node_modules/echarts/lib/chart/tree/treeAction.js.map +1 -0
  433. package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +54 -0
  434. package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js.map +1 -0
  435. package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +14 -0
  436. package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js.map +1 -0
  437. package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +100 -0
  438. package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js.map +1 -0
  439. package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +204 -0
  440. package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js.map +1 -0
  441. package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +455 -0
  442. package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js.map +1 -0
  443. package/dist/node_modules/echarts/lib/chart/treemap/install.js +12 -0
  444. package/dist/node_modules/echarts/lib/chart/treemap/install.js.map +1 -0
  445. package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +31 -0
  446. package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js.map +1 -0
  447. package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +218 -0
  448. package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js.map +1 -0
  449. package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +96 -0
  450. package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js.map +1 -0
  451. package/dist/node_modules/echarts/lib/component/aria/install.js +9 -0
  452. package/dist/node_modules/echarts/lib/component/aria/install.js.map +1 -0
  453. package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +13 -0
  454. package/dist/node_modules/echarts/lib/component/aria/preprocessor.js.map +1 -0
  455. package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +196 -0
  456. package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js.map +1 -0
  457. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +295 -0
  458. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js.map +1 -0
  459. package/dist/node_modules/echarts/lib/component/axis/AxisView.js +41 -0
  460. package/dist/node_modules/echarts/lib/component/axis/AxisView.js.map +1 -0
  461. package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +123 -0
  462. package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js.map +1 -0
  463. package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +89 -0
  464. package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js.map +1 -0
  465. package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +118 -0
  466. package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js.map +1 -0
  467. package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +71 -0
  468. package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js.map +1 -0
  469. package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +54 -0
  470. package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js.map +1 -0
  471. package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +26 -0
  472. package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js.map +1 -0
  473. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +72 -0
  474. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js.map +1 -0
  475. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +32 -0
  476. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js.map +1 -0
  477. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +186 -0
  478. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js.map +1 -0
  479. package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +86 -0
  480. package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js.map +1 -0
  481. package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +84 -0
  482. package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js.map +1 -0
  483. package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +81 -0
  484. package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js.map +1 -0
  485. package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +203 -0
  486. package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js.map +1 -0
  487. package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +37 -0
  488. package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js.map +1 -0
  489. package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +59 -0
  490. package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js.map +1 -0
  491. package/dist/node_modules/echarts/lib/component/axisPointer/install.js +26 -0
  492. package/dist/node_modules/echarts/lib/component/axisPointer/install.js.map +1 -0
  493. package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +138 -0
  494. package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js.map +1 -0
  495. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +115 -0
  496. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js.map +1 -0
  497. package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +59 -0
  498. package/dist/node_modules/echarts/lib/component/brush/BrushModel.js.map +1 -0
  499. package/dist/node_modules/echarts/lib/component/brush/BrushView.js +47 -0
  500. package/dist/node_modules/echarts/lib/component/brush/BrushView.js.map +1 -0
  501. package/dist/node_modules/echarts/lib/component/brush/install.js +33 -0
  502. package/dist/node_modules/echarts/lib/component/brush/install.js.map +1 -0
  503. package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +31 -0
  504. package/dist/node_modules/echarts/lib/component/brush/preprocessor.js.map +1 -0
  505. package/dist/node_modules/echarts/lib/component/brush/selector.js +63 -0
  506. package/dist/node_modules/echarts/lib/component/brush/selector.js.map +1 -0
  507. package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +141 -0
  508. package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js.map +1 -0
  509. package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +188 -0
  510. package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js.map +1 -0
  511. package/dist/node_modules/echarts/lib/component/calendar/install.js +10 -0
  512. package/dist/node_modules/echarts/lib/component/calendar/install.js.map +1 -0
  513. package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +126 -0
  514. package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js.map +1 -0
  515. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +189 -0
  516. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js.map +1 -0
  517. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +19 -0
  518. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js.map +1 -0
  519. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +25 -0
  520. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js.map +1 -0
  521. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +77 -0
  522. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js.map +1 -0
  523. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +17 -0
  524. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js.map +1 -0
  525. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +17 -0
  526. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js.map +1 -0
  527. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +88 -0
  528. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js.map +1 -0
  529. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +454 -0
  530. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js.map +1 -0
  531. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +19 -0
  532. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js.map +1 -0
  533. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +58 -0
  534. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js.map +1 -0
  535. package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +68 -0
  536. package/dist/node_modules/echarts/lib/component/dataZoom/helper.js.map +1 -0
  537. package/dist/node_modules/echarts/lib/component/dataZoom/history.js +57 -0
  538. package/dist/node_modules/echarts/lib/component/dataZoom/history.js.map +1 -0
  539. package/dist/node_modules/echarts/lib/component/dataZoom/install.js +10 -0
  540. package/dist/node_modules/echarts/lib/component/dataZoom/install.js.map +1 -0
  541. package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +12 -0
  542. package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js.map +1 -0
  543. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +11 -0
  544. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js.map +1 -0
  545. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +10 -0
  546. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js.map +1 -0
  547. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +10 -0
  548. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js.map +1 -0
  549. package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +127 -0
  550. package/dist/node_modules/echarts/lib/component/dataZoom/roams.js.map +1 -0
  551. package/dist/node_modules/echarts/lib/component/dataset/install.js +44 -0
  552. package/dist/node_modules/echarts/lib/component/dataset/install.js.map +1 -0
  553. package/dist/node_modules/echarts/lib/component/geo/GeoView.js +50 -0
  554. package/dist/node_modules/echarts/lib/component/geo/GeoView.js.map +1 -0
  555. package/dist/node_modules/echarts/lib/component/geo/install.js +73 -0
  556. package/dist/node_modules/echarts/lib/component/geo/install.js.map +1 -0
  557. package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +96 -0
  558. package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js.map +1 -0
  559. package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +186 -0
  560. package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js.map +1 -0
  561. package/dist/node_modules/echarts/lib/component/graphic/install.js +17 -0
  562. package/dist/node_modules/echarts/lib/component/graphic/install.js.map +1 -0
  563. package/dist/node_modules/echarts/lib/component/grid/install.js +10 -0
  564. package/dist/node_modules/echarts/lib/component/grid/install.js.map +1 -0
  565. package/dist/node_modules/echarts/lib/component/grid/installSimple.js +43 -0
  566. package/dist/node_modules/echarts/lib/component/grid/installSimple.js.map +1 -0
  567. package/dist/node_modules/echarts/lib/component/helper/BrushController.js +466 -0
  568. package/dist/node_modules/echarts/lib/component/helper/BrushController.js.map +1 -0
  569. package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +197 -0
  570. package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js.map +1 -0
  571. package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +304 -0
  572. package/dist/node_modules/echarts/lib/component/helper/MapDraw.js.map +1 -0
  573. package/dist/node_modules/echarts/lib/component/helper/RoamController.js +107 -0
  574. package/dist/node_modules/echarts/lib/component/helper/RoamController.js.map +1 -0
  575. package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +29 -0
  576. package/dist/node_modules/echarts/lib/component/helper/brushHelper.js.map +1 -0
  577. package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +13 -0
  578. package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js.map +1 -0
  579. package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +28 -0
  580. package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js.map +1 -0
  581. package/dist/node_modules/echarts/lib/component/helper/listComponent.js +30 -0
  582. package/dist/node_modules/echarts/lib/component/helper/listComponent.js.map +1 -0
  583. package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +18 -0
  584. package/dist/node_modules/echarts/lib/component/helper/roamHelper.js.map +1 -0
  585. package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +29 -0
  586. package/dist/node_modules/echarts/lib/component/helper/sliderMove.js.map +1 -0
  587. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +197 -0
  588. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js.map +1 -0
  589. package/dist/node_modules/echarts/lib/component/legend/LegendView.js +246 -0
  590. package/dist/node_modules/echarts/lib/component/legend/LegendView.js.map +1 -0
  591. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +50 -0
  592. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js.map +1 -0
  593. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +185 -0
  594. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js.map +1 -0
  595. package/dist/node_modules/echarts/lib/component/legend/install.js +10 -0
  596. package/dist/node_modules/echarts/lib/component/legend/install.js.map +1 -0
  597. package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +13 -0
  598. package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js.map +1 -0
  599. package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +12 -0
  600. package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js.map +1 -0
  601. package/dist/node_modules/echarts/lib/component/legend/legendAction.js +41 -0
  602. package/dist/node_modules/echarts/lib/component/legend/legendAction.js.map +1 -0
  603. package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +15 -0
  604. package/dist/node_modules/echarts/lib/component/legend/legendFilter.js.map +1 -0
  605. package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +16 -0
  606. package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js.map +1 -0
  607. package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +44 -0
  608. package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js.map +1 -0
  609. package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +180 -0
  610. package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js.map +1 -0
  611. package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +47 -0
  612. package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js.map +1 -0
  613. package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +179 -0
  614. package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js.map +1 -0
  615. package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +41 -0
  616. package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js.map +1 -0
  617. package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +85 -0
  618. package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js.map +1 -0
  619. package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +75 -0
  620. package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js.map +1 -0
  621. package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +46 -0
  622. package/dist/node_modules/echarts/lib/component/marker/MarkerView.js.map +1 -0
  623. package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +13 -0
  624. package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js.map +1 -0
  625. package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +12 -0
  626. package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js.map +1 -0
  627. package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +12 -0
  628. package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js.map +1 -0
  629. package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +12 -0
  630. package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js.map +1 -0
  631. package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +84 -0
  632. package/dist/node_modules/echarts/lib/component/marker/markerHelper.js.map +1 -0
  633. package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +67 -0
  634. package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js.map +1 -0
  635. package/dist/node_modules/echarts/lib/component/parallel/install.js +27 -0
  636. package/dist/node_modules/echarts/lib/component/parallel/install.js.map +1 -0
  637. package/dist/node_modules/echarts/lib/component/polar/install.js +41 -0
  638. package/dist/node_modules/echarts/lib/component/polar/install.js.map +1 -0
  639. package/dist/node_modules/echarts/lib/component/radar/RadarView.js +120 -0
  640. package/dist/node_modules/echarts/lib/component/radar/RadarView.js.map +1 -0
  641. package/dist/node_modules/echarts/lib/component/radar/install.js +18 -0
  642. package/dist/node_modules/echarts/lib/component/radar/install.js.map +1 -0
  643. package/dist/node_modules/echarts/lib/component/singleAxis/install.js +28 -0
  644. package/dist/node_modules/echarts/lib/component/singleAxis/install.js.map +1 -0
  645. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +116 -0
  646. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js.map +1 -0
  647. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +362 -0
  648. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js.map +1 -0
  649. package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +21 -0
  650. package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js.map +1 -0
  651. package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +80 -0
  652. package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js.map +1 -0
  653. package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +17 -0
  654. package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js.map +1 -0
  655. package/dist/node_modules/echarts/lib/component/timeline/install.js +13 -0
  656. package/dist/node_modules/echarts/lib/component/timeline/install.js.map +1 -0
  657. package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +36 -0
  658. package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js.map +1 -0
  659. package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +30 -0
  660. package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js.map +1 -0
  661. package/dist/node_modules/echarts/lib/component/title/install.js +122 -0
  662. package/dist/node_modules/echarts/lib/component/title/install.js.map +1 -0
  663. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +61 -0
  664. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js.map +1 -0
  665. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +141 -0
  666. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js.map +1 -0
  667. package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +70 -0
  668. package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js.map +1 -0
  669. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +271 -0
  670. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js.map +1 -0
  671. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +153 -0
  672. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js.map +1 -0
  673. package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +124 -0
  674. package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js.map +1 -0
  675. package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +38 -0
  676. package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js.map +1 -0
  677. package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +70 -0
  678. package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js.map +1 -0
  679. package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +20 -0
  680. package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js.map +1 -0
  681. package/dist/node_modules/echarts/lib/component/toolbox/install.js +17 -0
  682. package/dist/node_modules/echarts/lib/component/toolbox/install.js.map +1 -0
  683. package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +153 -0
  684. package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js.map +1 -0
  685. package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +83 -0
  686. package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js.map +1 -0
  687. package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +90 -0
  688. package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js.map +1 -0
  689. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +413 -0
  690. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js.map +1 -0
  691. package/dist/node_modules/echarts/lib/component/tooltip/helper.js +33 -0
  692. package/dist/node_modules/echarts/lib/component/tooltip/helper.js.map +1 -0
  693. package/dist/node_modules/echarts/lib/component/tooltip/install.js +20 -0
  694. package/dist/node_modules/echarts/lib/component/tooltip/install.js.map +1 -0
  695. package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +64 -0
  696. package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js.map +1 -0
  697. package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +187 -0
  698. package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js.map +1 -0
  699. package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +36 -0
  700. package/dist/node_modules/echarts/lib/component/transform/filterTransform.js.map +1 -0
  701. package/dist/node_modules/echarts/lib/component/transform/install.js +9 -0
  702. package/dist/node_modules/echarts/lib/component/transform/install.js.map +1 -0
  703. package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +59 -0
  704. package/dist/node_modules/echarts/lib/component/transform/sortTransform.js.map +1 -0
  705. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +110 -0
  706. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js.map +1 -0
  707. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +383 -0
  708. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js.map +1 -0
  709. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +217 -0
  710. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js.map +1 -0
  711. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +119 -0
  712. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js.map +1 -0
  713. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +162 -0
  714. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js.map +1 -0
  715. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +78 -0
  716. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js.map +1 -0
  717. package/dist/node_modules/echarts/lib/component/visualMap/helper.js +25 -0
  718. package/dist/node_modules/echarts/lib/component/visualMap/helper.js.map +1 -0
  719. package/dist/node_modules/echarts/lib/component/visualMap/install.js +10 -0
  720. package/dist/node_modules/echarts/lib/component/visualMap/install.js.map +1 -0
  721. package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +16 -0
  722. package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js.map +1 -0
  723. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +10 -0
  724. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js.map +1 -0
  725. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +10 -0
  726. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js.map +1 -0
  727. package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +21 -0
  728. package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js.map +1 -0
  729. package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +52 -0
  730. package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js.map +1 -0
  731. package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +18 -0
  732. package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js.map +1 -0
  733. package/dist/node_modules/echarts/lib/coord/Axis.js +108 -0
  734. package/dist/node_modules/echarts/lib/coord/Axis.js.map +1 -0
  735. package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +7 -0
  736. package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js.map +1 -0
  737. package/dist/node_modules/echarts/lib/coord/View.js +92 -0
  738. package/dist/node_modules/echarts/lib/coord/View.js.map +1 -0
  739. package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +47 -0
  740. package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js.map +1 -0
  741. package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +10 -0
  742. package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js.map +1 -0
  743. package/dist/node_modules/echarts/lib/coord/axisDefault.js +161 -0
  744. package/dist/node_modules/echarts/lib/coord/axisDefault.js.map +1 -0
  745. package/dist/node_modules/echarts/lib/coord/axisHelper.js +163 -0
  746. package/dist/node_modules/echarts/lib/coord/axisHelper.js.map +1 -0
  747. package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +16 -0
  748. package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js.map +1 -0
  749. package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +41 -0
  750. package/dist/node_modules/echarts/lib/coord/axisModelCreator.js.map +1 -0
  751. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +177 -0
  752. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js.map +1 -0
  753. package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +159 -0
  754. package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js.map +1 -0
  755. package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +92 -0
  756. package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js.map +1 -0
  757. package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +29 -0
  758. package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js.map +1 -0
  759. package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +29 -0
  760. package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js.map +1 -0
  761. package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +22 -0
  762. package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js.map +1 -0
  763. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +27 -0
  764. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js.map +1 -0
  765. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +67 -0
  766. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js.map +1 -0
  767. package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +234 -0
  768. package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js.map +1 -0
  769. package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +31 -0
  770. package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js.map +1 -0
  771. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +47 -0
  772. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js.map +1 -0
  773. package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +30 -0
  774. package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js.map +1 -0
  775. package/dist/node_modules/echarts/lib/coord/geo/Geo.js +86 -0
  776. package/dist/node_modules/echarts/lib/coord/geo/Geo.js.map +1 -0
  777. package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +71 -0
  778. package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js.map +1 -0
  779. package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +126 -0
  780. package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js.map +1 -0
  781. package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +109 -0
  782. package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js.map +1 -0
  783. package/dist/node_modules/echarts/lib/coord/geo/Region.js +138 -0
  784. package/dist/node_modules/echarts/lib/coord/geo/Region.js.map +1 -0
  785. package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +11 -0
  786. package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js.map +1 -0
  787. package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +23 -0
  788. package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js.map +1 -0
  789. package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +22 -0
  790. package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js.map +1 -0
  791. package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +109 -0
  792. package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js.map +1 -0
  793. package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +70 -0
  794. package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js.map +1 -0
  795. package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +68 -0
  796. package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js.map +1 -0
  797. package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +30 -0
  798. package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js.map +1 -0
  799. package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +52 -0
  800. package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js.map +1 -0
  801. package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +181 -0
  802. package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js.map +1 -0
  803. package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +19 -0
  804. package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js.map +1 -0
  805. package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +62 -0
  806. package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js.map +1 -0
  807. package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +21 -0
  808. package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js.map +1 -0
  809. package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +26 -0
  810. package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js.map +1 -0
  811. package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +30 -0
  812. package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js.map +1 -0
  813. package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +45 -0
  814. package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js.map +1 -0
  815. package/dist/node_modules/echarts/lib/coord/polar/Polar.js +87 -0
  816. package/dist/node_modules/echarts/lib/coord/polar/Polar.js.map +1 -0
  817. package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +27 -0
  818. package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js.map +1 -0
  819. package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +20 -0
  820. package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js.map +1 -0
  821. package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +64 -0
  822. package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js.map +1 -0
  823. package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +30 -0
  824. package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js.map +1 -0
  825. package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +17 -0
  826. package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js.map +1 -0
  827. package/dist/node_modules/echarts/lib/coord/radar/Radar.js +80 -0
  828. package/dist/node_modules/echarts/lib/coord/radar/Radar.js.map +1 -0
  829. package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +90 -0
  830. package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js.map +1 -0
  831. package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +71 -0
  832. package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js.map +1 -0
  833. package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +61 -0
  834. package/dist/node_modules/echarts/lib/coord/single/AxisModel.js.map +1 -0
  835. package/dist/node_modules/echarts/lib/coord/single/Single.js +89 -0
  836. package/dist/node_modules/echarts/lib/coord/single/Single.js.map +1 -0
  837. package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +22 -0
  838. package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js.map +1 -0
  839. package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +27 -0
  840. package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js.map +1 -0
  841. package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +33 -0
  842. package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js.map +1 -0
  843. package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +22 -0
  844. package/dist/node_modules/echarts/lib/coord/single/singleCreator.js.map +1 -0
  845. package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +30 -0
  846. package/dist/node_modules/echarts/lib/core/CoordinateSystem.js.map +1 -0
  847. package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +35 -0
  848. package/dist/node_modules/echarts/lib/core/ExtensionAPI.js.map +1 -0
  849. package/dist/node_modules/echarts/lib/core/Scheduler.js +227 -0
  850. package/dist/node_modules/echarts/lib/core/Scheduler.js.map +1 -0
  851. package/dist/node_modules/echarts/lib/core/echarts.js +1058 -0
  852. package/dist/node_modules/echarts/lib/core/echarts.js.map +1 -0
  853. package/dist/node_modules/echarts/lib/core/impl.js +13 -0
  854. package/dist/node_modules/echarts/lib/core/impl.js.map +1 -0
  855. package/dist/node_modules/echarts/lib/core/lifecycle.js +6 -0
  856. package/dist/node_modules/echarts/lib/core/lifecycle.js.map +1 -0
  857. package/dist/node_modules/echarts/lib/core/locale.js +38 -0
  858. package/dist/node_modules/echarts/lib/core/locale.js.map +1 -0
  859. package/dist/node_modules/echarts/lib/core/task.js +92 -0
  860. package/dist/node_modules/echarts/lib/core/task.js.map +1 -0
  861. package/dist/node_modules/echarts/lib/data/DataDiffer.js +81 -0
  862. package/dist/node_modules/echarts/lib/data/DataDiffer.js.map +1 -0
  863. package/dist/node_modules/echarts/lib/data/DataStore.js +431 -0
  864. package/dist/node_modules/echarts/lib/data/DataStore.js.map +1 -0
  865. package/dist/node_modules/echarts/lib/data/Graph.js +210 -0
  866. package/dist/node_modules/echarts/lib/data/Graph.js.map +1 -0
  867. package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +37 -0
  868. package/dist/node_modules/echarts/lib/data/OrdinalMeta.js.map +1 -0
  869. package/dist/node_modules/echarts/lib/data/SeriesData.js +339 -0
  870. package/dist/node_modules/echarts/lib/data/SeriesData.js.map +1 -0
  871. package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +14 -0
  872. package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js.map +1 -0
  873. package/dist/node_modules/echarts/lib/data/Source.js +158 -0
  874. package/dist/node_modules/echarts/lib/data/Source.js.map +1 -0
  875. package/dist/node_modules/echarts/lib/data/Tree.js +155 -0
  876. package/dist/node_modules/echarts/lib/data/Tree.js.map +1 -0
  877. package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +87 -0
  878. package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js.map +1 -0
  879. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +123 -0
  880. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js.map +1 -0
  881. package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +177 -0
  882. package/dist/node_modules/echarts/lib/data/helper/dataProvider.js.map +1 -0
  883. package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +61 -0
  884. package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js.map +1 -0
  885. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +90 -0
  886. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js.map +1 -0
  887. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +59 -0
  888. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js.map +1 -0
  889. package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +63 -0
  890. package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js.map +1 -0
  891. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +164 -0
  892. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js.map +1 -0
  893. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +138 -0
  894. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js.map +1 -0
  895. package/dist/node_modules/echarts/lib/data/helper/transform.js +174 -0
  896. package/dist/node_modules/echarts/lib/data/helper/transform.js.map +1 -0
  897. package/dist/node_modules/echarts/lib/extension.js +62 -0
  898. package/dist/node_modules/echarts/lib/extension.js.map +1 -0
  899. package/dist/node_modules/echarts/lib/i18n/langEN.js +115 -0
  900. package/dist/node_modules/echarts/lib/i18n/langEN.js.map +1 -0
  901. package/dist/node_modules/echarts/lib/i18n/langZH.js +115 -0
  902. package/dist/node_modules/echarts/lib/i18n/langZH.js.map +1 -0
  903. package/dist/node_modules/echarts/lib/label/LabelManager.js +236 -0
  904. package/dist/node_modules/echarts/lib/label/LabelManager.js.map +1 -0
  905. package/dist/node_modules/echarts/lib/label/installLabelLayout.js +18 -0
  906. package/dist/node_modules/echarts/lib/label/installLabelLayout.js.map +1 -0
  907. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +235 -0
  908. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js.map +1 -0
  909. package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +133 -0
  910. package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js.map +1 -0
  911. package/dist/node_modules/echarts/lib/label/labelStyle.js +195 -0
  912. package/dist/node_modules/echarts/lib/label/labelStyle.js.map +1 -0
  913. package/dist/node_modules/echarts/lib/label/sectorLabel.js +95 -0
  914. package/dist/node_modules/echarts/lib/label/sectorLabel.js.map +1 -0
  915. package/dist/node_modules/echarts/lib/layout/barGrid.js +236 -0
  916. package/dist/node_modules/echarts/lib/layout/barGrid.js.map +1 -0
  917. package/dist/node_modules/echarts/lib/layout/barPolar.js +102 -0
  918. package/dist/node_modules/echarts/lib/layout/barPolar.js.map +1 -0
  919. package/dist/node_modules/echarts/lib/layout/points.js +38 -0
  920. package/dist/node_modules/echarts/lib/layout/points.js.map +1 -0
  921. package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +52 -0
  922. package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js.map +1 -0
  923. package/dist/node_modules/echarts/lib/loading/default.js +93 -0
  924. package/dist/node_modules/echarts/lib/loading/default.js.map +1 -0
  925. package/dist/node_modules/echarts/lib/model/Component.js +82 -0
  926. package/dist/node_modules/echarts/lib/model/Component.js.map +1 -0
  927. package/dist/node_modules/echarts/lib/model/Global.js +355 -0
  928. package/dist/node_modules/echarts/lib/model/Global.js.map +1 -0
  929. package/dist/node_modules/echarts/lib/model/Model.js +65 -0
  930. package/dist/node_modules/echarts/lib/model/Model.js.map +1 -0
  931. package/dist/node_modules/echarts/lib/model/OptionManager.js +88 -0
  932. package/dist/node_modules/echarts/lib/model/OptionManager.js.map +1 -0
  933. package/dist/node_modules/echarts/lib/model/Series.js +232 -0
  934. package/dist/node_modules/echarts/lib/model/Series.js.map +1 -0
  935. package/dist/node_modules/echarts/lib/model/globalDefault.js +88 -0
  936. package/dist/node_modules/echarts/lib/model/globalDefault.js.map +1 -0
  937. package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +23 -0
  938. package/dist/node_modules/echarts/lib/model/internalComponentCreator.js.map +1 -0
  939. package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +25 -0
  940. package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js.map +1 -0
  941. package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +72 -0
  942. package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js.map +1 -0
  943. package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +32 -0
  944. package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js.map +1 -0
  945. package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +31 -0
  946. package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js.map +1 -0
  947. package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +19 -0
  948. package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js.map +1 -0
  949. package/dist/node_modules/echarts/lib/model/mixin/palette.js +43 -0
  950. package/dist/node_modules/echarts/lib/model/mixin/palette.js.map +1 -0
  951. package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +31 -0
  952. package/dist/node_modules/echarts/lib/model/mixin/textStyle.js.map +1 -0
  953. package/dist/node_modules/echarts/lib/model/referHelper.js +61 -0
  954. package/dist/node_modules/echarts/lib/model/referHelper.js.map +1 -0
  955. package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +81 -0
  956. package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js.map +1 -0
  957. package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +112 -0
  958. package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js.map +1 -0
  959. package/dist/node_modules/echarts/lib/processor/dataFilter.js +23 -0
  960. package/dist/node_modules/echarts/lib/processor/dataFilter.js.map +1 -0
  961. package/dist/node_modules/echarts/lib/processor/dataSample.js +52 -0
  962. package/dist/node_modules/echarts/lib/processor/dataSample.js.map +1 -0
  963. package/dist/node_modules/echarts/lib/processor/dataStack.js +51 -0
  964. package/dist/node_modules/echarts/lib/processor/dataStack.js.map +1 -0
  965. package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +17 -0
  966. package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js.map +1 -0
  967. package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +8 -0
  968. package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js.map +1 -0
  969. package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +8 -0
  970. package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js.map +1 -0
  971. package/dist/node_modules/echarts/lib/scale/Interval.js +98 -0
  972. package/dist/node_modules/echarts/lib/scale/Interval.js.map +1 -0
  973. package/dist/node_modules/echarts/lib/scale/Log.js +69 -0
  974. package/dist/node_modules/echarts/lib/scale/Log.js.map +1 -0
  975. package/dist/node_modules/echarts/lib/scale/Ordinal.js +77 -0
  976. package/dist/node_modules/echarts/lib/scale/Ordinal.js.map +1 -0
  977. package/dist/node_modules/echarts/lib/scale/Scale.js +33 -0
  978. package/dist/node_modules/echarts/lib/scale/Scale.js.map +1 -0
  979. package/dist/node_modules/echarts/lib/scale/Time.js +260 -0
  980. package/dist/node_modules/echarts/lib/scale/Time.js.map +1 -0
  981. package/dist/node_modules/echarts/lib/scale/helper.js +48 -0
  982. package/dist/node_modules/echarts/lib/scale/helper.js.map +1 -0
  983. package/dist/node_modules/echarts/lib/theme/dark.js +181 -0
  984. package/dist/node_modules/echarts/lib/theme/dark.js.map +1 -0
  985. package/dist/node_modules/echarts/lib/theme/light.js +9 -0
  986. package/dist/node_modules/echarts/lib/theme/light.js.map +1 -0
  987. package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +55 -0
  988. package/dist/node_modules/echarts/lib/util/ECEventProcessor.js.map +1 -0
  989. package/dist/node_modules/echarts/lib/util/animation.js +41 -0
  990. package/dist/node_modules/echarts/lib/util/animation.js.map +1 -0
  991. package/dist/node_modules/echarts/lib/util/clazz.js +110 -0
  992. package/dist/node_modules/echarts/lib/util/clazz.js.map +1 -0
  993. package/dist/node_modules/echarts/lib/util/component.js +80 -0
  994. package/dist/node_modules/echarts/lib/util/component.js.map +1 -0
  995. package/dist/node_modules/echarts/lib/util/conditionalExpression.js +147 -0
  996. package/dist/node_modules/echarts/lib/util/conditionalExpression.js.map +1 -0
  997. package/dist/node_modules/echarts/lib/util/decal.js +175 -0
  998. package/dist/node_modules/echarts/lib/util/decal.js.map +1 -0
  999. package/dist/node_modules/echarts/lib/util/event.js +9 -0
  1000. package/dist/node_modules/echarts/lib/util/event.js.map +1 -0
  1001. package/dist/node_modules/echarts/lib/util/format.js +112 -0
  1002. package/dist/node_modules/echarts/lib/util/format.js.map +1 -0
  1003. package/dist/node_modules/echarts/lib/util/graphic.js +295 -0
  1004. package/dist/node_modules/echarts/lib/util/graphic.js.map +1 -0
  1005. package/dist/node_modules/echarts/lib/util/innerStore.js +15 -0
  1006. package/dist/node_modules/echarts/lib/util/innerStore.js.map +1 -0
  1007. package/dist/node_modules/echarts/lib/util/layout.js +141 -0
  1008. package/dist/node_modules/echarts/lib/util/layout.js.map +1 -0
  1009. package/dist/node_modules/echarts/lib/util/log.js +69 -0
  1010. package/dist/node_modules/echarts/lib/util/log.js.map +1 -0
  1011. package/dist/node_modules/echarts/lib/util/model.js +350 -0
  1012. package/dist/node_modules/echarts/lib/util/model.js.map +1 -0
  1013. package/dist/node_modules/echarts/lib/util/number.js +197 -0
  1014. package/dist/node_modules/echarts/lib/util/number.js.map +1 -0
  1015. package/dist/node_modules/echarts/lib/util/shape/sausage.js +33 -0
  1016. package/dist/node_modules/echarts/lib/util/shape/sausage.js.map +1 -0
  1017. package/dist/node_modules/echarts/lib/util/states.js +395 -0
  1018. package/dist/node_modules/echarts/lib/util/states.js.map +1 -0
  1019. package/dist/node_modules/echarts/lib/util/styleCompat.js +59 -0
  1020. package/dist/node_modules/echarts/lib/util/styleCompat.js.map +1 -0
  1021. package/dist/node_modules/echarts/lib/util/symbol.js +156 -0
  1022. package/dist/node_modules/echarts/lib/util/symbol.js.map +1 -0
  1023. package/dist/node_modules/echarts/lib/util/throttle.js +42 -0
  1024. package/dist/node_modules/echarts/lib/util/throttle.js.map +1 -0
  1025. package/dist/node_modules/echarts/lib/util/time.js +194 -0
  1026. package/dist/node_modules/echarts/lib/util/time.js.map +1 -0
  1027. package/dist/node_modules/echarts/lib/util/types.js +14 -0
  1028. package/dist/node_modules/echarts/lib/util/types.js.map +1 -0
  1029. package/dist/node_modules/echarts/lib/util/vendor.js +9 -0
  1030. package/dist/node_modules/echarts/lib/util/vendor.js.map +1 -0
  1031. package/dist/node_modules/echarts/lib/view/Chart.js +99 -0
  1032. package/dist/node_modules/echarts/lib/view/Chart.js.map +1 -0
  1033. package/dist/node_modules/echarts/lib/view/Component.js +28 -0
  1034. package/dist/node_modules/echarts/lib/view/Component.js.map +1 -0
  1035. package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +25 -0
  1036. package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js.map +1 -0
  1037. package/dist/node_modules/echarts/lib/visual/VisualMapping.js +264 -0
  1038. package/dist/node_modules/echarts/lib/visual/VisualMapping.js.map +1 -0
  1039. package/dist/node_modules/echarts/lib/visual/aria.js +134 -0
  1040. package/dist/node_modules/echarts/lib/visual/aria.js.map +1 -0
  1041. package/dist/node_modules/echarts/lib/visual/decal.js +24 -0
  1042. package/dist/node_modules/echarts/lib/visual/decal.js.map +1 -0
  1043. package/dist/node_modules/echarts/lib/visual/helper.js +54 -0
  1044. package/dist/node_modules/echarts/lib/visual/helper.js.map +1 -0
  1045. package/dist/node_modules/echarts/lib/visual/style.js +96 -0
  1046. package/dist/node_modules/echarts/lib/visual/style.js.map +1 -0
  1047. package/dist/node_modules/echarts/lib/visual/symbol.js +53 -0
  1048. package/dist/node_modules/echarts/lib/visual/symbol.js.map +1 -0
  1049. package/dist/node_modules/echarts/lib/visual/visualDefault.js +47 -0
  1050. package/dist/node_modules/echarts/lib/visual/visualDefault.js.map +1 -0
  1051. package/dist/node_modules/echarts/lib/visual/visualSolution.js +98 -0
  1052. package/dist/node_modules/echarts/lib/visual/visualSolution.js.map +1 -0
  1053. package/dist/node_modules/echarts/node_modules/tslib/tslib.es6.js +34 -0
  1054. package/dist/node_modules/echarts/node_modules/tslib/tslib.es6.js.map +1 -0
  1055. package/dist/node_modules/jszip/dist/jszip.min.js +2321 -0
  1056. package/dist/node_modules/jszip/dist/jszip.min.js.map +1 -0
  1057. package/dist/node_modules/lodash/lodash.js +3693 -0
  1058. package/dist/node_modules/lodash/lodash.js.map +1 -0
  1059. package/dist/node_modules/pptx-preview/dist/pptx-preview.es.js +2599 -0
  1060. package/dist/node_modules/pptx-preview/dist/pptx-preview.es.js.map +1 -0
  1061. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/native.js +8 -0
  1062. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  1063. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/rng.js +10 -0
  1064. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/rng.js.map +1 -0
  1065. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/stringify.js +10 -0
  1066. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -0
  1067. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/v4.js +14 -0
  1068. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/v4.js.map +1 -0
  1069. package/dist/node_modules/tslib/tslib.es6.js +125 -0
  1070. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  1071. package/dist/node_modules/zrender/lib/Element.js +455 -0
  1072. package/dist/node_modules/zrender/lib/Element.js.map +1 -0
  1073. package/dist/node_modules/zrender/lib/Handler.js +169 -0
  1074. package/dist/node_modules/zrender/lib/Handler.js.map +1 -0
  1075. package/dist/node_modules/zrender/lib/Storage.js +76 -0
  1076. package/dist/node_modules/zrender/lib/Storage.js.map +1 -0
  1077. package/dist/node_modules/zrender/lib/animation/Animation.js +67 -0
  1078. package/dist/node_modules/zrender/lib/animation/Animation.js.map +1 -0
  1079. package/dist/node_modules/zrender/lib/animation/Animator.js +382 -0
  1080. package/dist/node_modules/zrender/lib/animation/Animator.js.map +1 -0
  1081. package/dist/node_modules/zrender/lib/animation/Clip.js +34 -0
  1082. package/dist/node_modules/zrender/lib/animation/Clip.js.map +1 -0
  1083. package/dist/node_modules/zrender/lib/animation/cubicEasing.js +19 -0
  1084. package/dist/node_modules/zrender/lib/animation/cubicEasing.js.map +1 -0
  1085. package/dist/node_modules/zrender/lib/animation/easing.js +105 -0
  1086. package/dist/node_modules/zrender/lib/animation/easing.js.map +1 -0
  1087. package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +9 -0
  1088. package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js.map +1 -0
  1089. package/dist/node_modules/zrender/lib/canvas/Layer.js +135 -0
  1090. package/dist/node_modules/zrender/lib/canvas/Layer.js.map +1 -0
  1091. package/dist/node_modules/zrender/lib/canvas/Painter.js +309 -0
  1092. package/dist/node_modules/zrender/lib/canvas/Painter.js.map +1 -0
  1093. package/dist/node_modules/zrender/lib/canvas/dashStyle.js +19 -0
  1094. package/dist/node_modules/zrender/lib/canvas/dashStyle.js.map +1 -0
  1095. package/dist/node_modules/zrender/lib/canvas/graphic.js +198 -0
  1096. package/dist/node_modules/zrender/lib/canvas/graphic.js.map +1 -0
  1097. package/dist/node_modules/zrender/lib/canvas/helper.js +48 -0
  1098. package/dist/node_modules/zrender/lib/canvas/helper.js.map +1 -0
  1099. package/dist/node_modules/zrender/lib/config.js +12 -0
  1100. package/dist/node_modules/zrender/lib/config.js.map +1 -0
  1101. package/dist/node_modules/zrender/lib/contain/arc.js +25 -0
  1102. package/dist/node_modules/zrender/lib/contain/arc.js.map +1 -0
  1103. package/dist/node_modules/zrender/lib/contain/cubic.js +14 -0
  1104. package/dist/node_modules/zrender/lib/contain/cubic.js.map +1 -0
  1105. package/dist/node_modules/zrender/lib/contain/line.js +17 -0
  1106. package/dist/node_modules/zrender/lib/contain/line.js.map +1 -0
  1107. package/dist/node_modules/zrender/lib/contain/path.js +149 -0
  1108. package/dist/node_modules/zrender/lib/contain/path.js.map +1 -0
  1109. package/dist/node_modules/zrender/lib/contain/polygon.js +20 -0
  1110. package/dist/node_modules/zrender/lib/contain/polygon.js.map +1 -0
  1111. package/dist/node_modules/zrender/lib/contain/quadratic.js +14 -0
  1112. package/dist/node_modules/zrender/lib/contain/quadratic.js.map +1 -0
  1113. package/dist/node_modules/zrender/lib/contain/text.js +97 -0
  1114. package/dist/node_modules/zrender/lib/contain/text.js.map +1 -0
  1115. package/dist/node_modules/zrender/lib/contain/util.js +8 -0
  1116. package/dist/node_modules/zrender/lib/contain/util.js.map +1 -0
  1117. package/dist/node_modules/zrender/lib/contain/windingLine.js +12 -0
  1118. package/dist/node_modules/zrender/lib/contain/windingLine.js.map +1 -0
  1119. package/dist/node_modules/zrender/lib/core/BoundingRect.js +65 -0
  1120. package/dist/node_modules/zrender/lib/core/BoundingRect.js.map +1 -0
  1121. package/dist/node_modules/zrender/lib/core/Eventful.js +98 -0
  1122. package/dist/node_modules/zrender/lib/core/Eventful.js.map +1 -0
  1123. package/dist/node_modules/zrender/lib/core/GestureMgr.js +64 -0
  1124. package/dist/node_modules/zrender/lib/core/GestureMgr.js.map +1 -0
  1125. package/dist/node_modules/zrender/lib/core/LRU.js +53 -0
  1126. package/dist/node_modules/zrender/lib/core/LRU.js.map +1 -0
  1127. package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +47 -0
  1128. package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js.map +1 -0
  1129. package/dist/node_modules/zrender/lib/core/PathProxy.js +301 -0
  1130. package/dist/node_modules/zrender/lib/core/PathProxy.js.map +1 -0
  1131. package/dist/node_modules/zrender/lib/core/Point.js +73 -0
  1132. package/dist/node_modules/zrender/lib/core/Point.js.map +1 -0
  1133. package/dist/node_modules/zrender/lib/core/Transformable.js +106 -0
  1134. package/dist/node_modules/zrender/lib/core/Transformable.js.map +1 -0
  1135. package/dist/node_modules/zrender/lib/core/WeakMap.js +27 -0
  1136. package/dist/node_modules/zrender/lib/core/WeakMap.js.map +1 -0
  1137. package/dist/node_modules/zrender/lib/core/bbox.js +53 -0
  1138. package/dist/node_modules/zrender/lib/core/bbox.js.map +1 -0
  1139. package/dist/node_modules/zrender/lib/core/curve.js +162 -0
  1140. package/dist/node_modules/zrender/lib/core/curve.js.map +1 -0
  1141. package/dist/node_modules/zrender/lib/core/dom.js +68 -0
  1142. package/dist/node_modules/zrender/lib/core/dom.js.map +1 -0
  1143. package/dist/node_modules/zrender/lib/core/env.js +22 -0
  1144. package/dist/node_modules/zrender/lib/core/env.js.map +1 -0
  1145. package/dist/node_modules/zrender/lib/core/event.js +70 -0
  1146. package/dist/node_modules/zrender/lib/core/event.js.map +1 -0
  1147. package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +42 -0
  1148. package/dist/node_modules/zrender/lib/core/fourPointsTransform.js.map +1 -0
  1149. package/dist/node_modules/zrender/lib/core/matrix.js +45 -0
  1150. package/dist/node_modules/zrender/lib/core/matrix.js.map +1 -0
  1151. package/dist/node_modules/zrender/lib/core/platform.js +49 -0
  1152. package/dist/node_modules/zrender/lib/core/platform.js.map +1 -0
  1153. package/dist/node_modules/zrender/lib/core/timsort.js +287 -0
  1154. package/dist/node_modules/zrender/lib/core/timsort.js.map +1 -0
  1155. package/dist/node_modules/zrender/lib/core/util.js +406 -0
  1156. package/dist/node_modules/zrender/lib/core/util.js.map +1 -0
  1157. package/dist/node_modules/zrender/lib/core/vector.js +77 -0
  1158. package/dist/node_modules/zrender/lib/core/vector.js.map +1 -0
  1159. package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +189 -0
  1160. package/dist/node_modules/zrender/lib/dom/HandlerProxy.js.map +1 -0
  1161. package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +30 -0
  1162. package/dist/node_modules/zrender/lib/graphic/CompoundPath.js.map +1 -0
  1163. package/dist/node_modules/zrender/lib/graphic/Displayable.js +147 -0
  1164. package/dist/node_modules/zrender/lib/graphic/Displayable.js.map +1 -0
  1165. package/dist/node_modules/zrender/lib/graphic/Gradient.js +15 -0
  1166. package/dist/node_modules/zrender/lib/graphic/Gradient.js.map +1 -0
  1167. package/dist/node_modules/zrender/lib/graphic/Group.js +96 -0
  1168. package/dist/node_modules/zrender/lib/graphic/Group.js.map +1 -0
  1169. package/dist/node_modules/zrender/lib/graphic/Image.js +56 -0
  1170. package/dist/node_modules/zrender/lib/graphic/Image.js.map +1 -0
  1171. package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +70 -0
  1172. package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js.map +1 -0
  1173. package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +14 -0
  1174. package/dist/node_modules/zrender/lib/graphic/LinearGradient.js.map +1 -0
  1175. package/dist/node_modules/zrender/lib/graphic/Path.js +217 -0
  1176. package/dist/node_modules/zrender/lib/graphic/Path.js.map +1 -0
  1177. package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +14 -0
  1178. package/dist/node_modules/zrender/lib/graphic/RadialGradient.js.map +1 -0
  1179. package/dist/node_modules/zrender/lib/graphic/TSpan.js +53 -0
  1180. package/dist/node_modules/zrender/lib/graphic/TSpan.js.map +1 -0
  1181. package/dist/node_modules/zrender/lib/graphic/Text.js +221 -0
  1182. package/dist/node_modules/zrender/lib/graphic/Text.js.map +1 -0
  1183. package/dist/node_modules/zrender/lib/graphic/constants.js +7 -0
  1184. package/dist/node_modules/zrender/lib/graphic/constants.js.map +1 -0
  1185. package/dist/node_modules/zrender/lib/graphic/helper/image.js +42 -0
  1186. package/dist/node_modules/zrender/lib/graphic/helper/image.js.map +1 -0
  1187. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +212 -0
  1188. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js.map +1 -0
  1189. package/dist/node_modules/zrender/lib/graphic/helper/poly.js +23 -0
  1190. package/dist/node_modules/zrender/lib/graphic/helper/poly.js.map +1 -0
  1191. package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +10 -0
  1192. package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js.map +1 -0
  1193. package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +80 -0
  1194. package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js.map +1 -0
  1195. package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +30 -0
  1196. package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js.map +1 -0
  1197. package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +29 -0
  1198. package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js.map +1 -0
  1199. package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +30 -0
  1200. package/dist/node_modules/zrender/lib/graphic/shape/Arc.js.map +1 -0
  1201. package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +48 -0
  1202. package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js.map +1 -0
  1203. package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +24 -0
  1204. package/dist/node_modules/zrender/lib/graphic/shape/Circle.js.map +1 -0
  1205. package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +25 -0
  1206. package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js.map +1 -0
  1207. package/dist/node_modules/zrender/lib/graphic/shape/Line.js +43 -0
  1208. package/dist/node_modules/zrender/lib/graphic/shape/Line.js.map +1 -0
  1209. package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +25 -0
  1210. package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js.map +1 -0
  1211. package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +30 -0
  1212. package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js.map +1 -0
  1213. package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +34 -0
  1214. package/dist/node_modules/zrender/lib/graphic/shape/Rect.js.map +1 -0
  1215. package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +25 -0
  1216. package/dist/node_modules/zrender/lib/graphic/shape/Ring.js.map +1 -0
  1217. package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +27 -0
  1218. package/dist/node_modules/zrender/lib/graphic/shape/Sector.js.map +1 -0
  1219. package/dist/node_modules/zrender/lib/mixin/Draggable.js +30 -0
  1220. package/dist/node_modules/zrender/lib/mixin/Draggable.js.map +1 -0
  1221. package/dist/node_modules/zrender/lib/svg/Painter.js +153 -0
  1222. package/dist/node_modules/zrender/lib/svg/Painter.js.map +1 -0
  1223. package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +53 -0
  1224. package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js.map +1 -0
  1225. package/dist/node_modules/zrender/lib/svg/core.js +99 -0
  1226. package/dist/node_modules/zrender/lib/svg/core.js.map +1 -0
  1227. package/dist/node_modules/zrender/lib/svg/cssAnimation.js +183 -0
  1228. package/dist/node_modules/zrender/lib/svg/cssAnimation.js.map +1 -0
  1229. package/dist/node_modules/zrender/lib/svg/cssClassId.js +8 -0
  1230. package/dist/node_modules/zrender/lib/svg/cssClassId.js.map +1 -0
  1231. package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +34 -0
  1232. package/dist/node_modules/zrender/lib/svg/cssEmphasis.js.map +1 -0
  1233. package/dist/node_modules/zrender/lib/svg/domapi.js +31 -0
  1234. package/dist/node_modules/zrender/lib/svg/domapi.js.map +1 -0
  1235. package/dist/node_modules/zrender/lib/svg/graphic.js +232 -0
  1236. package/dist/node_modules/zrender/lib/svg/graphic.js.map +1 -0
  1237. package/dist/node_modules/zrender/lib/svg/helper.js +113 -0
  1238. package/dist/node_modules/zrender/lib/svg/helper.js.map +1 -0
  1239. package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +51 -0
  1240. package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js.map +1 -0
  1241. package/dist/node_modules/zrender/lib/svg/patch.js +86 -0
  1242. package/dist/node_modules/zrender/lib/svg/patch.js.map +1 -0
  1243. package/dist/node_modules/zrender/lib/tool/color.js +343 -0
  1244. package/dist/node_modules/zrender/lib/tool/color.js.map +1 -0
  1245. package/dist/node_modules/zrender/lib/tool/convertPath.js +92 -0
  1246. package/dist/node_modules/zrender/lib/tool/convertPath.js.map +1 -0
  1247. package/dist/node_modules/zrender/lib/tool/dividePath.js +182 -0
  1248. package/dist/node_modules/zrender/lib/tool/dividePath.js.map +1 -0
  1249. package/dist/node_modules/zrender/lib/tool/morphPath.js +320 -0
  1250. package/dist/node_modules/zrender/lib/tool/morphPath.js.map +1 -0
  1251. package/dist/node_modules/zrender/lib/tool/parseSVG.js +404 -0
  1252. package/dist/node_modules/zrender/lib/tool/parseSVG.js.map +1 -0
  1253. package/dist/node_modules/zrender/lib/tool/parseXML.js +15 -0
  1254. package/dist/node_modules/zrender/lib/tool/parseXML.js.map +1 -0
  1255. package/dist/node_modules/zrender/lib/tool/path.js +165 -0
  1256. package/dist/node_modules/zrender/lib/tool/path.js.map +1 -0
  1257. package/dist/node_modules/zrender/lib/tool/transformPath.js +39 -0
  1258. package/dist/node_modules/zrender/lib/tool/transformPath.js.map +1 -0
  1259. package/dist/node_modules/zrender/lib/zrender.js +141 -0
  1260. package/dist/node_modules/zrender/lib/zrender.js.map +1 -0
  1261. package/dist/node_modules/zrender/node_modules/tslib/tslib.es6.js +34 -0
  1262. package/dist/node_modules/zrender/node_modules/tslib/tslib.es6.js.map +1 -0
  1263. package/dist/provider/MarsunCoreProvider.d.ts +20 -0
  1264. package/dist/provider/context.d.ts +24 -0
  1265. package/dist/provider/index.d.ts +3 -0
  1266. package/dist/styles/global.css +1 -0
  1267. package/dist/theme/constants.d.ts +12 -0
  1268. package/dist/theme/theme.d.ts +11 -0
  1269. package/dist/utils/format.d.ts +2 -0
  1270. package/dist/utils/resolveMaybeFn.d.ts +11 -0
  1271. package/package.json +12 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeatmapLayer.js","sources":["../../../../../../node_modules/echarts/lib/chart/heatmap/HeatmapLayer.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/* global Uint8ClampedArray */\nimport { platformApi } from 'zrender/lib/core/platform.js';\nvar GRADIENT_LEVELS = 256;\nvar HeatmapLayer = /** @class */function () {\n function HeatmapLayer() {\n this.blurSize = 30;\n this.pointSize = 20;\n this.maxOpacity = 1;\n this.minOpacity = 0;\n this._gradientPixels = {\n inRange: null,\n outOfRange: null\n };\n var canvas = platformApi.createCanvas();\n this.canvas = canvas;\n }\n /**\r\n * Renders Heatmap and returns the rendered canvas\r\n * @param data array of data, each has x, y, value\r\n * @param width canvas width\r\n * @param height canvas height\r\n */\n HeatmapLayer.prototype.update = function (data, width, height, normalize, colorFunc, isInRange) {\n var brush = this._getBrush();\n var gradientInRange = this._getGradient(colorFunc, 'inRange');\n var gradientOutOfRange = this._getGradient(colorFunc, 'outOfRange');\n var r = this.pointSize + this.blurSize;\n var canvas = this.canvas;\n var ctx = canvas.getContext('2d');\n var len = data.length;\n canvas.width = width;\n canvas.height = height;\n for (var i = 0; i < len; ++i) {\n var p = data[i];\n var x = p[0];\n var y = p[1];\n var value = p[2];\n // calculate alpha using value\n var alpha = normalize(value);\n // draw with the circle brush with alpha\n ctx.globalAlpha = alpha;\n ctx.drawImage(brush, x - r, y - r);\n }\n if (!canvas.width || !canvas.height) {\n // Avoid \"Uncaught DOMException: Failed to execute 'getImageData' on\n // 'CanvasRenderingContext2D': The source height is 0.\"\n return canvas;\n }\n // colorize the canvas using alpha value and set with gradient\n var imageData = ctx.getImageData(0, 0, canvas.width, canvas.height);\n var pixels = imageData.data;\n var offset = 0;\n var pixelLen = pixels.length;\n var minOpacity = this.minOpacity;\n var maxOpacity = this.maxOpacity;\n var diffOpacity = maxOpacity - minOpacity;\n while (offset < pixelLen) {\n var alpha = pixels[offset + 3] / 256;\n var gradientOffset = Math.floor(alpha * (GRADIENT_LEVELS - 1)) * 4;\n // Simple optimize to ignore the empty data\n if (alpha > 0) {\n var gradient = isInRange(alpha) ? gradientInRange : gradientOutOfRange;\n // Any alpha > 0 will be mapped to [minOpacity, maxOpacity]\n alpha > 0 && (alpha = alpha * diffOpacity + minOpacity);\n pixels[offset++] = gradient[gradientOffset];\n pixels[offset++] = gradient[gradientOffset + 1];\n pixels[offset++] = gradient[gradientOffset + 2];\n pixels[offset++] = gradient[gradientOffset + 3] * alpha * 256;\n } else {\n offset += 4;\n }\n }\n ctx.putImageData(imageData, 0, 0);\n return canvas;\n };\n /**\r\n * get canvas of a black circle brush used for canvas to draw later\r\n */\n HeatmapLayer.prototype._getBrush = function () {\n var brushCanvas = this._brushCanvas || (this._brushCanvas = platformApi.createCanvas());\n // set brush size\n var r = this.pointSize + this.blurSize;\n var d = r * 2;\n brushCanvas.width = d;\n brushCanvas.height = d;\n var ctx = brushCanvas.getContext('2d');\n ctx.clearRect(0, 0, d, d);\n // in order to render shadow without the distinct circle,\n // draw the distinct circle in an invisible place,\n // and use shadowOffset to draw shadow in the center of the canvas\n ctx.shadowOffsetX = d;\n ctx.shadowBlur = this.blurSize;\n // draw the shadow in black, and use alpha and shadow blur to generate\n // color in color map\n ctx.shadowColor = '#000';\n // draw circle in the left to the canvas\n ctx.beginPath();\n ctx.arc(-r, r, this.pointSize, 0, Math.PI * 2, true);\n ctx.closePath();\n ctx.fill();\n return brushCanvas;\n };\n /**\r\n * get gradient color map\r\n * @private\r\n */\n HeatmapLayer.prototype._getGradient = function (colorFunc, state) {\n var gradientPixels = this._gradientPixels;\n var pixelsSingleState = gradientPixels[state] || (gradientPixels[state] = new Uint8ClampedArray(256 * 4));\n var color = [0, 0, 0, 0];\n var off = 0;\n for (var i = 0; i < 256; i++) {\n colorFunc[state](i / 255, true, color);\n pixelsSingleState[off++] = color[0];\n pixelsSingleState[off++] = color[1];\n pixelsSingleState[off++] = color[2];\n pixelsSingleState[off++] = color[3];\n }\n return pixelsSingleState;\n };\n return HeatmapLayer;\n}();\nexport default HeatmapLayer;"],"names":["GRADIENT_LEVELS","HeatmapLayer","canvas","platformApi","data","width","height","normalize","colorFunc","isInRange","brush","gradientInRange","gradientOutOfRange","r","ctx","len","i","p","x","y","value","alpha","imageData","pixels","offset","pixelLen","minOpacity","maxOpacity","diffOpacity","gradientOffset","gradient","brushCanvas","d","state","gradientPixels","pixelsSingleState","color","off"],"mappings":";AA6CA,IAAIA,IAAkB,KAClBC;AAAA;AAAA,GAA4B,WAAY;AAC1C,aAASA,IAAe;AACtB,WAAK,WAAW,IAChB,KA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EAAM,CAAC,GAClCD,EAAkBE,GAAK,IAAID,EAAM,CAAC,GAClCD,EAAkBE,GAAK,IAAID,EAAM,CAAC,GAClCD,EAAkBE,GAAK,IAAID,EAAM,CAAC;AAEpC,aAAOD;AAAA,IACT,GACOlC;AAAA,EACT,GAAC;AAAA;","x_google_ignoreList":[0]}
@@ -0,0 +1,45 @@
1
+ import { __extends as o } from "../../../node_modules/tslib/tslib.es6.js";
2
+ import i from "../../model/Series.js";
3
+ import n from "../helper/createSeriesData.js";
4
+ import a from "../../core/CoordinateSystem.js";
5
+ var c = (
6
+ /** @class */
7
+ (function(r) {
8
+ o(e, r);
9
+ function e() {
10
+ var t = r !== null && r.apply(this, arguments) || this;
11
+ return t.type = e.type, t;
12
+ }
13
+ return e.prototype.getInitialData = function(t, s) {
14
+ return n(null, this, {
15
+ generateCoord: "value"
16
+ });
17
+ }, e.prototype.preventIncremental = function() {
18
+ var t = a.get(this.get("coordinateSystem"));
19
+ if (t && t.dimensions)
20
+ return t.dimensions[0] === "lng" && t.dimensions[1] === "lat";
21
+ }, e.type = "series.heatmap", e.dependencies = ["grid", "geo", "calendar"], e.defaultOption = {
22
+ coordinateSystem: "cartesian2d",
23
+ // zlevel: 0,
24
+ z: 2,
25
+ // Cartesian coordinate system
26
+ // xAxisIndex: 0,
27
+ // yAxisIndex: 0,
28
+ // Geo coordinate system
29
+ geoIndex: 0,
30
+ blurSize: 30,
31
+ pointSize: 20,
32
+ maxOpacity: 1,
33
+ minOpacity: 0,
34
+ select: {
35
+ itemStyle: {
36
+ borderColor: "#212121"
37
+ }
38
+ }
39
+ }, e;
40
+ })(i)
41
+ );
42
+ export {
43
+ c as default
44
+ };
45
+ //# sourceMappingURL=HeatmapSeries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeatmapSeries.js","sources":["../../../../../../node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport { __extends } from \"tslib\";\nimport SeriesModel from '../../model/Series.js';\nimport createSeriesData from '../helper/createSeriesData.js';\nimport CoordinateSystem from '../../core/CoordinateSystem.js';\nvar HeatmapSeriesModel = /** @class */function (_super) {\n __extends(HeatmapSeriesModel, _super);\n function HeatmapSeriesModel() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = HeatmapSeriesModel.type;\n return _this;\n }\n HeatmapSeriesModel.prototype.getInitialData = function (option, ecModel) {\n return createSeriesData(null, this, {\n generateCoord: 'value'\n });\n };\n HeatmapSeriesModel.prototype.preventIncremental = function () {\n var coordSysCreator = CoordinateSystem.get(this.get('coordinateSystem'));\n if (coordSysCreator && coordSysCreator.dimensions) {\n return coordSysCreator.dimensions[0] === 'lng' && coordSysCreator.dimensions[1] === 'lat';\n }\n };\n HeatmapSeriesModel.type = 'series.heatmap';\n HeatmapSeriesModel.dependencies = ['grid', 'geo', 'calendar'];\n HeatmapSeriesModel.defaultOption = {\n coordinateSystem: 'cartesian2d',\n // zlevel: 0,\n z: 2,\n // Cartesian coordinate system\n // xAxisIndex: 0,\n // yAxisIndex: 0,\n // Geo coordinate system\n geoIndex: 0,\n blurSize: 30,\n pointSize: 20,\n maxOpacity: 1,\n minOpacity: 0,\n select: {\n itemStyle: {\n borderColor: '#212121'\n }\n }\n };\n return HeatmapSeriesModel;\n}(SeriesModel);\nexport default HeatmapSeriesModel;"],"names":["HeatmapSeriesModel","_super","__extends","_this","option","ecModel","createSeriesData","coordSysCreator","CoordinateSystem","SeriesModel"],"mappings":";;;;AA+CG,IAACA;AAAA;AAAA,GAAkC,SAAUC,GAAQ;AACtD,IAAAC,EAAUF,GAAoBC,CAAM;AACpC,aAASD,IAAqB;AAC5B,UAAIG,IAAQF,MAAW,QAAQA,EAAO,MAAM,MAAM,SAAS,KAAK;AAChE,aAAAE,EAAM,OAAOH,EAAmB,MACzBG;AAAA,IACT;AACA,WAAAH,EAAmB,UAAU,iBAAiB,SAAUI,GAAQC,GAAS;AACvE,aAAOC,EAAiB,MAAM,MAAM;AAAA,QAClC,eAAe;AAAA,MACrB,CAAK;AAAA,IACH,GACAN,EAAmB,UAAU,qBAAqB,WAAY;AAC5D,UAAIO,IAAkBC,EAAiB,IAAI,KAAK,IAAI,kBAAkB,CAAC;AACvE,UAAID,KAAmBA,EAAgB;AACrC,eAAOA,EAAgB,WAAW,CAAC,MAAM,SAASA,EAAgB,WAAW,CAAC,MAAM;AAAA,IAExF,GACAP,EAAmB,OAAO,kBAC1BA,EAAmB,eAAe,CAAC,QAAQ,OAAO,UAAU,GAC5DA,EAAmB,gBAAgB;AAAA,MACjC,kBAAkB;AAAA;AAAA,MAElB,GAAG;AAAA;AAAA;AAAA;AAAA;AAAA,MAKH,UAAU;AAAA,MACV,UAAU;AAAA,MACV,WAAW;AAAA,MACX,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,QAAQ;AAAA,QACN,WAAW;AAAA,UACT,aAAa;AAAA,QACrB;AAAA,MACA;AAAA,IACA,GACSA;AAAA,EACT,GAAES,CAAW;AAAA;","x_google_ignoreList":[0]}
@@ -0,0 +1,155 @@
1
+ import { __extends as W } from "../../../node_modules/tslib/tslib.es6.js";
2
+ import { traverseElements as k } from "../../util/graphic.js";
3
+ import { toggleHoverEmphasis as F } from "../../util/states.js";
4
+ import Z from "./HeatmapLayer.js";
5
+ import { map as j } from "../../../../zrender/lib/core/util.js";
6
+ import q from "../../view/Chart.js";
7
+ import { isCoordinateSystemType as J } from "../../coord/CoordinateSystem.js";
8
+ import { getLabelStatesModels as B, setLabelStyle as K } from "../../label/labelStyle.js";
9
+ import L from "../../../../zrender/lib/graphic/shape/Rect.js";
10
+ import Q from "../../../../zrender/lib/graphic/Image.js";
11
+ function U(p, e, t) {
12
+ var n = p[1] - p[0];
13
+ e = j(e, function(r) {
14
+ return {
15
+ interval: [(r.interval[0] - p[0]) / n, (r.interval[1] - p[0]) / n]
16
+ };
17
+ });
18
+ var i = e.length, s = 0;
19
+ return function(r) {
20
+ var a;
21
+ for (a = s; a < i; a++) {
22
+ var m = e[a].interval;
23
+ if (m[0] <= r && r <= m[1]) {
24
+ s = a;
25
+ break;
26
+ }
27
+ }
28
+ if (a === i)
29
+ for (a = s - 1; a >= 0; a--) {
30
+ var m = e[a].interval;
31
+ if (m[0] <= r && r <= m[1]) {
32
+ s = a;
33
+ break;
34
+ }
35
+ }
36
+ return a >= 0 && a < i && t[a];
37
+ };
38
+ }
39
+ function $(p, e) {
40
+ var t = p[1] - p[0];
41
+ return e = [(e[0] - p[0]) / t, (e[1] - p[0]) / t], function(n) {
42
+ return n >= e[0] && n <= e[1];
43
+ };
44
+ }
45
+ function x(p) {
46
+ var e = p.dimensions;
47
+ return e[0] === "lng" && e[1] === "lat";
48
+ }
49
+ var st = (
50
+ /** @class */
51
+ (function(p) {
52
+ W(e, p);
53
+ function e() {
54
+ var t = p !== null && p.apply(this, arguments) || this;
55
+ return t.type = e.type, t;
56
+ }
57
+ return e.prototype.render = function(t, n, i) {
58
+ var s;
59
+ if (n.eachComponent("visualMap", function(a) {
60
+ a.eachTargetSeries(function(m) {
61
+ m === t && (s = a);
62
+ });
63
+ }), process.env.NODE_ENV !== "production" && !s)
64
+ throw new Error("Heatmap must use with visualMap");
65
+ this._progressiveEls = null, this.group.removeAll();
66
+ var r = t.coordinateSystem;
67
+ r.type === "cartesian2d" || r.type === "calendar" ? this._renderOnCartesianAndCalendar(t, i, 0, t.getData().count()) : x(r) && this._renderOnGeo(r, t, s, i);
68
+ }, e.prototype.incrementalPrepareRender = function(t, n, i) {
69
+ this.group.removeAll();
70
+ }, e.prototype.incrementalRender = function(t, n, i, s) {
71
+ var r = n.coordinateSystem;
72
+ r && (x(r) ? this.render(n, i, s) : (this._progressiveEls = [], this._renderOnCartesianAndCalendar(n, s, t.start, t.end, !0)));
73
+ }, e.prototype.eachRendered = function(t) {
74
+ k(this._progressiveEls || this.group, t);
75
+ }, e.prototype._renderOnCartesianAndCalendar = function(t, n, i, s, r) {
76
+ var a = t.coordinateSystem, m = J(a, "cartesian2d"), v, u, S, f;
77
+ if (m) {
78
+ var y = a.getAxis("x"), c = a.getAxis("y");
79
+ if (process.env.NODE_ENV !== "production") {
80
+ if (!(y.type === "category" && c.type === "category"))
81
+ throw new Error("Heatmap on cartesian must have two category axes");
82
+ if (!(y.onBand && c.onBand))
83
+ throw new Error("Heatmap on cartesian must have two axes with boundaryGap true");
84
+ }
85
+ v = y.getBandWidth() + 0.5, u = c.getBandWidth() + 0.5, S = y.scale.getExtent(), f = c.scale.getExtent();
86
+ }
87
+ for (var H = this.group, o = t.getData(), d = t.getModel(["emphasis", "itemStyle"]).getItemStyle(), I = t.getModel(["blur", "itemStyle"]).getItemStyle(), O = t.getModel(["select", "itemStyle"]).getItemStyle(), b = t.get(["itemStyle", "borderRadius"]), E = B(t), w = t.getModel("emphasis"), C = w.get("focus"), N = w.get("blurScope"), _ = w.get("disabled"), h = m ? [o.mapDimension("x"), o.mapDimension("y"), o.mapDimension("value")] : [o.mapDimension("time"), o.mapDimension("value")], l = i; l < s; l++) {
88
+ var g = void 0, z = o.getItemVisual(l, "style");
89
+ if (m) {
90
+ var D = o.get(h[0], l), V = o.get(h[1], l);
91
+ if (isNaN(o.get(h[2], l)) || isNaN(D) || isNaN(V) || D < S[0] || D > S[1] || V < f[0] || V > f[1])
92
+ continue;
93
+ var P = a.dataToPoint([D, V]);
94
+ g = new L({
95
+ shape: {
96
+ x: P[0] - v / 2,
97
+ y: P[1] - u / 2,
98
+ width: v,
99
+ height: u
100
+ },
101
+ style: z
102
+ });
103
+ } else {
104
+ if (isNaN(o.get(h[1], l)))
105
+ continue;
106
+ g = new L({
107
+ z2: 1,
108
+ shape: a.dataToRect([o.get(h[0], l)]).contentShape,
109
+ style: z
110
+ });
111
+ }
112
+ if (o.hasItemOption) {
113
+ var R = o.getItemModel(l), T = R.getModel("emphasis");
114
+ d = T.getModel("itemStyle").getItemStyle(), I = R.getModel(["blur", "itemStyle"]).getItemStyle(), O = R.getModel(["select", "itemStyle"]).getItemStyle(), b = R.get(["itemStyle", "borderRadius"]), C = T.get("focus"), N = T.get("blurScope"), _ = T.get("disabled"), E = B(R);
115
+ }
116
+ g.shape.r = b;
117
+ var G = t.getRawValue(l), A = "-";
118
+ G && G[2] != null && (A = G[2] + ""), K(g, E, {
119
+ labelFetcher: t,
120
+ labelDataIndex: l,
121
+ defaultOpacity: z.opacity,
122
+ defaultText: A
123
+ }), g.ensureState("emphasis").style = d, g.ensureState("blur").style = I, g.ensureState("select").style = O, F(g, C, N, _), g.incremental = r, r && (g.states.emphasis.hoverLayer = !0), H.add(g), o.setItemGraphicEl(l, g), this._progressiveEls && this._progressiveEls.push(g);
124
+ }
125
+ }, e.prototype._renderOnGeo = function(t, n, i, s) {
126
+ var r = i.targetVisuals.inRange, a = i.targetVisuals.outOfRange, m = n.getData(), v = this._hmLayer || this._hmLayer || new Z();
127
+ v.blurSize = n.get("blurSize"), v.pointSize = n.get("pointSize"), v.minOpacity = n.get("minOpacity"), v.maxOpacity = n.get("maxOpacity");
128
+ var u = t.getViewRect().clone(), S = t.getRoamTransform();
129
+ u.applyTransform(S);
130
+ var f = Math.max(u.x, 0), y = Math.max(u.y, 0), c = Math.min(u.width + u.x, s.getWidth()), H = Math.min(u.height + u.y, s.getHeight()), o = c - f, d = H - y, I = [m.mapDimension("lng"), m.mapDimension("lat"), m.mapDimension("value")], O = m.mapArray(I, function(C, N, _) {
131
+ var h = t.dataToPoint([C, N]);
132
+ return h[0] -= f, h[1] -= y, h.push(_), h;
133
+ }), b = i.getExtent(), E = i.type === "visualMap.continuous" ? $(b, i.option.range) : U(b, i.getPieceList(), i.option.selected);
134
+ v.update(O, o, d, r.color.getNormalizer(), {
135
+ inRange: r.color.getColorMapper(),
136
+ outOfRange: a.color.getColorMapper()
137
+ }, E);
138
+ var w = new Q({
139
+ style: {
140
+ width: o,
141
+ height: d,
142
+ x: f,
143
+ y,
144
+ image: v.canvas
145
+ },
146
+ silent: !0
147
+ });
148
+ this.group.add(w);
149
+ }, e.type = "heatmap", e;
150
+ })(q)
151
+ );
152
+ export {
153
+ st as default
154
+ };
155
+ //# sourceMappingURL=HeatmapView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeatmapView.js","sources":["../../../../../../node_modules/echarts/lib/chart/heatmap/HeatmapView.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport { __extends } from \"tslib\";\nimport * as graphic from '../../util/graphic.js';\nimport { toggleHoverEmphasis } from '../../util/states.js';\nimport HeatmapLayer from './HeatmapLayer.js';\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport ChartView from '../../view/Chart.js';\nimport { isCoordinateSystemType } from '../../coord/CoordinateSystem.js';\nimport { setLabelStyle, getLabelStatesModels } from '../../label/labelStyle.js';\nfunction getIsInPiecewiseRange(dataExtent, pieceList, selected) {\n var dataSpan = dataExtent[1] - dataExtent[0];\n pieceList = zrUtil.map(pieceList, function (piece) {\n return {\n interval: [(piece.interval[0] - dataExtent[0]) / dataSpan, (piece.interval[1] - dataExtent[0]) / dataSpan]\n };\n });\n var len = pieceList.length;\n var lastIndex = 0;\n return function (val) {\n var i;\n // Try to find in the location of the last found\n for (i = lastIndex; i < len; i++) {\n var interval = pieceList[i].interval;\n if (interval[0] <= val && val <= interval[1]) {\n lastIndex = i;\n break;\n }\n }\n if (i === len) {\n // Not found, back interation\n for (i = lastIndex - 1; i >= 0; i--) {\n var interval = pieceList[i].interval;\n if (interval[0] <= val && val <= interval[1]) {\n lastIndex = i;\n break;\n }\n }\n }\n return i >= 0 && i < len && selected[i];\n };\n}\nfunction getIsInContinuousRange(dataExtent, range) {\n var dataSpan = dataExtent[1] - dataExtent[0];\n range = [(range[0] - dataExtent[0]) / dataSpan, (range[1] - dataExtent[0]) / dataSpan];\n return function (val) {\n return val >= range[0] && val <= range[1];\n };\n}\nfunction isGeoCoordSys(coordSys) {\n var dimensions = coordSys.dimensions;\n // Not use coordSys.type === 'geo' because coordSys maybe extended\n return dimensions[0] === 'lng' && dimensions[1] === 'lat';\n}\nvar HeatmapView = /** @class */function (_super) {\n __extends(HeatmapView, _super);\n function HeatmapView() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = HeatmapView.type;\n return _this;\n }\n HeatmapView.prototype.render = function (seriesModel, ecModel, api) {\n var visualMapOfThisSeries;\n ecModel.eachComponent('visualMap', function (visualMap) {\n visualMap.eachTargetSeries(function (targetSeries) {\n if (targetSeries === seriesModel) {\n visualMapOfThisSeries = visualMap;\n }\n });\n });\n if (process.env.NODE_ENV !== 'production') {\n if (!visualMapOfThisSeries) {\n throw new Error('Heatmap must use with visualMap');\n }\n }\n // Clear previously rendered progressive elements.\n this._progressiveEls = null;\n this.group.removeAll();\n var coordSys = seriesModel.coordinateSystem;\n if (coordSys.type === 'cartesian2d' || coordSys.type === 'calendar') {\n this._renderOnCartesianAndCalendar(seriesModel, api, 0, seriesModel.getData().count());\n } else if (isGeoCoordSys(coordSys)) {\n this._renderOnGeo(coordSys, seriesModel, visualMapOfThisSeries, api);\n }\n };\n HeatmapView.prototype.incrementalPrepareRender = function (seriesModel, ecModel, api) {\n this.group.removeAll();\n };\n HeatmapView.prototype.incrementalRender = function (params, seriesModel, ecModel, api) {\n var coordSys = seriesModel.coordinateSystem;\n if (coordSys) {\n // geo does not support incremental rendering?\n if (isGeoCoordSys(coordSys)) {\n this.render(seriesModel, ecModel, api);\n } else {\n this._progressiveEls = [];\n this._renderOnCartesianAndCalendar(seriesModel, api, params.start, params.end, true);\n }\n }\n };\n HeatmapView.prototype.eachRendered = function (cb) {\n graphic.traverseElements(this._progressiveEls || this.group, cb);\n };\n HeatmapView.prototype._renderOnCartesianAndCalendar = function (seriesModel, api, start, end, incremental) {\n var coordSys = seriesModel.coordinateSystem;\n var isCartesian2d = isCoordinateSystemType(coordSys, 'cartesian2d');\n var width;\n var height;\n var xAxisExtent;\n var yAxisExtent;\n if (isCartesian2d) {\n var xAxis = coordSys.getAxis('x');\n var yAxis = coordSys.getAxis('y');\n if (process.env.NODE_ENV !== 'production') {\n if (!(xAxis.type === 'category' && yAxis.type === 'category')) {\n throw new Error('Heatmap on cartesian must have two category axes');\n }\n if (!(xAxis.onBand && yAxis.onBand)) {\n throw new Error('Heatmap on cartesian must have two axes with boundaryGap true');\n }\n }\n // add 0.5px to avoid the gaps\n width = xAxis.getBandWidth() + .5;\n height = yAxis.getBandWidth() + .5;\n xAxisExtent = xAxis.scale.getExtent();\n yAxisExtent = yAxis.scale.getExtent();\n }\n var group = this.group;\n var data = seriesModel.getData();\n var emphasisStyle = seriesModel.getModel(['emphasis', 'itemStyle']).getItemStyle();\n var blurStyle = seriesModel.getModel(['blur', 'itemStyle']).getItemStyle();\n var selectStyle = seriesModel.getModel(['select', 'itemStyle']).getItemStyle();\n var borderRadius = seriesModel.get(['itemStyle', 'borderRadius']);\n var labelStatesModels = getLabelStatesModels(seriesModel);\n var emphasisModel = seriesModel.getModel('emphasis');\n var focus = emphasisModel.get('focus');\n var blurScope = emphasisModel.get('blurScope');\n var emphasisDisabled = emphasisModel.get('disabled');\n var dataDims = isCartesian2d ? [data.mapDimension('x'), data.mapDimension('y'), data.mapDimension('value')] : [data.mapDimension('time'), data.mapDimension('value')];\n for (var idx = start; idx < end; idx++) {\n var rect = void 0;\n var style = data.getItemVisual(idx, 'style');\n if (isCartesian2d) {\n var dataDimX = data.get(dataDims[0], idx);\n var dataDimY = data.get(dataDims[1], idx);\n // Ignore empty data and out of extent data\n if (isNaN(data.get(dataDims[2], idx)) || isNaN(dataDimX) || isNaN(dataDimY) || dataDimX < xAxisExtent[0] || dataDimX > xAxisExtent[1] || dataDimY < yAxisExtent[0] || dataDimY > yAxisExtent[1]) {\n continue;\n }\n var point = coordSys.dataToPoint([dataDimX, dataDimY]);\n rect = new graphic.Rect({\n shape: {\n x: point[0] - width / 2,\n y: point[1] - height / 2,\n width: width,\n height: height\n },\n style: style\n });\n } else {\n // Ignore empty data\n if (isNaN(data.get(dataDims[1], idx))) {\n continue;\n }\n rect = new graphic.Rect({\n z2: 1,\n shape: coordSys.dataToRect([data.get(dataDims[0], idx)]).contentShape,\n style: style\n });\n }\n // Optimization for large dataset\n if (data.hasItemOption) {\n var itemModel = data.getItemModel(idx);\n var emphasisModel_1 = itemModel.getModel('emphasis');\n emphasisStyle = emphasisModel_1.getModel('itemStyle').getItemStyle();\n blurStyle = itemModel.getModel(['blur', 'itemStyle']).getItemStyle();\n selectStyle = itemModel.getModel(['select', 'itemStyle']).getItemStyle();\n // Each item value struct in the data would be firstly\n // {\n // itemStyle: { borderRadius: [30, 30] },\n // value: [2022, 02, 22]\n // }\n borderRadius = itemModel.get(['itemStyle', 'borderRadius']);\n focus = emphasisModel_1.get('focus');\n blurScope = emphasisModel_1.get('blurScope');\n emphasisDisabled = emphasisModel_1.get('disabled');\n labelStatesModels = getLabelStatesModels(itemModel);\n }\n rect.shape.r = borderRadius;\n var rawValue = seriesModel.getRawValue(idx);\n var defaultText = '-';\n if (rawValue && rawValue[2] != null) {\n defaultText = rawValue[2] + '';\n }\n setLabelStyle(rect, labelStatesModels, {\n labelFetcher: seriesModel,\n labelDataIndex: idx,\n defaultOpacity: style.opacity,\n defaultText: defaultText\n });\n rect.ensureState('emphasis').style = emphasisStyle;\n rect.ensureState('blur').style = blurStyle;\n rect.ensureState('select').style = selectStyle;\n toggleHoverEmphasis(rect, focus, blurScope, emphasisDisabled);\n rect.incremental = incremental;\n // PENDING\n if (incremental) {\n // Rect must use hover layer if it's incremental.\n rect.states.emphasis.hoverLayer = true;\n }\n group.add(rect);\n data.setItemGraphicEl(idx, rect);\n if (this._progressiveEls) {\n this._progressiveEls.push(rect);\n }\n }\n };\n HeatmapView.prototype._renderOnGeo = function (geo, seriesModel, visualMapModel, api) {\n var inRangeVisuals = visualMapModel.targetVisuals.inRange;\n var outOfRangeVisuals = visualMapModel.targetVisuals.outOfRange;\n // if (!visualMapping) {\n // throw new Error('Data range must have color visuals');\n // }\n var data = seriesModel.getData();\n var hmLayer = this._hmLayer || this._hmLayer || new HeatmapLayer();\n hmLayer.blurSize = seriesModel.get('blurSize');\n hmLayer.pointSize = seriesModel.get('pointSize');\n hmLayer.minOpacity = seriesModel.get('minOpacity');\n hmLayer.maxOpacity = seriesModel.get('maxOpacity');\n var rect = geo.getViewRect().clone();\n var roamTransform = geo.getRoamTransform();\n rect.applyTransform(roamTransform);\n // Clamp on viewport\n var x = Math.max(rect.x, 0);\n var y = Math.max(rect.y, 0);\n var x2 = Math.min(rect.width + rect.x, api.getWidth());\n var y2 = Math.min(rect.height + rect.y, api.getHeight());\n var width = x2 - x;\n var height = y2 - y;\n var dims = [data.mapDimension('lng'), data.mapDimension('lat'), data.mapDimension('value')];\n var points = data.mapArray(dims, function (lng, lat, value) {\n var pt = geo.dataToPoint([lng, lat]);\n pt[0] -= x;\n pt[1] -= y;\n pt.push(value);\n return pt;\n });\n var dataExtent = visualMapModel.getExtent();\n var isInRange = visualMapModel.type === 'visualMap.continuous' ? getIsInContinuousRange(dataExtent, visualMapModel.option.range) : getIsInPiecewiseRange(dataExtent, visualMapModel.getPieceList(), visualMapModel.option.selected);\n hmLayer.update(points, width, height, inRangeVisuals.color.getNormalizer(), {\n inRange: inRangeVisuals.color.getColorMapper(),\n outOfRange: outOfRangeVisuals.color.getColorMapper()\n }, isInRange);\n var img = new graphic.Image({\n style: {\n width: width,\n height: height,\n x: x,\n y: y,\n image: hmLayer.canvas\n },\n silent: true\n });\n this.group.add(img);\n };\n HeatmapView.type = 'heatmap';\n return HeatmapView;\n}(ChartView);\nexport default HeatmapView;"],"names":["getIsInPiecewiseRange","dataExtent","pieceList","selected","dataSpan","zrUtil.map","piece","len","lastIndex","val","i","interval","getIsInContinuousRange","range","isGeoCoordSys","coordSys","dimensions","HeatmapView","_super","__extends","_this","seriesModel","ecModel","api","visualMapOfThisSeries","visualMap","targetSeries","params","cb","graphic.traverseElements","start","end","incremental","isCartesian2d","isCoordinateSystemType","width","height","xAxisExtent","yAxisExtent","xAxis","yAxis","group","data","emphasisStyle","blurStyle","selectStyle","borderRadius","labelStatesModels","getLabelStatesModels","emphasisModel","focus","blurScope","emphasisDisabled","dataDims","idx","rect","style","dataDimX","dataDimY","point","graphic.Rect","itemModel","emphasisModel_1","rawValue","defaultText","setLabelStyle","toggleHoverEmphasis","geo","visualMapModel","inRangeVisuals","outOfRangeVisuals","hmLayer","HeatmapLayer","roamTransform","x","x2","y2","dims","points","lng","lat","value","pt","isInRange","img","graphic.Image","ChartView"],"mappings":";;;;;;;;;;AAmDA,SAASA,EAAsBC,GAAYC,GAAWC,GAAU;AAC9D,MAAIC,IAAWH,EAAW,CAAC,IAAIA,EAAW,CAAC;AAC3C,EAAAC,IAAYG,EAAWH,GAAW,SAAUI,GAAO;AACjD,WAAO;AAAA,MACL,UAAU,EAAEA,EAAM,SAAS,CAAC,IAAIL,EAAW,CAAC,KAAKG,IAAWE,EAAM,SAAS,CAAC,IAAIL,EAAW,CAAC,KAAKG,CAAQ;AAAA,IAC/G;AAAA,EACE,CAAC;AACD,MAAIG,IAAML,EAAU,QAChBM,IAAY;AAChB,SAAO,SAAUC,GAAK;AACpB,QAAIC;AAEJ,SAAKA,IAAIF,GAAWE,IAAIH,GAAKG,KAAK;AAChC,UAAIC,IAAWT,EAAUQ,CAAC,EAAE;AAC5B,UAAIC,EAAS,CAAC,KAAKF,KAAOA,KAAOE,EAAS,CAAC,GAAG;AAC5C,QAAAH,IAAYE;AACZ;AAAA,MACF;AAAA,IACF;AACA,QAAIA,MAAMH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O,CAACnC,EAAK,aAAa,KAAK,GAAGA,EAAK,aAAa,KAAK,GAAGA,EAAK,aAAa,OAAO,CAAC,GACtFoC,IAASpC,EAAK,SAASmC,GAAM,SAAUE,GAAKC,GAAKC,GAAO;AAC1D,YAAIC,IAAKf,EAAI,YAAY,CAACY,GAAKC,CAAG,CAAC;AACnC,eAAAE,EAAG,CAAC,KAAKR,GACTQ,EAAG,CAAC,KAAK,GACTA,EAAG,KAAKD,CAAK,GACNC;AAAA,MACT,CAAC,GACGjF,IAAamE,EAAe,UAAS,GACrCe,IAAYf,EAAe,SAAS,yBAAyBxD,EAAuBX,GAAYmE,EAAe,OAAO,KAAK,IAAIpE,EAAsBC,GAAYmE,EAAe,aAAY,GAAIA,EAAe,OAAO,QAAQ;AAClO,MAAAG,EAAQ,OAAOO,GAAQ3C,GAAOC,GAAQiC,EAAe,MAAM,iBAAiB;AAAA,QAC1E,SAASA,EAAe,MAAM,eAAc;AAAA,QAC5C,YAAYC,EAAkB,MAAM,eAAc;AAAA,MACxD,GAAOa,CAAS;AACZ,UAAIC,IAAM,IAAIC,EAAc;AAAA,QAC1B,OAAO;AAAA,UACL,OAAOlD;AAAA,UACP,QAAQC;AAAA,UACR,GAAGsC;AAAA,UACH;AAAA,UACA,OAAOH,EAAQ;AAAA,QACvB;AAAA,QACM,QAAQ;AAAA,MACd,CAAK;AACD,WAAK,MAAM,IAAIa,CAAG;AAAA,IACpB,GACAnE,EAAY,OAAO,WACZA;AAAA,EACT,GAAEqE,CAAS;AAAA;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ import r from "./HeatmapView.js";
2
+ import i from "./HeatmapSeries.js";
3
+ function a(e) {
4
+ e.registerChartView(r), e.registerSeriesModel(i);
5
+ }
6
+ export {
7
+ a as install
8
+ };
9
+ //# sourceMappingURL=install.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"install.js","sources":["../../../../../../node_modules/echarts/lib/chart/heatmap/install.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport HeatmapView from './HeatmapView.js';\nimport HeatmapSeriesModel from './HeatmapSeries.js';\nexport function install(registers) {\n registers.registerChartView(HeatmapView);\n registers.registerSeriesModel(HeatmapSeriesModel);\n}"],"names":["install","registers","HeatmapView","HeatmapSeriesModel"],"mappings":";;AA6CO,SAASA,EAAQC,GAAW;AACjC,EAAAA,EAAU,kBAAkBC,CAAW,GACvCD,EAAU,oBAAoBE,CAAkB;AAClD;","x_google_ignoreList":[0]}
@@ -0,0 +1,69 @@
1
+ import { __extends as v } from "../../../node_modules/tslib/tslib.es6.js";
2
+ import l from "./Line.js";
3
+ import { isArray as g, retrieve as m, isFunction as y } from "../../../../zrender/lib/core/util.js";
4
+ import { createSymbol as S } from "../../util/symbol.js";
5
+ import { dist as s } from "../../../../zrender/lib/core/vector.js";
6
+ import { quadraticAt as A, quadraticDerivativeAt as T } from "../../../../zrender/lib/core/curve.js";
7
+ import L from "../../../../zrender/lib/graphic/Group.js";
8
+ var z = (
9
+ /** @class */
10
+ (function(d) {
11
+ v(p, d);
12
+ function p(t, e, a) {
13
+ var i = d.call(this) || this;
14
+ return i.add(i.createLine(t, e, a)), i._updateEffectSymbol(t, e), i;
15
+ }
16
+ return p.prototype.createLine = function(t, e, a) {
17
+ return new l(t, e, a);
18
+ }, p.prototype._updateEffectSymbol = function(t, e) {
19
+ var a = t.getItemModel(e), i = a.getModel("effect"), o = i.get("symbolSize"), r = i.get("symbol");
20
+ g(o) || (o = [o, o]);
21
+ var n = t.getItemVisual(e, "style"), c = i.get("color") || n && n.stroke, _ = this.childAt(1);
22
+ this._symbolType !== r && (this.remove(_), _ = S(r, -0.5, -0.5, 1, 1, c), _.z2 = 100, _.culling = !0, this.add(_)), _ && (_.setStyle("shadowColor", c), _.setStyle(i.getItemStyle(["color"])), _.scaleX = o[0], _.scaleY = o[1], _.setColor(c), this._symbolType = r, this._symbolScale = o, this._updateEffectAnimation(t, i, e));
23
+ }, p.prototype._updateEffectAnimation = function(t, e, a) {
24
+ var i = this.childAt(1);
25
+ if (i) {
26
+ var o = t.getItemLayout(a), r = e.get("period") * 1e3, n = e.get("loop"), c = e.get("roundTrip"), _ = e.get("constantSpeed"), u = m(e.get("delay"), function(h) {
27
+ return h / t.count() * r / 3;
28
+ });
29
+ if (i.ignore = !0, this._updateAnimationPoints(i, o), _ > 0 && (r = this._getLineLength(i) / _ * 1e3), r !== this._period || n !== this._loop || c !== this._roundTrip) {
30
+ i.stopAnimation();
31
+ var f = void 0;
32
+ y(u) ? f = u(a) : f = u, i.__t > 0 && (f = -r * i.__t), this._animateSymbol(i, r, f, n, c);
33
+ }
34
+ this._period = r, this._loop = n, this._roundTrip = c;
35
+ }
36
+ }, p.prototype._animateSymbol = function(t, e, a, i, o) {
37
+ if (e > 0) {
38
+ t.__t = 0;
39
+ var r = this, n = t.animate("", i).when(o ? e * 2 : e, {
40
+ __t: o ? 2 : 1
41
+ }).delay(a).during(function() {
42
+ r._updateSymbolPosition(t);
43
+ });
44
+ i || n.done(function() {
45
+ r.remove(t);
46
+ }), n.start();
47
+ }
48
+ }, p.prototype._getLineLength = function(t) {
49
+ return s(t.__p1, t.__cp1) + s(t.__cp1, t.__p2);
50
+ }, p.prototype._updateAnimationPoints = function(t, e) {
51
+ t.__p1 = e[0], t.__p2 = e[1], t.__cp1 = e[2] || [(e[0][0] + e[1][0]) / 2, (e[0][1] + e[1][1]) / 2];
52
+ }, p.prototype.updateData = function(t, e, a) {
53
+ this.childAt(0).updateData(t, e, a), this._updateEffectSymbol(t, e);
54
+ }, p.prototype._updateSymbolPosition = function(t) {
55
+ var e = t.__p1, a = t.__p2, i = t.__cp1, o = t.__t < 1 ? t.__t : 2 - t.__t, r = [t.x, t.y], n = r.slice(), c = A, _ = T;
56
+ r[0] = c(e[0], i[0], a[0], o), r[1] = c(e[1], i[1], a[1], o);
57
+ var u = t.__t < 1 ? _(e[0], i[0], a[0], o) : _(a[0], i[0], e[0], 1 - o), f = t.__t < 1 ? _(e[1], i[1], a[1], o) : _(a[1], i[1], e[1], 1 - o);
58
+ t.rotation = -Math.atan2(f, u) - Math.PI / 2, (this._symbolType === "line" || this._symbolType === "rect" || this._symbolType === "roundRect") && (t.__lastT !== void 0 && t.__lastT < t.__t ? (t.scaleY = s(n, r) * 1.05, o === 1 && (r[0] = n[0] + (r[0] - n[0]) / 2, r[1] = n[1] + (r[1] - n[1]) / 2)) : t.__lastT === 1 ? t.scaleY = 2 * s(e, r) : t.scaleY = this._symbolScale[1]), t.__lastT = t.__t, t.ignore = !1, t.x = r[0], t.y = r[1];
59
+ }, p.prototype.updateLayout = function(t, e) {
60
+ this.childAt(0).updateLayout(t, e);
61
+ var a = t.getItemModel(e).getModel("effect");
62
+ this._updateEffectAnimation(t, a, e);
63
+ }, p;
64
+ })(L)
65
+ );
66
+ export {
67
+ z as default
68
+ };
69
+ //# sourceMappingURL=EffectLine.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EffectLine.js","sources":["../../../../../../node_modules/echarts/lib/chart/helper/EffectLine.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\";\n/**\r\n * Provide effect for line\r\n */\nimport * as graphic from '../../util/graphic.js';\nimport Line from './Line.js';\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport { createSymbol } from '../../util/symbol.js';\nimport * as vec2 from 'zrender/lib/core/vector.js';\nimport * as curveUtil from 'zrender/lib/core/curve.js';\nvar EffectLine = /** @class */function (_super) {\n __extends(EffectLine, _super);\n function EffectLine(lineData, idx, seriesScope) {\n var _this = _super.call(this) || this;\n _this.add(_this.createLine(lineData, idx, seriesScope));\n _this._updateEffectSymbol(lineData, idx);\n return _this;\n }\n EffectLine.prototype.createLine = function (lineData, idx, seriesScope) {\n return new Line(lineData, idx, seriesScope);\n };\n EffectLine.prototype._updateEffectSymbol = function (lineData, idx) {\n var itemModel = lineData.getItemModel(idx);\n var effectModel = itemModel.getModel('effect');\n var size = effectModel.get('symbolSize');\n var symbolType = effectModel.get('symbol');\n if (!zrUtil.isArray(size)) {\n size = [size, size];\n }\n var lineStyle = lineData.getItemVisual(idx, 'style');\n var color = effectModel.get('color') || lineStyle && lineStyle.stroke;\n var symbol = this.childAt(1);\n if (this._symbolType !== symbolType) {\n // Remove previous\n this.remove(symbol);\n symbol = createSymbol(symbolType, -0.5, -0.5, 1, 1, color);\n symbol.z2 = 100;\n symbol.culling = true;\n this.add(symbol);\n }\n // Symbol may be removed if loop is false\n if (!symbol) {\n return;\n }\n // Shadow color is same with color in default\n symbol.setStyle('shadowColor', color);\n symbol.setStyle(effectModel.getItemStyle(['color']));\n symbol.scaleX = size[0];\n symbol.scaleY = size[1];\n symbol.setColor(color);\n this._symbolType = symbolType;\n this._symbolScale = size;\n this._updateEffectAnimation(lineData, effectModel, idx);\n };\n EffectLine.prototype._updateEffectAnimation = function (lineData, effectModel, idx) {\n var symbol = this.childAt(1);\n if (!symbol) {\n return;\n }\n var points = lineData.getItemLayout(idx);\n var period = effectModel.get('period') * 1000;\n var loop = effectModel.get('loop');\n var roundTrip = effectModel.get('roundTrip');\n var constantSpeed = effectModel.get('constantSpeed');\n var delayExpr = zrUtil.retrieve(effectModel.get('delay'), function (idx) {\n return idx / lineData.count() * period / 3;\n });\n // Ignore when updating\n symbol.ignore = true;\n this._updateAnimationPoints(symbol, points);\n if (constantSpeed > 0) {\n period = this._getLineLength(symbol) / constantSpeed * 1000;\n }\n if (period !== this._period || loop !== this._loop || roundTrip !== this._roundTrip) {\n symbol.stopAnimation();\n var delayNum = void 0;\n if (zrUtil.isFunction(delayExpr)) {\n delayNum = delayExpr(idx);\n } else {\n delayNum = delayExpr;\n }\n if (symbol.__t > 0) {\n delayNum = -period * symbol.__t;\n }\n this._animateSymbol(symbol, period, delayNum, loop, roundTrip);\n }\n this._period = period;\n this._loop = loop;\n this._roundTrip = roundTrip;\n };\n EffectLine.prototype._animateSymbol = function (symbol, period, delayNum, loop, roundTrip) {\n if (period > 0) {\n symbol.__t = 0;\n var self_1 = this;\n var animator = symbol.animate('', loop).when(roundTrip ? period * 2 : period, {\n __t: roundTrip ? 2 : 1\n }).delay(delayNum).during(function () {\n self_1._updateSymbolPosition(symbol);\n });\n if (!loop) {\n animator.done(function () {\n self_1.remove(symbol);\n });\n }\n animator.start();\n }\n };\n EffectLine.prototype._getLineLength = function (symbol) {\n // Not so accurate\n return vec2.dist(symbol.__p1, symbol.__cp1) + vec2.dist(symbol.__cp1, symbol.__p2);\n };\n EffectLine.prototype._updateAnimationPoints = function (symbol, points) {\n symbol.__p1 = points[0];\n symbol.__p2 = points[1];\n symbol.__cp1 = points[2] || [(points[0][0] + points[1][0]) / 2, (points[0][1] + points[1][1]) / 2];\n };\n EffectLine.prototype.updateData = function (lineData, idx, seriesScope) {\n this.childAt(0).updateData(lineData, idx, seriesScope);\n this._updateEffectSymbol(lineData, idx);\n };\n EffectLine.prototype._updateSymbolPosition = function (symbol) {\n var p1 = symbol.__p1;\n var p2 = symbol.__p2;\n var cp1 = symbol.__cp1;\n var t = symbol.__t < 1 ? symbol.__t : 2 - symbol.__t;\n var pos = [symbol.x, symbol.y];\n var lastPos = pos.slice();\n var quadraticAt = curveUtil.quadraticAt;\n var quadraticDerivativeAt = curveUtil.quadraticDerivativeAt;\n pos[0] = quadraticAt(p1[0], cp1[0], p2[0], t);\n pos[1] = quadraticAt(p1[1], cp1[1], p2[1], t);\n // Tangent\n var tx = symbol.__t < 1 ? quadraticDerivativeAt(p1[0], cp1[0], p2[0], t) : quadraticDerivativeAt(p2[0], cp1[0], p1[0], 1 - t);\n var ty = symbol.__t < 1 ? quadraticDerivativeAt(p1[1], cp1[1], p2[1], t) : quadraticDerivativeAt(p2[1], cp1[1], p1[1], 1 - t);\n symbol.rotation = -Math.atan2(ty, tx) - Math.PI / 2;\n // enable continuity trail for 'line', 'rect', 'roundRect' symbolType\n if (this._symbolType === 'line' || this._symbolType === 'rect' || this._symbolType === 'roundRect') {\n if (symbol.__lastT !== undefined && symbol.__lastT < symbol.__t) {\n symbol.scaleY = vec2.dist(lastPos, pos) * 1.05;\n // make sure the last segment render within endPoint\n if (t === 1) {\n pos[0] = lastPos[0] + (pos[0] - lastPos[0]) / 2;\n pos[1] = lastPos[1] + (pos[1] - lastPos[1]) / 2;\n }\n } else if (symbol.__lastT === 1) {\n // After first loop, symbol.__t does NOT start with 0, so connect p1 to pos directly.\n symbol.scaleY = 2 * vec2.dist(p1, pos);\n } else {\n symbol.scaleY = this._symbolScale[1];\n }\n }\n symbol.__lastT = symbol.__t;\n symbol.ignore = false;\n symbol.x = pos[0];\n symbol.y = pos[1];\n };\n EffectLine.prototype.updateLayout = function (lineData, idx) {\n this.childAt(0).updateLayout(lineData, idx);\n var effectModel = lineData.getItemModel(idx).getModel('effect');\n this._updateEffectAnimation(lineData, effectModel, idx);\n };\n return EffectLine;\n}(graphic.Group);\nexport default EffectLine;"],"names":["EffectLine","_super","__extends","lineData","idx","seriesScope","_this","Line","itemModel","effectModel","size","symbolType","zrUtil.isArray","lineStyle","color","symbol","createSymbol","points","period","loop","roundTrip","constantSpeed","delayExpr","zrUtil.retrieve","delayNum","zrUtil.isFunction","self_1","animator","vec2.dist","p1","p2","cp1","t","pos","lastPos","quadraticAt","curveUtil.quadraticAt","quadraticDerivativeAt","curveUtil.quadraticDerivativeAt","tx","ty","graphic.Group"],"mappings":";;;;;;;AAqDG,IAACA;AAAA;AAAA,GAA0B,SAAUC,GAAQ;AAC9C,IAAA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xD,GACOJ;AAAA,EACT,GAAEyC,CAAa;AAAA;","x_google_ignoreList":[0]}
@@ -0,0 +1,55 @@
1
+ import { __extends as c } from "../../../node_modules/tslib/tslib.es6.js";
2
+ import m from "./Polyline.js";
3
+ import g from "./EffectLine.js";
4
+ import { dist as P } from "../../../../zrender/lib/core/vector.js";
5
+ var x = (
6
+ /** @class */
7
+ (function(l) {
8
+ c(f, l);
9
+ function f() {
10
+ var r = l !== null && l.apply(this, arguments) || this;
11
+ return r._lastFrame = 0, r._lastFramePercent = 0, r;
12
+ }
13
+ return f.prototype.createLine = function(r, a, i) {
14
+ return new m(r, a, i);
15
+ }, f.prototype._updateAnimationPoints = function(r, a) {
16
+ this._points = a;
17
+ for (var i = [0], n = 0, e = 1; e < a.length; e++) {
18
+ var s = a[e - 1], t = a[e];
19
+ n += P(s, t), i.push(n);
20
+ }
21
+ if (n === 0) {
22
+ this._length = 0;
23
+ return;
24
+ }
25
+ for (var e = 0; e < i.length; e++)
26
+ i[e] /= n;
27
+ this._offsets = i, this._length = n;
28
+ }, f.prototype._getLineLength = function() {
29
+ return this._length;
30
+ }, f.prototype._updateSymbolPosition = function(r) {
31
+ var a = r.__t < 1 ? r.__t : 2 - r.__t, i = this._points, n = this._offsets, e = i.length;
32
+ if (n) {
33
+ var s = this._lastFrame, t;
34
+ if (a < this._lastFramePercent) {
35
+ var v = Math.min(s + 1, e - 1);
36
+ for (t = v; t >= 0 && !(n[t] <= a); t--)
37
+ ;
38
+ t = Math.min(t, e - 2);
39
+ } else {
40
+ for (t = s; t < e && !(n[t] > a); t++)
41
+ ;
42
+ t = Math.min(t - 1, e - 2);
43
+ }
44
+ var _ = (a - n[t]) / (n[t + 1] - n[t]), o = i[t], h = i[t + 1];
45
+ r.x = o[0] * (1 - _) + _ * h[0], r.y = o[1] * (1 - _) + _ * h[1];
46
+ var p = r.__t < 1 ? h[0] - o[0] : o[0] - h[0], u = r.__t < 1 ? h[1] - o[1] : o[1] - h[1];
47
+ r.rotation = -Math.atan2(u, p) - Math.PI / 2, this._lastFrame = t, this._lastFramePercent = a, r.ignore = !1;
48
+ }
49
+ }, f;
50
+ })(g)
51
+ );
52
+ export {
53
+ x as default
54
+ };
55
+ //# sourceMappingURL=EffectPolyline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EffectPolyline.js","sources":["../../../../../../node_modules/echarts/lib/chart/helper/EffectPolyline.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 Polyline from './Polyline.js';\nimport EffectLine from './EffectLine.js';\nimport * as vec2 from 'zrender/lib/core/vector.js';\nvar EffectPolyline = /** @class */function (_super) {\n __extends(EffectPolyline, _super);\n function EffectPolyline() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this._lastFrame = 0;\n _this._lastFramePercent = 0;\n return _this;\n }\n // Override\n EffectPolyline.prototype.createLine = function (lineData, idx, seriesScope) {\n return new Polyline(lineData, idx, seriesScope);\n };\n ;\n // Override\n EffectPolyline.prototype._updateAnimationPoints = function (symbol, points) {\n this._points = points;\n var accLenArr = [0];\n var len = 0;\n for (var i = 1; i < points.length; i++) {\n var p1 = points[i - 1];\n var p2 = points[i];\n len += vec2.dist(p1, p2);\n accLenArr.push(len);\n }\n if (len === 0) {\n this._length = 0;\n return;\n }\n for (var i = 0; i < accLenArr.length; i++) {\n accLenArr[i] /= len;\n }\n this._offsets = accLenArr;\n this._length = len;\n };\n ;\n // Override\n EffectPolyline.prototype._getLineLength = function () {\n return this._length;\n };\n ;\n // Override\n EffectPolyline.prototype._updateSymbolPosition = function (symbol) {\n var t = symbol.__t < 1 ? symbol.__t : 2 - symbol.__t;\n var points = this._points;\n var offsets = this._offsets;\n var len = points.length;\n if (!offsets) {\n // Has length 0\n return;\n }\n var lastFrame = this._lastFrame;\n var frame;\n if (t < this._lastFramePercent) {\n // Start from the next frame\n // PENDING start from lastFrame ?\n var start = Math.min(lastFrame + 1, len - 1);\n for (frame = start; frame >= 0; frame--) {\n if (offsets[frame] <= t) {\n break;\n }\n }\n // PENDING really need to do this ?\n frame = Math.min(frame, len - 2);\n } else {\n for (frame = lastFrame; frame < len; frame++) {\n if (offsets[frame] > t) {\n break;\n }\n }\n frame = Math.min(frame - 1, len - 2);\n }\n var p = (t - offsets[frame]) / (offsets[frame + 1] - offsets[frame]);\n var p0 = points[frame];\n var p1 = points[frame + 1];\n symbol.x = p0[0] * (1 - p) + p * p1[0];\n symbol.y = p0[1] * (1 - p) + p * p1[1];\n var tx = symbol.__t < 1 ? p1[0] - p0[0] : p0[0] - p1[0];\n var ty = symbol.__t < 1 ? p1[1] - p0[1] : p0[1] - p1[1];\n symbol.rotation = -Math.atan2(ty, tx) - Math.PI / 2;\n this._lastFrame = frame;\n this._lastFramePercent = t;\n symbol.ignore = false;\n };\n ;\n return EffectPolyline;\n}(EffectLine);\nexport default EffectPolyline;"],"names":["EffectPolyline","_super","__extends","_this","lineData","idx","seriesScope","Polyline","symbol","points","accLenArr","len","i","p1","p2","vec2.dist","t","offsets","lastFrame","frame","start","p","p0","tx","ty","EffectLine"],"mappings":";;;;AA+CG,IAACA;AAAA;AAAA,GAA8B,SAAUC,GAAQ;AAClD,IAAAC,EAAUF,GAAgBC,CAAM;AAChC,aAASD,IAAiB;AACxB,UAAIG,IAAQF,MAAW,QAAQA,EAAO,MAAM,MAAM,SAAS,KAAK;AAChE,aAAAE,EAAM,aAAa,GACnBA,EAAM,oBAAoB,GACnBA;AAAA,IACT;AAEA,WAAAH,EAAe,UAAU,aAAa,SAAUI,GAAUC,GAAKC,GAAa;AAC1E,aAAO,IAAIC,EAASH,GAAUC,GAAKC,CAAW;AAAA,IAChD,GAGAN,EAAe,UAAU,yBAAyB,SAAUQ,GAAQC,GAAQ;AAC1E,WAAK,UAAUA;AAGf,eAFIC,IAAY,CAAC,CAAC,GACdC,IAAM,GACDC,IAAI,GAAGA,IAAIH,EAAO,QAAQG,KAAK;AACtC,YAAIC,IAAKJ,EAAOG,IAAI,CAAC,GACjBE,IAAKL,EAAOG,CAAC;AACjB,QAAAD,KAAOI,EAAUF,GAAIC,CAAE,GACvBJ,EAAU,KAAKC,CAAG;AAAA,MACpB;AACA,UAAIA,MAAQ,GAAG;AACb,aAAK,UAAU;AACf;AAAA,MACF;AACA,eAASC,IAAI,GAAGA,IAAIF,EAAU,QAAQE;AACpC,QAAAF,EAAUE,CAAC,KAAKD;AAElB,WAAK,WAAWD,GAChB,KAAK,UAAUC;AAAA,IACjB,GAGAX,EAAe,UAAU,iBAAiB,WAAY;AACpD,aAAO,KAAK;AAAA,IACd,GAGAA,EAAe,UAAU,wBAAwB,SAAUQ,GAAQ;AACjE,UAAIQ,IAAIR,EAAO,MAAM,IAAIA,EAAO,M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;AAAA;","x_google_ignoreList":[0]}
@@ -0,0 +1,90 @@
1
+ import { __extends as d } from "../../../node_modules/tslib/tslib.es6.js";
2
+ import { createSymbol as S, normalizeSymbolSize as g, normalizeSymbolOffset as A } from "../../util/symbol.js";
3
+ import "../../util/graphic.js";
4
+ import { enterEmphasis as z, leaveEmphasis as w, toggleHoverEmphasis as O } from "../../util/states.js";
5
+ import T from "./Symbol.js";
6
+ import v from "../../../../zrender/lib/graphic/Group.js";
7
+ function b(f, o) {
8
+ var e = o.rippleEffectColor || o.color;
9
+ f.eachChild(function(r) {
10
+ r.attr({
11
+ z: o.z,
12
+ zlevel: o.zlevel,
13
+ style: {
14
+ stroke: o.brushType === "stroke" ? e : null,
15
+ fill: o.brushType === "fill" ? e : null
16
+ }
17
+ });
18
+ });
19
+ }
20
+ var N = (
21
+ /** @class */
22
+ (function(f) {
23
+ d(o, f);
24
+ function o(e, r) {
25
+ var s = f.call(this) || this, p = new T(e, r), l = new v();
26
+ return s.add(p), s.add(l), s.updateData(e, r), s;
27
+ }
28
+ return o.prototype.stopEffectAnimation = function() {
29
+ this.childAt(1).removeAll();
30
+ }, o.prototype.startEffectAnimation = function(e) {
31
+ for (var r = e.symbolType, s = e.color, p = e.rippleNumber, l = this.childAt(1), i = 0; i < p; i++) {
32
+ var a = S(r, -1, -1, 2, 2, s);
33
+ a.attr({
34
+ style: {
35
+ strokeNoScale: !0
36
+ },
37
+ z2: 99,
38
+ silent: !0,
39
+ scaleX: 0.5,
40
+ scaleY: 0.5
41
+ });
42
+ var n = -i / p * e.period + e.effectOffset;
43
+ a.animate("", !0).when(e.period, {
44
+ scaleX: e.rippleScale / 2,
45
+ scaleY: e.rippleScale / 2
46
+ }).delay(n).start(), a.animateStyle(!0).when(e.period, {
47
+ opacity: 0
48
+ }).delay(n).start(), l.add(a);
49
+ }
50
+ b(l, e);
51
+ }, o.prototype.updateEffectAnimation = function(e) {
52
+ for (var r = this._effectCfg, s = this.childAt(1), p = ["symbolType", "period", "rippleScale", "rippleNumber"], l = 0; l < p.length; l++) {
53
+ var i = p[l];
54
+ if (r[i] !== e[i]) {
55
+ this.stopEffectAnimation(), this.startEffectAnimation(e);
56
+ return;
57
+ }
58
+ }
59
+ b(s, e);
60
+ }, o.prototype.highlight = function() {
61
+ z(this);
62
+ }, o.prototype.downplay = function() {
63
+ w(this);
64
+ }, o.prototype.getSymbolType = function() {
65
+ var e = this.childAt(0);
66
+ return e && e.getSymbolType();
67
+ }, o.prototype.updateData = function(e, r) {
68
+ var s = this, p = e.hostModel;
69
+ this.childAt(0).updateData(e, r);
70
+ var l = this.childAt(1), i = e.getItemModel(r), a = e.getItemVisual(r, "symbol"), n = g(e.getItemVisual(r, "symbolSize")), u = e.getItemVisual(r, "style"), y = u && u.fill, c = i.getModel("emphasis");
71
+ l.setScale(n), l.traverse(function(m) {
72
+ m.setStyle("fill", y);
73
+ });
74
+ var h = A(e.getItemVisual(r, "symbolOffset"), n);
75
+ h && (l.x = h[0], l.y = h[1]);
76
+ var E = e.getItemVisual(r, "symbolRotate");
77
+ l.rotation = (E || 0) * Math.PI / 180 || 0;
78
+ var t = {};
79
+ t.showEffectOn = p.get("showEffectOn"), t.rippleScale = i.get(["rippleEffect", "scale"]), t.brushType = i.get(["rippleEffect", "brushType"]), t.period = i.get(["rippleEffect", "period"]) * 1e3, t.effectOffset = r / e.count(), t.z = p.getShallow("z") || 0, t.zlevel = p.getShallow("zlevel") || 0, t.symbolType = a, t.color = y, t.rippleEffectColor = i.get(["rippleEffect", "color"]), t.rippleNumber = i.get(["rippleEffect", "number"]), t.showEffectOn === "render" ? (this._effectCfg ? this.updateEffectAnimation(t) : this.startEffectAnimation(t), this._effectCfg = t) : (this._effectCfg = null, this.stopEffectAnimation(), this.onHoverStateChange = function(m) {
80
+ m === "emphasis" ? t.showEffectOn !== "render" && s.startEffectAnimation(t) : m === "normal" && t.showEffectOn !== "render" && s.stopEffectAnimation();
81
+ }), this._effectCfg = t, O(this, c.get("focus"), c.get("blurScope"), c.get("disabled"));
82
+ }, o.prototype.fadeOut = function(e) {
83
+ e && e();
84
+ }, o;
85
+ })(v)
86
+ );
87
+ export {
88
+ N as default
89
+ };
90
+ //# sourceMappingURL=EffectSymbol.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EffectSymbol.js","sources":["../../../../../../node_modules/echarts/lib/chart/helper/EffectSymbol.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 { createSymbol, normalizeSymbolOffset, normalizeSymbolSize } from '../../util/symbol.js';\nimport { Group } from '../../util/graphic.js';\nimport { enterEmphasis, leaveEmphasis, toggleHoverEmphasis } from '../../util/states.js';\nimport SymbolClz from './Symbol.js';\nfunction updateRipplePath(rippleGroup, effectCfg) {\n var color = effectCfg.rippleEffectColor || effectCfg.color;\n rippleGroup.eachChild(function (ripplePath) {\n ripplePath.attr({\n z: effectCfg.z,\n zlevel: effectCfg.zlevel,\n style: {\n stroke: effectCfg.brushType === 'stroke' ? color : null,\n fill: effectCfg.brushType === 'fill' ? color : null\n }\n });\n });\n}\nvar EffectSymbol = /** @class */function (_super) {\n __extends(EffectSymbol, _super);\n function EffectSymbol(data, idx) {\n var _this = _super.call(this) || this;\n var symbol = new SymbolClz(data, idx);\n var rippleGroup = new Group();\n _this.add(symbol);\n _this.add(rippleGroup);\n _this.updateData(data, idx);\n return _this;\n }\n EffectSymbol.prototype.stopEffectAnimation = function () {\n this.childAt(1).removeAll();\n };\n EffectSymbol.prototype.startEffectAnimation = function (effectCfg) {\n var symbolType = effectCfg.symbolType;\n var color = effectCfg.color;\n var rippleNumber = effectCfg.rippleNumber;\n var rippleGroup = this.childAt(1);\n for (var i = 0; i < rippleNumber; i++) {\n // If width/height are set too small (e.g., set to 1) on ios10\n // and macOS Sierra, a circle stroke become a rect, no matter what\n // the scale is set. So we set width/height as 2. See #4136.\n var ripplePath = createSymbol(symbolType, -1, -1, 2, 2, color);\n ripplePath.attr({\n style: {\n strokeNoScale: true\n },\n z2: 99,\n silent: true,\n scaleX: 0.5,\n scaleY: 0.5\n });\n var delay = -i / rippleNumber * effectCfg.period + effectCfg.effectOffset;\n ripplePath.animate('', true).when(effectCfg.period, {\n scaleX: effectCfg.rippleScale / 2,\n scaleY: effectCfg.rippleScale / 2\n }).delay(delay).start();\n ripplePath.animateStyle(true).when(effectCfg.period, {\n opacity: 0\n }).delay(delay).start();\n rippleGroup.add(ripplePath);\n }\n updateRipplePath(rippleGroup, effectCfg);\n };\n /**\r\n * Update effect symbol\r\n */\n EffectSymbol.prototype.updateEffectAnimation = function (effectCfg) {\n var oldEffectCfg = this._effectCfg;\n var rippleGroup = this.childAt(1);\n // Must reinitialize effect if following configuration changed\n var DIFFICULT_PROPS = ['symbolType', 'period', 'rippleScale', 'rippleNumber'];\n for (var i = 0; i < DIFFICULT_PROPS.length; i++) {\n var propName = DIFFICULT_PROPS[i];\n if (oldEffectCfg[propName] !== effectCfg[propName]) {\n this.stopEffectAnimation();\n this.startEffectAnimation(effectCfg);\n return;\n }\n }\n updateRipplePath(rippleGroup, effectCfg);\n };\n /**\r\n * Highlight symbol\r\n */\n EffectSymbol.prototype.highlight = function () {\n enterEmphasis(this);\n };\n /**\r\n * Downplay symbol\r\n */\n EffectSymbol.prototype.downplay = function () {\n leaveEmphasis(this);\n };\n EffectSymbol.prototype.getSymbolType = function () {\n var symbol = this.childAt(0);\n return symbol && symbol.getSymbolType();\n };\n /**\r\n * Update symbol properties\r\n */\n EffectSymbol.prototype.updateData = function (data, idx) {\n var _this = this;\n var seriesModel = data.hostModel;\n this.childAt(0).updateData(data, idx);\n var rippleGroup = this.childAt(1);\n var itemModel = data.getItemModel(idx);\n var symbolType = data.getItemVisual(idx, 'symbol');\n var symbolSize = normalizeSymbolSize(data.getItemVisual(idx, 'symbolSize'));\n var symbolStyle = data.getItemVisual(idx, 'style');\n var color = symbolStyle && symbolStyle.fill;\n var emphasisModel = itemModel.getModel('emphasis');\n rippleGroup.setScale(symbolSize);\n rippleGroup.traverse(function (ripplePath) {\n ripplePath.setStyle('fill', color);\n });\n var symbolOffset = normalizeSymbolOffset(data.getItemVisual(idx, 'symbolOffset'), symbolSize);\n if (symbolOffset) {\n rippleGroup.x = symbolOffset[0];\n rippleGroup.y = symbolOffset[1];\n }\n var symbolRotate = data.getItemVisual(idx, 'symbolRotate');\n rippleGroup.rotation = (symbolRotate || 0) * Math.PI / 180 || 0;\n var effectCfg = {};\n effectCfg.showEffectOn = seriesModel.get('showEffectOn');\n effectCfg.rippleScale = itemModel.get(['rippleEffect', 'scale']);\n effectCfg.brushType = itemModel.get(['rippleEffect', 'brushType']);\n effectCfg.period = itemModel.get(['rippleEffect', 'period']) * 1000;\n effectCfg.effectOffset = idx / data.count();\n effectCfg.z = seriesModel.getShallow('z') || 0;\n effectCfg.zlevel = seriesModel.getShallow('zlevel') || 0;\n effectCfg.symbolType = symbolType;\n effectCfg.color = color;\n effectCfg.rippleEffectColor = itemModel.get(['rippleEffect', 'color']);\n effectCfg.rippleNumber = itemModel.get(['rippleEffect', 'number']);\n if (effectCfg.showEffectOn === 'render') {\n this._effectCfg ? this.updateEffectAnimation(effectCfg) : this.startEffectAnimation(effectCfg);\n this._effectCfg = effectCfg;\n } else {\n // Not keep old effect config\n this._effectCfg = null;\n this.stopEffectAnimation();\n this.onHoverStateChange = function (toState) {\n if (toState === 'emphasis') {\n if (effectCfg.showEffectOn !== 'render') {\n _this.startEffectAnimation(effectCfg);\n }\n } else if (toState === 'normal') {\n if (effectCfg.showEffectOn !== 'render') {\n _this.stopEffectAnimation();\n }\n }\n };\n }\n this._effectCfg = effectCfg;\n toggleHoverEmphasis(this, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled'));\n };\n ;\n EffectSymbol.prototype.fadeOut = function (cb) {\n cb && cb();\n };\n ;\n return EffectSymbol;\n}(Group);\nexport default EffectSymbol;"],"names":["updateRipplePath","rippleGroup","effectCfg","color","ripplePath","EffectSymbol","_super","__extends","data","idx","_this","symbol","SymbolClz","Group","symbolType","rippleNumber","createSymbol","delay","oldEffectCfg","DIFFICULT_PROPS","i","propName","enterEmphasis","leaveEmphasis","seriesModel","itemModel","symbolSize","normalizeSymbolSize","symbolStyle","emphasisModel","symbolOffset","normalizeSymbolOffset","symbolRotate","toState","toggleHoverEmphasis","cb"],"mappings":";;;;;;AAgDA,SAASA,EAAiBC,GAAaC,GAAW;AAChD,MAAIC,IAAQD,EAAU,qBAAqBA,EAAU;AACrD,EAAAD,EAAY,UAAU,SAAUG,GAAY;AAC1C,IAAAA,EAAW,KAAK;AAAA,MACd,GAAGF,EAAU;AAAA,MACb,QAAQA,EAAU;AAAA,MAClB,OAAO;AAAA,QACL,QAAQA,EAAU,cA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