@hkyhy/marsun-components-core 0.1.3 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1271) hide show
  1. package/README.md +5 -7
  2. package/dist/_virtual/_commonjs-dynamic-modules.js +7 -0
  3. package/dist/_virtual/_commonjs-dynamic-modules.js.map +1 -0
  4. package/dist/_virtual/_commonjsHelpers.js +9 -0
  5. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  6. package/dist/_virtual/jszip.min.js +8 -0
  7. package/dist/_virtual/jszip.min.js.map +1 -0
  8. package/dist/_virtual/jszip2.min.js +5 -0
  9. package/dist/_virtual/jszip2.min.js.map +1 -0
  10. package/dist/_virtual/lodash.js +6 -0
  11. package/dist/_virtual/lodash.js.map +1 -0
  12. package/dist/_virtual/lodash2.js +5 -0
  13. package/dist/_virtual/lodash2.js.map +1 -0
  14. package/dist/components/AgentHub/AgentHubAccessGuard.d.ts +11 -0
  15. package/dist/components/AgentHub/AgentHubIndexRedirect.d.ts +8 -0
  16. package/dist/components/AgentHub/Chat/Action/CreateButton.d.ts +6 -0
  17. package/dist/components/AgentHub/Chat/Action/ManageActionButtons.d.ts +6 -0
  18. package/dist/components/AgentHub/Chat/Action/SessionActionButtons.d.ts +8 -0
  19. package/dist/components/AgentHub/Chat/Action/handlers.d.ts +11 -0
  20. package/dist/components/AgentHub/Chat/Action/index.d.ts +7 -0
  21. package/dist/components/AgentHub/Chat/Detail/ChatInput/index.d.ts +11 -0
  22. package/dist/components/AgentHub/Chat/Detail/CitationContent/index.d.ts +6 -0
  23. package/dist/components/AgentHub/Chat/Detail/CitationInlineBadge/index.d.ts +7 -0
  24. package/dist/components/AgentHub/Chat/Detail/CitationMarkdownContent/index.d.ts +12 -0
  25. package/dist/components/AgentHub/Chat/Detail/CitationPanel/index.d.ts +9 -0
  26. package/dist/components/AgentHub/Chat/Detail/MermaidBlock/index.d.ts +7 -0
  27. package/dist/components/AgentHub/Chat/Detail/MessageActions/index.d.ts +33 -0
  28. package/dist/components/AgentHub/Chat/Detail/MessageEditPopover/index.d.ts +13 -0
  29. package/dist/components/AgentHub/Chat/Detail/MessageItem/index.d.ts +14 -0
  30. package/dist/components/AgentHub/Chat/Detail/ThinkingSection/index.d.ts +13 -0
  31. package/dist/components/AgentHub/Chat/Detail/index.d.ts +12 -0
  32. package/dist/components/AgentHub/Chat/Form/Form.d.ts +16 -0
  33. package/dist/components/AgentHub/Chat/Form/index.d.ts +2 -0
  34. package/dist/components/AgentHub/Chat/List/ChatCard/index.d.ts +11 -0
  35. package/dist/components/AgentHub/Chat/List/FilterBar.d.ts +7 -0
  36. package/dist/components/AgentHub/Chat/List/SessionSidebar/index.d.ts +15 -0
  37. package/dist/components/AgentHub/Chat/List/index.d.ts +6 -0
  38. package/dist/components/AgentHub/Chat/Modal/FormModal.d.ts +12 -0
  39. package/dist/components/AgentHub/Chat/Modal/index.d.ts +2 -0
  40. package/dist/components/AgentHub/Chat/constants/index.d.ts +1 -0
  41. package/dist/components/AgentHub/Chat/constants/types.d.ts +2 -0
  42. package/dist/components/AgentHub/Chat/hooks/index.d.ts +5 -0
  43. package/dist/components/AgentHub/Chat/hooks/useAutoScrollToBottom.d.ts +21 -0
  44. package/dist/components/AgentHub/Chat/hooks/useChat.d.ts +19 -0
  45. package/dist/components/AgentHub/Chat/hooks/useChatSessions.d.ts +20 -0
  46. package/dist/components/AgentHub/Chat/hooks/useSSECompletion.d.ts +13 -0
  47. package/dist/components/AgentHub/Chat/hooks/useTypewriter.d.ts +16 -0
  48. package/dist/components/AgentHub/Chat/index.d.ts +7 -0
  49. package/dist/components/AgentHub/Chat/utils/citationContent.d.ts +37 -0
  50. package/dist/components/AgentHub/Chat/utils/index.d.ts +5 -0
  51. package/dist/components/AgentHub/Chat/utils/messageContent.d.ts +18 -0
  52. package/dist/components/AgentHub/Chat/utils/sanitizeMermaidChart.d.ts +7 -0
  53. package/dist/components/AgentHub/Chat/utils/sessionMessages.d.ts +21 -0
  54. package/dist/components/AgentHub/Chat/utils/smoothScroll.d.ts +14 -0
  55. package/dist/components/AgentHub/ChatSessionAccessGuard.d.ts +8 -0
  56. package/dist/components/AgentHub/KnowledgeBase/Action/CreateButton.d.ts +6 -0
  57. package/dist/components/AgentHub/KnowledgeBase/Action/ManageActionButtons.d.ts +6 -0
  58. package/dist/components/AgentHub/KnowledgeBase/Action/handlers.d.ts +5 -0
  59. package/dist/components/AgentHub/KnowledgeBase/Action/index.d.ts +5 -0
  60. package/dist/components/AgentHub/KnowledgeBase/Detail/DocumentTable/index.d.ts +16 -0
  61. package/dist/components/AgentHub/KnowledgeBase/Detail/ParseStatusTag/index.d.ts +6 -0
  62. package/dist/components/AgentHub/KnowledgeBase/Detail/index.d.ts +4 -0
  63. package/dist/components/AgentHub/KnowledgeBase/Form/Form.d.ts +13 -0
  64. package/dist/components/AgentHub/KnowledgeBase/Form/index.d.ts +2 -0
  65. package/dist/components/AgentHub/KnowledgeBase/List/FilterBar.d.ts +7 -0
  66. package/dist/components/AgentHub/KnowledgeBase/List/KnowledgeCard/index.d.ts +11 -0
  67. package/dist/components/AgentHub/KnowledgeBase/List/index.d.ts +4 -0
  68. package/dist/components/AgentHub/KnowledgeBase/Modal/FormModal.d.ts +11 -0
  69. package/dist/components/AgentHub/KnowledgeBase/Modal/index.d.ts +2 -0
  70. package/dist/components/AgentHub/KnowledgeBase/constants/index.d.ts +1 -0
  71. package/dist/components/AgentHub/KnowledgeBase/constants/types.d.ts +16 -0
  72. package/dist/components/AgentHub/KnowledgeBase/hooks/index.d.ts +2 -0
  73. package/dist/components/AgentHub/KnowledgeBase/hooks/useKBDocuments.d.ts +10 -0
  74. package/dist/components/AgentHub/KnowledgeBase/hooks/useKnowledgeBase.d.ts +13 -0
  75. package/dist/components/AgentHub/KnowledgeBase/index.d.ts +7 -0
  76. package/dist/components/AgentHub/types.d.ts +83 -0
  77. package/dist/components/Auth/PermissionGuard.d.ts +19 -0
  78. package/dist/components/Auth/ProtectedRoute.d.ts +10 -0
  79. package/dist/components/Auth/hasPermission.d.ts +2 -0
  80. package/dist/components/Auth/index.d.ts +3 -0
  81. package/dist/components/Auth/types.d.ts +1 -0
  82. package/dist/components/Descriptions/CommonDescriptions.d.ts +23 -0
  83. package/dist/components/Descriptions/index.d.ts +2 -0
  84. package/dist/components/File/FileItem/index.d.ts +22 -0
  85. package/dist/components/File/FileLink/index.d.ts +8 -0
  86. package/dist/components/File/FilePreview/FilePreviewContent.d.ts +9 -0
  87. package/dist/components/File/FilePreview/FilePreviewContent.js +83 -0
  88. package/dist/components/File/FilePreview/FilePreviewContent.js.map +1 -0
  89. package/dist/components/File/FilePreview/index.d.ts +13 -0
  90. package/dist/components/File/FilePreview/index.js +46 -39
  91. package/dist/components/File/FilePreview/index.js.map +1 -1
  92. package/dist/components/File/FilePreview/style.module.scss.js +19 -2
  93. package/dist/components/File/FilePreview/style.module.scss.js.map +1 -1
  94. package/dist/components/File/FilePreviewLink/index.d.ts +13 -0
  95. package/dist/components/File/FilePreviewLink/index.js +61 -0
  96. package/dist/components/File/FilePreviewLink/index.js.map +1 -0
  97. package/dist/components/File/FilePreviewLink/style.module.scss.js +11 -0
  98. package/dist/components/File/FilePreviewLink/style.module.scss.js.map +1 -0
  99. package/dist/components/File/FilePreviewModal/index.d.ts +13 -0
  100. package/dist/components/File/FilePreviewModal/index.js +37 -8
  101. package/dist/components/File/FilePreviewModal/index.js.map +1 -1
  102. package/dist/components/File/fileDisplay.d.ts +11 -0
  103. package/dist/components/File/index.d.ts +12 -0
  104. package/dist/components/File/previewKind.d.ts +6 -0
  105. package/dist/components/File/previewKind.js +42 -0
  106. package/dist/components/File/previewKind.js.map +1 -0
  107. package/dist/components/File/types.d.ts +20 -0
  108. package/dist/components/Filter/CommonFilter/index.d.ts +41 -0
  109. package/dist/components/Filter/FilterDateRange/index.d.ts +18 -0
  110. package/dist/components/Filter/FilterInput/index.d.ts +10 -0
  111. package/dist/components/Filter/FilterNumberRange/index.d.ts +12 -0
  112. package/dist/components/Filter/FilterPanel/index.d.ts +11 -0
  113. package/dist/components/Filter/FilterPopover/index.d.ts +24 -0
  114. package/dist/components/Filter/FilterSelect/index.d.ts +18 -0
  115. package/dist/components/Filter/FilterTreeSelect/index.d.ts +22 -0
  116. package/dist/components/Filter/FilterTrigger/index.d.ts +16 -0
  117. package/dist/components/Filter/index.d.ts +30 -0
  118. package/dist/components/Filter/types.d.ts +35 -0
  119. package/dist/components/Filter/useFilterState.d.ts +49 -0
  120. package/dist/components/Form/FetchSelect.d.ts +21 -0
  121. package/dist/components/Form/FetchTreeSelect.d.ts +22 -0
  122. package/dist/components/Form/PersonOptionRow/index.d.ts +9 -0
  123. package/dist/components/Form/StepForm.d.ts +42 -0
  124. package/dist/components/Form/index.d.ts +8 -0
  125. package/dist/components/Icons/index.d.ts +85 -0
  126. package/dist/components/Layout/PageHeaderLayout/index.d.ts +12 -0
  127. package/dist/components/Layout/index.d.ts +2 -0
  128. package/dist/components/Modal/StepModal/index.d.ts +25 -0
  129. package/dist/components/Modal/StepModalTypes.d.ts +40 -0
  130. package/dist/components/Modal/index.d.ts +2 -0
  131. package/dist/components/Stat/StatCard/index.d.ts +22 -0
  132. package/dist/components/Stat/StatCardList.d.ts +26 -0
  133. package/dist/components/Stat/StatPendingBreakdown/index.d.ts +25 -0
  134. package/dist/components/Stat/index.d.ts +6 -0
  135. package/dist/components/Tag/FileTags.d.ts +6 -0
  136. package/dist/components/Tag/SemanticTag.d.ts +52 -0
  137. package/dist/components/Tag/Tags/index.d.ts +16 -0
  138. package/dist/components/Tag/index.d.ts +6 -0
  139. package/dist/components/TooltipInfo/TooltipInfo.d.ts +19 -0
  140. package/dist/components/TooltipInfo/index.d.ts +2 -0
  141. package/dist/components/Tour/AppTour/index.d.ts +19 -0
  142. package/dist/components/Tour/index.d.ts +2 -0
  143. package/dist/components/Upload/index.d.ts +66 -0
  144. package/dist/components/Upload/index.js +181 -0
  145. package/dist/components/Upload/index.js.map +1 -0
  146. package/dist/components/Upload/style.module.scss.js +19 -0
  147. package/dist/components/Upload/style.module.scss.js.map +1 -0
  148. package/dist/components/VirtualScrollbar/VirtualScrollbar/index.d.ts +14 -0
  149. package/dist/components/VirtualScrollbar/index.d.ts +3 -0
  150. package/dist/components/VirtualScrollbar/useVirtualScrollbar.d.ts +23 -0
  151. package/dist/components/index.d.ts +15 -0
  152. package/dist/hooks/useFetchData.d.ts +22 -0
  153. package/dist/index.d.ts +26 -28
  154. package/dist/index.js +170 -166
  155. package/dist/index.js.map +1 -1
  156. package/dist/marsun-components-core.css +1 -1
  157. package/dist/node_modules/@js-preview/excel/lib/index.js +43346 -0
  158. package/dist/node_modules/@js-preview/excel/lib/index.js.map +1 -0
  159. package/dist/node_modules/docx-preview/dist/docx-preview.js +3203 -0
  160. package/dist/node_modules/docx-preview/dist/docx-preview.js.map +1 -0
  161. package/dist/node_modules/echarts/index.js +88 -0
  162. package/dist/node_modules/echarts/index.js.map +1 -0
  163. package/dist/node_modules/echarts/lib/action/roamHelper.js +23 -0
  164. package/dist/node_modules/echarts/lib/action/roamHelper.js.map +1 -0
  165. package/dist/node_modules/echarts/lib/animation/basicTransition.js +97 -0
  166. package/dist/node_modules/echarts/lib/animation/basicTransition.js.map +1 -0
  167. package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +57 -0
  168. package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js.map +1 -0
  169. package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +236 -0
  170. package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js.map +1 -0
  171. package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +107 -0
  172. package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js.map +1 -0
  173. package/dist/node_modules/echarts/lib/animation/universalTransition.js +346 -0
  174. package/dist/node_modules/echarts/lib/animation/universalTransition.js.map +1 -0
  175. package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +55 -0
  176. package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js.map +1 -0
  177. package/dist/node_modules/echarts/lib/chart/bar/BarView.js +478 -0
  178. package/dist/node_modules/echarts/lib/chart/bar/BarView.js.map +1 -0
  179. package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +77 -0
  180. package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js.map +1 -0
  181. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +49 -0
  182. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js.map +1 -0
  183. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +326 -0
  184. package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js.map +1 -0
  185. package/dist/node_modules/echarts/lib/chart/bar/install.js +24 -0
  186. package/dist/node_modules/echarts/lib/chart/bar/install.js.map +1 -0
  187. package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +11 -0
  188. package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js.map +1 -0
  189. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +57 -0
  190. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js.map +1 -0
  191. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +96 -0
  192. package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js.map +1 -0
  193. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +73 -0
  194. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js.map +1 -0
  195. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +24 -0
  196. package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js.map +1 -0
  197. package/dist/node_modules/echarts/lib/chart/boxplot/install.js +11 -0
  198. package/dist/node_modules/echarts/lib/chart/boxplot/install.js.map +1 -0
  199. package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +26 -0
  200. package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js.map +1 -0
  201. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +71 -0
  202. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js.map +1 -0
  203. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +196 -0
  204. package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js.map +1 -0
  205. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +77 -0
  206. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js.map +1 -0
  207. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +36 -0
  208. package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js.map +1 -0
  209. package/dist/node_modules/echarts/lib/chart/candlestick/install.js +12 -0
  210. package/dist/node_modules/echarts/lib/chart/candlestick/install.js.map +1 -0
  211. package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +10 -0
  212. package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js.map +1 -0
  213. package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +56 -0
  214. package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js.map +1 -0
  215. package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +439 -0
  216. package/dist/node_modules/echarts/lib/chart/custom/CustomView.js.map +1 -0
  217. package/dist/node_modules/echarts/lib/chart/custom/install.js +9 -0
  218. package/dist/node_modules/echarts/lib/chart/custom/install.js.map +1 -0
  219. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +61 -0
  220. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js.map +1 -0
  221. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +45 -0
  222. package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js.map +1 -0
  223. package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +10 -0
  224. package/dist/node_modules/echarts/lib/chart/effectScatter/install.js.map +1 -0
  225. package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +84 -0
  226. package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js.map +1 -0
  227. package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +110 -0
  228. package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js.map +1 -0
  229. package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +98 -0
  230. package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js.map +1 -0
  231. package/dist/node_modules/echarts/lib/chart/funnel/install.js +11 -0
  232. package/dist/node_modules/echarts/lib/chart/funnel/install.js.map +1 -0
  233. package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +143 -0
  234. package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js.map +1 -0
  235. package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +300 -0
  236. package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js.map +1 -0
  237. package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +30 -0
  238. package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js.map +1 -0
  239. package/dist/node_modules/echarts/lib/chart/gauge/install.js +9 -0
  240. package/dist/node_modules/echarts/lib/chart/gauge/install.js.map +1 -0
  241. package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +181 -0
  242. package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js.map +1 -0
  243. package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +137 -0
  244. package/dist/node_modules/echarts/lib/chart/graph/GraphView.js.map +1 -0
  245. package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +54 -0
  246. package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js.map +1 -0
  247. package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +23 -0
  248. package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js.map +1 -0
  249. package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +30 -0
  250. package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js.map +1 -0
  251. package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +10 -0
  252. package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js.map +1 -0
  253. package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +81 -0
  254. package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js.map +1 -0
  255. package/dist/node_modules/echarts/lib/chart/graph/createView.js +34 -0
  256. package/dist/node_modules/echarts/lib/chart/graph/createView.js.map +1 -0
  257. package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +29 -0
  258. package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js.map +1 -0
  259. package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +74 -0
  260. package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js.map +1 -0
  261. package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +62 -0
  262. package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js.map +1 -0
  263. package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +16 -0
  264. package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js.map +1 -0
  265. package/dist/node_modules/echarts/lib/chart/graph/install.js +43 -0
  266. package/dist/node_modules/echarts/lib/chart/graph/install.js.map +1 -0
  267. package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +25 -0
  268. package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js.map +1 -0
  269. package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +24 -0
  270. package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js.map +1 -0
  271. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +46 -0
  272. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js.map +1 -0
  273. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +45 -0
  274. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js.map +1 -0
  275. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +155 -0
  276. package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js.map +1 -0
  277. package/dist/node_modules/echarts/lib/chart/heatmap/install.js +9 -0
  278. package/dist/node_modules/echarts/lib/chart/heatmap/install.js.map +1 -0
  279. package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +69 -0
  280. package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js.map +1 -0
  281. package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +55 -0
  282. package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js.map +1 -0
  283. package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +90 -0
  284. package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js.map +1 -0
  285. package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +158 -0
  286. package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js.map +1 -0
  287. package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +144 -0
  288. package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js.map +1 -0
  289. package/dist/node_modules/echarts/lib/chart/helper/Line.js +209 -0
  290. package/dist/node_modules/echarts/lib/chart/helper/Line.js.map +1 -0
  291. package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +88 -0
  292. package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js.map +1 -0
  293. package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +53 -0
  294. package/dist/node_modules/echarts/lib/chart/helper/LinePath.js.map +1 -0
  295. package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +46 -0
  296. package/dist/node_modules/echarts/lib/chart/helper/Polyline.js.map +1 -0
  297. package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +156 -0
  298. package/dist/node_modules/echarts/lib/chart/helper/Symbol.js.map +1 -0
  299. package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +107 -0
  300. package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js.map +1 -0
  301. package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +71 -0
  302. package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js.map +1 -0
  303. package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +51 -0
  304. package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js.map +1 -0
  305. package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +12 -0
  306. package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js.map +1 -0
  307. package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +71 -0
  308. package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js.map +1 -0
  309. package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +16 -0
  310. package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js.map +1 -0
  311. package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +14 -0
  312. package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js.map +1 -0
  313. package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +28 -0
  314. package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js.map +1 -0
  315. package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +68 -0
  316. package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js.map +1 -0
  317. package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +20 -0
  318. package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js.map +1 -0
  319. package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +42 -0
  320. package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js.map +1 -0
  321. package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +52 -0
  322. package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js.map +1 -0
  323. package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +93 -0
  324. package/dist/node_modules/echarts/lib/chart/line/LineSeries.js.map +1 -0
  325. package/dist/node_modules/echarts/lib/chart/line/LineView.js +532 -0
  326. package/dist/node_modules/echarts/lib/chart/line/LineView.js.map +1 -0
  327. package/dist/node_modules/echarts/lib/chart/line/helper.js +41 -0
  328. package/dist/node_modules/echarts/lib/chart/line/helper.js.map +1 -0
  329. package/dist/node_modules/echarts/lib/chart/line/install.js +17 -0
  330. package/dist/node_modules/echarts/lib/chart/line/install.js.map +1 -0
  331. package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +61 -0
  332. package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js.map +1 -0
  333. package/dist/node_modules/echarts/lib/chart/line/poly.js +164 -0
  334. package/dist/node_modules/echarts/lib/chart/line/poly.js.map +1 -0
  335. package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +154 -0
  336. package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js.map +1 -0
  337. package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +66 -0
  338. package/dist/node_modules/echarts/lib/chart/lines/LinesView.js.map +1 -0
  339. package/dist/node_modules/echarts/lib/chart/lines/install.js +11 -0
  340. package/dist/node_modules/echarts/lib/chart/lines/install.js.map +1 -0
  341. package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +51 -0
  342. package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js.map +1 -0
  343. package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +21 -0
  344. package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js.map +1 -0
  345. package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +144 -0
  346. package/dist/node_modules/echarts/lib/chart/map/MapSeries.js.map +1 -0
  347. package/dist/node_modules/echarts/lib/chart/map/MapView.js +84 -0
  348. package/dist/node_modules/echarts/lib/chart/map/MapView.js.map +1 -0
  349. package/dist/node_modules/echarts/lib/chart/map/install.js +14 -0
  350. package/dist/node_modules/echarts/lib/chart/map/install.js.map +1 -0
  351. package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +33 -0
  352. package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js.map +1 -0
  353. package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +32 -0
  354. package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js.map +1 -0
  355. package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +64 -0
  356. package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js.map +1 -0
  357. package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +112 -0
  358. package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js.map +1 -0
  359. package/dist/node_modules/echarts/lib/chart/parallel/install.js +12 -0
  360. package/dist/node_modules/echarts/lib/chart/parallel/install.js.map +1 -0
  361. package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +27 -0
  362. package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js.map +1 -0
  363. package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +143 -0
  364. package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js.map +1 -0
  365. package/dist/node_modules/echarts/lib/chart/pie/PieView.js +152 -0
  366. package/dist/node_modules/echarts/lib/chart/pie/PieView.js.map +1 -0
  367. package/dist/node_modules/echarts/lib/chart/pie/install.js +14 -0
  368. package/dist/node_modules/echarts/lib/chart/pie/install.js.map +1 -0
  369. package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +200 -0
  370. package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js.map +1 -0
  371. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +100 -0
  372. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js.map +1 -0
  373. package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +74 -0
  374. package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js.map +1 -0
  375. package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +124 -0
  376. package/dist/node_modules/echarts/lib/chart/radar/RadarView.js.map +1 -0
  377. package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +18 -0
  378. package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js.map +1 -0
  379. package/dist/node_modules/echarts/lib/chart/radar/install.js +14 -0
  380. package/dist/node_modules/echarts/lib/chart/radar/install.js.map +1 -0
  381. package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +31 -0
  382. package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js.map +1 -0
  383. package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +125 -0
  384. package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js.map +1 -0
  385. package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +169 -0
  386. package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js.map +1 -0
  387. package/dist/node_modules/echarts/lib/chart/sankey/install.js +24 -0
  388. package/dist/node_modules/echarts/lib/chart/sankey/install.js.map +1 -0
  389. package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +278 -0
  390. package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js.map +1 -0
  391. package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +34 -0
  392. package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js.map +1 -0
  393. package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +62 -0
  394. package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js.map +1 -0
  395. package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +61 -0
  396. package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js.map +1 -0
  397. package/dist/node_modules/echarts/lib/chart/scatter/install.js +12 -0
  398. package/dist/node_modules/echarts/lib/chart/scatter/install.js.map +1 -0
  399. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +83 -0
  400. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js.map +1 -0
  401. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +129 -0
  402. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js.map +1 -0
  403. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +94 -0
  404. package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js.map +1 -0
  405. package/dist/node_modules/echarts/lib/chart/sunburst/install.js +14 -0
  406. package/dist/node_modules/echarts/lib/chart/sunburst/install.js.map +1 -0
  407. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +51 -0
  408. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js.map +1 -0
  409. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +99 -0
  410. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js.map +1 -0
  411. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +24 -0
  412. package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js.map +1 -0
  413. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +123 -0
  414. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js.map +1 -0
  415. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +101 -0
  416. package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js.map +1 -0
  417. package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +11 -0
  418. package/dist/node_modules/echarts/lib/chart/themeRiver/install.js.map +1 -0
  419. package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +64 -0
  420. package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js.map +1 -0
  421. package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +101 -0
  422. package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js.map +1 -0
  423. package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +320 -0
  424. package/dist/node_modules/echarts/lib/chart/tree/TreeView.js.map +1 -0
  425. package/dist/node_modules/echarts/lib/chart/tree/install.js +12 -0
  426. package/dist/node_modules/echarts/lib/chart/tree/install.js.map +1 -0
  427. package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +103 -0
  428. package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js.map +1 -0
  429. package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +25 -0
  430. package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js.map +1 -0
  431. package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +38 -0
  432. package/dist/node_modules/echarts/lib/chart/tree/treeAction.js.map +1 -0
  433. package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +54 -0
  434. package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js.map +1 -0
  435. package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +14 -0
  436. package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js.map +1 -0
  437. package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +100 -0
  438. package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js.map +1 -0
  439. package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +204 -0
  440. package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js.map +1 -0
  441. package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +455 -0
  442. package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js.map +1 -0
  443. package/dist/node_modules/echarts/lib/chart/treemap/install.js +12 -0
  444. package/dist/node_modules/echarts/lib/chart/treemap/install.js.map +1 -0
  445. package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +31 -0
  446. package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js.map +1 -0
  447. package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +218 -0
  448. package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js.map +1 -0
  449. package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +96 -0
  450. package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js.map +1 -0
  451. package/dist/node_modules/echarts/lib/component/aria/install.js +9 -0
  452. package/dist/node_modules/echarts/lib/component/aria/install.js.map +1 -0
  453. package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +13 -0
  454. package/dist/node_modules/echarts/lib/component/aria/preprocessor.js.map +1 -0
  455. package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +196 -0
  456. package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js.map +1 -0
  457. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +295 -0
  458. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js.map +1 -0
  459. package/dist/node_modules/echarts/lib/component/axis/AxisView.js +41 -0
  460. package/dist/node_modules/echarts/lib/component/axis/AxisView.js.map +1 -0
  461. package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +123 -0
  462. package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js.map +1 -0
  463. package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +89 -0
  464. package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js.map +1 -0
  465. package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +118 -0
  466. package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js.map +1 -0
  467. package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +71 -0
  468. package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js.map +1 -0
  469. package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +54 -0
  470. package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js.map +1 -0
  471. package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +26 -0
  472. package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js.map +1 -0
  473. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +72 -0
  474. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js.map +1 -0
  475. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +32 -0
  476. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js.map +1 -0
  477. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +186 -0
  478. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js.map +1 -0
  479. package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +86 -0
  480. package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js.map +1 -0
  481. package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +84 -0
  482. package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js.map +1 -0
  483. package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +81 -0
  484. package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js.map +1 -0
  485. package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +203 -0
  486. package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js.map +1 -0
  487. package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +37 -0
  488. package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js.map +1 -0
  489. package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +59 -0
  490. package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js.map +1 -0
  491. package/dist/node_modules/echarts/lib/component/axisPointer/install.js +26 -0
  492. package/dist/node_modules/echarts/lib/component/axisPointer/install.js.map +1 -0
  493. package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +138 -0
  494. package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js.map +1 -0
  495. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +115 -0
  496. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js.map +1 -0
  497. package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +59 -0
  498. package/dist/node_modules/echarts/lib/component/brush/BrushModel.js.map +1 -0
  499. package/dist/node_modules/echarts/lib/component/brush/BrushView.js +47 -0
  500. package/dist/node_modules/echarts/lib/component/brush/BrushView.js.map +1 -0
  501. package/dist/node_modules/echarts/lib/component/brush/install.js +33 -0
  502. package/dist/node_modules/echarts/lib/component/brush/install.js.map +1 -0
  503. package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +31 -0
  504. package/dist/node_modules/echarts/lib/component/brush/preprocessor.js.map +1 -0
  505. package/dist/node_modules/echarts/lib/component/brush/selector.js +63 -0
  506. package/dist/node_modules/echarts/lib/component/brush/selector.js.map +1 -0
  507. package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +141 -0
  508. package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js.map +1 -0
  509. package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +188 -0
  510. package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js.map +1 -0
  511. package/dist/node_modules/echarts/lib/component/calendar/install.js +10 -0
  512. package/dist/node_modules/echarts/lib/component/calendar/install.js.map +1 -0
  513. package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +126 -0
  514. package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js.map +1 -0
  515. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +189 -0
  516. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js.map +1 -0
  517. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +19 -0
  518. package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js.map +1 -0
  519. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +25 -0
  520. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js.map +1 -0
  521. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +77 -0
  522. package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js.map +1 -0
  523. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +17 -0
  524. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js.map +1 -0
  525. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +17 -0
  526. package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js.map +1 -0
  527. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +88 -0
  528. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js.map +1 -0
  529. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +454 -0
  530. package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js.map +1 -0
  531. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +19 -0
  532. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js.map +1 -0
  533. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +58 -0
  534. package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js.map +1 -0
  535. package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +68 -0
  536. package/dist/node_modules/echarts/lib/component/dataZoom/helper.js.map +1 -0
  537. package/dist/node_modules/echarts/lib/component/dataZoom/history.js +57 -0
  538. package/dist/node_modules/echarts/lib/component/dataZoom/history.js.map +1 -0
  539. package/dist/node_modules/echarts/lib/component/dataZoom/install.js +10 -0
  540. package/dist/node_modules/echarts/lib/component/dataZoom/install.js.map +1 -0
  541. package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +12 -0
  542. package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js.map +1 -0
  543. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +11 -0
  544. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js.map +1 -0
  545. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +10 -0
  546. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js.map +1 -0
  547. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +10 -0
  548. package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js.map +1 -0
  549. package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +127 -0
  550. package/dist/node_modules/echarts/lib/component/dataZoom/roams.js.map +1 -0
  551. package/dist/node_modules/echarts/lib/component/dataset/install.js +44 -0
  552. package/dist/node_modules/echarts/lib/component/dataset/install.js.map +1 -0
  553. package/dist/node_modules/echarts/lib/component/geo/GeoView.js +50 -0
  554. package/dist/node_modules/echarts/lib/component/geo/GeoView.js.map +1 -0
  555. package/dist/node_modules/echarts/lib/component/geo/install.js +73 -0
  556. package/dist/node_modules/echarts/lib/component/geo/install.js.map +1 -0
  557. package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +96 -0
  558. package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js.map +1 -0
  559. package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +186 -0
  560. package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js.map +1 -0
  561. package/dist/node_modules/echarts/lib/component/graphic/install.js +17 -0
  562. package/dist/node_modules/echarts/lib/component/graphic/install.js.map +1 -0
  563. package/dist/node_modules/echarts/lib/component/grid/install.js +10 -0
  564. package/dist/node_modules/echarts/lib/component/grid/install.js.map +1 -0
  565. package/dist/node_modules/echarts/lib/component/grid/installSimple.js +43 -0
  566. package/dist/node_modules/echarts/lib/component/grid/installSimple.js.map +1 -0
  567. package/dist/node_modules/echarts/lib/component/helper/BrushController.js +466 -0
  568. package/dist/node_modules/echarts/lib/component/helper/BrushController.js.map +1 -0
  569. package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +197 -0
  570. package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js.map +1 -0
  571. package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +304 -0
  572. package/dist/node_modules/echarts/lib/component/helper/MapDraw.js.map +1 -0
  573. package/dist/node_modules/echarts/lib/component/helper/RoamController.js +107 -0
  574. package/dist/node_modules/echarts/lib/component/helper/RoamController.js.map +1 -0
  575. package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +29 -0
  576. package/dist/node_modules/echarts/lib/component/helper/brushHelper.js.map +1 -0
  577. package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +13 -0
  578. package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js.map +1 -0
  579. package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +28 -0
  580. package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js.map +1 -0
  581. package/dist/node_modules/echarts/lib/component/helper/listComponent.js +30 -0
  582. package/dist/node_modules/echarts/lib/component/helper/listComponent.js.map +1 -0
  583. package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +18 -0
  584. package/dist/node_modules/echarts/lib/component/helper/roamHelper.js.map +1 -0
  585. package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +29 -0
  586. package/dist/node_modules/echarts/lib/component/helper/sliderMove.js.map +1 -0
  587. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +197 -0
  588. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js.map +1 -0
  589. package/dist/node_modules/echarts/lib/component/legend/LegendView.js +246 -0
  590. package/dist/node_modules/echarts/lib/component/legend/LegendView.js.map +1 -0
  591. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +50 -0
  592. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js.map +1 -0
  593. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +185 -0
  594. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js.map +1 -0
  595. package/dist/node_modules/echarts/lib/component/legend/install.js +10 -0
  596. package/dist/node_modules/echarts/lib/component/legend/install.js.map +1 -0
  597. package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +13 -0
  598. package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js.map +1 -0
  599. package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +12 -0
  600. package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js.map +1 -0
  601. package/dist/node_modules/echarts/lib/component/legend/legendAction.js +41 -0
  602. package/dist/node_modules/echarts/lib/component/legend/legendAction.js.map +1 -0
  603. package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +15 -0
  604. package/dist/node_modules/echarts/lib/component/legend/legendFilter.js.map +1 -0
  605. package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +16 -0
  606. package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js.map +1 -0
  607. package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +44 -0
  608. package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js.map +1 -0
  609. package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +180 -0
  610. package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js.map +1 -0
  611. package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +47 -0
  612. package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js.map +1 -0
  613. package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +179 -0
  614. package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js.map +1 -0
  615. package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +41 -0
  616. package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js.map +1 -0
  617. package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +85 -0
  618. package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js.map +1 -0
  619. package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +75 -0
  620. package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js.map +1 -0
  621. package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +46 -0
  622. package/dist/node_modules/echarts/lib/component/marker/MarkerView.js.map +1 -0
  623. package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +13 -0
  624. package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js.map +1 -0
  625. package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +12 -0
  626. package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js.map +1 -0
  627. package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +12 -0
  628. package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js.map +1 -0
  629. package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +12 -0
  630. package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js.map +1 -0
  631. package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +84 -0
  632. package/dist/node_modules/echarts/lib/component/marker/markerHelper.js.map +1 -0
  633. package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +67 -0
  634. package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js.map +1 -0
  635. package/dist/node_modules/echarts/lib/component/parallel/install.js +27 -0
  636. package/dist/node_modules/echarts/lib/component/parallel/install.js.map +1 -0
  637. package/dist/node_modules/echarts/lib/component/polar/install.js +41 -0
  638. package/dist/node_modules/echarts/lib/component/polar/install.js.map +1 -0
  639. package/dist/node_modules/echarts/lib/component/radar/RadarView.js +120 -0
  640. package/dist/node_modules/echarts/lib/component/radar/RadarView.js.map +1 -0
  641. package/dist/node_modules/echarts/lib/component/radar/install.js +18 -0
  642. package/dist/node_modules/echarts/lib/component/radar/install.js.map +1 -0
  643. package/dist/node_modules/echarts/lib/component/singleAxis/install.js +28 -0
  644. package/dist/node_modules/echarts/lib/component/singleAxis/install.js.map +1 -0
  645. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +116 -0
  646. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js.map +1 -0
  647. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +362 -0
  648. package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js.map +1 -0
  649. package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +21 -0
  650. package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js.map +1 -0
  651. package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +80 -0
  652. package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js.map +1 -0
  653. package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +17 -0
  654. package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js.map +1 -0
  655. package/dist/node_modules/echarts/lib/component/timeline/install.js +13 -0
  656. package/dist/node_modules/echarts/lib/component/timeline/install.js.map +1 -0
  657. package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +36 -0
  658. package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js.map +1 -0
  659. package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +30 -0
  660. package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js.map +1 -0
  661. package/dist/node_modules/echarts/lib/component/title/install.js +122 -0
  662. package/dist/node_modules/echarts/lib/component/title/install.js.map +1 -0
  663. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +61 -0
  664. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js.map +1 -0
  665. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +141 -0
  666. package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js.map +1 -0
  667. package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +70 -0
  668. package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js.map +1 -0
  669. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +271 -0
  670. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js.map +1 -0
  671. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +153 -0
  672. package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js.map +1 -0
  673. package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +124 -0
  674. package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js.map +1 -0
  675. package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +38 -0
  676. package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js.map +1 -0
  677. package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +70 -0
  678. package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js.map +1 -0
  679. package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +20 -0
  680. package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js.map +1 -0
  681. package/dist/node_modules/echarts/lib/component/toolbox/install.js +17 -0
  682. package/dist/node_modules/echarts/lib/component/toolbox/install.js.map +1 -0
  683. package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +153 -0
  684. package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js.map +1 -0
  685. package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +83 -0
  686. package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js.map +1 -0
  687. package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +90 -0
  688. package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js.map +1 -0
  689. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +413 -0
  690. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js.map +1 -0
  691. package/dist/node_modules/echarts/lib/component/tooltip/helper.js +33 -0
  692. package/dist/node_modules/echarts/lib/component/tooltip/helper.js.map +1 -0
  693. package/dist/node_modules/echarts/lib/component/tooltip/install.js +20 -0
  694. package/dist/node_modules/echarts/lib/component/tooltip/install.js.map +1 -0
  695. package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +64 -0
  696. package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js.map +1 -0
  697. package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +187 -0
  698. package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js.map +1 -0
  699. package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +36 -0
  700. package/dist/node_modules/echarts/lib/component/transform/filterTransform.js.map +1 -0
  701. package/dist/node_modules/echarts/lib/component/transform/install.js +9 -0
  702. package/dist/node_modules/echarts/lib/component/transform/install.js.map +1 -0
  703. package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +59 -0
  704. package/dist/node_modules/echarts/lib/component/transform/sortTransform.js.map +1 -0
  705. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +110 -0
  706. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js.map +1 -0
  707. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +383 -0
  708. package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js.map +1 -0
  709. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +217 -0
  710. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js.map +1 -0
  711. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +119 -0
  712. package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js.map +1 -0
  713. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +162 -0
  714. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js.map +1 -0
  715. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +78 -0
  716. package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js.map +1 -0
  717. package/dist/node_modules/echarts/lib/component/visualMap/helper.js +25 -0
  718. package/dist/node_modules/echarts/lib/component/visualMap/helper.js.map +1 -0
  719. package/dist/node_modules/echarts/lib/component/visualMap/install.js +10 -0
  720. package/dist/node_modules/echarts/lib/component/visualMap/install.js.map +1 -0
  721. package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +16 -0
  722. package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js.map +1 -0
  723. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +10 -0
  724. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js.map +1 -0
  725. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +10 -0
  726. package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js.map +1 -0
  727. package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +21 -0
  728. package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js.map +1 -0
  729. package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +52 -0
  730. package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js.map +1 -0
  731. package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +18 -0
  732. package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js.map +1 -0
  733. package/dist/node_modules/echarts/lib/coord/Axis.js +108 -0
  734. package/dist/node_modules/echarts/lib/coord/Axis.js.map +1 -0
  735. package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +7 -0
  736. package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js.map +1 -0
  737. package/dist/node_modules/echarts/lib/coord/View.js +92 -0
  738. package/dist/node_modules/echarts/lib/coord/View.js.map +1 -0
  739. package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +47 -0
  740. package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js.map +1 -0
  741. package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +10 -0
  742. package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js.map +1 -0
  743. package/dist/node_modules/echarts/lib/coord/axisDefault.js +161 -0
  744. package/dist/node_modules/echarts/lib/coord/axisDefault.js.map +1 -0
  745. package/dist/node_modules/echarts/lib/coord/axisHelper.js +163 -0
  746. package/dist/node_modules/echarts/lib/coord/axisHelper.js.map +1 -0
  747. package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +16 -0
  748. package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js.map +1 -0
  749. package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +41 -0
  750. package/dist/node_modules/echarts/lib/coord/axisModelCreator.js.map +1 -0
  751. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +177 -0
  752. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js.map +1 -0
  753. package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +159 -0
  754. package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js.map +1 -0
  755. package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +92 -0
  756. package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js.map +1 -0
  757. package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +29 -0
  758. package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js.map +1 -0
  759. package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +29 -0
  760. package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js.map +1 -0
  761. package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +22 -0
  762. package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js.map +1 -0
  763. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +27 -0
  764. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js.map +1 -0
  765. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +67 -0
  766. package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js.map +1 -0
  767. package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +234 -0
  768. package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js.map +1 -0
  769. package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +31 -0
  770. package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js.map +1 -0
  771. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +47 -0
  772. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js.map +1 -0
  773. package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +30 -0
  774. package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js.map +1 -0
  775. package/dist/node_modules/echarts/lib/coord/geo/Geo.js +86 -0
  776. package/dist/node_modules/echarts/lib/coord/geo/Geo.js.map +1 -0
  777. package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +71 -0
  778. package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js.map +1 -0
  779. package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +126 -0
  780. package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js.map +1 -0
  781. package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +109 -0
  782. package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js.map +1 -0
  783. package/dist/node_modules/echarts/lib/coord/geo/Region.js +138 -0
  784. package/dist/node_modules/echarts/lib/coord/geo/Region.js.map +1 -0
  785. package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +11 -0
  786. package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js.map +1 -0
  787. package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +23 -0
  788. package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js.map +1 -0
  789. package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +22 -0
  790. package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js.map +1 -0
  791. package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +109 -0
  792. package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js.map +1 -0
  793. package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +70 -0
  794. package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js.map +1 -0
  795. package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +68 -0
  796. package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js.map +1 -0
  797. package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +30 -0
  798. package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js.map +1 -0
  799. package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +52 -0
  800. package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js.map +1 -0
  801. package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +181 -0
  802. package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js.map +1 -0
  803. package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +19 -0
  804. package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js.map +1 -0
  805. package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +62 -0
  806. package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js.map +1 -0
  807. package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +21 -0
  808. package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js.map +1 -0
  809. package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +26 -0
  810. package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js.map +1 -0
  811. package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +30 -0
  812. package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js.map +1 -0
  813. package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +45 -0
  814. package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js.map +1 -0
  815. package/dist/node_modules/echarts/lib/coord/polar/Polar.js +87 -0
  816. package/dist/node_modules/echarts/lib/coord/polar/Polar.js.map +1 -0
  817. package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +27 -0
  818. package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js.map +1 -0
  819. package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +20 -0
  820. package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js.map +1 -0
  821. package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +64 -0
  822. package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js.map +1 -0
  823. package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +30 -0
  824. package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js.map +1 -0
  825. package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +17 -0
  826. package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js.map +1 -0
  827. package/dist/node_modules/echarts/lib/coord/radar/Radar.js +80 -0
  828. package/dist/node_modules/echarts/lib/coord/radar/Radar.js.map +1 -0
  829. package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +90 -0
  830. package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js.map +1 -0
  831. package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +71 -0
  832. package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js.map +1 -0
  833. package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +61 -0
  834. package/dist/node_modules/echarts/lib/coord/single/AxisModel.js.map +1 -0
  835. package/dist/node_modules/echarts/lib/coord/single/Single.js +89 -0
  836. package/dist/node_modules/echarts/lib/coord/single/Single.js.map +1 -0
  837. package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +22 -0
  838. package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js.map +1 -0
  839. package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +27 -0
  840. package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js.map +1 -0
  841. package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +33 -0
  842. package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js.map +1 -0
  843. package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +22 -0
  844. package/dist/node_modules/echarts/lib/coord/single/singleCreator.js.map +1 -0
  845. package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +30 -0
  846. package/dist/node_modules/echarts/lib/core/CoordinateSystem.js.map +1 -0
  847. package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +35 -0
  848. package/dist/node_modules/echarts/lib/core/ExtensionAPI.js.map +1 -0
  849. package/dist/node_modules/echarts/lib/core/Scheduler.js +227 -0
  850. package/dist/node_modules/echarts/lib/core/Scheduler.js.map +1 -0
  851. package/dist/node_modules/echarts/lib/core/echarts.js +1058 -0
  852. package/dist/node_modules/echarts/lib/core/echarts.js.map +1 -0
  853. package/dist/node_modules/echarts/lib/core/impl.js +13 -0
  854. package/dist/node_modules/echarts/lib/core/impl.js.map +1 -0
  855. package/dist/node_modules/echarts/lib/core/lifecycle.js +6 -0
  856. package/dist/node_modules/echarts/lib/core/lifecycle.js.map +1 -0
  857. package/dist/node_modules/echarts/lib/core/locale.js +38 -0
  858. package/dist/node_modules/echarts/lib/core/locale.js.map +1 -0
  859. package/dist/node_modules/echarts/lib/core/task.js +92 -0
  860. package/dist/node_modules/echarts/lib/core/task.js.map +1 -0
  861. package/dist/node_modules/echarts/lib/data/DataDiffer.js +81 -0
  862. package/dist/node_modules/echarts/lib/data/DataDiffer.js.map +1 -0
  863. package/dist/node_modules/echarts/lib/data/DataStore.js +431 -0
  864. package/dist/node_modules/echarts/lib/data/DataStore.js.map +1 -0
  865. package/dist/node_modules/echarts/lib/data/Graph.js +210 -0
  866. package/dist/node_modules/echarts/lib/data/Graph.js.map +1 -0
  867. package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +37 -0
  868. package/dist/node_modules/echarts/lib/data/OrdinalMeta.js.map +1 -0
  869. package/dist/node_modules/echarts/lib/data/SeriesData.js +339 -0
  870. package/dist/node_modules/echarts/lib/data/SeriesData.js.map +1 -0
  871. package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +14 -0
  872. package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js.map +1 -0
  873. package/dist/node_modules/echarts/lib/data/Source.js +158 -0
  874. package/dist/node_modules/echarts/lib/data/Source.js.map +1 -0
  875. package/dist/node_modules/echarts/lib/data/Tree.js +155 -0
  876. package/dist/node_modules/echarts/lib/data/Tree.js.map +1 -0
  877. package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +87 -0
  878. package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js.map +1 -0
  879. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +123 -0
  880. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js.map +1 -0
  881. package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +177 -0
  882. package/dist/node_modules/echarts/lib/data/helper/dataProvider.js.map +1 -0
  883. package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +61 -0
  884. package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js.map +1 -0
  885. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +90 -0
  886. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js.map +1 -0
  887. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +59 -0
  888. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js.map +1 -0
  889. package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +63 -0
  890. package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js.map +1 -0
  891. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +164 -0
  892. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js.map +1 -0
  893. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +138 -0
  894. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js.map +1 -0
  895. package/dist/node_modules/echarts/lib/data/helper/transform.js +174 -0
  896. package/dist/node_modules/echarts/lib/data/helper/transform.js.map +1 -0
  897. package/dist/node_modules/echarts/lib/extension.js +62 -0
  898. package/dist/node_modules/echarts/lib/extension.js.map +1 -0
  899. package/dist/node_modules/echarts/lib/i18n/langEN.js +115 -0
  900. package/dist/node_modules/echarts/lib/i18n/langEN.js.map +1 -0
  901. package/dist/node_modules/echarts/lib/i18n/langZH.js +115 -0
  902. package/dist/node_modules/echarts/lib/i18n/langZH.js.map +1 -0
  903. package/dist/node_modules/echarts/lib/label/LabelManager.js +236 -0
  904. package/dist/node_modules/echarts/lib/label/LabelManager.js.map +1 -0
  905. package/dist/node_modules/echarts/lib/label/installLabelLayout.js +18 -0
  906. package/dist/node_modules/echarts/lib/label/installLabelLayout.js.map +1 -0
  907. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +235 -0
  908. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js.map +1 -0
  909. package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +133 -0
  910. package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js.map +1 -0
  911. package/dist/node_modules/echarts/lib/label/labelStyle.js +195 -0
  912. package/dist/node_modules/echarts/lib/label/labelStyle.js.map +1 -0
  913. package/dist/node_modules/echarts/lib/label/sectorLabel.js +95 -0
  914. package/dist/node_modules/echarts/lib/label/sectorLabel.js.map +1 -0
  915. package/dist/node_modules/echarts/lib/layout/barGrid.js +236 -0
  916. package/dist/node_modules/echarts/lib/layout/barGrid.js.map +1 -0
  917. package/dist/node_modules/echarts/lib/layout/barPolar.js +102 -0
  918. package/dist/node_modules/echarts/lib/layout/barPolar.js.map +1 -0
  919. package/dist/node_modules/echarts/lib/layout/points.js +38 -0
  920. package/dist/node_modules/echarts/lib/layout/points.js.map +1 -0
  921. package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +52 -0
  922. package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js.map +1 -0
  923. package/dist/node_modules/echarts/lib/loading/default.js +93 -0
  924. package/dist/node_modules/echarts/lib/loading/default.js.map +1 -0
  925. package/dist/node_modules/echarts/lib/model/Component.js +82 -0
  926. package/dist/node_modules/echarts/lib/model/Component.js.map +1 -0
  927. package/dist/node_modules/echarts/lib/model/Global.js +355 -0
  928. package/dist/node_modules/echarts/lib/model/Global.js.map +1 -0
  929. package/dist/node_modules/echarts/lib/model/Model.js +65 -0
  930. package/dist/node_modules/echarts/lib/model/Model.js.map +1 -0
  931. package/dist/node_modules/echarts/lib/model/OptionManager.js +88 -0
  932. package/dist/node_modules/echarts/lib/model/OptionManager.js.map +1 -0
  933. package/dist/node_modules/echarts/lib/model/Series.js +232 -0
  934. package/dist/node_modules/echarts/lib/model/Series.js.map +1 -0
  935. package/dist/node_modules/echarts/lib/model/globalDefault.js +88 -0
  936. package/dist/node_modules/echarts/lib/model/globalDefault.js.map +1 -0
  937. package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +23 -0
  938. package/dist/node_modules/echarts/lib/model/internalComponentCreator.js.map +1 -0
  939. package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +25 -0
  940. package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js.map +1 -0
  941. package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +72 -0
  942. package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js.map +1 -0
  943. package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +32 -0
  944. package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js.map +1 -0
  945. package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +31 -0
  946. package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js.map +1 -0
  947. package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +19 -0
  948. package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js.map +1 -0
  949. package/dist/node_modules/echarts/lib/model/mixin/palette.js +43 -0
  950. package/dist/node_modules/echarts/lib/model/mixin/palette.js.map +1 -0
  951. package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +31 -0
  952. package/dist/node_modules/echarts/lib/model/mixin/textStyle.js.map +1 -0
  953. package/dist/node_modules/echarts/lib/model/referHelper.js +61 -0
  954. package/dist/node_modules/echarts/lib/model/referHelper.js.map +1 -0
  955. package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +81 -0
  956. package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js.map +1 -0
  957. package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +112 -0
  958. package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js.map +1 -0
  959. package/dist/node_modules/echarts/lib/processor/dataFilter.js +23 -0
  960. package/dist/node_modules/echarts/lib/processor/dataFilter.js.map +1 -0
  961. package/dist/node_modules/echarts/lib/processor/dataSample.js +52 -0
  962. package/dist/node_modules/echarts/lib/processor/dataSample.js.map +1 -0
  963. package/dist/node_modules/echarts/lib/processor/dataStack.js +51 -0
  964. package/dist/node_modules/echarts/lib/processor/dataStack.js.map +1 -0
  965. package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +17 -0
  966. package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js.map +1 -0
  967. package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +8 -0
  968. package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js.map +1 -0
  969. package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +8 -0
  970. package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js.map +1 -0
  971. package/dist/node_modules/echarts/lib/scale/Interval.js +98 -0
  972. package/dist/node_modules/echarts/lib/scale/Interval.js.map +1 -0
  973. package/dist/node_modules/echarts/lib/scale/Log.js +69 -0
  974. package/dist/node_modules/echarts/lib/scale/Log.js.map +1 -0
  975. package/dist/node_modules/echarts/lib/scale/Ordinal.js +77 -0
  976. package/dist/node_modules/echarts/lib/scale/Ordinal.js.map +1 -0
  977. package/dist/node_modules/echarts/lib/scale/Scale.js +33 -0
  978. package/dist/node_modules/echarts/lib/scale/Scale.js.map +1 -0
  979. package/dist/node_modules/echarts/lib/scale/Time.js +260 -0
  980. package/dist/node_modules/echarts/lib/scale/Time.js.map +1 -0
  981. package/dist/node_modules/echarts/lib/scale/helper.js +48 -0
  982. package/dist/node_modules/echarts/lib/scale/helper.js.map +1 -0
  983. package/dist/node_modules/echarts/lib/theme/dark.js +181 -0
  984. package/dist/node_modules/echarts/lib/theme/dark.js.map +1 -0
  985. package/dist/node_modules/echarts/lib/theme/light.js +9 -0
  986. package/dist/node_modules/echarts/lib/theme/light.js.map +1 -0
  987. package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +55 -0
  988. package/dist/node_modules/echarts/lib/util/ECEventProcessor.js.map +1 -0
  989. package/dist/node_modules/echarts/lib/util/animation.js +41 -0
  990. package/dist/node_modules/echarts/lib/util/animation.js.map +1 -0
  991. package/dist/node_modules/echarts/lib/util/clazz.js +110 -0
  992. package/dist/node_modules/echarts/lib/util/clazz.js.map +1 -0
  993. package/dist/node_modules/echarts/lib/util/component.js +80 -0
  994. package/dist/node_modules/echarts/lib/util/component.js.map +1 -0
  995. package/dist/node_modules/echarts/lib/util/conditionalExpression.js +147 -0
  996. package/dist/node_modules/echarts/lib/util/conditionalExpression.js.map +1 -0
  997. package/dist/node_modules/echarts/lib/util/decal.js +175 -0
  998. package/dist/node_modules/echarts/lib/util/decal.js.map +1 -0
  999. package/dist/node_modules/echarts/lib/util/event.js +9 -0
  1000. package/dist/node_modules/echarts/lib/util/event.js.map +1 -0
  1001. package/dist/node_modules/echarts/lib/util/format.js +112 -0
  1002. package/dist/node_modules/echarts/lib/util/format.js.map +1 -0
  1003. package/dist/node_modules/echarts/lib/util/graphic.js +295 -0
  1004. package/dist/node_modules/echarts/lib/util/graphic.js.map +1 -0
  1005. package/dist/node_modules/echarts/lib/util/innerStore.js +15 -0
  1006. package/dist/node_modules/echarts/lib/util/innerStore.js.map +1 -0
  1007. package/dist/node_modules/echarts/lib/util/layout.js +141 -0
  1008. package/dist/node_modules/echarts/lib/util/layout.js.map +1 -0
  1009. package/dist/node_modules/echarts/lib/util/log.js +69 -0
  1010. package/dist/node_modules/echarts/lib/util/log.js.map +1 -0
  1011. package/dist/node_modules/echarts/lib/util/model.js +350 -0
  1012. package/dist/node_modules/echarts/lib/util/model.js.map +1 -0
  1013. package/dist/node_modules/echarts/lib/util/number.js +197 -0
  1014. package/dist/node_modules/echarts/lib/util/number.js.map +1 -0
  1015. package/dist/node_modules/echarts/lib/util/shape/sausage.js +33 -0
  1016. package/dist/node_modules/echarts/lib/util/shape/sausage.js.map +1 -0
  1017. package/dist/node_modules/echarts/lib/util/states.js +395 -0
  1018. package/dist/node_modules/echarts/lib/util/states.js.map +1 -0
  1019. package/dist/node_modules/echarts/lib/util/styleCompat.js +59 -0
  1020. package/dist/node_modules/echarts/lib/util/styleCompat.js.map +1 -0
  1021. package/dist/node_modules/echarts/lib/util/symbol.js +156 -0
  1022. package/dist/node_modules/echarts/lib/util/symbol.js.map +1 -0
  1023. package/dist/node_modules/echarts/lib/util/throttle.js +42 -0
  1024. package/dist/node_modules/echarts/lib/util/throttle.js.map +1 -0
  1025. package/dist/node_modules/echarts/lib/util/time.js +194 -0
  1026. package/dist/node_modules/echarts/lib/util/time.js.map +1 -0
  1027. package/dist/node_modules/echarts/lib/util/types.js +14 -0
  1028. package/dist/node_modules/echarts/lib/util/types.js.map +1 -0
  1029. package/dist/node_modules/echarts/lib/util/vendor.js +9 -0
  1030. package/dist/node_modules/echarts/lib/util/vendor.js.map +1 -0
  1031. package/dist/node_modules/echarts/lib/view/Chart.js +99 -0
  1032. package/dist/node_modules/echarts/lib/view/Chart.js.map +1 -0
  1033. package/dist/node_modules/echarts/lib/view/Component.js +28 -0
  1034. package/dist/node_modules/echarts/lib/view/Component.js.map +1 -0
  1035. package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +25 -0
  1036. package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js.map +1 -0
  1037. package/dist/node_modules/echarts/lib/visual/VisualMapping.js +264 -0
  1038. package/dist/node_modules/echarts/lib/visual/VisualMapping.js.map +1 -0
  1039. package/dist/node_modules/echarts/lib/visual/aria.js +134 -0
  1040. package/dist/node_modules/echarts/lib/visual/aria.js.map +1 -0
  1041. package/dist/node_modules/echarts/lib/visual/decal.js +24 -0
  1042. package/dist/node_modules/echarts/lib/visual/decal.js.map +1 -0
  1043. package/dist/node_modules/echarts/lib/visual/helper.js +54 -0
  1044. package/dist/node_modules/echarts/lib/visual/helper.js.map +1 -0
  1045. package/dist/node_modules/echarts/lib/visual/style.js +96 -0
  1046. package/dist/node_modules/echarts/lib/visual/style.js.map +1 -0
  1047. package/dist/node_modules/echarts/lib/visual/symbol.js +53 -0
  1048. package/dist/node_modules/echarts/lib/visual/symbol.js.map +1 -0
  1049. package/dist/node_modules/echarts/lib/visual/visualDefault.js +47 -0
  1050. package/dist/node_modules/echarts/lib/visual/visualDefault.js.map +1 -0
  1051. package/dist/node_modules/echarts/lib/visual/visualSolution.js +98 -0
  1052. package/dist/node_modules/echarts/lib/visual/visualSolution.js.map +1 -0
  1053. package/dist/node_modules/echarts/node_modules/tslib/tslib.es6.js +34 -0
  1054. package/dist/node_modules/echarts/node_modules/tslib/tslib.es6.js.map +1 -0
  1055. package/dist/node_modules/jszip/dist/jszip.min.js +2321 -0
  1056. package/dist/node_modules/jszip/dist/jszip.min.js.map +1 -0
  1057. package/dist/node_modules/lodash/lodash.js +3693 -0
  1058. package/dist/node_modules/lodash/lodash.js.map +1 -0
  1059. package/dist/node_modules/pptx-preview/dist/pptx-preview.es.js +2599 -0
  1060. package/dist/node_modules/pptx-preview/dist/pptx-preview.es.js.map +1 -0
  1061. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/native.js +8 -0
  1062. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  1063. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/rng.js +10 -0
  1064. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/rng.js.map +1 -0
  1065. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/stringify.js +10 -0
  1066. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -0
  1067. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/v4.js +14 -0
  1068. package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/v4.js.map +1 -0
  1069. package/dist/node_modules/tslib/tslib.es6.js +125 -0
  1070. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  1071. package/dist/node_modules/zrender/lib/Element.js +455 -0
  1072. package/dist/node_modules/zrender/lib/Element.js.map +1 -0
  1073. package/dist/node_modules/zrender/lib/Handler.js +169 -0
  1074. package/dist/node_modules/zrender/lib/Handler.js.map +1 -0
  1075. package/dist/node_modules/zrender/lib/Storage.js +76 -0
  1076. package/dist/node_modules/zrender/lib/Storage.js.map +1 -0
  1077. package/dist/node_modules/zrender/lib/animation/Animation.js +67 -0
  1078. package/dist/node_modules/zrender/lib/animation/Animation.js.map +1 -0
  1079. package/dist/node_modules/zrender/lib/animation/Animator.js +382 -0
  1080. package/dist/node_modules/zrender/lib/animation/Animator.js.map +1 -0
  1081. package/dist/node_modules/zrender/lib/animation/Clip.js +34 -0
  1082. package/dist/node_modules/zrender/lib/animation/Clip.js.map +1 -0
  1083. package/dist/node_modules/zrender/lib/animation/cubicEasing.js +19 -0
  1084. package/dist/node_modules/zrender/lib/animation/cubicEasing.js.map +1 -0
  1085. package/dist/node_modules/zrender/lib/animation/easing.js +105 -0
  1086. package/dist/node_modules/zrender/lib/animation/easing.js.map +1 -0
  1087. package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +9 -0
  1088. package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js.map +1 -0
  1089. package/dist/node_modules/zrender/lib/canvas/Layer.js +135 -0
  1090. package/dist/node_modules/zrender/lib/canvas/Layer.js.map +1 -0
  1091. package/dist/node_modules/zrender/lib/canvas/Painter.js +309 -0
  1092. package/dist/node_modules/zrender/lib/canvas/Painter.js.map +1 -0
  1093. package/dist/node_modules/zrender/lib/canvas/dashStyle.js +19 -0
  1094. package/dist/node_modules/zrender/lib/canvas/dashStyle.js.map +1 -0
  1095. package/dist/node_modules/zrender/lib/canvas/graphic.js +198 -0
  1096. package/dist/node_modules/zrender/lib/canvas/graphic.js.map +1 -0
  1097. package/dist/node_modules/zrender/lib/canvas/helper.js +48 -0
  1098. package/dist/node_modules/zrender/lib/canvas/helper.js.map +1 -0
  1099. package/dist/node_modules/zrender/lib/config.js +12 -0
  1100. package/dist/node_modules/zrender/lib/config.js.map +1 -0
  1101. package/dist/node_modules/zrender/lib/contain/arc.js +25 -0
  1102. package/dist/node_modules/zrender/lib/contain/arc.js.map +1 -0
  1103. package/dist/node_modules/zrender/lib/contain/cubic.js +14 -0
  1104. package/dist/node_modules/zrender/lib/contain/cubic.js.map +1 -0
  1105. package/dist/node_modules/zrender/lib/contain/line.js +17 -0
  1106. package/dist/node_modules/zrender/lib/contain/line.js.map +1 -0
  1107. package/dist/node_modules/zrender/lib/contain/path.js +149 -0
  1108. package/dist/node_modules/zrender/lib/contain/path.js.map +1 -0
  1109. package/dist/node_modules/zrender/lib/contain/polygon.js +20 -0
  1110. package/dist/node_modules/zrender/lib/contain/polygon.js.map +1 -0
  1111. package/dist/node_modules/zrender/lib/contain/quadratic.js +14 -0
  1112. package/dist/node_modules/zrender/lib/contain/quadratic.js.map +1 -0
  1113. package/dist/node_modules/zrender/lib/contain/text.js +97 -0
  1114. package/dist/node_modules/zrender/lib/contain/text.js.map +1 -0
  1115. package/dist/node_modules/zrender/lib/contain/util.js +8 -0
  1116. package/dist/node_modules/zrender/lib/contain/util.js.map +1 -0
  1117. package/dist/node_modules/zrender/lib/contain/windingLine.js +12 -0
  1118. package/dist/node_modules/zrender/lib/contain/windingLine.js.map +1 -0
  1119. package/dist/node_modules/zrender/lib/core/BoundingRect.js +65 -0
  1120. package/dist/node_modules/zrender/lib/core/BoundingRect.js.map +1 -0
  1121. package/dist/node_modules/zrender/lib/core/Eventful.js +98 -0
  1122. package/dist/node_modules/zrender/lib/core/Eventful.js.map +1 -0
  1123. package/dist/node_modules/zrender/lib/core/GestureMgr.js +64 -0
  1124. package/dist/node_modules/zrender/lib/core/GestureMgr.js.map +1 -0
  1125. package/dist/node_modules/zrender/lib/core/LRU.js +53 -0
  1126. package/dist/node_modules/zrender/lib/core/LRU.js.map +1 -0
  1127. package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +47 -0
  1128. package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js.map +1 -0
  1129. package/dist/node_modules/zrender/lib/core/PathProxy.js +301 -0
  1130. package/dist/node_modules/zrender/lib/core/PathProxy.js.map +1 -0
  1131. package/dist/node_modules/zrender/lib/core/Point.js +73 -0
  1132. package/dist/node_modules/zrender/lib/core/Point.js.map +1 -0
  1133. package/dist/node_modules/zrender/lib/core/Transformable.js +106 -0
  1134. package/dist/node_modules/zrender/lib/core/Transformable.js.map +1 -0
  1135. package/dist/node_modules/zrender/lib/core/WeakMap.js +27 -0
  1136. package/dist/node_modules/zrender/lib/core/WeakMap.js.map +1 -0
  1137. package/dist/node_modules/zrender/lib/core/bbox.js +53 -0
  1138. package/dist/node_modules/zrender/lib/core/bbox.js.map +1 -0
  1139. package/dist/node_modules/zrender/lib/core/curve.js +162 -0
  1140. package/dist/node_modules/zrender/lib/core/curve.js.map +1 -0
  1141. package/dist/node_modules/zrender/lib/core/dom.js +68 -0
  1142. package/dist/node_modules/zrender/lib/core/dom.js.map +1 -0
  1143. package/dist/node_modules/zrender/lib/core/env.js +22 -0
  1144. package/dist/node_modules/zrender/lib/core/env.js.map +1 -0
  1145. package/dist/node_modules/zrender/lib/core/event.js +70 -0
  1146. package/dist/node_modules/zrender/lib/core/event.js.map +1 -0
  1147. package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +42 -0
  1148. package/dist/node_modules/zrender/lib/core/fourPointsTransform.js.map +1 -0
  1149. package/dist/node_modules/zrender/lib/core/matrix.js +45 -0
  1150. package/dist/node_modules/zrender/lib/core/matrix.js.map +1 -0
  1151. package/dist/node_modules/zrender/lib/core/platform.js +49 -0
  1152. package/dist/node_modules/zrender/lib/core/platform.js.map +1 -0
  1153. package/dist/node_modules/zrender/lib/core/timsort.js +287 -0
  1154. package/dist/node_modules/zrender/lib/core/timsort.js.map +1 -0
  1155. package/dist/node_modules/zrender/lib/core/util.js +406 -0
  1156. package/dist/node_modules/zrender/lib/core/util.js.map +1 -0
  1157. package/dist/node_modules/zrender/lib/core/vector.js +77 -0
  1158. package/dist/node_modules/zrender/lib/core/vector.js.map +1 -0
  1159. package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +189 -0
  1160. package/dist/node_modules/zrender/lib/dom/HandlerProxy.js.map +1 -0
  1161. package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +30 -0
  1162. package/dist/node_modules/zrender/lib/graphic/CompoundPath.js.map +1 -0
  1163. package/dist/node_modules/zrender/lib/graphic/Displayable.js +147 -0
  1164. package/dist/node_modules/zrender/lib/graphic/Displayable.js.map +1 -0
  1165. package/dist/node_modules/zrender/lib/graphic/Gradient.js +15 -0
  1166. package/dist/node_modules/zrender/lib/graphic/Gradient.js.map +1 -0
  1167. package/dist/node_modules/zrender/lib/graphic/Group.js +96 -0
  1168. package/dist/node_modules/zrender/lib/graphic/Group.js.map +1 -0
  1169. package/dist/node_modules/zrender/lib/graphic/Image.js +56 -0
  1170. package/dist/node_modules/zrender/lib/graphic/Image.js.map +1 -0
  1171. package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +70 -0
  1172. package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js.map +1 -0
  1173. package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +14 -0
  1174. package/dist/node_modules/zrender/lib/graphic/LinearGradient.js.map +1 -0
  1175. package/dist/node_modules/zrender/lib/graphic/Path.js +217 -0
  1176. package/dist/node_modules/zrender/lib/graphic/Path.js.map +1 -0
  1177. package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +14 -0
  1178. package/dist/node_modules/zrender/lib/graphic/RadialGradient.js.map +1 -0
  1179. package/dist/node_modules/zrender/lib/graphic/TSpan.js +53 -0
  1180. package/dist/node_modules/zrender/lib/graphic/TSpan.js.map +1 -0
  1181. package/dist/node_modules/zrender/lib/graphic/Text.js +221 -0
  1182. package/dist/node_modules/zrender/lib/graphic/Text.js.map +1 -0
  1183. package/dist/node_modules/zrender/lib/graphic/constants.js +7 -0
  1184. package/dist/node_modules/zrender/lib/graphic/constants.js.map +1 -0
  1185. package/dist/node_modules/zrender/lib/graphic/helper/image.js +42 -0
  1186. package/dist/node_modules/zrender/lib/graphic/helper/image.js.map +1 -0
  1187. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +212 -0
  1188. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js.map +1 -0
  1189. package/dist/node_modules/zrender/lib/graphic/helper/poly.js +23 -0
  1190. package/dist/node_modules/zrender/lib/graphic/helper/poly.js.map +1 -0
  1191. package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +10 -0
  1192. package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js.map +1 -0
  1193. package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +80 -0
  1194. package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js.map +1 -0
  1195. package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +30 -0
  1196. package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js.map +1 -0
  1197. package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +29 -0
  1198. package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js.map +1 -0
  1199. package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +30 -0
  1200. package/dist/node_modules/zrender/lib/graphic/shape/Arc.js.map +1 -0
  1201. package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +48 -0
  1202. package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js.map +1 -0
  1203. package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +24 -0
  1204. package/dist/node_modules/zrender/lib/graphic/shape/Circle.js.map +1 -0
  1205. package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +25 -0
  1206. package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js.map +1 -0
  1207. package/dist/node_modules/zrender/lib/graphic/shape/Line.js +43 -0
  1208. package/dist/node_modules/zrender/lib/graphic/shape/Line.js.map +1 -0
  1209. package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +25 -0
  1210. package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js.map +1 -0
  1211. package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +30 -0
  1212. package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js.map +1 -0
  1213. package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +34 -0
  1214. package/dist/node_modules/zrender/lib/graphic/shape/Rect.js.map +1 -0
  1215. package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +25 -0
  1216. package/dist/node_modules/zrender/lib/graphic/shape/Ring.js.map +1 -0
  1217. package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +27 -0
  1218. package/dist/node_modules/zrender/lib/graphic/shape/Sector.js.map +1 -0
  1219. package/dist/node_modules/zrender/lib/mixin/Draggable.js +30 -0
  1220. package/dist/node_modules/zrender/lib/mixin/Draggable.js.map +1 -0
  1221. package/dist/node_modules/zrender/lib/svg/Painter.js +153 -0
  1222. package/dist/node_modules/zrender/lib/svg/Painter.js.map +1 -0
  1223. package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +53 -0
  1224. package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js.map +1 -0
  1225. package/dist/node_modules/zrender/lib/svg/core.js +99 -0
  1226. package/dist/node_modules/zrender/lib/svg/core.js.map +1 -0
  1227. package/dist/node_modules/zrender/lib/svg/cssAnimation.js +183 -0
  1228. package/dist/node_modules/zrender/lib/svg/cssAnimation.js.map +1 -0
  1229. package/dist/node_modules/zrender/lib/svg/cssClassId.js +8 -0
  1230. package/dist/node_modules/zrender/lib/svg/cssClassId.js.map +1 -0
  1231. package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +34 -0
  1232. package/dist/node_modules/zrender/lib/svg/cssEmphasis.js.map +1 -0
  1233. package/dist/node_modules/zrender/lib/svg/domapi.js +31 -0
  1234. package/dist/node_modules/zrender/lib/svg/domapi.js.map +1 -0
  1235. package/dist/node_modules/zrender/lib/svg/graphic.js +232 -0
  1236. package/dist/node_modules/zrender/lib/svg/graphic.js.map +1 -0
  1237. package/dist/node_modules/zrender/lib/svg/helper.js +113 -0
  1238. package/dist/node_modules/zrender/lib/svg/helper.js.map +1 -0
  1239. package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +51 -0
  1240. package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js.map +1 -0
  1241. package/dist/node_modules/zrender/lib/svg/patch.js +86 -0
  1242. package/dist/node_modules/zrender/lib/svg/patch.js.map +1 -0
  1243. package/dist/node_modules/zrender/lib/tool/color.js +343 -0
  1244. package/dist/node_modules/zrender/lib/tool/color.js.map +1 -0
  1245. package/dist/node_modules/zrender/lib/tool/convertPath.js +92 -0
  1246. package/dist/node_modules/zrender/lib/tool/convertPath.js.map +1 -0
  1247. package/dist/node_modules/zrender/lib/tool/dividePath.js +182 -0
  1248. package/dist/node_modules/zrender/lib/tool/dividePath.js.map +1 -0
  1249. package/dist/node_modules/zrender/lib/tool/morphPath.js +320 -0
  1250. package/dist/node_modules/zrender/lib/tool/morphPath.js.map +1 -0
  1251. package/dist/node_modules/zrender/lib/tool/parseSVG.js +404 -0
  1252. package/dist/node_modules/zrender/lib/tool/parseSVG.js.map +1 -0
  1253. package/dist/node_modules/zrender/lib/tool/parseXML.js +15 -0
  1254. package/dist/node_modules/zrender/lib/tool/parseXML.js.map +1 -0
  1255. package/dist/node_modules/zrender/lib/tool/path.js +165 -0
  1256. package/dist/node_modules/zrender/lib/tool/path.js.map +1 -0
  1257. package/dist/node_modules/zrender/lib/tool/transformPath.js +39 -0
  1258. package/dist/node_modules/zrender/lib/tool/transformPath.js.map +1 -0
  1259. package/dist/node_modules/zrender/lib/zrender.js +141 -0
  1260. package/dist/node_modules/zrender/lib/zrender.js.map +1 -0
  1261. package/dist/node_modules/zrender/node_modules/tslib/tslib.es6.js +34 -0
  1262. package/dist/node_modules/zrender/node_modules/tslib/tslib.es6.js.map +1 -0
  1263. package/dist/provider/MarsunCoreProvider.d.ts +20 -0
  1264. package/dist/provider/context.d.ts +24 -0
  1265. package/dist/provider/index.d.ts +3 -0
  1266. package/dist/styles/global.css +1 -0
  1267. package/dist/theme/constants.d.ts +12 -0
  1268. package/dist/theme/theme.d.ts +11 -0
  1269. package/dist/utils/format.d.ts +2 -0
  1270. package/dist/utils/resolveMaybeFn.d.ts +11 -0
  1271. package/package.json +12 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataStore.js","sources":["../../../../../node_modules/echarts/lib/data/DataStore.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 { assert, clone, createHashMap, isFunction, keys, map, reduce } from 'zrender/lib/core/util.js';\nimport { parseDataValue } from './helper/dataValueHelper.js';\nimport { shouldRetrieveDataByName } from './Source.js';\nvar UNDEFINED = 'undefined';\n/* global Float64Array, Int32Array, Uint32Array, Uint16Array */\n// Caution: MUST not use `new CtorUint32Array(arr, 0, len)`, because the Ctor of array is\n// different from the Ctor of typed array.\nexport var CtorUint32Array = typeof Uint32Array === UNDEFINED ? Array : Uint32Array;\nexport var CtorUint16Array = typeof Uint16Array === UNDEFINED ? Array : Uint16Array;\nexport var CtorInt32Array = typeof Int32Array === UNDEFINED ? Array : Int32Array;\nexport var CtorFloat64Array = typeof Float64Array === UNDEFINED ? Array : Float64Array;\n/**\r\n * Multi dimensional data store\r\n */\nvar dataCtors = {\n 'float': CtorFloat64Array,\n 'int': CtorInt32Array,\n // Ordinal data type can be string or int\n 'ordinal': Array,\n 'number': Array,\n 'time': CtorFloat64Array\n};\nvar defaultDimValueGetters;\nfunction getIndicesCtor(rawCount) {\n // The possible max value in this._indicies is always this._rawCount despite of filtering.\n return rawCount > 65535 ? CtorUint32Array : CtorUint16Array;\n}\n;\nfunction getInitialExtent() {\n return [Infinity, -Infinity];\n}\n;\nfunction cloneChunk(originalChunk) {\n var Ctor = originalChunk.constructor;\n // Only shallow clone is enough when Array.\n return Ctor === Array ? originalChunk.slice() : new Ctor(originalChunk);\n}\nfunction prepareStore(store, dimIdx, dimType, end, append) {\n var DataCtor = dataCtors[dimType || 'float'];\n if (append) {\n var oldStore = store[dimIdx];\n var oldLen = oldStore && oldStore.length;\n if (!(oldLen === end)) {\n var newStore = new DataCtor(end);\n // The cost of the copy is probably inconsiderable\n // within the initial chunkSize.\n for (var j = 0; j < oldLen; j++) {\n newStore[j] = oldStore[j];\n }\n store[dimIdx] = newStore;\n }\n } else {\n store[dimIdx] = new DataCtor(end);\n }\n}\n;\n/**\r\n * Basically, DataStore API keep immutable.\r\n */\nvar DataStore = /** @class */function () {\n function DataStore() {\n this._chunks = [];\n // It will not be calculated until needed.\n this._rawExtent = [];\n this._extent = [];\n this._count = 0;\n this._rawCount = 0;\n this._calcDimNameToIdx = createHashMap();\n }\n /**\r\n * Initialize from data\r\n */\n DataStore.prototype.initData = function (provider, inputDimensions, dimValueGetter) {\n if (process.env.NODE_ENV !== 'production') {\n assert(isFunction(provider.getItem) && isFunction(provider.count), 'Invalid data provider.');\n }\n this._provider = provider;\n // Clear\n this._chunks = [];\n this._indices = null;\n this.getRawIndex = this._getRawIdxIdentity;\n var source = provider.getSource();\n var defaultGetter = this.defaultDimValueGetter = defaultDimValueGetters[source.sourceFormat];\n // Default dim value getter\n this._dimValueGetter = dimValueGetter || defaultGetter;\n // Reset raw extent.\n this._rawExtent = [];\n var willRetrieveDataByName = shouldRetrieveDataByName(source);\n this._dimensions = map(inputDimensions, function (dim) {\n if (process.env.NODE_ENV !== 'production') {\n if (willRetrieveDataByName) {\n assert(dim.property != null);\n }\n }\n return {\n // Only pick these two props. Not leak other properties like orderMeta.\n type: dim.type,\n property: dim.property\n };\n });\n this._initDataFromProvider(0, provider.count());\n };\n DataStore.prototype.getProvider = function () {\n return this._provider;\n };\n /**\r\n * Caution: even when a `source` instance owned by a series, the created data store\r\n * may still be shared by different sereis (the source hash does not use all `source`\r\n * props, see `sourceManager`). In this case, the `source` props that are not used in\r\n * hash (like `source.dimensionDefine`) probably only belongs to a certain series and\r\n * thus should not be fetch here.\r\n */\n DataStore.prototype.getSource = function () {\n return this._provider.getSource();\n };\n /**\r\n * @caution Only used in dataStack.\r\n */\n DataStore.prototype.ensureCalculationDimension = function (dimName, type) {\n var calcDimNameToIdx = this._calcDimNameToIdx;\n var dimensions = this._dimensions;\n var calcDimIdx = calcDimNameToIdx.get(dimName);\n if (calcDimIdx != null) {\n if (dimensions[calcDimIdx].type === type) {\n return calcDimIdx;\n }\n } else {\n calcDimIdx = dimensions.length;\n }\n dimensions[calcDimIdx] = {\n type: type\n };\n calcDimNameToIdx.set(dimName, calcDimIdx);\n this._chunks[calcDimIdx] = new dataCtors[type || 'float'](this._rawCount);\n this._rawExtent[calcDimIdx] = getInitialExtent();\n return calcDimIdx;\n };\n DataStore.prototype.collectOrdinalMeta = function (dimIdx, ordinalMeta) {\n var chunk = this._chunks[dimIdx];\n var dim = this._dimensions[dimIdx];\n var rawExtents = this._rawExtent;\n var offset = dim.ordinalOffset || 0;\n var len = chunk.length;\n if (offset === 0) {\n // We need to reset the rawExtent if collect is from start.\n // Because this dimension may be guessed as number and calcuating a wrong extent.\n rawExtents[dimIdx] = getInitialExtent();\n }\n var dimRawExtent = rawExtents[dimIdx];\n // Parse from previous data offset. len may be changed after appendData\n for (var i = offset; i < len; i++) {\n var val = chunk[i] = ordinalMeta.parseAndCollect(chunk[i]);\n if (!isNaN(val)) {\n dimRawExtent[0] = Math.min(val, dimRawExtent[0]);\n dimRawExtent[1] = Math.max(val, dimRawExtent[1]);\n }\n }\n dim.ordinalMeta = ordinalMeta;\n dim.ordinalOffset = len;\n dim.type = 'ordinal'; // Force to be ordinal\n };\n DataStore.prototype.getOrdinalMeta = function (dimIdx) {\n var dimInfo = this._dimensions[dimIdx];\n var ordinalMeta = dimInfo.ordinalMeta;\n return ordinalMeta;\n };\n DataStore.prototype.getDimensionProperty = function (dimIndex) {\n var item = this._dimensions[dimIndex];\n return item && item.property;\n };\n /**\r\n * Caution: Can be only called on raw data (before `this._indices` created).\r\n */\n DataStore.prototype.appendData = function (data) {\n if (process.env.NODE_ENV !== 'production') {\n assert(!this._indices, 'appendData can only be called on raw data.');\n }\n var provider = this._provider;\n var start = this.count();\n provider.appendData(data);\n var end = provider.count();\n if (!provider.persistent) {\n end += start;\n }\n if (start < end) {\n this._initDataFromProvider(start, end, true);\n }\n return [start, end];\n };\n DataStore.prototype.appendValues = function (values, minFillLen) {\n var chunks = this._chunks;\n var dimensions = this._dimensions;\n var dimLen = dimensions.length;\n var rawExtent = this._rawExtent;\n var start = this.count();\n var end = start + Math.max(values.length, minFillLen || 0);\n for (var i = 0; i < dimLen; i++) {\n var dim = dimensions[i];\n prepareStore(chunks, i, dim.type, end, true);\n }\n var emptyDataItem = [];\n for (var idx = start; idx < end; idx++) {\n var sourceIdx = idx - start;\n // Store the data by dimensions\n for (var dimIdx = 0; dimIdx < dimLen; dimIdx++) {\n var dim = dimensions[dimIdx];\n var val = defaultDimValueGetters.arrayRows.call(this, values[sourceIdx] || emptyDataItem, dim.property, sourceIdx, dimIdx);\n chunks[dimIdx][idx] = val;\n var dimRawExtent = rawExtent[dimIdx];\n val < dimRawExtent[0] && (dimRawExtent[0] = val);\n val > dimRawExtent[1] && (dimRawExtent[1] = val);\n }\n }\n this._rawCount = this._count = end;\n return {\n start: start,\n end: end\n };\n };\n DataStore.prototype._initDataFromProvider = function (start, end, append) {\n var provider = this._provider;\n var chunks = this._chunks;\n var dimensions = this._dimensions;\n var dimLen = dimensions.length;\n var rawExtent = this._rawExtent;\n var dimNames = map(dimensions, function (dim) {\n return dim.property;\n });\n for (var i = 0; i < dimLen; i++) {\n var dim = dimensions[i];\n if (!rawExtent[i]) {\n rawExtent[i] = getInitialExtent();\n }\n prepareStore(chunks, i, dim.type, end, append);\n }\n if (provider.fillStorage) {\n provider.fillStorage(start, end, chunks, rawExtent);\n } else {\n var dataItem = [];\n for (var idx = start; idx < end; idx++) {\n // NOTICE: Try not to write things into dataItem\n dataItem = provider.getItem(idx, dataItem);\n // Each data item is value\n // [1, 2]\n // 2\n // Bar chart, line chart which uses category axis\n // only gives the 'y' value. 'x' value is the indices of category\n // Use a tempValue to normalize the value to be a (x, y) value\n // Store the data by dimensions\n for (var dimIdx = 0; dimIdx < dimLen; dimIdx++) {\n var dimStorage = chunks[dimIdx];\n // PENDING NULL is empty or zero\n var val = this._dimValueGetter(dataItem, dimNames[dimIdx], idx, dimIdx);\n dimStorage[idx] = val;\n var dimRawExtent = rawExtent[dimIdx];\n val < dimRawExtent[0] && (dimRawExtent[0] = val);\n val > dimRawExtent[1] && (dimRawExtent[1] = val);\n }\n }\n }\n if (!provider.persistent && provider.clean) {\n // Clean unused data if data source is typed array.\n provider.clean();\n }\n this._rawCount = this._count = end;\n // Reset data extent\n this._extent = [];\n };\n DataStore.prototype.count = function () {\n return this._count;\n };\n /**\r\n * Get value. Return NaN if idx is out of range.\r\n */\n DataStore.prototype.get = function (dim, idx) {\n if (!(idx >= 0 && idx < this._count)) {\n return NaN;\n }\n var dimStore = this._chunks[dim];\n return dimStore ? dimStore[this.getRawIndex(idx)] : NaN;\n };\n DataStore.prototype.getValues = function (dimensions, idx) {\n var values = [];\n var dimArr = [];\n if (idx == null) {\n idx = dimensions;\n // TODO get all from store?\n dimensions = [];\n // All dimensions\n for (var i = 0; i < this._dimensions.length; i++) {\n dimArr.push(i);\n }\n } else {\n dimArr = dimensions;\n }\n for (var i = 0, len = dimArr.length; i < len; i++) {\n values.push(this.get(dimArr[i], idx));\n }\n return values;\n };\n /**\r\n * @param dim concrete dim\r\n */\n DataStore.prototype.getByRawIndex = function (dim, rawIdx) {\n if (!(rawIdx >= 0 && rawIdx < this._rawCount)) {\n return NaN;\n }\n var dimStore = this._chunks[dim];\n return dimStore ? dimStore[rawIdx] : NaN;\n };\n /**\r\n * Get sum of data in one dimension\r\n */\n DataStore.prototype.getSum = function (dim) {\n var dimData = this._chunks[dim];\n var sum = 0;\n if (dimData) {\n for (var i = 0, len = this.count(); i < len; i++) {\n var value = this.get(dim, i);\n if (!isNaN(value)) {\n sum += value;\n }\n }\n }\n return sum;\n };\n /**\r\n * Get median of data in one dimension\r\n */\n DataStore.prototype.getMedian = function (dim) {\n var dimDataArray = [];\n // map all data of one dimension\n this.each([dim], function (val) {\n if (!isNaN(val)) {\n dimDataArray.push(val);\n }\n });\n // TODO\n // Use quick select?\n var sortedDimDataArray = dimDataArray.sort(function (a, b) {\n return a - b;\n });\n var len = this.count();\n // calculate median\n return len === 0 ? 0 : len % 2 === 1 ? sortedDimDataArray[(len - 1) / 2] : (sortedDimDataArray[len / 2] + sortedDimDataArray[len / 2 - 1]) / 2;\n };\n /**\r\n * Retrieve the index with given raw data index.\r\n */\n DataStore.prototype.indexOfRawIndex = function (rawIndex) {\n if (rawIndex >= this._rawCount || rawIndex < 0) {\n return -1;\n }\n if (!this._indices) {\n return rawIndex;\n }\n // Indices are ascending\n var indices = this._indices;\n // If rawIndex === dataIndex\n var rawDataIndex = indices[rawIndex];\n if (rawDataIndex != null && rawDataIndex < this._count && rawDataIndex === rawIndex) {\n return rawIndex;\n }\n var left = 0;\n var right = this._count - 1;\n while (left <= right) {\n var mid = (left + right) / 2 | 0;\n if (indices[mid] < rawIndex) {\n left = mid + 1;\n } else if (indices[mid] > rawIndex) {\n right = mid - 1;\n } else {\n return mid;\n }\n }\n return -1;\n };\n /**\r\n * Retrieve the index of nearest value.\r\n * @param dim\r\n * @param value\r\n * @param [maxDistance=Infinity]\r\n * @return If and only if multiple indices have\r\n * the same value, they are put to the result.\r\n */\n DataStore.prototype.indicesOfNearest = function (dim, value, maxDistance) {\n var chunks = this._chunks;\n var dimData = chunks[dim];\n var nearestIndices = [];\n if (!dimData) {\n return nearestIndices;\n }\n if (maxDistance == null) {\n maxDistance = Infinity;\n }\n var minDist = Infinity;\n var minDiff = -1;\n var nearestIndicesLen = 0;\n // Check the test case of `test/ut/spec/data/SeriesData.js`.\n for (var i = 0, len = this.count(); i < len; i++) {\n var dataIndex = this.getRawIndex(i);\n var diff = value - dimData[dataIndex];\n var dist = Math.abs(diff);\n if (dist <= maxDistance) {\n // When the `value` is at the middle of `this.get(dim, i)` and `this.get(dim, i+1)`,\n // we'd better not push both of them to `nearestIndices`, otherwise it is easy to\n // get more than one item in `nearestIndices` (more specifically, in `tooltip`).\n // So we choose the one that `diff >= 0` in this case.\n // But if `this.get(dim, i)` and `this.get(dim, j)` get the same value, both of them\n // should be push to `nearestIndices`.\n if (dist < minDist || dist === minDist && diff >= 0 && minDiff < 0) {\n minDist = dist;\n minDiff = diff;\n nearestIndicesLen = 0;\n }\n if (diff === minDiff) {\n nearestIndices[nearestIndicesLen++] = i;\n }\n }\n }\n nearestIndices.length = nearestIndicesLen;\n return nearestIndices;\n };\n DataStore.prototype.getIndices = function () {\n var newIndices;\n var indices = this._indices;\n if (indices) {\n var Ctor = indices.constructor;\n var thisCount = this._count;\n // `new Array(a, b, c)` is different from `new Uint32Array(a, b, c)`.\n if (Ctor === Array) {\n newIndices = new Ctor(thisCount);\n for (var i = 0; i < thisCount; i++) {\n newIndices[i] = indices[i];\n }\n } else {\n newIndices = new Ctor(indices.buffer, 0, thisCount);\n }\n } else {\n var Ctor = getIndicesCtor(this._rawCount);\n newIndices = new Ctor(this.count());\n for (var i = 0; i < newIndices.length; i++) {\n newIndices[i] = i;\n }\n }\n return newIndices;\n };\n /**\r\n * Data filter.\r\n */\n DataStore.prototype.filter = function (dims, cb) {\n if (!this._count) {\n return this;\n }\n var newStore = this.clone();\n var count = newStore.count();\n var Ctor = getIndicesCtor(newStore._rawCount);\n var newIndices = new Ctor(count);\n var value = [];\n var dimSize = dims.length;\n var offset = 0;\n var dim0 = dims[0];\n var chunks = newStore._chunks;\n for (var i = 0; i < count; i++) {\n var keep = void 0;\n var rawIdx = newStore.getRawIndex(i);\n // Simple optimization\n if (dimSize === 0) {\n keep = cb(i);\n } else if (dimSize === 1) {\n var val = chunks[dim0][rawIdx];\n keep = cb(val, i);\n } else {\n var k = 0;\n for (; k < dimSize; k++) {\n value[k] = chunks[dims[k]][rawIdx];\n }\n value[k] = i;\n keep = cb.apply(null, value);\n }\n if (keep) {\n newIndices[offset++] = rawIdx;\n }\n }\n // Set indices after filtered.\n if (offset < count) {\n newStore._indices = newIndices;\n }\n newStore._count = offset;\n // Reset data extent\n newStore._extent = [];\n newStore._updateGetRawIdx();\n return newStore;\n };\n /**\r\n * Select data in range. (For optimization of filter)\r\n * (Manually inline code, support 5 million data filtering in data zoom.)\r\n */\n DataStore.prototype.selectRange = function (range) {\n var newStore = this.clone();\n var len = newStore._count;\n if (!len) {\n return this;\n }\n var dims = keys(range);\n var dimSize = dims.length;\n if (!dimSize) {\n return this;\n }\n var originalCount = newStore.count();\n var Ctor = getIndicesCtor(newStore._rawCount);\n var newIndices = new Ctor(originalCount);\n var offset = 0;\n var dim0 = dims[0];\n var min = range[dim0][0];\n var max = range[dim0][1];\n var storeArr = newStore._chunks;\n var quickFinished = false;\n if (!newStore._indices) {\n // Extreme optimization for common case. About 2x faster in chrome.\n var idx = 0;\n if (dimSize === 1) {\n var dimStorage = storeArr[dims[0]];\n for (var i = 0; i < len; i++) {\n var val = dimStorage[i];\n // NaN will not be filtered. Consider the case, in line chart, empty\n // value indicates the line should be broken. But for the case like\n // scatter plot, a data item with empty value will not be rendered,\n // but the axis extent may be effected if some other dim of the data\n // item has value. Fortunately it is not a significant negative effect.\n if (val >= min && val <= max || isNaN(val)) {\n newIndices[offset++] = idx;\n }\n idx++;\n }\n quickFinished = true;\n } else if (dimSize === 2) {\n var dimStorage = storeArr[dims[0]];\n var dimStorage2 = storeArr[dims[1]];\n var min2 = range[dims[1]][0];\n var max2 = range[dims[1]][1];\n for (var i = 0; i < len; i++) {\n var val = dimStorage[i];\n var val2 = dimStorage2[i];\n // Do not filter NaN, see comment above.\n if ((val >= min && val <= max || isNaN(val)) && (val2 >= min2 && val2 <= max2 || isNaN(val2))) {\n newIndices[offset++] = idx;\n }\n idx++;\n }\n quickFinished = true;\n }\n }\n if (!quickFinished) {\n if (dimSize === 1) {\n for (var i = 0; i < originalCount; i++) {\n var rawIndex = newStore.getRawIndex(i);\n var val = storeArr[dims[0]][rawIndex];\n // Do not filter NaN, see comment above.\n if (val >= min && val <= max || isNaN(val)) {\n newIndices[offset++] = rawIndex;\n }\n }\n } else {\n for (var i = 0; i < originalCount; i++) {\n var keep = true;\n var rawIndex = newStore.getRawIndex(i);\n for (var k = 0; k < dimSize; k++) {\n var dimk = dims[k];\n var val = storeArr[dimk][rawIndex];\n // Do not filter NaN, see comment above.\n if (val < range[dimk][0] || val > range[dimk][1]) {\n keep = false;\n }\n }\n if (keep) {\n newIndices[offset++] = newStore.getRawIndex(i);\n }\n }\n }\n }\n // Set indices after filtered.\n if (offset < originalCount) {\n newStore._indices = newIndices;\n }\n newStore._count = offset;\n // Reset data extent\n newStore._extent = [];\n newStore._updateGetRawIdx();\n return newStore;\n };\n // /**\n // * Data mapping to a plain array\n // */\n // mapArray(dims: DimensionIndex[], cb: MapArrayCb): any[] {\n // const result: any[] = [];\n // this.each(dims, function () {\n // result.push(cb && (cb as MapArrayCb).apply(null, arguments));\n // });\n // return result;\n // }\n /**\r\n * Data mapping to a new List with given dimensions\r\n */\n DataStore.prototype.map = function (dims, cb) {\n // TODO only clone picked chunks.\n var target = this.clone(dims);\n this._updateDims(target, dims, cb);\n return target;\n };\n /**\r\n * @caution Danger!! Only used in dataStack.\r\n */\n DataStore.prototype.modify = function (dims, cb) {\n this._updateDims(this, dims, cb);\n };\n DataStore.prototype._updateDims = function (target, dims, cb) {\n var targetChunks = target._chunks;\n var tmpRetValue = [];\n var dimSize = dims.length;\n var dataCount = target.count();\n var values = [];\n var rawExtent = target._rawExtent;\n for (var i = 0; i < dims.length; i++) {\n rawExtent[dims[i]] = getInitialExtent();\n }\n for (var dataIndex = 0; dataIndex < dataCount; dataIndex++) {\n var rawIndex = target.getRawIndex(dataIndex);\n for (var k = 0; k < dimSize; k++) {\n values[k] = targetChunks[dims[k]][rawIndex];\n }\n values[dimSize] = dataIndex;\n var retValue = cb && cb.apply(null, values);\n if (retValue != null) {\n // a number or string (in oridinal dimension)?\n if (typeof retValue !== 'object') {\n tmpRetValue[0] = retValue;\n retValue = tmpRetValue;\n }\n for (var i = 0; i < retValue.length; i++) {\n var dim = dims[i];\n var val = retValue[i];\n var rawExtentOnDim = rawExtent[dim];\n var dimStore = targetChunks[dim];\n if (dimStore) {\n dimStore[rawIndex] = val;\n }\n if (val < rawExtentOnDim[0]) {\n rawExtentOnDim[0] = val;\n }\n if (val > rawExtentOnDim[1]) {\n rawExtentOnDim[1] = val;\n }\n }\n }\n }\n };\n /**\r\n * Large data down sampling using largest-triangle-three-buckets\r\n * @param {string} valueDimension\r\n * @param {number} targetCount\r\n */\n DataStore.prototype.lttbDownSample = function (valueDimension, rate) {\n var target = this.clone([valueDimension], true);\n var targetStorage = target._chunks;\n var dimStore = targetStorage[valueDimension];\n var len = this.count();\n var sampledIndex = 0;\n var frameSize = Math.floor(1 / rate);\n var currentRawIndex = this.getRawIndex(0);\n var maxArea;\n var area;\n var nextRawIndex;\n var newIndices = new (getIndicesCtor(this._rawCount))(Math.min((Math.ceil(len / frameSize) + 2) * 2, len));\n // First frame use the first data.\n newIndices[sampledIndex++] = currentRawIndex;\n for (var i = 1; i < len - 1; i += frameSize) {\n var nextFrameStart = Math.min(i + frameSize, len - 1);\n var nextFrameEnd = Math.min(i + frameSize * 2, len);\n var avgX = (nextFrameEnd + nextFrameStart) / 2;\n var avgY = 0;\n for (var idx = nextFrameStart; idx < nextFrameEnd; idx++) {\n var rawIndex = this.getRawIndex(idx);\n var y = dimStore[rawIndex];\n if (isNaN(y)) {\n continue;\n }\n avgY += y;\n }\n avgY /= nextFrameEnd - nextFrameStart;\n var frameStart = i;\n var frameEnd = Math.min(i + frameSize, len);\n var pointAX = i - 1;\n var pointAY = dimStore[currentRawIndex];\n maxArea = -1;\n nextRawIndex = frameStart;\n var firstNaNIndex = -1;\n var countNaN = 0;\n // Find a point from current frame that construct a triangle with largest area with previous selected point\n // And the average of next frame.\n for (var idx = frameStart; idx < frameEnd; idx++) {\n var rawIndex = this.getRawIndex(idx);\n var y = dimStore[rawIndex];\n if (isNaN(y)) {\n countNaN++;\n if (firstNaNIndex < 0) {\n firstNaNIndex = rawIndex;\n }\n continue;\n }\n // Calculate triangle area over three buckets\n area = Math.abs((pointAX - avgX) * (y - pointAY) - (pointAX - idx) * (avgY - pointAY));\n if (area > maxArea) {\n maxArea = area;\n nextRawIndex = rawIndex; // Next a is this b\n }\n }\n if (countNaN > 0 && countNaN < frameEnd - frameStart) {\n // Append first NaN point in every bucket.\n // It is necessary to ensure the correct order of indices.\n newIndices[sampledIndex++] = Math.min(firstNaNIndex, nextRawIndex);\n nextRawIndex = Math.max(firstNaNIndex, nextRawIndex);\n }\n newIndices[sampledIndex++] = nextRawIndex;\n currentRawIndex = nextRawIndex; // This a is the next a (chosen b)\n }\n // First frame use the last data.\n newIndices[sampledIndex++] = this.getRawIndex(len - 1);\n target._count = sampledIndex;\n target._indices = newIndices;\n target.getRawIndex = this._getRawIdx;\n return target;\n };\n /**\r\n * Large data down sampling using min-max\r\n * @param {string} valueDimension\r\n * @param {number} rate\r\n */\n DataStore.prototype.minmaxDownSample = function (valueDimension, rate) {\n var target = this.clone([valueDimension], true);\n var targetStorage = target._chunks;\n var frameSize = Math.floor(1 / rate);\n var dimStore = targetStorage[valueDimension];\n var len = this.count();\n // Each frame results in 2 data points, one for min and one for max\n var newIndices = new (getIndicesCtor(this._rawCount))(Math.ceil(len / frameSize) * 2);\n var offset = 0;\n for (var i = 0; i < len; i += frameSize) {\n var minIndex = i;\n var minValue = dimStore[this.getRawIndex(minIndex)];\n var maxIndex = i;\n var maxValue = dimStore[this.getRawIndex(maxIndex)];\n var thisFrameSize = frameSize;\n // Handle final smaller frame\n if (i + frameSize > len) {\n thisFrameSize = len - i;\n }\n // Determine min and max within the current frame\n for (var k = 0; k < thisFrameSize; k++) {\n var rawIndex = this.getRawIndex(i + k);\n var value = dimStore[rawIndex];\n if (value < minValue) {\n minValue = value;\n minIndex = i + k;\n }\n if (value > maxValue) {\n maxValue = value;\n maxIndex = i + k;\n }\n }\n var rawMinIndex = this.getRawIndex(minIndex);\n var rawMaxIndex = this.getRawIndex(maxIndex);\n // Set the order of the min and max values, based on their ordering in the frame\n if (minIndex < maxIndex) {\n newIndices[offset++] = rawMinIndex;\n newIndices[offset++] = rawMaxIndex;\n } else {\n newIndices[offset++] = rawMaxIndex;\n newIndices[offset++] = rawMinIndex;\n }\n }\n target._count = offset;\n target._indices = newIndices;\n target._updateGetRawIdx();\n return target;\n };\n /**\r\n * Large data down sampling on given dimension\r\n * @param sampleIndex Sample index for name and id\r\n */\n DataStore.prototype.downSample = function (dimension, rate, sampleValue, sampleIndex) {\n var target = this.clone([dimension], true);\n var targetStorage = target._chunks;\n var frameValues = [];\n var frameSize = Math.floor(1 / rate);\n var dimStore = targetStorage[dimension];\n var len = this.count();\n var rawExtentOnDim = target._rawExtent[dimension] = getInitialExtent();\n var newIndices = new (getIndicesCtor(this._rawCount))(Math.ceil(len / frameSize));\n var offset = 0;\n for (var i = 0; i < len; i += frameSize) {\n // Last frame\n if (frameSize > len - i) {\n frameSize = len - i;\n frameValues.length = frameSize;\n }\n for (var k = 0; k < frameSize; k++) {\n var dataIdx = this.getRawIndex(i + k);\n frameValues[k] = dimStore[dataIdx];\n }\n var value = sampleValue(frameValues);\n var sampleFrameIdx = this.getRawIndex(Math.min(i + sampleIndex(frameValues, value) || 0, len - 1));\n // Only write value on the filtered data\n dimStore[sampleFrameIdx] = value;\n if (value < rawExtentOnDim[0]) {\n rawExtentOnDim[0] = value;\n }\n if (value > rawExtentOnDim[1]) {\n rawExtentOnDim[1] = value;\n }\n newIndices[offset++] = sampleFrameIdx;\n }\n target._count = offset;\n target._indices = newIndices;\n target._updateGetRawIdx();\n return target;\n };\n /**\r\n * Data iteration\r\n * @param ctx default this\r\n * @example\r\n * list.each('x', function (x, idx) {});\r\n * list.each(['x', 'y'], function (x, y, idx) {});\r\n * list.each(function (idx) {})\r\n */\n DataStore.prototype.each = function (dims, cb) {\n if (!this._count) {\n return;\n }\n var dimSize = dims.length;\n var chunks = this._chunks;\n for (var i = 0, len = this.count(); i < len; i++) {\n var rawIdx = this.getRawIndex(i);\n // Simple optimization\n switch (dimSize) {\n case 0:\n cb(i);\n break;\n case 1:\n cb(chunks[dims[0]][rawIdx], i);\n break;\n case 2:\n cb(chunks[dims[0]][rawIdx], chunks[dims[1]][rawIdx], i);\n break;\n default:\n var k = 0;\n var value = [];\n for (; k < dimSize; k++) {\n value[k] = chunks[dims[k]][rawIdx];\n }\n // Index\n value[k] = i;\n cb.apply(null, value);\n }\n }\n };\n /**\r\n * Get extent of data in one dimension\r\n */\n DataStore.prototype.getDataExtent = function (dim) {\n // Make sure use concrete dim as cache name.\n var dimData = this._chunks[dim];\n var initialExtent = getInitialExtent();\n if (!dimData) {\n return initialExtent;\n }\n // Make more strict checkings to ensure hitting cache.\n var currEnd = this.count();\n // Consider the most cases when using data zoom, `getDataExtent`\n // happened before filtering. We cache raw extent, which is not\n // necessary to be cleared and recalculated when restore data.\n var useRaw = !this._indices;\n var dimExtent;\n if (useRaw) {\n return this._rawExtent[dim].slice();\n }\n dimExtent = this._extent[dim];\n if (dimExtent) {\n return dimExtent.slice();\n }\n dimExtent = initialExtent;\n var min = dimExtent[0];\n var max = dimExtent[1];\n for (var i = 0; i < currEnd; i++) {\n var rawIdx = this.getRawIndex(i);\n var value = dimData[rawIdx];\n value < min && (min = value);\n value > max && (max = value);\n }\n dimExtent = [min, max];\n this._extent[dim] = dimExtent;\n return dimExtent;\n };\n /**\r\n * Get raw data item\r\n */\n DataStore.prototype.getRawDataItem = function (idx) {\n var rawIdx = this.getRawIndex(idx);\n if (!this._provider.persistent) {\n var val = [];\n var chunks = this._chunks;\n for (var i = 0; i < chunks.length; i++) {\n val.push(chunks[i][rawIdx]);\n }\n return val;\n } else {\n return this._provider.getItem(rawIdx);\n }\n };\n /**\r\n * Clone shallow.\r\n *\r\n * @param clonedDims Determine which dims to clone. Will share the data if not specified.\r\n */\n DataStore.prototype.clone = function (clonedDims, ignoreIndices) {\n var target = new DataStore();\n var chunks = this._chunks;\n var clonedDimsMap = clonedDims && reduce(clonedDims, function (obj, dimIdx) {\n obj[dimIdx] = true;\n return obj;\n }, {});\n if (clonedDimsMap) {\n for (var i = 0; i < chunks.length; i++) {\n // Not clone if dim is not picked.\n target._chunks[i] = !clonedDimsMap[i] ? chunks[i] : cloneChunk(chunks[i]);\n }\n } else {\n target._chunks = chunks;\n }\n this._copyCommonProps(target);\n if (!ignoreIndices) {\n target._indices = this._cloneIndices();\n }\n target._updateGetRawIdx();\n return target;\n };\n DataStore.prototype._copyCommonProps = function (target) {\n target._count = this._count;\n target._rawCount = this._rawCount;\n target._provider = this._provider;\n target._dimensions = this._dimensions;\n target._extent = clone(this._extent);\n target._rawExtent = clone(this._rawExtent);\n };\n DataStore.prototype._cloneIndices = function () {\n if (this._indices) {\n var Ctor = this._indices.constructor;\n var indices = void 0;\n if (Ctor === Array) {\n var thisCount = this._indices.length;\n indices = new Ctor(thisCount);\n for (var i = 0; i < thisCount; i++) {\n indices[i] = this._indices[i];\n }\n } else {\n indices = new Ctor(this._indices);\n }\n return indices;\n }\n return null;\n };\n DataStore.prototype._getRawIdxIdentity = function (idx) {\n return idx;\n };\n DataStore.prototype._getRawIdx = function (idx) {\n if (idx < this._count && idx >= 0) {\n return this._indices[idx];\n }\n return -1;\n };\n DataStore.prototype._updateGetRawIdx = function () {\n this.getRawIndex = this._indices ? this._getRawIdx : this._getRawIdxIdentity;\n };\n DataStore.internalField = function () {\n function getDimValueSimply(dataItem, property, dataIndex, dimIndex) {\n return parseDataValue(dataItem[dimIndex], this._dimensions[dimIndex]);\n }\n defaultDimValueGetters = {\n arrayRows: getDimValueSimply,\n objectRows: function (dataItem, property, dataIndex, dimIndex) {\n return parseDataValue(dataItem[property], this._dimensions[dimIndex]);\n },\n keyedColumns: getDimValueSimply,\n original: function (dataItem, property, dataIndex, dimIndex) {\n // Performance sensitive, do not use modelUtil.getDataItemValue.\n // If dataItem is an plain object with no value field, the let `value`\n // will be assigned with the object, but it will be tread correctly\n // in the `convertValue`.\n var value = dataItem && (dataItem.value == null ? dataItem : dataItem.value);\n return parseDataValue(value instanceof Array ? value[dimIndex]\n // If value is a single number or something else not array.\n : value, this._dimensions[dimIndex]);\n },\n typedArray: function (dataItem, property, dataIndex, dimIndex) {\n return dataItem[dimIndex];\n }\n };\n }();\n return DataStore;\n}();\nexport default DataStore;"],"names":["UNDEFINED","CtorUint32Array","CtorUint16Array","CtorInt32Array","CtorFloat64Array","dataCtors","defaultDimValueGetters","getIndicesCtor","rawCount","getInitialExtent","cloneChunk","originalChunk","Ctor","prepareStore","store","dimIdx","dimType","end","append","DataCtor","oldStore","oldLen","newStore","j","DataStore","createHashMap","provider","inputDimensions","dimValueGetter","assert","isFunction","source","defaultGetter","willRetrieveDataByName","shouldRetrieveDataByName","map","dim","dimName","type","calcDimNameToIdx","dimensions","calcDimIdx","ordinalMeta","chunk","rawExtents","offset","len","dimRawExtent","i","val","dimInfo","dimIndex","item","data","start","values","minFillLen","chunks","dimLen","rawExtent","emptyDataItem","idx","sourceIdx","dimNames","dataItem","dimStorage","dimStore","dimArr","rawIdx","dimData","sum","value","dimDataArray","sortedDimDataArray","a","b","rawIndex","indices","rawDataIndex","left","right","mid","maxDistance","nearestIndices","minDist","minDiff","nearestIndicesLen","dataIndex","diff","dist","newIndices","thisCount","dims","cb","count","dimSize","dim0","keep","k","range","keys","originalCount","min","max","storeArr","quickFinished","dimStorage2","min2","max2","val2","dimk","target","targetChunks","tmpRetValue","dataCount","retValue","rawExtentOnDim","valueDimension","rate","targetStorage","sampledIndex","frameSize","currentRawIndex","maxArea","area","nextRawIndex","nextFrameStart","nextFrameEnd","avgX","avgY","y","frameStart","frameEnd","pointAX","pointAY","firstNaNIndex","countNaN","minIndex","minValue","maxIndex","maxValue","thisFrameSize","rawMinIndex","rawMaxIndex","dimension","sampleValue","sampleIndex","frameValues","dataIdx","sampleFrameIdx","initialExtent","currEnd","useRaw","dimExtent","clonedDims","ignoreIndices","clonedDimsMap","reduce","obj","clone","getDimValueSimply","property","parseDataValue"],"mappings":";;;AA8CA,IAAIA,IAAY,aAILC,IAAkB,OAAO,gBAAgBD,IAAY,QAAQ,aAC7DE,IAAkB,OAAO,gBAAgBF,IAAY,QAAQ,aAC7DG,IAAiB,OAAO,eAAeH,IAAY,QAAQ,YAC3DI,IAAmB,OAAO,iBAAiBJ,IAAY,QAAQ,cAItEK,IAAY;AAAA,EACd,OAASD;AAAA,EACT,KAAOD;AAAA;AAAA,EAEP,SAAW;AAAA,EACX,QAAU;AAAA,EACV,MAAQC;AACV,GACIE;AACJ,SAASC,EAAeC,GAAU;AAEhC,SAAOA,IAAW,QAAQP,IAAkBC;AAC9C;AAEA,SAASO,IAAmB;AAC1B,SAAO,CAAC,OAAU,MAAS;AAC7B;AAEA,SAASC,EAAWC,GAAe;AACjC,MAAIC,IAAOD,EA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,GAAU;AAClE,eAAO+G,EAAelG,EAASb,CAAQ,GAAG,KAAK,YAAYA,CAAQ,CAAC;AAAA,MACtE;AACA,MAAA7C,IAAyB;AAAA,QACvB,WAAW0J;AAAA,QACX,YAAY,SAAUhG,GAAUiG,GAAU1E,GAAWpC,GAAU;AAC7D,iBAAO+G,EAAelG,EAASiG,CAAQ,GAAG,KAAK,YAAY9G,CAAQ,CAAC;AAAA,QACtE;AAAA,QACA,cAAc6G;AAAA,QACd,UAAU,SAAUhG,GAAUiG,GAAU1E,GAAWpC,GAAU;AAK3D,cAAIoB,IAAQP,MAAaA,EAAS,SAAS,OAAOA,IAAWA,EAAS;AACtE,iBAAOkG,EAAe3F,aAAiB,QAAQA,EAAMpB,CAAQ,IAE3DoB,GAAO,KAAK,YAAYpB,CAAQ,CAAC;AAAA,QACrC;AAAA,QACA,YAAY,SAAUa,GAAUiG,GAAU1E,GAAWpC,GAAU;AAC7D,iBAAOa,EAASb,CAAQ;AAAA,QAC1B;AAAA,MACN;AAAA,IACE,GAAC,GACM3B;AAAA,EACT,GAAC;AAAA;","x_google_ignoreList":[0]}
@@ -0,0 +1,210 @@
1
+ import { isNumber as l, mixin as c, createHashMap as v } from "../../../zrender/lib/core/util.js";
2
+ function p(a) {
3
+ return "_EC_" + a;
4
+ }
5
+ var E = (
6
+ /** @class */
7
+ (function() {
8
+ function a(e) {
9
+ this.type = "graph", this.nodes = [], this.edges = [], this._nodesMap = {}, this._edgesMap = {}, this._directed = e || !1;
10
+ }
11
+ return a.prototype.isDirected = function() {
12
+ return this._directed;
13
+ }, a.prototype.addNode = function(e, t) {
14
+ e = e == null ? "" + t : "" + e;
15
+ var n = this._nodesMap;
16
+ if (n[p(e)]) {
17
+ process.env.NODE_ENV !== "production" && console.error("Graph nodes have duplicate name or id");
18
+ return;
19
+ }
20
+ var r = new g(e, t);
21
+ return r.hostGraph = this, this.nodes.push(r), n[p(e)] = r, r;
22
+ }, a.prototype.getNodeByIndex = function(e) {
23
+ var t = this.data.getRawIndex(e);
24
+ return this.nodes[t];
25
+ }, a.prototype.getNodeById = function(e) {
26
+ return this._nodesMap[p(e)];
27
+ }, a.prototype.addEdge = function(e, t, n) {
28
+ var r = this._nodesMap, d = this._edgesMap;
29
+ if (l(e) && (e = this.nodes[e]), l(t) && (t = this.nodes[t]), e instanceof g || (e = r[p(e)]), t instanceof g || (t = r[p(t)]), !(!e || !t)) {
30
+ var i = e.id + "-" + t.id, s = new I(e, t, n);
31
+ return s.hostGraph = this, this._directed && (e.outEdges.push(s), t.inEdges.push(s)), e.edges.push(s), e !== t && t.edges.push(s), this.edges.push(s), d[i] = s, s;
32
+ }
33
+ }, a.prototype.getEdgeByIndex = function(e) {
34
+ var t = this.edgeData.getRawIndex(e);
35
+ return this.edges[t];
36
+ }, a.prototype.getEdge = function(e, t) {
37
+ e instanceof g && (e = e.id), t instanceof g && (t = t.id);
38
+ var n = this._edgesMap;
39
+ return this._directed ? n[e + "-" + t] : n[e + "-" + t] || n[t + "-" + e];
40
+ }, a.prototype.eachNode = function(e, t) {
41
+ for (var n = this.nodes, r = n.length, d = 0; d < r; d++)
42
+ n[d].dataIndex >= 0 && e.call(t, n[d], d);
43
+ }, a.prototype.eachEdge = function(e, t) {
44
+ for (var n = this.edges, r = n.length, d = 0; d < r; d++)
45
+ n[d].dataIndex >= 0 && n[d].node1.dataIndex >= 0 && n[d].node2.dataIndex >= 0 && e.call(t, n[d], d);
46
+ }, a.prototype.breadthFirstTraverse = function(e, t, n, r) {
47
+ if (t instanceof g || (t = this._nodesMap[p(t)]), !!t) {
48
+ for (var d = n === "out" ? "outEdges" : n === "in" ? "inEdges" : "edges", i = 0; i < this.nodes.length; i++)
49
+ this.nodes[i].__visited = !1;
50
+ if (!e.call(r, t, null))
51
+ for (var s = [t]; s.length; )
52
+ for (var o = s.shift(), h = o[d], i = 0; i < h.length; i++) {
53
+ var u = h[i], f = u.node1 === o ? u.node2 : u.node1;
54
+ if (!f.__visited) {
55
+ if (e.call(r, f, o))
56
+ return;
57
+ s.push(f), f.__visited = !0;
58
+ }
59
+ }
60
+ }
61
+ }, a.prototype.update = function() {
62
+ for (var e = this.data, t = this.edgeData, n = this.nodes, r = this.edges, d = 0, i = n.length; d < i; d++)
63
+ n[d].dataIndex = -1;
64
+ for (var d = 0, i = e.count(); d < i; d++)
65
+ n[e.getRawIndex(d)].dataIndex = d;
66
+ t.filterSelf(function(s) {
67
+ var o = r[t.getRawIndex(s)];
68
+ return o.node1.dataIndex >= 0 && o.node2.dataIndex >= 0;
69
+ });
70
+ for (var d = 0, i = r.length; d < i; d++)
71
+ r[d].dataIndex = -1;
72
+ for (var d = 0, i = t.count(); d < i; d++)
73
+ r[t.getRawIndex(d)].dataIndex = d;
74
+ }, a.prototype.clone = function() {
75
+ for (var e = new a(this._directed), t = this.nodes, n = this.edges, r = 0; r < t.length; r++)
76
+ e.addNode(t[r].id, t[r].dataIndex);
77
+ for (var r = 0; r < n.length; r++) {
78
+ var d = n[r];
79
+ e.addEdge(d.node1.id, d.node2.id, d.dataIndex);
80
+ }
81
+ return e;
82
+ }, a;
83
+ })()
84
+ ), g = (
85
+ /** @class */
86
+ (function() {
87
+ function a(e, t) {
88
+ this.inEdges = [], this.outEdges = [], this.edges = [], this.dataIndex = -1, this.id = e ?? "", this.dataIndex = t ?? -1;
89
+ }
90
+ return a.prototype.degree = function() {
91
+ return this.edges.length;
92
+ }, a.prototype.inDegree = function() {
93
+ return this.inEdges.length;
94
+ }, a.prototype.outDegree = function() {
95
+ return this.outEdges.length;
96
+ }, a.prototype.getModel = function(e) {
97
+ if (!(this.dataIndex < 0)) {
98
+ var t = this.hostGraph, n = t.data.getItemModel(this.dataIndex);
99
+ return n.getModel(e);
100
+ }
101
+ }, a.prototype.getAdjacentDataIndices = function() {
102
+ for (var e = {
103
+ edge: [],
104
+ node: []
105
+ }, t = 0; t < this.edges.length; t++) {
106
+ var n = this.edges[t];
107
+ n.dataIndex < 0 || (e.edge.push(n.dataIndex), e.node.push(n.node1.dataIndex, n.node2.dataIndex));
108
+ }
109
+ return e;
110
+ }, a.prototype.getTrajectoryDataIndices = function() {
111
+ for (var e = v(), t = v(), n = 0; n < this.edges.length; n++) {
112
+ var r = this.edges[n];
113
+ if (!(r.dataIndex < 0)) {
114
+ e.set(r.dataIndex, !0);
115
+ for (var d = [r.node1], i = [r.node2], s = 0; s < d.length; ) {
116
+ var o = d[s];
117
+ s++, t.set(o.dataIndex, !0);
118
+ for (var h = 0; h < o.inEdges.length; h++)
119
+ e.set(o.inEdges[h].dataIndex, !0), d.push(o.inEdges[h].node1);
120
+ }
121
+ for (s = 0; s < i.length; ) {
122
+ var u = i[s];
123
+ s++, t.set(u.dataIndex, !0);
124
+ for (var h = 0; h < u.outEdges.length; h++)
125
+ e.set(u.outEdges[h].dataIndex, !0), i.push(u.outEdges[h].node2);
126
+ }
127
+ }
128
+ }
129
+ return {
130
+ edge: e.keys(),
131
+ node: t.keys()
132
+ };
133
+ }, a;
134
+ })()
135
+ ), I = (
136
+ /** @class */
137
+ (function() {
138
+ function a(e, t, n) {
139
+ this.dataIndex = -1, this.node1 = e, this.node2 = t, this.dataIndex = n ?? -1;
140
+ }
141
+ return a.prototype.getModel = function(e) {
142
+ if (!(this.dataIndex < 0)) {
143
+ var t = this.hostGraph, n = t.edgeData.getItemModel(this.dataIndex);
144
+ return n.getModel(e);
145
+ }
146
+ }, a.prototype.getAdjacentDataIndices = function() {
147
+ return {
148
+ edge: [this.dataIndex],
149
+ node: [this.node1.dataIndex, this.node2.dataIndex]
150
+ };
151
+ }, a.prototype.getTrajectoryDataIndices = function() {
152
+ var e = v(), t = v();
153
+ e.set(this.dataIndex, !0);
154
+ for (var n = [this.node1], r = [this.node2], d = 0; d < n.length; ) {
155
+ var i = n[d];
156
+ d++, t.set(i.dataIndex, !0);
157
+ for (var s = 0; s < i.inEdges.length; s++)
158
+ e.set(i.inEdges[s].dataIndex, !0), n.push(i.inEdges[s].node1);
159
+ }
160
+ for (d = 0; d < r.length; ) {
161
+ var o = r[d];
162
+ d++, t.set(o.dataIndex, !0);
163
+ for (var s = 0; s < o.outEdges.length; s++)
164
+ e.set(o.outEdges[s].dataIndex, !0), r.push(o.outEdges[s].node2);
165
+ }
166
+ return {
167
+ edge: e.keys(),
168
+ node: t.keys()
169
+ };
170
+ }, a;
171
+ })()
172
+ );
173
+ function x(a, e) {
174
+ return {
175
+ /**
176
+ * @param Default 'value'. can be 'a', 'b', 'c', 'd', 'e'.
177
+ */
178
+ getValue: function(t) {
179
+ var n = this[a][e];
180
+ return n.getStore().get(n.getDimensionIndex(t || "value"), this.dataIndex);
181
+ },
182
+ // TODO: TYPE stricter type.
183
+ setVisual: function(t, n) {
184
+ this.dataIndex >= 0 && this[a][e].setItemVisual(this.dataIndex, t, n);
185
+ },
186
+ getVisual: function(t) {
187
+ return this[a][e].getItemVisual(this.dataIndex, t);
188
+ },
189
+ setLayout: function(t, n) {
190
+ this.dataIndex >= 0 && this[a][e].setItemLayout(this.dataIndex, t, n);
191
+ },
192
+ getLayout: function() {
193
+ return this[a][e].getItemLayout(this.dataIndex);
194
+ },
195
+ getGraphicEl: function() {
196
+ return this[a][e].getItemGraphicEl(this.dataIndex);
197
+ },
198
+ getRawIndex: function() {
199
+ return this[a][e].getRawIndex(this.dataIndex);
200
+ }
201
+ };
202
+ }
203
+ c(g, x("hostGraph", "data"));
204
+ c(I, x("hostGraph", "edgeData"));
205
+ export {
206
+ I as GraphEdge,
207
+ g as GraphNode,
208
+ E as default
209
+ };
210
+ //# sourceMappingURL=Graph.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Graph.js","sources":["../../../../../node_modules/echarts/lib/data/Graph.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport * as zrUtil from 'zrender/lib/core/util.js';\n// id may be function name of Object, add a prefix to avoid this problem.\nfunction generateNodeKey(id) {\n return '_EC_' + id;\n}\nvar Graph = /** @class */function () {\n function Graph(directed) {\n this.type = 'graph';\n this.nodes = [];\n this.edges = [];\n this._nodesMap = {};\n /**\r\n * @type {Object.<string, module:echarts/data/Graph.Edge>}\r\n * @private\r\n */\n this._edgesMap = {};\n this._directed = directed || false;\n }\n /**\r\n * If is directed graph\r\n */\n Graph.prototype.isDirected = function () {\n return this._directed;\n };\n ;\n /**\r\n * Add a new node\r\n */\n Graph.prototype.addNode = function (id, dataIndex) {\n id = id == null ? '' + dataIndex : '' + id;\n var nodesMap = this._nodesMap;\n if (nodesMap[generateNodeKey(id)]) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('Graph nodes have duplicate name or id');\n }\n return;\n }\n var node = new GraphNode(id, dataIndex);\n node.hostGraph = this;\n this.nodes.push(node);\n nodesMap[generateNodeKey(id)] = node;\n return node;\n };\n ;\n /**\r\n * Get node by data index\r\n */\n Graph.prototype.getNodeByIndex = function (dataIndex) {\n var rawIdx = this.data.getRawIndex(dataIndex);\n return this.nodes[rawIdx];\n };\n ;\n /**\r\n * Get node by id\r\n */\n Graph.prototype.getNodeById = function (id) {\n return this._nodesMap[generateNodeKey(id)];\n };\n ;\n /**\r\n * Add a new edge\r\n */\n Graph.prototype.addEdge = function (n1, n2, dataIndex) {\n var nodesMap = this._nodesMap;\n var edgesMap = this._edgesMap;\n // PENDING\n if (zrUtil.isNumber(n1)) {\n n1 = this.nodes[n1];\n }\n if (zrUtil.isNumber(n2)) {\n n2 = this.nodes[n2];\n }\n if (!(n1 instanceof GraphNode)) {\n n1 = nodesMap[generateNodeKey(n1)];\n }\n if (!(n2 instanceof GraphNode)) {\n n2 = nodesMap[generateNodeKey(n2)];\n }\n if (!n1 || !n2) {\n return;\n }\n var key = n1.id + '-' + n2.id;\n var edge = new GraphEdge(n1, n2, dataIndex);\n edge.hostGraph = this;\n if (this._directed) {\n n1.outEdges.push(edge);\n n2.inEdges.push(edge);\n }\n n1.edges.push(edge);\n if (n1 !== n2) {\n n2.edges.push(edge);\n }\n this.edges.push(edge);\n edgesMap[key] = edge;\n return edge;\n };\n ;\n /**\r\n * Get edge by data index\r\n */\n Graph.prototype.getEdgeByIndex = function (dataIndex) {\n var rawIdx = this.edgeData.getRawIndex(dataIndex);\n return this.edges[rawIdx];\n };\n ;\n /**\r\n * Get edge by two linked nodes\r\n */\n Graph.prototype.getEdge = function (n1, n2) {\n if (n1 instanceof GraphNode) {\n n1 = n1.id;\n }\n if (n2 instanceof GraphNode) {\n n2 = n2.id;\n }\n var edgesMap = this._edgesMap;\n if (this._directed) {\n return edgesMap[n1 + '-' + n2];\n } else {\n return edgesMap[n1 + '-' + n2] || edgesMap[n2 + '-' + n1];\n }\n };\n ;\n /**\r\n * Iterate all nodes\r\n */\n Graph.prototype.eachNode = function (cb, context) {\n var nodes = this.nodes;\n var len = nodes.length;\n for (var i = 0; i < len; i++) {\n if (nodes[i].dataIndex >= 0) {\n cb.call(context, nodes[i], i);\n }\n }\n };\n ;\n /**\r\n * Iterate all edges\r\n */\n Graph.prototype.eachEdge = function (cb, context) {\n var edges = this.edges;\n var len = edges.length;\n for (var i = 0; i < len; i++) {\n if (edges[i].dataIndex >= 0 && edges[i].node1.dataIndex >= 0 && edges[i].node2.dataIndex >= 0) {\n cb.call(context, edges[i], i);\n }\n }\n };\n ;\n /**\r\n * Breadth first traverse\r\n * Return true to stop traversing\r\n */\n Graph.prototype.breadthFirstTraverse = function (cb, startNode, direction, context) {\n if (!(startNode instanceof GraphNode)) {\n startNode = this._nodesMap[generateNodeKey(startNode)];\n }\n if (!startNode) {\n return;\n }\n var edgeType = direction === 'out' ? 'outEdges' : direction === 'in' ? 'inEdges' : 'edges';\n for (var i = 0; i < this.nodes.length; i++) {\n this.nodes[i].__visited = false;\n }\n if (cb.call(context, startNode, null)) {\n return;\n }\n var queue = [startNode];\n while (queue.length) {\n var currentNode = queue.shift();\n var edges = currentNode[edgeType];\n for (var i = 0; i < edges.length; i++) {\n var e = edges[i];\n var otherNode = e.node1 === currentNode ? e.node2 : e.node1;\n if (!otherNode.__visited) {\n if (cb.call(context, otherNode, currentNode)) {\n // Stop traversing\n return;\n }\n queue.push(otherNode);\n otherNode.__visited = true;\n }\n }\n }\n };\n ;\n // TODO\n // depthFirstTraverse(\n // cb, startNode, direction, context\n // ) {\n // };\n // Filter update\n Graph.prototype.update = function () {\n var data = this.data;\n var edgeData = this.edgeData;\n var nodes = this.nodes;\n var edges = this.edges;\n for (var i = 0, len = nodes.length; i < len; i++) {\n nodes[i].dataIndex = -1;\n }\n for (var i = 0, len = data.count(); i < len; i++) {\n nodes[data.getRawIndex(i)].dataIndex = i;\n }\n edgeData.filterSelf(function (idx) {\n var edge = edges[edgeData.getRawIndex(idx)];\n return edge.node1.dataIndex >= 0 && edge.node2.dataIndex >= 0;\n });\n // Update edge\n for (var i = 0, len = edges.length; i < len; i++) {\n edges[i].dataIndex = -1;\n }\n for (var i = 0, len = edgeData.count(); i < len; i++) {\n edges[edgeData.getRawIndex(i)].dataIndex = i;\n }\n };\n ;\n /**\r\n * @return {module:echarts/data/Graph}\r\n */\n Graph.prototype.clone = function () {\n var graph = new Graph(this._directed);\n var nodes = this.nodes;\n var edges = this.edges;\n for (var i = 0; i < nodes.length; i++) {\n graph.addNode(nodes[i].id, nodes[i].dataIndex);\n }\n for (var i = 0; i < edges.length; i++) {\n var e = edges[i];\n graph.addEdge(e.node1.id, e.node2.id, e.dataIndex);\n }\n return graph;\n };\n ;\n return Graph;\n}();\nvar GraphNode = /** @class */function () {\n function GraphNode(id, dataIndex) {\n this.inEdges = [];\n this.outEdges = [];\n this.edges = [];\n this.dataIndex = -1;\n this.id = id == null ? '' : id;\n this.dataIndex = dataIndex == null ? -1 : dataIndex;\n }\n /**\r\n * @return {number}\r\n */\n GraphNode.prototype.degree = function () {\n return this.edges.length;\n };\n /**\r\n * @return {number}\r\n */\n GraphNode.prototype.inDegree = function () {\n return this.inEdges.length;\n };\n /**\r\n * @return {number}\r\n */\n GraphNode.prototype.outDegree = function () {\n return this.outEdges.length;\n };\n GraphNode.prototype.getModel = function (path) {\n if (this.dataIndex < 0) {\n return;\n }\n var graph = this.hostGraph;\n var itemModel = graph.data.getItemModel(this.dataIndex);\n return itemModel.getModel(path);\n };\n GraphNode.prototype.getAdjacentDataIndices = function () {\n var dataIndices = {\n edge: [],\n node: []\n };\n for (var i = 0; i < this.edges.length; i++) {\n var adjacentEdge = this.edges[i];\n if (adjacentEdge.dataIndex < 0) {\n continue;\n }\n dataIndices.edge.push(adjacentEdge.dataIndex);\n dataIndices.node.push(adjacentEdge.node1.dataIndex, adjacentEdge.node2.dataIndex);\n }\n return dataIndices;\n };\n GraphNode.prototype.getTrajectoryDataIndices = function () {\n var connectedEdgesMap = zrUtil.createHashMap();\n var connectedNodesMap = zrUtil.createHashMap();\n for (var i = 0; i < this.edges.length; i++) {\n var adjacentEdge = this.edges[i];\n if (adjacentEdge.dataIndex < 0) {\n continue;\n }\n connectedEdgesMap.set(adjacentEdge.dataIndex, true);\n var sourceNodesQueue = [adjacentEdge.node1];\n var targetNodesQueue = [adjacentEdge.node2];\n var nodeIteratorIndex = 0;\n while (nodeIteratorIndex < sourceNodesQueue.length) {\n var sourceNode = sourceNodesQueue[nodeIteratorIndex];\n nodeIteratorIndex++;\n connectedNodesMap.set(sourceNode.dataIndex, true);\n for (var j = 0; j < sourceNode.inEdges.length; j++) {\n connectedEdgesMap.set(sourceNode.inEdges[j].dataIndex, true);\n sourceNodesQueue.push(sourceNode.inEdges[j].node1);\n }\n }\n nodeIteratorIndex = 0;\n while (nodeIteratorIndex < targetNodesQueue.length) {\n var targetNode = targetNodesQueue[nodeIteratorIndex];\n nodeIteratorIndex++;\n connectedNodesMap.set(targetNode.dataIndex, true);\n for (var j = 0; j < targetNode.outEdges.length; j++) {\n connectedEdgesMap.set(targetNode.outEdges[j].dataIndex, true);\n targetNodesQueue.push(targetNode.outEdges[j].node2);\n }\n }\n }\n return {\n edge: connectedEdgesMap.keys(),\n node: connectedNodesMap.keys()\n };\n };\n return GraphNode;\n}();\nvar GraphEdge = /** @class */function () {\n function GraphEdge(n1, n2, dataIndex) {\n this.dataIndex = -1;\n this.node1 = n1;\n this.node2 = n2;\n this.dataIndex = dataIndex == null ? -1 : dataIndex;\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n GraphEdge.prototype.getModel = function (path) {\n if (this.dataIndex < 0) {\n return;\n }\n var graph = this.hostGraph;\n var itemModel = graph.edgeData.getItemModel(this.dataIndex);\n return itemModel.getModel(path);\n };\n GraphEdge.prototype.getAdjacentDataIndices = function () {\n return {\n edge: [this.dataIndex],\n node: [this.node1.dataIndex, this.node2.dataIndex]\n };\n };\n GraphEdge.prototype.getTrajectoryDataIndices = function () {\n var connectedEdgesMap = zrUtil.createHashMap();\n var connectedNodesMap = zrUtil.createHashMap();\n connectedEdgesMap.set(this.dataIndex, true);\n var sourceNodes = [this.node1];\n var targetNodes = [this.node2];\n var nodeIteratorIndex = 0;\n while (nodeIteratorIndex < sourceNodes.length) {\n var sourceNode = sourceNodes[nodeIteratorIndex];\n nodeIteratorIndex++;\n connectedNodesMap.set(sourceNode.dataIndex, true);\n for (var j = 0; j < sourceNode.inEdges.length; j++) {\n connectedEdgesMap.set(sourceNode.inEdges[j].dataIndex, true);\n sourceNodes.push(sourceNode.inEdges[j].node1);\n }\n }\n nodeIteratorIndex = 0;\n while (nodeIteratorIndex < targetNodes.length) {\n var targetNode = targetNodes[nodeIteratorIndex];\n nodeIteratorIndex++;\n connectedNodesMap.set(targetNode.dataIndex, true);\n for (var j = 0; j < targetNode.outEdges.length; j++) {\n connectedEdgesMap.set(targetNode.outEdges[j].dataIndex, true);\n targetNodes.push(targetNode.outEdges[j].node2);\n }\n }\n return {\n edge: connectedEdgesMap.keys(),\n node: connectedNodesMap.keys()\n };\n };\n return GraphEdge;\n}();\nfunction createGraphDataProxyMixin(hostName, dataName) {\n return {\n /**\r\n * @param Default 'value'. can be 'a', 'b', 'c', 'd', 'e'.\r\n */\n getValue: function (dimension) {\n var data = this[hostName][dataName];\n return data.getStore().get(data.getDimensionIndex(dimension || 'value'), this.dataIndex);\n },\n // TODO: TYPE stricter type.\n setVisual: function (key, value) {\n this.dataIndex >= 0 && this[hostName][dataName].setItemVisual(this.dataIndex, key, value);\n },\n getVisual: function (key) {\n return this[hostName][dataName].getItemVisual(this.dataIndex, key);\n },\n setLayout: function (layout, merge) {\n this.dataIndex >= 0 && this[hostName][dataName].setItemLayout(this.dataIndex, layout, merge);\n },\n getLayout: function () {\n return this[hostName][dataName].getItemLayout(this.dataIndex);\n },\n getGraphicEl: function () {\n return this[hostName][dataName].getItemGraphicEl(this.dataIndex);\n },\n getRawIndex: function () {\n return this[hostName][dataName].getRawIndex(this.dataIndex);\n }\n };\n}\n;\n;\n;\nzrUtil.mixin(GraphNode, createGraphDataProxyMixin('hostGraph', 'data'));\nzrUtil.mixin(GraphEdge, createGraphDataProxyMixin('hostGraph', 'edgeData'));\nexport default Graph;\nexport { GraphNode, GraphEdge };"],"names":["generateNodeKey","id","Graph","directed","dataIndex","nodesMap","node","GraphNode","rawIdx","n1","n2","edgesMap","zrUtil.isNumber","key","edge","GraphEdge","cb","context","nodes","len","i","edges","startNode","direction","edgeType","queue","currentNode","e","otherNode","data","edgeData","idx","graph","path","itemModel","dataIndices","adjacentEdge","connectedEdgesMap","zrUtil.createHashMap","connectedNodesMap","sourceNodesQueue","targetNodesQueue","nodeIteratorIndex","sourceNode","j","targetNode","sourceNodes","targetNodes","createGraphDataProxyMixin","hostName","dataName","dimension","value","layout","merge","zrUtil.mixin"],"mappings":";AA6CA,SAASA,EAAgBC,GAAI;AAC3B,SAAO,SAASA;AAClB;AACG,IAACC;AAAA;AAAA,GAAqB,WAAY;AACnC,aAASA,EAAMC,GAAU;AACvB,WAAK,OAAO,SACZ,KAAK,QAAQ,CAAA,GACb,KAAK,QAAQ,CAAA,GACb,KAAK,YAAY,CAAA,GAKjB,KAAK,YAAY,CAAA,GACjB,KAAK,YAAYA,KAAY;AAAA,IAC/B;AAIA,WAAAD,EAAM,UAAU,aAAa,WAAY;AACvC,aAAO,KAAK;AAAA,IACd,GAKAA,EAAM,UAAU,UAAU,SAAUD,GAAIG,GAAW;AACjD,MAAAH,IAAKA,KAAM,OAAO,KAAKG,IAAY,KAAKH;AACxC,UAAII,IAAW,KAAK;AACpB,UAAIA,EAASL,EAAgBC,CAAE,CAAC,GAAG;AACjC,QAAI,QAAQ,IAAI,aAAa,gBAC3B,QAAQ,MAAM,uCAAuC;AAEvD;AAAA,MACF;AACA,UAAIK,IAAO,IAAIC,EAAUN,GAAIG,CAAS;AACtC,aAAAE,EAAK,YAAY,MACjB,KAAK,MAAM,KAAKA,CAAI,GACpBD,EAASL,EAAgBC,CAAE,CAAC,IAAIK,GACzBA;AAAA,IACT,GAKAJ,EAAM,UAAU,iBAAiB,SAAUE,GAAW;AACpD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 /** @class */
4
+ (function() {
5
+ function i(e) {
6
+ this.categories = e.categories || [], this._needCollect = e.needCollect, this._deduplication = e.deduplication, this.uid = ++u;
7
+ }
8
+ return i.createByAxisModel = function(e) {
9
+ var t = e.option, a = t.data, r = a && n(a, d);
10
+ return new i({
11
+ categories: r,
12
+ needCollect: !r,
13
+ // deduplication is default in axis.
14
+ deduplication: t.dedplication !== !1
15
+ });
16
+ }, i.prototype.getOrdinal = function(e) {
17
+ return this._getOrCreateMap().get(e);
18
+ }, i.prototype.parseAndCollect = function(e) {
19
+ var t, a = this._needCollect;
20
+ if (!s(e) && !a)
21
+ return e;
22
+ if (a && !this._deduplication)
23
+ return t = this.categories.length, this.categories[t] = e, t;
24
+ var r = this._getOrCreateMap();
25
+ return t = r.get(e), t == null && (a ? (t = this.categories.length, this.categories[t] = e, r.set(e, t)) : t = NaN), t;
26
+ }, i.prototype._getOrCreateMap = function() {
27
+ return this._map || (this._map = l(this.categories));
28
+ }, i;
29
+ })()
30
+ );
31
+ function d(i) {
32
+ return o(i) && i.value != null ? i.value : i + "";
33
+ }
34
+ export {
35
+ p as default
36
+ };
37
+ //# sourceMappingURL=OrdinalMeta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrdinalMeta.js","sources":["../../../../../node_modules/echarts/lib/data/OrdinalMeta.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 { createHashMap, isObject, map, isString } from 'zrender/lib/core/util.js';\nvar uidBase = 0;\nvar OrdinalMeta = /** @class */function () {\n function OrdinalMeta(opt) {\n this.categories = opt.categories || [];\n this._needCollect = opt.needCollect;\n this._deduplication = opt.deduplication;\n this.uid = ++uidBase;\n }\n OrdinalMeta.createByAxisModel = function (axisModel) {\n var option = axisModel.option;\n var data = option.data;\n var categories = data && map(data, getName);\n return new OrdinalMeta({\n categories: categories,\n needCollect: !categories,\n // deduplication is default in axis.\n deduplication: option.dedplication !== false\n });\n };\n ;\n OrdinalMeta.prototype.getOrdinal = function (category) {\n // @ts-ignore\n return this._getOrCreateMap().get(category);\n };\n /**\r\n * @return The ordinal. If not found, return NaN.\r\n */\n OrdinalMeta.prototype.parseAndCollect = function (category) {\n var index;\n var needCollect = this._needCollect;\n // The value of category dim can be the index of the given category set.\n // This feature is only supported when !needCollect, because we should\n // consider a common case: a value is 2017, which is a number but is\n // expected to be tread as a category. This case usually happen in dataset,\n // where it happent to be no need of the index feature.\n if (!isString(category) && !needCollect) {\n return category;\n }\n // Optimize for the scenario:\n // category is ['2012-01-01', '2012-01-02', ...], where the input\n // data has been ensured not duplicate and is large data.\n // Notice, if a dataset dimension provide categroies, usually echarts\n // should remove duplication except user tell echarts dont do that\n // (set axis.deduplication = false), because echarts do not know whether\n // the values in the category dimension has duplication (consider the\n // parallel-aqi example)\n if (needCollect && !this._deduplication) {\n index = this.categories.length;\n this.categories[index] = category;\n return index;\n }\n var map = this._getOrCreateMap();\n // @ts-ignore\n index = map.get(category);\n if (index == null) {\n if (needCollect) {\n index = this.categories.length;\n this.categories[index] = category;\n // @ts-ignore\n map.set(category, index);\n } else {\n index = NaN;\n }\n }\n return index;\n };\n // Consider big data, do not create map until needed.\n OrdinalMeta.prototype._getOrCreateMap = function () {\n return this._map || (this._map = createHashMap(this.categories));\n };\n return OrdinalMeta;\n}();\nfunction getName(obj) {\n if (isObject(obj) && obj.value != null) {\n return obj.value;\n } else {\n return obj + '';\n }\n}\nexport default OrdinalMeta;"],"names":["uidBase","OrdinalMeta","opt","axisModel","option","data","categories","map","getName","category","index","needCollect","isString","createHashMap","obj","isObject"],"mappings":";AA4CA,IAAIA,IAAU,GACVC;AAAA;AAAA,GAA2B,WAAY;AACzC,aAASA,EAAYC,GAAK;AACxB,WAAK,aAAaA,EAAI,cAAc,CAAA,GACpC,KAAK,eAAeA,EAAI,aACxB,KAAK,iBAAiBA,EAAI,eAC1B,KAAK,MAAM,EAAEF;AAAA,IACf;AACA,WAAAC,EAAY,oBAAoB,SAAUE,GAAW;AACnD,UAAIC,IAASD,EAAU,QACnBE,IAAOD,EAAO,MACdE,IAAaD,KAAQE,EAAIF,GAAMG,CAAO;AAC1C,aAAO,IAAIP,EAAY;AAAA,QACrB,YAAYK;AAAA,QACZ,aAAa,CAACA;AAAA;AAAA,QAEd,eAAeF,EAAO,iBAAiB;AAAA,MAC7C,CAAK;AAAA,IACH,GAEAH,EAAY,UAAU,aAAa,SAAUQ,GAAU;AAErD,aAAO,KAAK,kBAAkB,IAAIA,CAAQ;AAAA,IAC5C,GAIAR,EAAY,UAAU,kBAAkB,SAAUQ,GAAU;AAC1D,UAAIC,GACAC,IAAc,KAAK;AAMvB,UAAI,CAACC,EAASH,CAAQ,KAAK,CAACE;AAC1B,eAAOF;AAUT,UAAIE,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