@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,320 @@
1
+ import { __extends as E } from "../../../node_modules/tslib/tslib.es6.js";
2
+ import { concatArray as H, defaults as F } from "../../../../zrender/lib/core/util.js";
3
+ import { getECData as U } from "../../util/innerStore.js";
4
+ import $ from "../helper/Symbol.js";
5
+ import { radialCoordinate as w } from "./layoutHelper.js";
6
+ import { fromPoints as j } from "../../../../zrender/lib/core/bbox.js";
7
+ import q from "../../coord/View.js";
8
+ import { updateViewOnPan as J, updateViewOnZoom as K } from "../../component/helper/roamHelper.js";
9
+ import Q from "../../component/helper/RoamController.js";
10
+ import { onIrrelevantElement as W } from "../../component/helper/cursorHelper.js";
11
+ import { parsePercent as b } from "../../util/number.js";
12
+ import M from "../../view/Chart.js";
13
+ import tt from "../../../../zrender/lib/graphic/Path.js";
14
+ import { HOVER_STATE_BLUR as et, setStatesFlag as at, setStatesStylesFromModel as rt, setDefaultStateProxy as nt } from "../../util/states.js";
15
+ import ot from "../../../../zrender/lib/graphic/Group.js";
16
+ import it from "../../../../zrender/lib/graphic/shape/BezierCurve.js";
17
+ import { updateProps as I, removeElement as T } from "../../animation/basicTransition.js";
18
+ var ct = (
19
+ /** @class */
20
+ /* @__PURE__ */ (function() {
21
+ function c() {
22
+ this.parentPoint = [], this.childPoints = [];
23
+ }
24
+ return c;
25
+ })()
26
+ ), lt = (
27
+ /** @class */
28
+ (function(c) {
29
+ E(a, c);
30
+ function a(t) {
31
+ return c.call(this, t) || this;
32
+ }
33
+ return a.prototype.getDefaultStyle = function() {
34
+ return {
35
+ stroke: "#000",
36
+ fill: null
37
+ };
38
+ }, a.prototype.getDefaultShape = function() {
39
+ return new ct();
40
+ }, a.prototype.buildPath = function(t, i) {
41
+ var l = i.childPoints, f = l.length, e = i.parentPoint, o = l[0], v = l[f - 1];
42
+ if (f === 1) {
43
+ t.moveTo(e[0], e[1]), t.lineTo(o[0], o[1]);
44
+ return;
45
+ }
46
+ var n = i.orient, r = n === "TB" || n === "BT" ? 0 : 1, u = 1 - r, p = b(i.forkPosition, 1), d = [];
47
+ d[r] = e[r], d[u] = e[u] + (v[u] - e[u]) * p, t.moveTo(e[0], e[1]), t.lineTo(d[0], d[1]), t.moveTo(o[0], o[1]), d[r] = o[r], t.lineTo(d[0], d[1]), d[r] = v[r], t.lineTo(d[0], d[1]), t.lineTo(v[0], v[1]);
48
+ for (var m = 1; m < f - 1; m++) {
49
+ var h = l[m];
50
+ t.moveTo(h[0], h[1]), d[r] = h[r], t.lineTo(d[0], d[1]);
51
+ }
52
+ }, a;
53
+ })(tt)
54
+ ), Dt = (
55
+ /** @class */
56
+ (function(c) {
57
+ E(a, c);
58
+ function a() {
59
+ var t = c !== null && c.apply(this, arguments) || this;
60
+ return t.type = a.type, t._mainGroup = new ot(), t;
61
+ }
62
+ return a.prototype.init = function(t, i) {
63
+ this._controller = new Q(i.getZr()), this._controllerHost = {
64
+ target: this.group
65
+ }, this.group.add(this._mainGroup);
66
+ }, a.prototype.render = function(t, i, l) {
67
+ var f = t.getData(), e = t.layoutInfo, o = this._mainGroup, v = t.get("layout");
68
+ v === "radial" ? (o.x = e.x + e.width / 2, o.y = e.y + e.height / 2) : (o.x = e.x, o.y = e.y), this._updateViewCoordSys(t, l), this._updateController(t, i, l);
69
+ var n = this._data;
70
+ f.diff(n).add(function(r) {
71
+ A(f, r) && O(f, r, null, o, t);
72
+ }).update(function(r, u) {
73
+ var p = n.getItemGraphicEl(u);
74
+ if (!A(f, r)) {
75
+ p && B(n, u, p, o, t);
76
+ return;
77
+ }
78
+ O(f, r, p, o, t);
79
+ }).remove(function(r) {
80
+ var u = n.getItemGraphicEl(r);
81
+ u && B(n, r, u, o, t);
82
+ }).execute(), this._nodeScaleRatio = t.get("nodeScaleRatio"), this._updateNodeAndLinkScale(t), t.get("expandAndCollapse") === !0 && f.eachItemGraphicEl(function(r, u) {
83
+ r.off("click").on("click", function() {
84
+ l.dispatchAction({
85
+ type: "treeExpandAndCollapse",
86
+ seriesId: t.id,
87
+ dataIndex: u
88
+ });
89
+ });
90
+ }), this._data = f;
91
+ }, a.prototype._updateViewCoordSys = function(t, i) {
92
+ var l = t.getData(), f = [];
93
+ l.each(function(u) {
94
+ var p = l.getItemLayout(u);
95
+ p && !isNaN(p.x) && !isNaN(p.y) && f.push([+p.x, +p.y]);
96
+ });
97
+ var e = [], o = [];
98
+ j(f, e, o);
99
+ var v = this._min, n = this._max;
100
+ o[0] - e[0] === 0 && (e[0] = v ? v[0] : e[0] - 1, o[0] = n ? n[0] : o[0] + 1), o[1] - e[1] === 0 && (e[1] = v ? v[1] : e[1] - 1, o[1] = n ? n[1] : o[1] + 1);
101
+ var r = t.coordinateSystem = new q();
102
+ r.zoomLimit = t.get("scaleLimit"), r.setBoundingRect(e[0], e[1], o[0] - e[0], o[1] - e[1]), r.setCenter(t.get("center"), i), r.setZoom(t.get("zoom")), this.group.attr({
103
+ x: r.x,
104
+ y: r.y,
105
+ scaleX: r.scaleX,
106
+ scaleY: r.scaleY
107
+ }), this._min = e, this._max = o;
108
+ }, a.prototype._updateController = function(t, i, l) {
109
+ var f = this, e = this._controller, o = this._controllerHost, v = this.group;
110
+ e.setPointerChecker(function(n, r, u) {
111
+ var p = v.getBoundingRect();
112
+ return p.applyTransform(v.transform), p.contain(r, u) && !W(n, l, t);
113
+ }), e.enable(t.get("roam")), o.zoomLimit = t.get("scaleLimit"), o.zoom = t.coordinateSystem.getZoom(), e.off("pan").off("zoom").on("pan", function(n) {
114
+ J(o, n.dx, n.dy), l.dispatchAction({
115
+ seriesId: t.id,
116
+ type: "treeRoam",
117
+ dx: n.dx,
118
+ dy: n.dy
119
+ });
120
+ }).on("zoom", function(n) {
121
+ K(o, n.scale, n.originX, n.originY), l.dispatchAction({
122
+ seriesId: t.id,
123
+ type: "treeRoam",
124
+ zoom: n.scale,
125
+ originX: n.originX,
126
+ originY: n.originY
127
+ }), f._updateNodeAndLinkScale(t), l.updateLabelLayout();
128
+ });
129
+ }, a.prototype._updateNodeAndLinkScale = function(t) {
130
+ var i = t.getData(), l = this._getNodeGlobalScale(t);
131
+ i.eachItemGraphicEl(function(f, e) {
132
+ f.setSymbolScale(l);
133
+ });
134
+ }, a.prototype._getNodeGlobalScale = function(t) {
135
+ var i = t.coordinateSystem;
136
+ if (i.type !== "view")
137
+ return 1;
138
+ var l = this._nodeScaleRatio, f = i.scaleX || 1, e = i.getZoom(), o = (e - 1) * l + 1;
139
+ return o / f;
140
+ }, a.prototype.dispose = function() {
141
+ this._controller && this._controller.dispose(), this._controllerHost = null;
142
+ }, a.prototype.remove = function() {
143
+ this._mainGroup.removeAll(), this._data = null;
144
+ }, a.type = "tree", a;
145
+ })(M)
146
+ );
147
+ function A(c, a) {
148
+ var t = c.getItemLayout(a);
149
+ return t && !isNaN(t.x) && !isNaN(t.y);
150
+ }
151
+ function O(c, a, t, i, l) {
152
+ var f = !t, e = c.tree.getNodeByDataIndex(a), o = e.getModel(), v = e.getVisual("style").fill, n = e.isExpand === !1 && e.children.length !== 0 ? v : "#fff", r = c.tree.root, u = e.parentNode === r ? e : e.parentNode || e, p = c.getItemGraphicEl(u.dataIndex), d = u.getLayout(), m = p ? {
153
+ x: p.__oldX,
154
+ y: p.__oldY,
155
+ rawX: p.__radialOldRawX,
156
+ rawY: p.__radialOldRawY
157
+ } : d, h = e.getLayout();
158
+ f ? (t = new $(c, a, null, {
159
+ symbolInnerColor: n,
160
+ useNameLabel: !0
161
+ }), t.x = m.x, t.y = m.y) : t.updateData(c, a, null, {
162
+ symbolInnerColor: n,
163
+ useNameLabel: !0
164
+ }), t.__radialOldRawX = t.__radialRawX, t.__radialOldRawY = t.__radialRawY, t.__radialRawX = h.rawX, t.__radialRawY = h.rawY, i.add(t), c.setItemGraphicEl(a, t), t.__oldX = t.x, t.__oldY = t.y, I(t, {
165
+ x: h.x,
166
+ y: h.y
167
+ }, l);
168
+ var s = t.getSymbolPath();
169
+ if (l.get("layout") === "radial") {
170
+ var _ = r.children[0], y = _.getLayout(), S = _.children.length, g = void 0, x = void 0;
171
+ if (h.x === y.x && e.isExpand === !0 && _.children.length) {
172
+ var P = {
173
+ x: (_.children[0].getLayout().x + _.children[S - 1].getLayout().x) / 2,
174
+ y: (_.children[0].getLayout().y + _.children[S - 1].getLayout().y) / 2
175
+ };
176
+ g = Math.atan2(P.y - y.y, P.x - y.x), g < 0 && (g = Math.PI * 2 + g), x = P.x < y.x, x && (g = g - Math.PI);
177
+ } else
178
+ g = Math.atan2(h.y - y.y, h.x - y.x), g < 0 && (g = Math.PI * 2 + g), e.children.length === 0 || e.children.length !== 0 && e.isExpand === !1 ? (x = h.x < y.x, x && (g = g - Math.PI)) : (x = h.x > y.x, x || (g = g - Math.PI));
179
+ var z = x ? "left" : "right", C = o.getModel("label"), G = C.get("rotate"), Z = G * (Math.PI / 180), R = s.getTextContent();
180
+ R && (s.setTextConfig({
181
+ position: C.get("position") || z,
182
+ rotation: G == null ? -g : Z,
183
+ origin: "center"
184
+ }), R.setStyle("verticalAlign", "middle"));
185
+ }
186
+ var N = o.get(["emphasis", "focus"]), X = N === "relative" ? H(e.getAncestorsIndices(), e.getDescendantIndices()) : N === "ancestor" ? e.getAncestorsIndices() : N === "descendant" ? e.getDescendantIndices() : null;
187
+ X && (U(t).focus = X), pt(l, e, r, t, m, d, h, i), t.__edge && (t.onHoverStateChange = function(Y) {
188
+ if (Y !== "blur") {
189
+ var k = e.parentNode && c.getItemGraphicEl(e.parentNode.dataIndex);
190
+ k && k.hoverState === et || at(t.__edge, Y);
191
+ }
192
+ });
193
+ }
194
+ function pt(c, a, t, i, l, f, e, o) {
195
+ var v = a.getModel(), n = c.get("edgeShape"), r = c.get("layout"), u = c.getOrient(), p = c.get(["lineStyle", "curveness"]), d = c.get("edgeForkPosition"), m = v.getModel("lineStyle").getLineStyle(), h = i.__edge;
196
+ if (n === "curve")
197
+ a.parentNode && a.parentNode !== t && (h || (h = i.__edge = new it({
198
+ shape: D(r, u, p, l, l)
199
+ })), I(h, {
200
+ shape: D(r, u, p, f, e)
201
+ }, c));
202
+ else if (n === "polyline") {
203
+ if (r === "orthogonal") {
204
+ if (a !== t && a.children && a.children.length !== 0 && a.isExpand === !0) {
205
+ for (var s = a.children, _ = [], y = 0; y < s.length; y++) {
206
+ var S = s[y].getLayout();
207
+ _.push([S.x, S.y]);
208
+ }
209
+ h || (h = i.__edge = new lt({
210
+ shape: {
211
+ parentPoint: [e.x, e.y],
212
+ childPoints: [[e.x, e.y]],
213
+ orient: u,
214
+ forkPosition: d
215
+ }
216
+ })), I(h, {
217
+ shape: {
218
+ parentPoint: [e.x, e.y],
219
+ childPoints: _
220
+ }
221
+ }, c);
222
+ }
223
+ } else if (process.env.NODE_ENV !== "production")
224
+ throw new Error("The polyline edgeShape can only be used in orthogonal layout");
225
+ }
226
+ h && !(n === "polyline" && !a.isExpand) && (h.useStyle(F({
227
+ strokeNoScale: !0,
228
+ fill: null
229
+ }, m)), rt(h, v, "lineStyle"), nt(h), o.add(h));
230
+ }
231
+ function V(c, a, t, i, l) {
232
+ var f = a.tree.root, e = L(f, c), o = e.source, v = e.sourceLayout, n = a.getItemGraphicEl(c.dataIndex);
233
+ if (n) {
234
+ var r = a.getItemGraphicEl(o.dataIndex), u = r.__edge, p = n.__edge || (o.isExpand === !1 || o.children.length === 1 ? u : void 0), d = i.get("edgeShape"), m = i.get("layout"), h = i.get("orient"), s = i.get(["lineStyle", "curveness"]);
235
+ p && (d === "curve" ? T(p, {
236
+ shape: D(m, h, s, v, v),
237
+ style: {
238
+ opacity: 0
239
+ }
240
+ }, i, {
241
+ cb: function() {
242
+ t.remove(p);
243
+ },
244
+ removeOpt: l
245
+ }) : d === "polyline" && i.get("layout") === "orthogonal" && T(p, {
246
+ shape: {
247
+ parentPoint: [v.x, v.y],
248
+ childPoints: [[v.x, v.y]]
249
+ },
250
+ style: {
251
+ opacity: 0
252
+ }
253
+ }, i, {
254
+ cb: function() {
255
+ t.remove(p);
256
+ },
257
+ removeOpt: l
258
+ }));
259
+ }
260
+ }
261
+ function L(c, a) {
262
+ for (var t = a.parentNode === c ? a : a.parentNode || a, i; i = t.getLayout(), i == null; )
263
+ t = t.parentNode === c ? t : t.parentNode || t;
264
+ return {
265
+ source: t,
266
+ sourceLayout: i
267
+ };
268
+ }
269
+ function B(c, a, t, i, l) {
270
+ var f = c.tree.getNodeByDataIndex(a), e = c.tree.root, o = L(e, f).sourceLayout, v = {
271
+ duration: l.get("animationDurationUpdate"),
272
+ easing: l.get("animationEasingUpdate")
273
+ };
274
+ T(t, {
275
+ x: o.x + 1,
276
+ y: o.y + 1
277
+ }, l, {
278
+ cb: function() {
279
+ i.remove(t), c.setItemGraphicEl(a, null);
280
+ },
281
+ removeOpt: v
282
+ }), t.fadeOut(null, c.hostModel, {
283
+ fadeLabel: !0,
284
+ animation: v
285
+ }), f.children.forEach(function(n) {
286
+ V(n, c, i, l, v);
287
+ }), V(f, c, i, l, v);
288
+ }
289
+ function D(c, a, t, i, l) {
290
+ var f, e, o, v, n, r, u, p;
291
+ if (c === "radial") {
292
+ n = i.rawX, u = i.rawY, r = l.rawX, p = l.rawY;
293
+ var d = w(n, u), m = w(n, u + (p - u) * t), h = w(r, p + (u - p) * t), s = w(r, p);
294
+ return {
295
+ x1: d.x || 0,
296
+ y1: d.y || 0,
297
+ x2: s.x || 0,
298
+ y2: s.y || 0,
299
+ cpx1: m.x || 0,
300
+ cpy1: m.y || 0,
301
+ cpx2: h.x || 0,
302
+ cpy2: h.y || 0
303
+ };
304
+ } else
305
+ n = i.x, u = i.y, r = l.x, p = l.y, (a === "LR" || a === "RL") && (f = n + (r - n) * t, e = u, o = r + (n - r) * t, v = p), (a === "TB" || a === "BT") && (f = n, e = u + (p - u) * t, o = r, v = p + (u - p) * t);
306
+ return {
307
+ x1: n,
308
+ y1: u,
309
+ x2: r,
310
+ y2: p,
311
+ cpx1: f,
312
+ cpy1: e,
313
+ cpx2: o,
314
+ cpy2: v
315
+ };
316
+ }
317
+ export {
318
+ Dt as default
319
+ };
320
+ //# sourceMappingURL=TreeView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TreeView.js","sources":["../../../../../../node_modules/echarts/lib/chart/tree/TreeView.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport { __extends } from \"tslib\";\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport * as graphic from '../../util/graphic.js';\nimport { getECData } from '../../util/innerStore.js';\nimport SymbolClz from '../helper/Symbol.js';\nimport { radialCoordinate } from './layoutHelper.js';\nimport * as bbox from 'zrender/lib/core/bbox.js';\nimport View from '../../coord/View.js';\nimport * as roamHelper from '../../component/helper/roamHelper.js';\nimport RoamController from '../../component/helper/RoamController.js';\nimport { onIrrelevantElement } from '../../component/helper/cursorHelper.js';\nimport { parsePercent } from '../../util/number.js';\nimport ChartView from '../../view/Chart.js';\nimport Path from 'zrender/lib/graphic/Path.js';\nimport { setStatesStylesFromModel, setStatesFlag, setDefaultStateProxy, HOVER_STATE_BLUR } from '../../util/states.js';\nvar TreeEdgeShape = /** @class */function () {\n function TreeEdgeShape() {\n this.parentPoint = [];\n this.childPoints = [];\n }\n return TreeEdgeShape;\n}();\nvar TreePath = /** @class */function (_super) {\n __extends(TreePath, _super);\n function TreePath(opts) {\n return _super.call(this, opts) || this;\n }\n TreePath.prototype.getDefaultStyle = function () {\n return {\n stroke: '#000',\n fill: null\n };\n };\n TreePath.prototype.getDefaultShape = function () {\n return new TreeEdgeShape();\n };\n TreePath.prototype.buildPath = function (ctx, shape) {\n var childPoints = shape.childPoints;\n var childLen = childPoints.length;\n var parentPoint = shape.parentPoint;\n var firstChildPos = childPoints[0];\n var lastChildPos = childPoints[childLen - 1];\n if (childLen === 1) {\n ctx.moveTo(parentPoint[0], parentPoint[1]);\n ctx.lineTo(firstChildPos[0], firstChildPos[1]);\n return;\n }\n var orient = shape.orient;\n var forkDim = orient === 'TB' || orient === 'BT' ? 0 : 1;\n var otherDim = 1 - forkDim;\n var forkPosition = parsePercent(shape.forkPosition, 1);\n var tmpPoint = [];\n tmpPoint[forkDim] = parentPoint[forkDim];\n tmpPoint[otherDim] = parentPoint[otherDim] + (lastChildPos[otherDim] - parentPoint[otherDim]) * forkPosition;\n ctx.moveTo(parentPoint[0], parentPoint[1]);\n ctx.lineTo(tmpPoint[0], tmpPoint[1]);\n ctx.moveTo(firstChildPos[0], firstChildPos[1]);\n tmpPoint[forkDim] = firstChildPos[forkDim];\n ctx.lineTo(tmpPoint[0], tmpPoint[1]);\n tmpPoint[forkDim] = lastChildPos[forkDim];\n ctx.lineTo(tmpPoint[0], tmpPoint[1]);\n ctx.lineTo(lastChildPos[0], lastChildPos[1]);\n for (var i = 1; i < childLen - 1; i++) {\n var point = childPoints[i];\n ctx.moveTo(point[0], point[1]);\n tmpPoint[forkDim] = point[forkDim];\n ctx.lineTo(tmpPoint[0], tmpPoint[1]);\n }\n };\n return TreePath;\n}(Path);\nvar TreeView = /** @class */function (_super) {\n __extends(TreeView, _super);\n function TreeView() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = TreeView.type;\n _this._mainGroup = new graphic.Group();\n return _this;\n }\n TreeView.prototype.init = function (ecModel, api) {\n this._controller = new RoamController(api.getZr());\n this._controllerHost = {\n target: this.group\n };\n this.group.add(this._mainGroup);\n };\n TreeView.prototype.render = function (seriesModel, ecModel, api) {\n var data = seriesModel.getData();\n var layoutInfo = seriesModel.layoutInfo;\n var group = this._mainGroup;\n var layout = seriesModel.get('layout');\n if (layout === 'radial') {\n group.x = layoutInfo.x + layoutInfo.width / 2;\n group.y = layoutInfo.y + layoutInfo.height / 2;\n } else {\n group.x = layoutInfo.x;\n group.y = layoutInfo.y;\n }\n this._updateViewCoordSys(seriesModel, api);\n this._updateController(seriesModel, ecModel, api);\n var oldData = this._data;\n data.diff(oldData).add(function (newIdx) {\n if (symbolNeedsDraw(data, newIdx)) {\n // Create node and edge\n updateNode(data, newIdx, null, group, seriesModel);\n }\n }).update(function (newIdx, oldIdx) {\n var symbolEl = oldData.getItemGraphicEl(oldIdx);\n if (!symbolNeedsDraw(data, newIdx)) {\n symbolEl && removeNode(oldData, oldIdx, symbolEl, group, seriesModel);\n return;\n }\n // Update node and edge\n updateNode(data, newIdx, symbolEl, group, seriesModel);\n }).remove(function (oldIdx) {\n var symbolEl = oldData.getItemGraphicEl(oldIdx);\n // When remove a collapsed node of subtree, since the collapsed\n // node haven't been initialized with a symbol element,\n // you can't found it's symbol element through index.\n // so if we want to remove the symbol element we should insure\n // that the symbol element is not null.\n if (symbolEl) {\n removeNode(oldData, oldIdx, symbolEl, group, seriesModel);\n }\n }).execute();\n this._nodeScaleRatio = seriesModel.get('nodeScaleRatio');\n this._updateNodeAndLinkScale(seriesModel);\n if (seriesModel.get('expandAndCollapse') === true) {\n data.eachItemGraphicEl(function (el, dataIndex) {\n el.off('click').on('click', function () {\n api.dispatchAction({\n type: 'treeExpandAndCollapse',\n seriesId: seriesModel.id,\n dataIndex: dataIndex\n });\n });\n });\n }\n this._data = data;\n };\n TreeView.prototype._updateViewCoordSys = function (seriesModel, api) {\n var data = seriesModel.getData();\n var points = [];\n data.each(function (idx) {\n var layout = data.getItemLayout(idx);\n if (layout && !isNaN(layout.x) && !isNaN(layout.y)) {\n points.push([+layout.x, +layout.y]);\n }\n });\n var min = [];\n var max = [];\n bbox.fromPoints(points, min, max);\n // If don't Store min max when collapse the root node after roam,\n // the root node will disappear.\n var oldMin = this._min;\n var oldMax = this._max;\n // If width or height is 0\n if (max[0] - min[0] === 0) {\n min[0] = oldMin ? oldMin[0] : min[0] - 1;\n max[0] = oldMax ? oldMax[0] : max[0] + 1;\n }\n if (max[1] - min[1] === 0) {\n min[1] = oldMin ? oldMin[1] : min[1] - 1;\n max[1] = oldMax ? oldMax[1] : max[1] + 1;\n }\n var viewCoordSys = seriesModel.coordinateSystem = new View();\n viewCoordSys.zoomLimit = seriesModel.get('scaleLimit');\n viewCoordSys.setBoundingRect(min[0], min[1], max[0] - min[0], max[1] - min[1]);\n viewCoordSys.setCenter(seriesModel.get('center'), api);\n viewCoordSys.setZoom(seriesModel.get('zoom'));\n // Here we use viewCoordSys just for computing the 'position' and 'scale' of the group\n this.group.attr({\n x: viewCoordSys.x,\n y: viewCoordSys.y,\n scaleX: viewCoordSys.scaleX,\n scaleY: viewCoordSys.scaleY\n });\n this._min = min;\n this._max = max;\n };\n TreeView.prototype._updateController = function (seriesModel, ecModel, api) {\n var _this = this;\n var controller = this._controller;\n var controllerHost = this._controllerHost;\n var group = this.group;\n controller.setPointerChecker(function (e, x, y) {\n var rect = group.getBoundingRect();\n rect.applyTransform(group.transform);\n return rect.contain(x, y) && !onIrrelevantElement(e, api, seriesModel);\n });\n controller.enable(seriesModel.get('roam'));\n controllerHost.zoomLimit = seriesModel.get('scaleLimit');\n controllerHost.zoom = seriesModel.coordinateSystem.getZoom();\n controller.off('pan').off('zoom').on('pan', function (e) {\n roamHelper.updateViewOnPan(controllerHost, e.dx, e.dy);\n api.dispatchAction({\n seriesId: seriesModel.id,\n type: 'treeRoam',\n dx: e.dx,\n dy: e.dy\n });\n }).on('zoom', function (e) {\n roamHelper.updateViewOnZoom(controllerHost, e.scale, e.originX, e.originY);\n api.dispatchAction({\n seriesId: seriesModel.id,\n type: 'treeRoam',\n zoom: e.scale,\n originX: e.originX,\n originY: e.originY\n });\n _this._updateNodeAndLinkScale(seriesModel);\n // Only update label layout on zoom\n api.updateLabelLayout();\n });\n };\n TreeView.prototype._updateNodeAndLinkScale = function (seriesModel) {\n var data = seriesModel.getData();\n var nodeScale = this._getNodeGlobalScale(seriesModel);\n data.eachItemGraphicEl(function (el, idx) {\n el.setSymbolScale(nodeScale);\n });\n };\n TreeView.prototype._getNodeGlobalScale = function (seriesModel) {\n var coordSys = seriesModel.coordinateSystem;\n if (coordSys.type !== 'view') {\n return 1;\n }\n var nodeScaleRatio = this._nodeScaleRatio;\n var groupZoom = coordSys.scaleX || 1;\n // Scale node when zoom changes\n var roamZoom = coordSys.getZoom();\n var nodeScale = (roamZoom - 1) * nodeScaleRatio + 1;\n return nodeScale / groupZoom;\n };\n TreeView.prototype.dispose = function () {\n this._controller && this._controller.dispose();\n this._controllerHost = null;\n };\n TreeView.prototype.remove = function () {\n this._mainGroup.removeAll();\n this._data = null;\n };\n TreeView.type = 'tree';\n return TreeView;\n}(ChartView);\nfunction symbolNeedsDraw(data, dataIndex) {\n var layout = data.getItemLayout(dataIndex);\n return layout && !isNaN(layout.x) && !isNaN(layout.y);\n}\nfunction updateNode(data, dataIndex, symbolEl, group, seriesModel) {\n var isInit = !symbolEl;\n var node = data.tree.getNodeByDataIndex(dataIndex);\n var itemModel = node.getModel();\n var visualColor = node.getVisual('style').fill;\n var symbolInnerColor = node.isExpand === false && node.children.length !== 0 ? visualColor : '#fff';\n var virtualRoot = data.tree.root;\n var source = node.parentNode === virtualRoot ? node : node.parentNode || node;\n var sourceSymbolEl = data.getItemGraphicEl(source.dataIndex);\n var sourceLayout = source.getLayout();\n var sourceOldLayout = sourceSymbolEl ? {\n x: sourceSymbolEl.__oldX,\n y: sourceSymbolEl.__oldY,\n rawX: sourceSymbolEl.__radialOldRawX,\n rawY: sourceSymbolEl.__radialOldRawY\n } : sourceLayout;\n var targetLayout = node.getLayout();\n if (isInit) {\n symbolEl = new SymbolClz(data, dataIndex, null, {\n symbolInnerColor: symbolInnerColor,\n useNameLabel: true\n });\n symbolEl.x = sourceOldLayout.x;\n symbolEl.y = sourceOldLayout.y;\n } else {\n symbolEl.updateData(data, dataIndex, null, {\n symbolInnerColor: symbolInnerColor,\n useNameLabel: true\n });\n }\n symbolEl.__radialOldRawX = symbolEl.__radialRawX;\n symbolEl.__radialOldRawY = symbolEl.__radialRawY;\n symbolEl.__radialRawX = targetLayout.rawX;\n symbolEl.__radialRawY = targetLayout.rawY;\n group.add(symbolEl);\n data.setItemGraphicEl(dataIndex, symbolEl);\n symbolEl.__oldX = symbolEl.x;\n symbolEl.__oldY = symbolEl.y;\n graphic.updateProps(symbolEl, {\n x: targetLayout.x,\n y: targetLayout.y\n }, seriesModel);\n var symbolPath = symbolEl.getSymbolPath();\n if (seriesModel.get('layout') === 'radial') {\n var realRoot = virtualRoot.children[0];\n var rootLayout = realRoot.getLayout();\n var length_1 = realRoot.children.length;\n var rad = void 0;\n var isLeft = void 0;\n if (targetLayout.x === rootLayout.x && node.isExpand === true && realRoot.children.length) {\n var center = {\n x: (realRoot.children[0].getLayout().x + realRoot.children[length_1 - 1].getLayout().x) / 2,\n y: (realRoot.children[0].getLayout().y + realRoot.children[length_1 - 1].getLayout().y) / 2\n };\n rad = Math.atan2(center.y - rootLayout.y, center.x - rootLayout.x);\n if (rad < 0) {\n rad = Math.PI * 2 + rad;\n }\n isLeft = center.x < rootLayout.x;\n if (isLeft) {\n rad = rad - Math.PI;\n }\n } else {\n rad = Math.atan2(targetLayout.y - rootLayout.y, targetLayout.x - rootLayout.x);\n if (rad < 0) {\n rad = Math.PI * 2 + rad;\n }\n if (node.children.length === 0 || node.children.length !== 0 && node.isExpand === false) {\n isLeft = targetLayout.x < rootLayout.x;\n if (isLeft) {\n rad = rad - Math.PI;\n }\n } else {\n isLeft = targetLayout.x > rootLayout.x;\n if (!isLeft) {\n rad = rad - Math.PI;\n }\n }\n }\n var textPosition = isLeft ? 'left' : 'right';\n var normalLabelModel = itemModel.getModel('label');\n var rotate = normalLabelModel.get('rotate');\n var labelRotateRadian = rotate * (Math.PI / 180);\n var textContent = symbolPath.getTextContent();\n if (textContent) {\n symbolPath.setTextConfig({\n position: normalLabelModel.get('position') || textPosition,\n rotation: rotate == null ? -rad : labelRotateRadian,\n origin: 'center'\n });\n textContent.setStyle('verticalAlign', 'middle');\n }\n }\n // Handle status\n var focus = itemModel.get(['emphasis', 'focus']);\n var focusDataIndices = focus === 'relative' ? zrUtil.concatArray(node.getAncestorsIndices(), node.getDescendantIndices()) : focus === 'ancestor' ? node.getAncestorsIndices() : focus === 'descendant' ? node.getDescendantIndices() : null;\n if (focusDataIndices) {\n // Modify the focus to data indices.\n getECData(symbolEl).focus = focusDataIndices;\n }\n drawEdge(seriesModel, node, virtualRoot, symbolEl, sourceOldLayout, sourceLayout, targetLayout, group);\n if (symbolEl.__edge) {\n symbolEl.onHoverStateChange = function (toState) {\n if (toState !== 'blur') {\n // NOTE: Ensure the parent elements will been blurred firstly.\n // According to the return of getAncestorsIndices and getDescendantIndices\n // TODO: A bit tricky.\n var parentEl = node.parentNode && data.getItemGraphicEl(node.parentNode.dataIndex);\n if (!(parentEl && parentEl.hoverState === HOVER_STATE_BLUR)) {\n setStatesFlag(symbolEl.__edge, toState);\n }\n }\n };\n }\n}\nfunction drawEdge(seriesModel, node, virtualRoot, symbolEl, sourceOldLayout, sourceLayout, targetLayout, group) {\n var itemModel = node.getModel();\n var edgeShape = seriesModel.get('edgeShape');\n var layout = seriesModel.get('layout');\n var orient = seriesModel.getOrient();\n var curvature = seriesModel.get(['lineStyle', 'curveness']);\n var edgeForkPosition = seriesModel.get('edgeForkPosition');\n var lineStyle = itemModel.getModel('lineStyle').getLineStyle();\n var edge = symbolEl.__edge;\n // curve edge from node -> parent\n // polyline edge from node -> children\n if (edgeShape === 'curve') {\n if (node.parentNode && node.parentNode !== virtualRoot) {\n if (!edge) {\n edge = symbolEl.__edge = new graphic.BezierCurve({\n shape: getEdgeShape(layout, orient, curvature, sourceOldLayout, sourceOldLayout)\n });\n }\n graphic.updateProps(edge, {\n shape: getEdgeShape(layout, orient, curvature, sourceLayout, targetLayout)\n }, seriesModel);\n }\n } else if (edgeShape === 'polyline') {\n if (layout === 'orthogonal') {\n if (node !== virtualRoot && node.children && node.children.length !== 0 && node.isExpand === true) {\n var children = node.children;\n var childPoints = [];\n for (var i = 0; i < children.length; i++) {\n var childLayout = children[i].getLayout();\n childPoints.push([childLayout.x, childLayout.y]);\n }\n if (!edge) {\n edge = symbolEl.__edge = new TreePath({\n shape: {\n parentPoint: [targetLayout.x, targetLayout.y],\n childPoints: [[targetLayout.x, targetLayout.y]],\n orient: orient,\n forkPosition: edgeForkPosition\n }\n });\n }\n graphic.updateProps(edge, {\n shape: {\n parentPoint: [targetLayout.x, targetLayout.y],\n childPoints: childPoints\n }\n }, seriesModel);\n }\n } else {\n if (process.env.NODE_ENV !== 'production') {\n throw new Error('The polyline edgeShape can only be used in orthogonal layout');\n }\n }\n }\n // show all edge when edgeShape is 'curve', filter node `isExpand` is false when edgeShape is 'polyline'\n if (edge && !(edgeShape === 'polyline' && !node.isExpand)) {\n edge.useStyle(zrUtil.defaults({\n strokeNoScale: true,\n fill: null\n }, lineStyle));\n setStatesStylesFromModel(edge, itemModel, 'lineStyle');\n setDefaultStateProxy(edge);\n group.add(edge);\n }\n}\nfunction removeNodeEdge(node, data, group, seriesModel, removeAnimationOpt) {\n var virtualRoot = data.tree.root;\n var _a = getSourceNode(virtualRoot, node),\n source = _a.source,\n sourceLayout = _a.sourceLayout;\n var symbolEl = data.getItemGraphicEl(node.dataIndex);\n if (!symbolEl) {\n return;\n }\n var sourceSymbolEl = data.getItemGraphicEl(source.dataIndex);\n var sourceEdge = sourceSymbolEl.__edge;\n // 1. when expand the sub tree, delete the children node should delete the edge of\n // the source at the same time. because the polyline edge shape is only owned by the source.\n // 2.when the node is the only children of the source, delete the node should delete the edge of\n // the source at the same time. the same reason as above.\n var edge = symbolEl.__edge || (source.isExpand === false || source.children.length === 1 ? sourceEdge : undefined);\n var edgeShape = seriesModel.get('edgeShape');\n var layoutOpt = seriesModel.get('layout');\n var orient = seriesModel.get('orient');\n var curvature = seriesModel.get(['lineStyle', 'curveness']);\n if (edge) {\n if (edgeShape === 'curve') {\n graphic.removeElement(edge, {\n shape: getEdgeShape(layoutOpt, orient, curvature, sourceLayout, sourceLayout),\n style: {\n opacity: 0\n }\n }, seriesModel, {\n cb: function () {\n group.remove(edge);\n },\n removeOpt: removeAnimationOpt\n });\n } else if (edgeShape === 'polyline' && seriesModel.get('layout') === 'orthogonal') {\n graphic.removeElement(edge, {\n shape: {\n parentPoint: [sourceLayout.x, sourceLayout.y],\n childPoints: [[sourceLayout.x, sourceLayout.y]]\n },\n style: {\n opacity: 0\n }\n }, seriesModel, {\n cb: function () {\n group.remove(edge);\n },\n removeOpt: removeAnimationOpt\n });\n }\n }\n}\nfunction getSourceNode(virtualRoot, node) {\n var source = node.parentNode === virtualRoot ? node : node.parentNode || node;\n var sourceLayout;\n while (sourceLayout = source.getLayout(), sourceLayout == null) {\n source = source.parentNode === virtualRoot ? source : source.parentNode || source;\n }\n return {\n source: source,\n sourceLayout: sourceLayout\n };\n}\nfunction removeNode(data, dataIndex, symbolEl, group, seriesModel) {\n var node = data.tree.getNodeByDataIndex(dataIndex);\n var virtualRoot = data.tree.root;\n var sourceLayout = getSourceNode(virtualRoot, node).sourceLayout;\n // Use same duration and easing with update to have more consistent animation.\n var removeAnimationOpt = {\n duration: seriesModel.get('animationDurationUpdate'),\n easing: seriesModel.get('animationEasingUpdate')\n };\n graphic.removeElement(symbolEl, {\n x: sourceLayout.x + 1,\n y: sourceLayout.y + 1\n }, seriesModel, {\n cb: function () {\n group.remove(symbolEl);\n data.setItemGraphicEl(dataIndex, null);\n },\n removeOpt: removeAnimationOpt\n });\n symbolEl.fadeOut(null, data.hostModel, {\n fadeLabel: true,\n animation: removeAnimationOpt\n });\n // remove edge as parent node\n node.children.forEach(function (childNode) {\n removeNodeEdge(childNode, data, group, seriesModel, removeAnimationOpt);\n });\n // remove edge as child node\n removeNodeEdge(node, data, group, seriesModel, removeAnimationOpt);\n}\nfunction getEdgeShape(layoutOpt, orient, curvature, sourceLayout, targetLayout) {\n var cpx1;\n var cpy1;\n var cpx2;\n var cpy2;\n var x1;\n var x2;\n var y1;\n var y2;\n if (layoutOpt === 'radial') {\n x1 = sourceLayout.rawX;\n y1 = sourceLayout.rawY;\n x2 = targetLayout.rawX;\n y2 = targetLayout.rawY;\n var radialCoor1 = radialCoordinate(x1, y1);\n var radialCoor2 = radialCoordinate(x1, y1 + (y2 - y1) * curvature);\n var radialCoor3 = radialCoordinate(x2, y2 + (y1 - y2) * curvature);\n var radialCoor4 = radialCoordinate(x2, y2);\n return {\n x1: radialCoor1.x || 0,\n y1: radialCoor1.y || 0,\n x2: radialCoor4.x || 0,\n y2: radialCoor4.y || 0,\n cpx1: radialCoor2.x || 0,\n cpy1: radialCoor2.y || 0,\n cpx2: radialCoor3.x || 0,\n cpy2: radialCoor3.y || 0\n };\n } else {\n x1 = sourceLayout.x;\n y1 = sourceLayout.y;\n x2 = targetLayout.x;\n y2 = targetLayout.y;\n if (orient === 'LR' || orient === 'RL') {\n cpx1 = x1 + (x2 - x1) * curvature;\n cpy1 = y1;\n cpx2 = x2 + (x1 - x2) * curvature;\n cpy2 = y2;\n }\n if (orient === 'TB' || orient === 'BT') {\n cpx1 = x1;\n cpy1 = y1 + (y2 - y1) * curvature;\n cpx2 = x2;\n cpy2 = y2 + (y1 - y2) * curvature;\n }\n }\n return {\n x1: x1,\n y1: y1,\n x2: x2,\n y2: y2,\n cpx1: cpx1,\n cpy1: cpy1,\n cpx2: cpx2,\n cpy2: cpy2\n };\n}\nexport default TreeView;"],"names":["TreeEdgeShape","TreePath","_super","__extends","opts","ctx","shape","childPoints","childLen","parentPoint","firstChildPos","lastChildPos","orient","forkDim","otherDim","forkPosition","parsePercent","tmpPoint","i","point","Path","TreeView","_this","graphic.Group","ecModel","api","RoamController","seriesModel","data","layoutInfo","group","layout","oldData","newIdx","symbolNeedsDraw","updateNode","oldIdx","symbolEl","removeNode","el","dataIndex","points","idx","min","max","bbox.fromPoints","oldMin","oldMax","viewCoordSys","View","controller","controllerHost","e","x","y","rect","onIrrelevantElement","roamHelper.updateViewOnPan","roamHelper.updateViewOnZoom","nodeScale","coordSys","nodeScaleRatio","groupZoom","roamZoom","ChartView","isInit","node","itemModel","visualColor","symbolInnerColor","virtualRoot","source","sourceSymbolEl","sourceLayout","sourceOldLayout","targetLayout","SymbolClz","graphic.updateProps","symbolPath","realRoot","rootLayout","length_1","rad","isLeft","center","textPosition","normalLabelModel","rotate","labelRotateRadian","textContent","focus","focusDataIndices","zrUtil.concatArray","getECData","drawEdge","toState","parentEl","HOVER_STATE_BLUR","setStatesFlag","edgeShape","curvature","edgeForkPosition","lineStyle","edge","graphic.BezierCurve","getEdgeShape","children","childLayout","zrUtil.defaults","setStatesStylesFromModel","setDefaultStateProxy","removeNodeEdge","removeAnimationOpt","_a","getSourceNode","sourceEdge","layoutOpt","graphic.removeElement","childNode","cpx1","cpy1","cpx2","cpy2","x1","x2","y1","y2","radialCoor1","radialCoordinate","radialCoor2","radialCoor3","radialCoor4"],"mappings":";;;;;;;;;;;;;;;;;AA0DA,IAAIA;AAAA;AAAA,EAA6B,4BAAY;AAC3C,aAASA,IAAgB;AACvB,WAAK,cAAc,CAAA,GACnB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O;AAAA,MACL,IAAIC,EAAY,KAAK;AAAA,MACrB,IAAIA,EAAY,KAAK;AAAA,MACrB,IAAII,EAAY,KAAK;AAAA,MACrB,IAAIA,EAAY,KAAK;AAAA,MACrB,MAAMF,EAAY,KAAK;AAAA,MACvB,MAAMA,EAAY,KAAK;AAAA,MACvB,MAAMC,EAAY,KAAK;AAAA,MACvB,MAAMA,EAAY,KAAK;AAAA,IAC7B;AAAA,EACE;AACE,IAAAP,IAAKlD,EAAa,GAClBoD,IAAKpD,EAAa,GAClBmD,IAAKjD,EAAa,GAClBmD,IAAKnD,EAAa,IACd/D,MAAW,QAAQA,MAAW,UAChC2G,IAAOI,KAAMC,IAAKD,KAAMvB,GACxBoB,IAAOK,GACPJ,IAAOG,KAAMD,IAAKC,KAAMxB,GACxBsB,IAAOI,KAELlH,MAAW,QAAQA,MAAW,UAChC2G,IAAOI,GACPH,IAAOK,KAAMC,IAAKD,KAAMzB,GACxBqB,IAAOG,GACPF,IAAOI,KAAMD,IAAKC,KAAM1B;AAG5B,SAAO;AAAA,IACL,IAAIuB;AAAA,IACJ,IAAIE;AAAA,IACJ,IAAID;AAAA,IACJ,IAAIE;AAAA,IACJ,MAAMP;AAAA,IACN,MAAMC;AAAA,IACN,MAAMC;AAAA,IACN,MAAMC;AAAA,EACV;AACA;","x_google_ignoreList":[0]}
@@ -0,0 +1,12 @@
1
+ import r from "./TreeView.js";
2
+ import o from "./TreeSeries.js";
3
+ import i from "./treeLayout.js";
4
+ import t from "./treeVisual.js";
5
+ import { installTreeAction as m } from "./treeAction.js";
6
+ function u(e) {
7
+ e.registerChartView(r), e.registerSeriesModel(o), e.registerLayout(i), e.registerVisual(t), m(e);
8
+ }
9
+ export {
10
+ u as install
11
+ };
12
+ //# sourceMappingURL=install.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"install.js","sources":["../../../../../../node_modules/echarts/lib/chart/tree/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 TreeView from './TreeView.js';\nimport TreeSeriesModel from './TreeSeries.js';\nimport treeLayout from './treeLayout.js';\nimport treeVisual from './treeVisual.js';\nimport { installTreeAction } from './treeAction.js';\nexport function install(registers) {\n registers.registerChartView(TreeView);\n registers.registerSeriesModel(TreeSeriesModel);\n registers.registerLayout(treeLayout);\n registers.registerVisual(treeVisual);\n installTreeAction(registers);\n}"],"names":["install","registers","TreeView","TreeSeriesModel","treeLayout","treeVisual","installTreeAction"],"mappings":";;;;;AAgDO,SAASA,EAAQC,GAAW;AACjC,EAAAA,EAAU,kBAAkBC,CAAQ,GACpCD,EAAU,oBAAoBE,CAAe,GAC7CF,EAAU,eAAeG,CAAU,GACnCH,EAAU,eAAeI,CAAU,GACnCC,EAAkBL,CAAS;AAC7B;","x_google_ignoreList":[0]}
@@ -0,0 +1,103 @@
1
+ import { getLayoutRect as n } from "../../util/layout.js";
2
+ function E(r) {
3
+ var e = r;
4
+ e.hierNode = {
5
+ defaultAncestor: null,
6
+ ancestor: e,
7
+ prelim: 0,
8
+ modifier: 0,
9
+ change: 0,
10
+ shift: 0,
11
+ i: 0,
12
+ thread: null
13
+ };
14
+ for (var a = [e], o, i; o = a.pop(); )
15
+ if (i = o.children, o.isExpand && i.length)
16
+ for (var h = i.length, l = h - 1; l >= 0; l--) {
17
+ var N = i[l];
18
+ N.hierNode = {
19
+ defaultAncestor: null,
20
+ ancestor: N,
21
+ prelim: 0,
22
+ modifier: 0,
23
+ change: 0,
24
+ shift: 0,
25
+ i: l,
26
+ thread: null
27
+ }, a.push(N);
28
+ }
29
+ }
30
+ function M(r, e) {
31
+ var a = r.isExpand ? r.children : [], o = r.parentNode.children, i = r.hierNode.i ? o[r.hierNode.i - 1] : null;
32
+ if (a.length) {
33
+ x(r);
34
+ var h = (a[0].hierNode.prelim + a[a.length - 1].hierNode.prelim) / 2;
35
+ i ? (r.hierNode.prelim = i.hierNode.prelim + e(r, i), r.hierNode.modifier = r.hierNode.prelim - h) : r.hierNode.prelim = h;
36
+ } else i && (r.hierNode.prelim = i.hierNode.prelim + e(r, i));
37
+ r.parentNode.hierNode.defaultAncestor = s(r, i, r.parentNode.hierNode.defaultAncestor || o[0], e);
38
+ }
39
+ function S(r) {
40
+ var e = r.hierNode.prelim + r.parentNode.hierNode.modifier;
41
+ r.setLayout({
42
+ x: e
43
+ }, !0), r.hierNode.modifier += r.parentNode.hierNode.modifier;
44
+ }
45
+ function W(r) {
46
+ return arguments.length ? r : A;
47
+ }
48
+ function k(r, e) {
49
+ return r -= Math.PI / 2, {
50
+ x: e * Math.cos(r),
51
+ y: e * Math.sin(r)
52
+ };
53
+ }
54
+ function B(r, e) {
55
+ return n(r.getBoxLayoutParams(), {
56
+ width: e.getWidth(),
57
+ height: e.getHeight()
58
+ });
59
+ }
60
+ function x(r) {
61
+ for (var e = r.children, a = e.length, o = 0, i = 0; --a >= 0; ) {
62
+ var h = e[a];
63
+ h.hierNode.prelim += o, h.hierNode.modifier += o, i += h.hierNode.change, o += h.hierNode.shift + i;
64
+ }
65
+ }
66
+ function s(r, e, a, o) {
67
+ if (e) {
68
+ for (var i = r, h = r, l = h.parentNode.children[0], N = e, p = i.hierNode.modifier, d = h.hierNode.modifier, m = l.hierNode.modifier, t = N.hierNode.modifier; N = v(N), h = f(h), N && h; ) {
69
+ i = v(i), l = f(l), i.hierNode.ancestor = r;
70
+ var c = N.hierNode.prelim + t - h.hierNode.prelim - d + o(N, h);
71
+ c > 0 && (g(u(N, r, a), r, c), d += c, p += c), t += N.hierNode.modifier, d += h.hierNode.modifier, p += i.hierNode.modifier, m += l.hierNode.modifier;
72
+ }
73
+ N && !v(i) && (i.hierNode.thread = N, i.hierNode.modifier += t - p), h && !f(l) && (l.hierNode.thread = h, l.hierNode.modifier += d - m, a = r);
74
+ }
75
+ return a;
76
+ }
77
+ function v(r) {
78
+ var e = r.children;
79
+ return e.length && r.isExpand ? e[e.length - 1] : r.hierNode.thread;
80
+ }
81
+ function f(r) {
82
+ var e = r.children;
83
+ return e.length && r.isExpand ? e[0] : r.hierNode.thread;
84
+ }
85
+ function u(r, e, a) {
86
+ return r.hierNode.ancestor.parentNode === e.parentNode ? r.hierNode.ancestor : a;
87
+ }
88
+ function g(r, e, a) {
89
+ var o = a / (e.hierNode.i - r.hierNode.i);
90
+ e.hierNode.change -= o, e.hierNode.shift += a, e.hierNode.modifier += a, e.hierNode.prelim += a, r.hierNode.change += o;
91
+ }
92
+ function A(r, e) {
93
+ return r.parentNode === e.parentNode ? 1 : 2;
94
+ }
95
+ export {
96
+ M as firstWalk,
97
+ B as getViewRect,
98
+ E as init,
99
+ k as radialCoordinate,
100
+ S as secondWalk,
101
+ W as separation
102
+ };
103
+ //# sourceMappingURL=layoutHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layoutHelper.js","sources":["../../../../../../node_modules/echarts/lib/chart/tree/layoutHelper.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\n/*\r\n* A third-party license is embedded for some of the code in this file:\r\n* The tree layoutHelper implementation was originally copied from\r\n* \"d3.js\"(https://github.com/d3/d3-hierarchy) with\r\n* some modifications made for this project.\r\n* (see more details in the comment of the specific method below.)\r\n* The use of the source code of this file is also subject to the terms\r\n* and consitions of the licence of \"d3.js\" (BSD-3Clause, see\r\n* </licenses/LICENSE-d3>).\r\n*/\n/**\r\n * @file The layout algorithm of node-link tree diagrams. Here we using Reingold-Tilford algorithm to drawing\r\n * the tree.\r\n */\nimport * as layout from '../../util/layout.js';\n/**\r\n * Initialize all computational message for following algorithm.\r\n */\nexport function init(inRoot) {\n var root = inRoot;\n root.hierNode = {\n defaultAncestor: null,\n ancestor: root,\n prelim: 0,\n modifier: 0,\n change: 0,\n shift: 0,\n i: 0,\n thread: null\n };\n var nodes = [root];\n var node;\n var children;\n while (node = nodes.pop()) {\n // jshint ignore:line\n children = node.children;\n if (node.isExpand && children.length) {\n var n = children.length;\n for (var i = n - 1; i >= 0; i--) {\n var child = children[i];\n child.hierNode = {\n defaultAncestor: null,\n ancestor: child,\n prelim: 0,\n modifier: 0,\n change: 0,\n shift: 0,\n i: i,\n thread: null\n };\n nodes.push(child);\n }\n }\n }\n}\n/**\r\n * The implementation of this function was originally copied from \"d3.js\"\r\n * <https://github.com/d3/d3-hierarchy/blob/4c1f038f2725d6eae2e49b61d01456400694bac4/src/tree.js>\r\n * with some modifications made for this program.\r\n * See the license statement at the head of this file.\r\n *\r\n * Computes a preliminary x coordinate for node. Before that, this function is\r\n * applied recursively to the children of node, as well as the function\r\n * apportion(). After spacing out the children by calling executeShifts(), the\r\n * node is placed to the midpoint of its outermost children.\r\n */\nexport function firstWalk(node, separation) {\n var children = node.isExpand ? node.children : [];\n var siblings = node.parentNode.children;\n var subtreeW = node.hierNode.i ? siblings[node.hierNode.i - 1] : null;\n if (children.length) {\n executeShifts(node);\n var midPoint = (children[0].hierNode.prelim + children[children.length - 1].hierNode.prelim) / 2;\n if (subtreeW) {\n node.hierNode.prelim = subtreeW.hierNode.prelim + separation(node, subtreeW);\n node.hierNode.modifier = node.hierNode.prelim - midPoint;\n } else {\n node.hierNode.prelim = midPoint;\n }\n } else if (subtreeW) {\n node.hierNode.prelim = subtreeW.hierNode.prelim + separation(node, subtreeW);\n }\n node.parentNode.hierNode.defaultAncestor = apportion(node, subtreeW, node.parentNode.hierNode.defaultAncestor || siblings[0], separation);\n}\n/**\r\n * The implementation of this function was originally copied from \"d3.js\"\r\n * <https://github.com/d3/d3-hierarchy/blob/4c1f038f2725d6eae2e49b61d01456400694bac4/src/tree.js>\r\n * with some modifications made for this program.\r\n * See the license statement at the head of this file.\r\n *\r\n * Computes all real x-coordinates by summing up the modifiers recursively.\r\n */\nexport function secondWalk(node) {\n var nodeX = node.hierNode.prelim + node.parentNode.hierNode.modifier;\n node.setLayout({\n x: nodeX\n }, true);\n node.hierNode.modifier += node.parentNode.hierNode.modifier;\n}\nexport function separation(cb) {\n return arguments.length ? cb : defaultSeparation;\n}\n/**\r\n * Transform the common coordinate to radial coordinate.\r\n */\nexport function radialCoordinate(rad, r) {\n rad -= Math.PI / 2;\n return {\n x: r * Math.cos(rad),\n y: r * Math.sin(rad)\n };\n}\n/**\r\n * Get the layout position of the whole view.\r\n */\nexport function getViewRect(seriesModel, api) {\n return layout.getLayoutRect(seriesModel.getBoxLayoutParams(), {\n width: api.getWidth(),\n height: api.getHeight()\n });\n}\n/**\r\n * All other shifts, applied to the smaller subtrees between w- and w+, are\r\n * performed by this function.\r\n *\r\n * The implementation of this function was originally copied from \"d3.js\"\r\n * <https://github.com/d3/d3-hierarchy/blob/4c1f038f2725d6eae2e49b61d01456400694bac4/src/tree.js>\r\n * with some modifications made for this program.\r\n * See the license statement at the head of this file.\r\n */\nfunction executeShifts(node) {\n var children = node.children;\n var n = children.length;\n var shift = 0;\n var change = 0;\n while (--n >= 0) {\n var child = children[n];\n child.hierNode.prelim += shift;\n child.hierNode.modifier += shift;\n change += child.hierNode.change;\n shift += child.hierNode.shift + change;\n }\n}\n/**\r\n * The implementation of this function was originally copied from \"d3.js\"\r\n * <https://github.com/d3/d3-hierarchy/blob/4c1f038f2725d6eae2e49b61d01456400694bac4/src/tree.js>\r\n * with some modifications made for this program.\r\n * See the license statement at the head of this file.\r\n *\r\n * The core of the algorithm. Here, a new subtree is combined with the\r\n * previous subtrees. Threads are used to traverse the inside and outside\r\n * contours of the left and right subtree up to the highest common level.\r\n * Whenever two nodes of the inside contours conflict, we compute the left\r\n * one of the greatest uncommon ancestors using the function nextAncestor()\r\n * and call moveSubtree() to shift the subtree and prepare the shifts of\r\n * smaller subtrees. Finally, we add a new thread (if necessary).\r\n */\nfunction apportion(subtreeV, subtreeW, ancestor, separation) {\n if (subtreeW) {\n var nodeOutRight = subtreeV;\n var nodeInRight = subtreeV;\n var nodeOutLeft = nodeInRight.parentNode.children[0];\n var nodeInLeft = subtreeW;\n var sumOutRight = nodeOutRight.hierNode.modifier;\n var sumInRight = nodeInRight.hierNode.modifier;\n var sumOutLeft = nodeOutLeft.hierNode.modifier;\n var sumInLeft = nodeInLeft.hierNode.modifier;\n while (nodeInLeft = nextRight(nodeInLeft), nodeInRight = nextLeft(nodeInRight), nodeInLeft && nodeInRight) {\n nodeOutRight = nextRight(nodeOutRight);\n nodeOutLeft = nextLeft(nodeOutLeft);\n nodeOutRight.hierNode.ancestor = subtreeV;\n var shift = nodeInLeft.hierNode.prelim + sumInLeft - nodeInRight.hierNode.prelim - sumInRight + separation(nodeInLeft, nodeInRight);\n if (shift > 0) {\n moveSubtree(nextAncestor(nodeInLeft, subtreeV, ancestor), subtreeV, shift);\n sumInRight += shift;\n sumOutRight += shift;\n }\n sumInLeft += nodeInLeft.hierNode.modifier;\n sumInRight += nodeInRight.hierNode.modifier;\n sumOutRight += nodeOutRight.hierNode.modifier;\n sumOutLeft += nodeOutLeft.hierNode.modifier;\n }\n if (nodeInLeft && !nextRight(nodeOutRight)) {\n nodeOutRight.hierNode.thread = nodeInLeft;\n nodeOutRight.hierNode.modifier += sumInLeft - sumOutRight;\n }\n if (nodeInRight && !nextLeft(nodeOutLeft)) {\n nodeOutLeft.hierNode.thread = nodeInRight;\n nodeOutLeft.hierNode.modifier += sumInRight - sumOutLeft;\n ancestor = subtreeV;\n }\n }\n return ancestor;\n}\n/**\r\n * This function is used to traverse the right contour of a subtree.\r\n * It returns the rightmost child of node or the thread of node. The function\r\n * returns null if and only if node is on the highest depth of its subtree.\r\n */\nfunction nextRight(node) {\n var children = node.children;\n return children.length && node.isExpand ? children[children.length - 1] : node.hierNode.thread;\n}\n/**\r\n * This function is used to traverse the left contour of a subtree (or a subforest).\r\n * It returns the leftmost child of node or the thread of node. The function\r\n * returns null if and only if node is on the highest depth of its subtree.\r\n */\nfunction nextLeft(node) {\n var children = node.children;\n return children.length && node.isExpand ? children[0] : node.hierNode.thread;\n}\n/**\r\n * If nodeInLeft’s ancestor is a sibling of node, returns nodeInLeft’s ancestor.\r\n * Otherwise, returns the specified ancestor.\r\n */\nfunction nextAncestor(nodeInLeft, node, ancestor) {\n return nodeInLeft.hierNode.ancestor.parentNode === node.parentNode ? nodeInLeft.hierNode.ancestor : ancestor;\n}\n/**\r\n * The implementation of this function was originally copied from \"d3.js\"\r\n * <https://github.com/d3/d3-hierarchy/blob/4c1f038f2725d6eae2e49b61d01456400694bac4/src/tree.js>\r\n * with some modifications made for this program.\r\n * See the license statement at the head of this file.\r\n *\r\n * Shifts the current subtree rooted at wr.\r\n * This is done by increasing prelim(w+) and modifier(w+) by shift.\r\n */\nfunction moveSubtree(wl, wr, shift) {\n var change = shift / (wr.hierNode.i - wl.hierNode.i);\n wr.hierNode.change -= change;\n wr.hierNode.shift += shift;\n wr.hierNode.modifier += shift;\n wr.hierNode.prelim += shift;\n wl.hierNode.change += change;\n}\n/**\r\n * The implementation of this function was originally copied from \"d3.js\"\r\n * <https://github.com/d3/d3-hierarchy/blob/4c1f038f2725d6eae2e49b61d01456400694bac4/src/tree.js>\r\n * with some modifications made for this program.\r\n * See the license statement at the head of this file.\r\n */\nfunction defaultSeparation(node1, node2) {\n return node1.parentNode === node2.parentNode ? 1 : 2;\n}"],"names":["init","inRoot","root","nodes","node","children","n","i","child","firstWalk","separation","siblings","subtreeW","executeShifts","midPoint","apportion","secondWalk","nodeX","cb","defaultSeparation","radialCoordinate","rad","r","getViewRect","seriesModel","api","layout.getLayoutRect","shift","change","subtreeV","ancestor","nodeOutRight","nodeInRight","nodeOutLeft","nodeInLeft","sumOutRight","sumInRight","sumOutLeft","sumInLeft","nextRight","nextLeft","moveS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;AAUA,SAASW,EAAYE,GAAIC,GAAIjB,GAAO;AAClC,MAAIC,IAASD,KAASiB,EAAG,SAAS,IAAID,EAAG,SAAS;AAClD,EAAAC,EAAG,SAAS,UAAUhB,GACtBgB,EAAG,SAAS,SAASjB,GACrBiB,EAAG,SAAS,YAAYjB,GACxBiB,EAAG,SAAS,UAAUjB,GACtBgB,EAAG,SAAS,UAAUf;AACxB;AAOA,SAAST,EAAkB0B,GAAOC,GAAO;AACvC,SAAOD,EAAM,eAAeC,EAAM,aAAa,IAAI;AACrD;","x_google_ignoreList":[0]}
@@ -0,0 +1,25 @@
1
+ function t(p, r, o) {
2
+ for (var a = [p], n = [], e; e = a.pop(); )
3
+ if (n.push(e), e.isExpand) {
4
+ var f = e.children;
5
+ if (f.length)
6
+ for (var h = 0; h < f.length; h++)
7
+ a.push(f[h]);
8
+ }
9
+ for (; e = n.pop(); )
10
+ r(e, o);
11
+ }
12
+ function v(p, r) {
13
+ for (var o = [p], a; a = o.pop(); )
14
+ if (r(a), a.isExpand) {
15
+ var n = a.children;
16
+ if (n.length)
17
+ for (var e = n.length - 1; e >= 0; e--)
18
+ o.push(n[e]);
19
+ }
20
+ }
21
+ export {
22
+ t as eachAfter,
23
+ v as eachBefore
24
+ };
25
+ //# sourceMappingURL=traversalHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"traversalHelper.js","sources":["../../../../../../node_modules/echarts/lib/chart/tree/traversalHelper.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\n/**\r\n * Traverse the tree from bottom to top and do something\r\n */\nfunction eachAfter(root, callback, separation) {\n var nodes = [root];\n var next = [];\n var node;\n while (node = nodes.pop()) {\n // jshint ignore:line\n next.push(node);\n if (node.isExpand) {\n var children = node.children;\n if (children.length) {\n for (var i = 0; i < children.length; i++) {\n nodes.push(children[i]);\n }\n }\n }\n }\n while (node = next.pop()) {\n // jshint ignore:line\n callback(node, separation);\n }\n}\n/**\r\n * Traverse the tree from top to bottom and do something\r\n */\nfunction eachBefore(root, callback) {\n var nodes = [root];\n var node;\n while (node = nodes.pop()) {\n // jshint ignore:line\n callback(node);\n if (node.isExpand) {\n var children = node.children;\n if (children.length) {\n for (var i = children.length - 1; i >= 0; i--) {\n nodes.push(children[i]);\n }\n }\n }\n }\n}\nexport { eachAfter, eachBefore };"],"names":["eachAfter","root","callback","separation","nodes","next","node","children","i","eachBefore"],"mappings":"AA8CA,SAASA,EAAUC,GAAMC,GAAUC,GAAY;AAI7C,WAHIC,IAAQ,CAACH,CAAI,GACbI,IAAO,CAAA,GACPC,GACGA,IAAOF,EAAM;AAGlB,QADAC,EAAK,KAAKC,CAAI,GACVA,EAAK,UAAU;AACjB,UAAIC,IAAWD,EAAK;AACpB,UAAIC,EAAS;AACX,iBAASC,IAAI,GAAGA,IAAID,EAAS,QAAQC;AACnC,UAAAJ,EAAM,KAAKG,EAASC,CAAC,CAAC;AAAA,IAG5B;AAEF,SAAOF,IAAOD,EAAK;AAEjB,IAAAH,EAASI,GAAMH,CAAU;AAE7B;AAIA,SAASM,EAAWR,GAAMC,GAAU;AAGlC,WAFIE,IAAQ,CAACH,CAAI,GACbK,GACGA,IAAOF,EAAM;AAGlB,QADAF,EAASI,CAAI,GACTA,EAAK,UAAU;AACjB,UAAIC,IAAWD,EAAK;AACpB,UAAIC,EAAS;AACX,iBAASC,IAAID,EAAS,SAAS,GAAGC,KAAK,GAAGA;AACxC,UAAAJ,EAAM,KAAKG,EAASC,CAAC,CAAC;AAAA,IAG5B;AAEJ;","x_google_ignoreList":[0]}
@@ -0,0 +1,38 @@
1
+ import { updateCenterAndZoom as d } from "../../action/roamHelper.js";
2
+ function u(p) {
3
+ p.registerAction({
4
+ type: "treeExpandAndCollapse",
5
+ event: "treeExpandAndCollapse",
6
+ update: "update"
7
+ }, function(t, o) {
8
+ o.eachComponent({
9
+ mainType: "series",
10
+ subType: "tree",
11
+ query: t
12
+ }, function(a) {
13
+ var e = t.dataIndex, r = a.getData().tree, n = r.getNodeByDataIndex(e);
14
+ n.isExpand = !n.isExpand;
15
+ });
16
+ }), p.registerAction({
17
+ type: "treeRoam",
18
+ event: "treeRoam",
19
+ // Here we set 'none' instead of 'update', because roam action
20
+ // just need to update the transform matrix without having to recalculate
21
+ // the layout. So don't need to go through the whole update process, such
22
+ // as 'dataPrcocess', 'coordSystemUpdate', 'layout' and so on.
23
+ update: "none"
24
+ }, function(t, o, a) {
25
+ o.eachComponent({
26
+ mainType: "series",
27
+ subType: "tree",
28
+ query: t
29
+ }, function(e) {
30
+ var r = e.coordinateSystem, n = d(r, t, void 0, a);
31
+ e.setCenter && e.setCenter(n.center), e.setZoom && e.setZoom(n.zoom);
32
+ });
33
+ });
34
+ }
35
+ export {
36
+ u as installTreeAction
37
+ };
38
+ //# sourceMappingURL=treeAction.js.map