@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,221 @@
1
+ import { __extends as Q } from "../../node_modules/tslib/tslib.es6.js";
2
+ import { parsePlainText as $, parseRichText as E } from "./helper/parseText.js";
3
+ import X from "./TSpan.js";
4
+ import { extend as k, keys as tt, retrieve3 as N, retrieve2 as Y, trim as rt, each as et, defaults as at, normalizeCssArray as it } from "../core/util.js";
5
+ import { adjustTextX as R, adjustTextY as L } from "../contain/text.js";
6
+ import ot from "./Image.js";
7
+ import nt from "./shape/Rect.js";
8
+ import z from "../core/BoundingRect.js";
9
+ import ht, { DEFAULT_COMMON_ANIMATION_PROPS as lt } from "./Displayable.js";
10
+ import { DEFAULT_FONT as I, DEFAULT_FONT_SIZE as ft } from "../core/platform.js";
11
+ var Z = {
12
+ fill: "#000"
13
+ }, U = 2, dt = {
14
+ style: at({
15
+ fill: !0,
16
+ stroke: !0,
17
+ fillOpacity: !0,
18
+ strokeOpacity: !0,
19
+ lineWidth: !0,
20
+ fontSize: !0,
21
+ lineHeight: !0,
22
+ width: !0,
23
+ height: !0,
24
+ textShadowColor: !0,
25
+ textShadowBlur: !0,
26
+ textShadowOffsetX: !0,
27
+ textShadowOffsetY: !0,
28
+ backgroundColor: !0,
29
+ padding: !0,
30
+ borderColor: !0,
31
+ borderWidth: !0,
32
+ borderRadius: !0
33
+ }, lt.style)
34
+ }, st = (function(e) {
35
+ Q(a, e);
36
+ function a(t) {
37
+ var r = e.call(this) || this;
38
+ return r.type = "text", r._children = [], r._defaultStyle = Z, r.attr(t), r;
39
+ }
40
+ return a.prototype.childrenRef = function() {
41
+ return this._children;
42
+ }, a.prototype.update = function() {
43
+ e.prototype.update.call(this), this.styleChanged() && this._updateSubTexts();
44
+ for (var t = 0; t < this._children.length; t++) {
45
+ var r = this._children[t];
46
+ r.zlevel = this.zlevel, r.z = this.z, r.z2 = this.z2, r.culling = this.culling, r.cursor = this.cursor, r.invisible = this.invisible;
47
+ }
48
+ }, a.prototype.updateTransform = function() {
49
+ var t = this.innerTransformable;
50
+ t ? (t.updateTransform(), t.transform && (this.transform = t.transform)) : e.prototype.updateTransform.call(this);
51
+ }, a.prototype.getLocalTransform = function(t) {
52
+ var r = this.innerTransformable;
53
+ return r ? r.getLocalTransform(t) : e.prototype.getLocalTransform.call(this, t);
54
+ }, a.prototype.getComputedTransform = function() {
55
+ return this.__hostTarget && (this.__hostTarget.getComputedTransform(), this.__hostTarget.updateInnerText(!0)), e.prototype.getComputedTransform.call(this);
56
+ }, a.prototype._updateSubTexts = function() {
57
+ this._childCursor = 0, gt(this.style), this.style.rich ? this._updateRichTexts() : this._updatePlainTexts(), this._children.length = this._childCursor, this.styleUpdated();
58
+ }, a.prototype.addSelfToZr = function(t) {
59
+ e.prototype.addSelfToZr.call(this, t);
60
+ for (var r = 0; r < this._children.length; r++)
61
+ this._children[r].__zr = t;
62
+ }, a.prototype.removeSelfFromZr = function(t) {
63
+ e.prototype.removeSelfFromZr.call(this, t);
64
+ for (var r = 0; r < this._children.length; r++)
65
+ this._children[r].__zr = null;
66
+ }, a.prototype.getBoundingRect = function() {
67
+ if (this.styleChanged() && this._updateSubTexts(), !this._rect) {
68
+ for (var t = new z(0, 0, 0, 0), r = this._children, o = [], h = null, n = 0; n < r.length; n++) {
69
+ var g = r[n], p = g.getBoundingRect(), l = g.getLocalTransform(o);
70
+ l ? (t.copy(p), t.applyTransform(l), h = h || t.clone(), h.union(t)) : (h = h || p.clone(), h.union(p));
71
+ }
72
+ this._rect = h || t;
73
+ }
74
+ return this._rect;
75
+ }, a.prototype.setDefaultTextStyle = function(t) {
76
+ this._defaultStyle = t || Z;
77
+ }, a.prototype.setTextContent = function(t) {
78
+ if (process.env.NODE_ENV !== "production")
79
+ throw new Error("Can't attach text on another text");
80
+ }, a.prototype._mergeStyle = function(t, r) {
81
+ if (!r)
82
+ return t;
83
+ var o = r.rich, h = t.rich || o && {};
84
+ return k(t, r), o && h ? (this._mergeRich(h, o), t.rich = h) : h && (t.rich = h), t;
85
+ }, a.prototype._mergeRich = function(t, r) {
86
+ for (var o = tt(r), h = 0; h < o.length; h++) {
87
+ var n = o[h];
88
+ t[n] = t[n] || {}, k(t[n], r[n]);
89
+ }
90
+ }, a.prototype.getAnimationStyleProps = function() {
91
+ return dt;
92
+ }, a.prototype._getOrCreateChild = function(t) {
93
+ var r = this._children[this._childCursor];
94
+ return (!r || !(r instanceof t)) && (r = new t()), this._children[this._childCursor++] = r, r.__zr = this.__zr, r.parent = this, r;
95
+ }, a.prototype._updatePlainTexts = function() {
96
+ var t = this.style, r = t.font || I, o = t.padding, h = J(t), n = $(h, t), g = P(t), p = !!t.backgroundColor, l = n.outerHeight, w = n.outerWidth, x = n.contentWidth, O = n.lines, B = n.lineHeight, T = this._defaultStyle;
97
+ this.isTruncated = !!n.isTruncated;
98
+ var f = t.x || 0, i = t.y || 0, u = t.align || T.align || "left", s = t.verticalAlign || T.verticalAlign || "top", _ = f, c = L(i, n.contentHeight, s);
99
+ if (g || o) {
100
+ var D = R(f, w, u), S = L(i, l, s);
101
+ g && this._renderBackground(t, t, D, S, w, l);
102
+ }
103
+ c += B / 2, o && (_ = q(f, u, o), s === "top" ? c += o[0] : s === "bottom" && (c -= o[2]));
104
+ for (var F = 0, m = !1, y = K("fill" in t ? t.fill : (m = !0, T.fill)), C = G("stroke" in t ? t.stroke : !p && (!T.autoStroke || m) ? (F = U, T.stroke) : null), W = t.textShadowBlur > 0, b = t.width != null && (t.overflow === "truncate" || t.overflow === "break" || t.overflow === "breakAll"), A = n.calculatedLineHeight, v = 0; v < O.length; v++) {
105
+ var H = this._getOrCreateChild(X), d = H.createStyle();
106
+ H.useStyle(d), d.text = O[v], d.x = _, d.y = c, d.textAlign = u, d.textBaseline = "middle", d.opacity = t.opacity, d.strokeFirst = !0, W && (d.shadowBlur = t.textShadowBlur || 0, d.shadowColor = t.textShadowColor || "transparent", d.shadowOffsetX = t.textShadowOffsetX || 0, d.shadowOffsetY = t.textShadowOffsetY || 0), d.stroke = C, d.fill = y, C && (d.lineWidth = t.lineWidth || F, d.lineDash = t.lineDash, d.lineDashOffset = t.lineDashOffset || 0), d.font = r, V(d, t), c += B, b && H.setBoundingRect(new z(R(d.x, x, d.textAlign), L(d.y, A, d.textBaseline), x, A));
107
+ }
108
+ }, a.prototype._updateRichTexts = function() {
109
+ var t = this.style, r = J(t), o = E(r, t), h = o.width, n = o.outerWidth, g = o.outerHeight, p = t.padding, l = t.x || 0, w = t.y || 0, x = this._defaultStyle, O = t.align || x.align, B = t.verticalAlign || x.verticalAlign;
110
+ this.isTruncated = !!o.isTruncated;
111
+ var T = R(l, n, O), f = L(w, g, B), i = T, u = f;
112
+ p && (i += p[3], u += p[0]);
113
+ var s = i + h;
114
+ P(t) && this._renderBackground(t, t, T, f, n, g);
115
+ for (var _ = !!t.backgroundColor, c = 0; c < o.lines.length; c++) {
116
+ for (var D = o.lines[c], S = D.tokens, F = S.length, m = D.lineHeight, y = D.width, C = 0, W = i, b = s, A = F - 1, v = void 0; C < F && (v = S[C], !v.align || v.align === "left"); )
117
+ this._placeToken(v, t, m, u, W, "left", _), y -= v.width, W += v.width, C++;
118
+ for (; A >= 0 && (v = S[A], v.align === "right"); )
119
+ this._placeToken(v, t, m, u, b, "right", _), y -= v.width, b -= v.width, A--;
120
+ for (W += (h - (W - i) - (s - b) - y) / 2; C <= A; )
121
+ v = S[C], this._placeToken(v, t, m, u, W + v.width / 2, "center", _), W += v.width, C++;
122
+ u += m;
123
+ }
124
+ }, a.prototype._placeToken = function(t, r, o, h, n, g, p) {
125
+ var l = r.rich[t.styleName] || {};
126
+ l.text = t.text;
127
+ var w = t.verticalAlign, x = h + o / 2;
128
+ w === "top" ? x = h + t.height / 2 : w === "bottom" && (x = h + o - t.height / 2);
129
+ var O = !t.isLineHolder && P(l);
130
+ O && this._renderBackground(l, r, g === "right" ? n - t.width : g === "center" ? n - t.width / 2 : n, x - t.height / 2, t.width, t.height);
131
+ var B = !!l.backgroundColor, T = t.textPadding;
132
+ T && (n = q(n, g, T), x -= t.height / 2 - T[0] - t.innerHeight / 2);
133
+ var f = this._getOrCreateChild(X), i = f.createStyle();
134
+ f.useStyle(i);
135
+ var u = this._defaultStyle, s = !1, _ = 0, c = K("fill" in l ? l.fill : "fill" in r ? r.fill : (s = !0, u.fill)), D = G("stroke" in l ? l.stroke : "stroke" in r ? r.stroke : !B && !p && (!u.autoStroke || s) ? (_ = U, u.stroke) : null), S = l.textShadowBlur > 0 || r.textShadowBlur > 0;
136
+ i.text = t.text, i.x = n, i.y = x, S && (i.shadowBlur = l.textShadowBlur || r.textShadowBlur || 0, i.shadowColor = l.textShadowColor || r.textShadowColor || "transparent", i.shadowOffsetX = l.textShadowOffsetX || r.textShadowOffsetX || 0, i.shadowOffsetY = l.textShadowOffsetY || r.textShadowOffsetY || 0), i.textAlign = g, i.textBaseline = "middle", i.font = t.font || I, i.opacity = N(l.opacity, r.opacity, 1), V(i, l), D && (i.lineWidth = N(l.lineWidth, r.lineWidth, _), i.lineDash = Y(l.lineDash, r.lineDash), i.lineDashOffset = r.lineDashOffset || 0, i.stroke = D), c && (i.fill = c);
137
+ var F = t.contentWidth, m = t.contentHeight;
138
+ f.setBoundingRect(new z(R(i.x, F, i.textAlign), L(i.y, m, i.textBaseline), F, m));
139
+ }, a.prototype._renderBackground = function(t, r, o, h, n, g) {
140
+ var p = t.backgroundColor, l = t.borderWidth, w = t.borderColor, x = p && p.image, O = p && !x, B = t.borderRadius, T = this, f, i;
141
+ if (O || t.lineHeight || l && w) {
142
+ f = this._getOrCreateChild(nt), f.useStyle(f.createStyle()), f.style.fill = null;
143
+ var u = f.shape;
144
+ u.x = o, u.y = h, u.width = n, u.height = g, u.r = B, f.dirtyShape();
145
+ }
146
+ if (O) {
147
+ var s = f.style;
148
+ s.fill = p || null, s.fillOpacity = Y(t.fillOpacity, 1);
149
+ } else if (x) {
150
+ i = this._getOrCreateChild(ot), i.onload = function() {
151
+ T.dirtyStyle();
152
+ };
153
+ var _ = i.style;
154
+ _.image = p.image, _.x = o, _.y = h, _.width = n, _.height = g;
155
+ }
156
+ if (l && w) {
157
+ var s = f.style;
158
+ s.lineWidth = l, s.stroke = w, s.strokeOpacity = Y(t.strokeOpacity, 1), s.lineDash = t.borderDash, s.lineDashOffset = t.borderDashOffset || 0, f.strokeContainThreshold = 0, f.hasFill() && f.hasStroke() && (s.strokeFirst = !0, s.lineWidth *= 2);
159
+ }
160
+ var c = (f || i).style;
161
+ c.shadowBlur = t.shadowBlur || 0, c.shadowColor = t.shadowColor || "transparent", c.shadowOffsetX = t.shadowOffsetX || 0, c.shadowOffsetY = t.shadowOffsetY || 0, c.opacity = N(t.opacity, r.opacity, 1);
162
+ }, a.makeFont = function(t) {
163
+ var r = "";
164
+ return pt(t) && (r = [
165
+ t.fontStyle,
166
+ t.fontWeight,
167
+ ct(t.fontSize),
168
+ t.fontFamily || "sans-serif"
169
+ ].join(" ")), r && rt(r) || t.textFont || t.font;
170
+ }, a;
171
+ })(ht), ut = { left: !0, right: 1, center: 1 }, vt = { top: 1, bottom: 1, middle: 1 }, M = ["fontStyle", "fontWeight", "fontSize", "fontFamily"];
172
+ function ct(e) {
173
+ return typeof e == "string" && (e.indexOf("px") !== -1 || e.indexOf("rem") !== -1 || e.indexOf("em") !== -1) ? e : isNaN(+e) ? ft + "px" : e + "px";
174
+ }
175
+ function V(e, a) {
176
+ for (var t = 0; t < M.length; t++) {
177
+ var r = M[t], o = a[r];
178
+ o != null && (e[r] = o);
179
+ }
180
+ }
181
+ function pt(e) {
182
+ return e.fontSize != null || e.fontFamily || e.fontWeight;
183
+ }
184
+ function gt(e) {
185
+ return j(e), et(e.rich, j), e;
186
+ }
187
+ function j(e) {
188
+ if (e) {
189
+ e.font = st.makeFont(e);
190
+ var a = e.align;
191
+ a === "middle" && (a = "center"), e.align = a == null || ut[a] ? a : "left";
192
+ var t = e.verticalAlign;
193
+ t === "center" && (t = "middle"), e.verticalAlign = t == null || vt[t] ? t : "top";
194
+ var r = e.padding;
195
+ r && (e.padding = it(e.padding));
196
+ }
197
+ }
198
+ function G(e, a) {
199
+ return e == null || a <= 0 || e === "transparent" || e === "none" ? null : e.image || e.colorStops ? "#000" : e;
200
+ }
201
+ function K(e) {
202
+ return e == null || e === "none" ? null : e.image || e.colorStops ? "#000" : e;
203
+ }
204
+ function q(e, a, t) {
205
+ return a === "right" ? e - t[1] : a === "center" ? e + t[3] / 2 - t[1] / 2 : e + t[3];
206
+ }
207
+ function J(e) {
208
+ var a = e.text;
209
+ return a != null && (a += ""), a;
210
+ }
211
+ function P(e) {
212
+ return !!(e.backgroundColor || e.lineHeight || e.borderWidth && e.borderColor);
213
+ }
214
+ export {
215
+ dt as DEFAULT_TEXT_ANIMATION_PROPS,
216
+ st as default,
217
+ pt as hasSeparateFont,
218
+ gt as normalizeTextStyle,
219
+ ct as parseFontSize
220
+ };
221
+ //# sourceMappingURL=Text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.js","sources":["../../../../../node_modules/zrender/lib/graphic/Text.js"],"sourcesContent":["import { __extends } from \"tslib\";\nimport { parseRichText, parsePlainText } from './helper/parseText.js';\nimport TSpan from './TSpan.js';\nimport { retrieve2, each, normalizeCssArray, trim, retrieve3, extend, keys, defaults } from '../core/util.js';\nimport { adjustTextX, adjustTextY } from '../contain/text.js';\nimport ZRImage from './Image.js';\nimport Rect from './shape/Rect.js';\nimport BoundingRect from '../core/BoundingRect.js';\nimport Displayable, { DEFAULT_COMMON_ANIMATION_PROPS } from './Displayable.js';\nimport { DEFAULT_FONT, DEFAULT_FONT_SIZE } from '../core/platform.js';\nvar DEFAULT_RICH_TEXT_COLOR = {\n fill: '#000'\n};\nvar DEFAULT_STROKE_LINE_WIDTH = 2;\nexport var DEFAULT_TEXT_ANIMATION_PROPS = {\n style: defaults({\n fill: true,\n stroke: true,\n fillOpacity: true,\n strokeOpacity: true,\n lineWidth: true,\n fontSize: true,\n lineHeight: true,\n width: true,\n height: true,\n textShadowColor: true,\n textShadowBlur: true,\n textShadowOffsetX: true,\n textShadowOffsetY: true,\n backgroundColor: true,\n padding: true,\n borderColor: true,\n borderWidth: true,\n borderRadius: true\n }, DEFAULT_COMMON_ANIMATION_PROPS.style)\n};\nvar ZRText = (function (_super) {\n __extends(ZRText, _super);\n function ZRText(opts) {\n var _this = _super.call(this) || this;\n _this.type = 'text';\n _this._children = [];\n _this._defaultStyle = DEFAULT_RICH_TEXT_COLOR;\n _this.attr(opts);\n return _this;\n }\n ZRText.prototype.childrenRef = function () {\n return this._children;\n };\n ZRText.prototype.update = function () {\n _super.prototype.update.call(this);\n if (this.styleChanged()) {\n this._updateSubTexts();\n }\n for (var i = 0; i < this._children.length; i++) {\n var child = this._children[i];\n child.zlevel = this.zlevel;\n child.z = this.z;\n child.z2 = this.z2;\n child.culling = this.culling;\n child.cursor = this.cursor;\n child.invisible = this.invisible;\n }\n };\n ZRText.prototype.updateTransform = function () {\n var innerTransformable = this.innerTransformable;\n if (innerTransformable) {\n innerTransformable.updateTransform();\n if (innerTransformable.transform) {\n this.transform = innerTransformable.transform;\n }\n }\n else {\n _super.prototype.updateTransform.call(this);\n }\n };\n ZRText.prototype.getLocalTransform = function (m) {\n var innerTransformable = this.innerTransformable;\n return innerTransformable\n ? innerTransformable.getLocalTransform(m)\n : _super.prototype.getLocalTransform.call(this, m);\n };\n ZRText.prototype.getComputedTransform = function () {\n if (this.__hostTarget) {\n this.__hostTarget.getComputedTransform();\n this.__hostTarget.updateInnerText(true);\n }\n return _super.prototype.getComputedTransform.call(this);\n };\n ZRText.prototype._updateSubTexts = function () {\n this._childCursor = 0;\n normalizeTextStyle(this.style);\n this.style.rich\n ? this._updateRichTexts()\n : this._updatePlainTexts();\n this._children.length = this._childCursor;\n this.styleUpdated();\n };\n ZRText.prototype.addSelfToZr = function (zr) {\n _super.prototype.addSelfToZr.call(this, zr);\n for (var i = 0; i < this._children.length; i++) {\n this._children[i].__zr = zr;\n }\n };\n ZRText.prototype.removeSelfFromZr = function (zr) {\n _super.prototype.removeSelfFromZr.call(this, zr);\n for (var i = 0; i < this._children.length; i++) {\n this._children[i].__zr = null;\n }\n };\n ZRText.prototype.getBoundingRect = function () {\n if (this.styleChanged()) {\n this._updateSubTexts();\n }\n if (!this._rect) {\n var tmpRect = new BoundingRect(0, 0, 0, 0);\n var children = this._children;\n var tmpMat = [];\n var rect = null;\n for (var i = 0; i < children.length; i++) {\n var child = children[i];\n var childRect = child.getBoundingRect();\n var transform = child.getLocalTransform(tmpMat);\n if (transform) {\n tmpRect.copy(childRect);\n tmpRect.applyTransform(transform);\n rect = rect || tmpRect.clone();\n rect.union(tmpRect);\n }\n else {\n rect = rect || childRect.clone();\n rect.union(childRect);\n }\n }\n this._rect = rect || tmpRect;\n }\n return this._rect;\n };\n ZRText.prototype.setDefaultTextStyle = function (defaultTextStyle) {\n this._defaultStyle = defaultTextStyle || DEFAULT_RICH_TEXT_COLOR;\n };\n ZRText.prototype.setTextContent = function (textContent) {\n if (process.env.NODE_ENV !== 'production') {\n throw new Error('Can\\'t attach text on another text');\n }\n };\n ZRText.prototype._mergeStyle = function (targetStyle, sourceStyle) {\n if (!sourceStyle) {\n return targetStyle;\n }\n var sourceRich = sourceStyle.rich;\n var targetRich = targetStyle.rich || (sourceRich && {});\n extend(targetStyle, sourceStyle);\n if (sourceRich && targetRich) {\n this._mergeRich(targetRich, sourceRich);\n targetStyle.rich = targetRich;\n }\n else if (targetRich) {\n targetStyle.rich = targetRich;\n }\n return targetStyle;\n };\n ZRText.prototype._mergeRich = function (targetRich, sourceRich) {\n var richNames = keys(sourceRich);\n for (var i = 0; i < richNames.length; i++) {\n var richName = richNames[i];\n targetRich[richName] = targetRich[richName] || {};\n extend(targetRich[richName], sourceRich[richName]);\n }\n };\n ZRText.prototype.getAnimationStyleProps = function () {\n return DEFAULT_TEXT_ANIMATION_PROPS;\n };\n ZRText.prototype._getOrCreateChild = function (Ctor) {\n var child = this._children[this._childCursor];\n if (!child || !(child instanceof Ctor)) {\n child = new Ctor();\n }\n this._children[this._childCursor++] = child;\n child.__zr = this.__zr;\n child.parent = this;\n return child;\n };\n ZRText.prototype._updatePlainTexts = function () {\n var style = this.style;\n var textFont = style.font || DEFAULT_FONT;\n var textPadding = style.padding;\n var text = getStyleText(style);\n var contentBlock = parsePlainText(text, style);\n var needDrawBg = needDrawBackground(style);\n var bgColorDrawn = !!(style.backgroundColor);\n var outerHeight = contentBlock.outerHeight;\n var outerWidth = contentBlock.outerWidth;\n var contentWidth = contentBlock.contentWidth;\n var textLines = contentBlock.lines;\n var lineHeight = contentBlock.lineHeight;\n var defaultStyle = this._defaultStyle;\n this.isTruncated = !!contentBlock.isTruncated;\n var baseX = style.x || 0;\n var baseY = style.y || 0;\n var textAlign = style.align || defaultStyle.align || 'left';\n var verticalAlign = style.verticalAlign || defaultStyle.verticalAlign || 'top';\n var textX = baseX;\n var textY = adjustTextY(baseY, contentBlock.contentHeight, verticalAlign);\n if (needDrawBg || textPadding) {\n var boxX = adjustTextX(baseX, outerWidth, textAlign);\n var boxY = adjustTextY(baseY, outerHeight, verticalAlign);\n needDrawBg && this._renderBackground(style, style, boxX, boxY, outerWidth, outerHeight);\n }\n textY += lineHeight / 2;\n if (textPadding) {\n textX = getTextXForPadding(baseX, textAlign, textPadding);\n if (verticalAlign === 'top') {\n textY += textPadding[0];\n }\n else if (verticalAlign === 'bottom') {\n textY -= textPadding[2];\n }\n }\n var defaultLineWidth = 0;\n var useDefaultFill = false;\n var textFill = getFill('fill' in style\n ? style.fill\n : (useDefaultFill = true, defaultStyle.fill));\n var textStroke = getStroke('stroke' in style\n ? style.stroke\n : (!bgColorDrawn\n && (!defaultStyle.autoStroke || useDefaultFill))\n ? (defaultLineWidth = DEFAULT_STROKE_LINE_WIDTH, defaultStyle.stroke)\n : null);\n var hasShadow = style.textShadowBlur > 0;\n var fixedBoundingRect = style.width != null\n && (style.overflow === 'truncate' || style.overflow === 'break' || style.overflow === 'breakAll');\n var calculatedLineHeight = contentBlock.calculatedLineHeight;\n for (var i = 0; i < textLines.length; i++) {\n var el = this._getOrCreateChild(TSpan);\n var subElStyle = el.createStyle();\n el.useStyle(subElStyle);\n subElStyle.text = textLines[i];\n subElStyle.x = textX;\n subElStyle.y = textY;\n if (textAlign) {\n subElStyle.textAlign = textAlign;\n }\n subElStyle.textBaseline = 'middle';\n subElStyle.opacity = style.opacity;\n subElStyle.strokeFirst = true;\n if (hasShadow) {\n subElStyle.shadowBlur = style.textShadowBlur || 0;\n subElStyle.shadowColor = style.textShadowColor || 'transparent';\n subElStyle.shadowOffsetX = style.textShadowOffsetX || 0;\n subElStyle.shadowOffsetY = style.textShadowOffsetY || 0;\n }\n subElStyle.stroke = textStroke;\n subElStyle.fill = textFill;\n if (textStroke) {\n subElStyle.lineWidth = style.lineWidth || defaultLineWidth;\n subElStyle.lineDash = style.lineDash;\n subElStyle.lineDashOffset = style.lineDashOffset || 0;\n }\n subElStyle.font = textFont;\n setSeparateFont(subElStyle, style);\n textY += lineHeight;\n if (fixedBoundingRect) {\n el.setBoundingRect(new BoundingRect(adjustTextX(subElStyle.x, contentWidth, subElStyle.textAlign), adjustTextY(subElStyle.y, calculatedLineHeight, subElStyle.textBaseline), contentWidth, calculatedLineHeight));\n }\n }\n };\n ZRText.prototype._updateRichTexts = function () {\n var style = this.style;\n var text = getStyleText(style);\n var contentBlock = parseRichText(text, style);\n var contentWidth = contentBlock.width;\n var outerWidth = contentBlock.outerWidth;\n var outerHeight = contentBlock.outerHeight;\n var textPadding = style.padding;\n var baseX = style.x || 0;\n var baseY = style.y || 0;\n var defaultStyle = this._defaultStyle;\n var textAlign = style.align || defaultStyle.align;\n var verticalAlign = style.verticalAlign || defaultStyle.verticalAlign;\n this.isTruncated = !!contentBlock.isTruncated;\n var boxX = adjustTextX(baseX, outerWidth, textAlign);\n var boxY = adjustTextY(baseY, outerHeight, verticalAlign);\n var xLeft = boxX;\n var lineTop = boxY;\n if (textPadding) {\n xLeft += textPadding[3];\n lineTop += textPadding[0];\n }\n var xRight = xLeft + contentWidth;\n if (needDrawBackground(style)) {\n this._renderBackground(style, style, boxX, boxY, outerWidth, outerHeight);\n }\n var bgColorDrawn = !!(style.backgroundColor);\n for (var i = 0; i < contentBlock.lines.length; i++) {\n var line = contentBlock.lines[i];\n var tokens = line.tokens;\n var tokenCount = tokens.length;\n var lineHeight = line.lineHeight;\n var remainedWidth = line.width;\n var leftIndex = 0;\n var lineXLeft = xLeft;\n var lineXRight = xRight;\n var rightIndex = tokenCount - 1;\n var token = void 0;\n while (leftIndex < tokenCount\n && (token = tokens[leftIndex], !token.align || token.align === 'left')) {\n this._placeToken(token, style, lineHeight, lineTop, lineXLeft, 'left', bgColorDrawn);\n remainedWidth -= token.width;\n lineXLeft += token.width;\n leftIndex++;\n }\n while (rightIndex >= 0\n && (token = tokens[rightIndex], token.align === 'right')) {\n this._placeToken(token, style, lineHeight, lineTop, lineXRight, 'right', bgColorDrawn);\n remainedWidth -= token.width;\n lineXRight -= token.width;\n rightIndex--;\n }\n lineXLeft += (contentWidth - (lineXLeft - xLeft) - (xRight - lineXRight) - remainedWidth) / 2;\n while (leftIndex <= rightIndex) {\n token = tokens[leftIndex];\n this._placeToken(token, style, lineHeight, lineTop, lineXLeft + token.width / 2, 'center', bgColorDrawn);\n lineXLeft += token.width;\n leftIndex++;\n }\n lineTop += lineHeight;\n }\n };\n ZRText.prototype._placeToken = function (token, style, lineHeight, lineTop, x, textAlign, parentBgColorDrawn) {\n var tokenStyle = style.rich[token.styleName] || {};\n tokenStyle.text = token.text;\n var verticalAlign = token.verticalAlign;\n var y = lineTop + lineHeight / 2;\n if (verticalAlign === 'top') {\n y = lineTop + token.height / 2;\n }\n else if (verticalAlign === 'bottom') {\n y = lineTop + lineHeight - token.height / 2;\n }\n var needDrawBg = !token.isLineHolder && needDrawBackground(tokenStyle);\n needDrawBg && this._renderBackground(tokenStyle, style, textAlign === 'right'\n ? x - token.width\n : textAlign === 'center'\n ? x - token.width / 2\n : x, y - token.height / 2, token.width, token.height);\n var bgColorDrawn = !!tokenStyle.backgroundColor;\n var textPadding = token.textPadding;\n if (textPadding) {\n x = getTextXForPadding(x, textAlign, textPadding);\n y -= token.height / 2 - textPadding[0] - token.innerHeight / 2;\n }\n var el = this._getOrCreateChild(TSpan);\n var subElStyle = el.createStyle();\n el.useStyle(subElStyle);\n var defaultStyle = this._defaultStyle;\n var useDefaultFill = false;\n var defaultLineWidth = 0;\n var textFill = getFill('fill' in tokenStyle ? tokenStyle.fill\n : 'fill' in style ? style.fill\n : (useDefaultFill = true, defaultStyle.fill));\n var textStroke = getStroke('stroke' in tokenStyle ? tokenStyle.stroke\n : 'stroke' in style ? style.stroke\n : (!bgColorDrawn\n && !parentBgColorDrawn\n && (!defaultStyle.autoStroke || useDefaultFill)) ? (defaultLineWidth = DEFAULT_STROKE_LINE_WIDTH, defaultStyle.stroke)\n : null);\n var hasShadow = tokenStyle.textShadowBlur > 0\n || style.textShadowBlur > 0;\n subElStyle.text = token.text;\n subElStyle.x = x;\n subElStyle.y = y;\n if (hasShadow) {\n subElStyle.shadowBlur = tokenStyle.textShadowBlur || style.textShadowBlur || 0;\n subElStyle.shadowColor = tokenStyle.textShadowColor || style.textShadowColor || 'transparent';\n subElStyle.shadowOffsetX = tokenStyle.textShadowOffsetX || style.textShadowOffsetX || 0;\n subElStyle.shadowOffsetY = tokenStyle.textShadowOffsetY || style.textShadowOffsetY || 0;\n }\n subElStyle.textAlign = textAlign;\n subElStyle.textBaseline = 'middle';\n subElStyle.font = token.font || DEFAULT_FONT;\n subElStyle.opacity = retrieve3(tokenStyle.opacity, style.opacity, 1);\n setSeparateFont(subElStyle, tokenStyle);\n if (textStroke) {\n subElStyle.lineWidth = retrieve3(tokenStyle.lineWidth, style.lineWidth, defaultLineWidth);\n subElStyle.lineDash = retrieve2(tokenStyle.lineDash, style.lineDash);\n subElStyle.lineDashOffset = style.lineDashOffset || 0;\n subElStyle.stroke = textStroke;\n }\n if (textFill) {\n subElStyle.fill = textFill;\n }\n var textWidth = token.contentWidth;\n var textHeight = token.contentHeight;\n el.setBoundingRect(new BoundingRect(adjustTextX(subElStyle.x, textWidth, subElStyle.textAlign), adjustTextY(subElStyle.y, textHeight, subElStyle.textBaseline), textWidth, textHeight));\n };\n ZRText.prototype._renderBackground = function (style, topStyle, x, y, width, height) {\n var textBackgroundColor = style.backgroundColor;\n var textBorderWidth = style.borderWidth;\n var textBorderColor = style.borderColor;\n var isImageBg = textBackgroundColor && textBackgroundColor.image;\n var isPlainOrGradientBg = textBackgroundColor && !isImageBg;\n var textBorderRadius = style.borderRadius;\n var self = this;\n var rectEl;\n var imgEl;\n if (isPlainOrGradientBg || style.lineHeight || (textBorderWidth && textBorderColor)) {\n rectEl = this._getOrCreateChild(Rect);\n rectEl.useStyle(rectEl.createStyle());\n rectEl.style.fill = null;\n var rectShape = rectEl.shape;\n rectShape.x = x;\n rectShape.y = y;\n rectShape.width = width;\n rectShape.height = height;\n rectShape.r = textBorderRadius;\n rectEl.dirtyShape();\n }\n if (isPlainOrGradientBg) {\n var rectStyle = rectEl.style;\n rectStyle.fill = textBackgroundColor || null;\n rectStyle.fillOpacity = retrieve2(style.fillOpacity, 1);\n }\n else if (isImageBg) {\n imgEl = this._getOrCreateChild(ZRImage);\n imgEl.onload = function () {\n self.dirtyStyle();\n };\n var imgStyle = imgEl.style;\n imgStyle.image = textBackgroundColor.image;\n imgStyle.x = x;\n imgStyle.y = y;\n imgStyle.width = width;\n imgStyle.height = height;\n }\n if (textBorderWidth && textBorderColor) {\n var rectStyle = rectEl.style;\n rectStyle.lineWidth = textBorderWidth;\n rectStyle.stroke = textBorderColor;\n rectStyle.strokeOpacity = retrieve2(style.strokeOpacity, 1);\n rectStyle.lineDash = style.borderDash;\n rectStyle.lineDashOffset = style.borderDashOffset || 0;\n rectEl.strokeContainThreshold = 0;\n if (rectEl.hasFill() && rectEl.hasStroke()) {\n rectStyle.strokeFirst = true;\n rectStyle.lineWidth *= 2;\n }\n }\n var commonStyle = (rectEl || imgEl).style;\n commonStyle.shadowBlur = style.shadowBlur || 0;\n commonStyle.shadowColor = style.shadowColor || 'transparent';\n commonStyle.shadowOffsetX = style.shadowOffsetX || 0;\n commonStyle.shadowOffsetY = style.shadowOffsetY || 0;\n commonStyle.opacity = retrieve3(style.opacity, topStyle.opacity, 1);\n };\n ZRText.makeFont = function (style) {\n var font = '';\n if (hasSeparateFont(style)) {\n font = [\n style.fontStyle,\n style.fontWeight,\n parseFontSize(style.fontSize),\n style.fontFamily || 'sans-serif'\n ].join(' ');\n }\n return font && trim(font) || style.textFont || style.font;\n };\n return ZRText;\n}(Displayable));\nvar VALID_TEXT_ALIGN = { left: true, right: 1, center: 1 };\nvar VALID_TEXT_VERTICAL_ALIGN = { top: 1, bottom: 1, middle: 1 };\nvar FONT_PARTS = ['fontStyle', 'fontWeight', 'fontSize', 'fontFamily'];\nexport function parseFontSize(fontSize) {\n if (typeof fontSize === 'string'\n && (fontSize.indexOf('px') !== -1\n || fontSize.indexOf('rem') !== -1\n || fontSize.indexOf('em') !== -1)) {\n return fontSize;\n }\n else if (!isNaN(+fontSize)) {\n return fontSize + 'px';\n }\n else {\n return DEFAULT_FONT_SIZE + 'px';\n }\n}\nfunction setSeparateFont(targetStyle, sourceStyle) {\n for (var i = 0; i < FONT_PARTS.length; i++) {\n var fontProp = FONT_PARTS[i];\n var val = sourceStyle[fontProp];\n if (val != null) {\n targetStyle[fontProp] = val;\n }\n }\n}\nexport function hasSeparateFont(style) {\n return style.fontSize != null || style.fontFamily || style.fontWeight;\n}\nexport function normalizeTextStyle(style) {\n normalizeStyle(style);\n each(style.rich, normalizeStyle);\n return style;\n}\nfunction normalizeStyle(style) {\n if (style) {\n style.font = ZRText.makeFont(style);\n var textAlign = style.align;\n textAlign === 'middle' && (textAlign = 'center');\n style.align = (textAlign == null || VALID_TEXT_ALIGN[textAlign]) ? textAlign : 'left';\n var verticalAlign = style.verticalAlign;\n verticalAlign === 'center' && (verticalAlign = 'middle');\n style.verticalAlign = (verticalAlign == null || VALID_TEXT_VERTICAL_ALIGN[verticalAlign]) ? verticalAlign : 'top';\n var textPadding = style.padding;\n if (textPadding) {\n style.padding = normalizeCssArray(style.padding);\n }\n }\n}\nfunction getStroke(stroke, lineWidth) {\n return (stroke == null || lineWidth <= 0 || stroke === 'transparent' || stroke === 'none')\n ? null\n : (stroke.image || stroke.colorStops)\n ? '#000'\n : stroke;\n}\nfunction getFill(fill) {\n return (fill == null || fill === 'none')\n ? null\n : (fill.image || fill.colorStops)\n ? '#000'\n : fill;\n}\nfunction getTextXForPadding(x, textAlign, textPadding) {\n return textAlign === 'right'\n ? (x - textPadding[1])\n : textAlign === 'center'\n ? (x + textPadding[3] / 2 - textPadding[1] / 2)\n : (x + textPadding[3]);\n}\nfunction getStyleText(style) {\n var text = style.text;\n text != null && (text += '');\n return text;\n}\nfunction needDrawBackground(style) {\n return !!(style.backgroundColor\n || style.lineHeight\n || (style.borderWidth && style.borderColor));\n}\nexport default ZRText;\n"],"names":["DEFAULT_RICH_TEXT_COLOR","DEFAULT_STROKE_LINE_WIDTH","DEFAULT_TEXT_ANIMATION_PROPS","defaults","DEFAULT_COMMON_ANIMATION_PROPS","ZRText","_super","__extends","opts","_this","i","child","innerTransformable","m","normalizeTextStyle","zr","tmpRect","BoundingRect","children","tmpMat","rect","childRect","transform","defaultTextStyle","textContent","targetStyle","sourceStyle","sourceRich","targetRich","extend","richNames","keys","richName","Ctor","style","textFont","DEFAULT_FONT","textPadding","text","getStyleText","contentBlock","parsePlainText","needDrawBg","needDrawBackground","bgColorDrawn","outerHeight","outerWidth","contentWidth","textLines","lineHeight","defaultStyle","baseX","baseY","textAlign","verticalAlign","textX","textY","adjustTextY","boxX","adjustTextX","boxY","getTextXForPadding","defaultLineWidth","useDefaultFill","textFill","getFill","textStroke","getStroke","hasShadow","fixedBoundingRect","calculatedLineHeight","el","TSpan","subElStyle","setSeparateFont","parseRichText","xLeft","lineTop","xRight","line","tokens","tokenCount","remainedWidth","leftIndex","lineXLeft","lineXRight","rightIndex","token","x","parentBgColorDrawn","tokenStyle","y","retrieve3","retrieve2","textWidth","textHeight","topStyle","width","height","textBackgroundColor","textBorderWidth","textBorderColor","isImageBg","isPlainOrGradientBg","textBorderRadius","self","rectEl","imgEl","Rect","rectShape","rectStyle","ZRImage","imgStyle","commonStyle","font","hasSeparateFont","parseFontSize","trim","Displayable","VALID_TEXT_ALIGN","VALID_TEXT_VERTICAL_ALIGN","FONT_PARTS","fontSize","DEFAULT_FONT_SIZE","fontProp","val","normalizeStyle","each","normalizeCssArray","stroke","lineWidth","fill"],"mappings":";;;;;;;;;;AAUA,IAAIA,IAA0B;AAAA,EAC1B,MAAM;AACV,GACIC,IAA4B,GACrBC,KAA+B;AAAA,EACtC,OAAOC,GAAS;AAAA,IACZ,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,aAAa;AAAA,IACb,eAAe;AAAA,IACf,WAAW;AAAA,IACX,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,iBAAiB;AAAA,IACjB,gBAAgB;AAAA,IAChB,mBAAmB;AAAA,IACnB,mBAAmB;AAAA,IACnB,iBAAiB;AAAA,IACjB,SAAS;AAAA,IACT,aAAa;AAAA,IACb,aAAa;AAAA,IACb,cAAc;AAAA,EACtB,GAAOC,GAA+B,KAAK;AAC3C,GACIC,MAAU,SAAUC,GAAQ;AAC5B,EAAAC,EAAUF,GAAQC,CAAM;AACxB,WAASD,EAAOG,GAAM;AAClB,QAAIC,IAAQH,EAAO,KAAK,IAAI,KAAK;AACjC,WAAAG,EAAM,OAAO,QACbA,EAAM,YAAY,CAAA,GAClBA,EAAM,gBAAgBT,GACtBS,EAAM,KAAKD,CAAI,GACRC;AAAA,EACX;AACA,SAAAJ,EAAO,UAAU,cAAc,WAAY;AACvC,WAAO,KAAK;AAAA,EAChB,GACAA,EAAO,UAAU,SAAS,WAAY;AAClC,IAAAC,EAAO,UAAU,OAAO,KAAK,IAA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AAM;AAC1B,IAAAoB,MAAkB,aAAaA,IAAgB,WAC/CpB,EAAM,gBAAiBoB,KAAiB,QAAQkE,GAA0BlE,CAAa,IAAKA,IAAgB;AAC5G,QAAIjB,IAAcH,EAAM;AACxB,IAAIG,MACAH,EAAM,UAAU8F,GAAkB9F,EAAM,OAAO;AAAA,EAEvD;AACJ;AACA,SAASiC,EAAU8D,GAAQC,GAAW;AAClC,SAAQD,KAAU,QAAQC,KAAa,KAAKD,MAAW,iBAAiBA,MAAW,SAC7E,OACCA,EAAO,SAASA,EAAO,aACpB,SACAA;AACd;AACA,SAAShE,EAAQkE,GAAM;AACnB,SAAQA,KAAQ,QAAQA,MAAS,SAC3B,OACCA,EAAK,SAASA,EAAK,aAChB,SACAA;AACd;AACA,SAAStE,EAAmB2B,GAAGnC,GAAWhB,GAAa;AACnD,SAAOgB,MAAc,UACdmC,IAAInD,EAAY,CAAC,IAClBgB,MAAc,WACTmC,IAAInD,EAAY,CAAC,IAAI,IAAIA,EAAY,CAAC,IAAI,IAC1CmD,IAAInD,EAAY,CAAC;AAChC;AACA,SAASE,EAAaL,GAAO;AACzB,MAAII,IAAOJ,EAAM;AACjB,SAAAI,KAAQ,SAASA,KAAQ,KAClBA;AACX;AACA,SAASK,EAAmBT,GAAO;AAC/B,SAAO,CAAC,EAAEA,EAAM,mBACTA,EAAM,cACLA,EAAM,eAAeA,EAAM;AACvC;","x_google_ignoreList":[0]}
@@ -0,0 +1,7 @@
1
+ var E = 1, _ = 2, r = 4;
2
+ export {
3
+ E as REDRAW_BIT,
4
+ r as SHAPE_CHANGED_BIT,
5
+ _ as STYLE_CHANGED_BIT
6
+ };
7
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sources":["../../../../../node_modules/zrender/lib/graphic/constants.js"],"sourcesContent":["export var REDRAW_BIT = 1;\nexport var STYLE_CHANGED_BIT = 2;\nexport var SHAPE_CHANGED_BIT = 4;\n"],"names":["REDRAW_BIT","STYLE_CHANGED_BIT","SHAPE_CHANGED_BIT"],"mappings":"AAAU,IAACA,IAAa,GACbC,IAAoB,GACpBC,IAAoB;","x_google_ignoreList":[0]}
@@ -0,0 +1,42 @@
1
+ import h from "../../core/LRU.js";
2
+ import { platformApi as u } from "../../core/platform.js";
3
+ var f = new h(50);
4
+ function p(t) {
5
+ if (typeof t == "string") {
6
+ var o = f.get(t);
7
+ return o && o.image;
8
+ } else
9
+ return t;
10
+ }
11
+ function v(t, o, n, r, e) {
12
+ if (t)
13
+ if (typeof t == "string") {
14
+ if (o && o.__zrImageSrc === t || !n)
15
+ return o;
16
+ var i = f.get(t), l = { hostEl: n, cb: r, cbPayload: e };
17
+ return i ? (o = i.image, !d(o) && i.pending.push(l)) : (o = u.loadImage(t, s, s), o.__zrImageSrc = t, f.put(t, o.__cachedImgObj = {
18
+ image: o,
19
+ pending: [l]
20
+ })), o;
21
+ } else
22
+ return t;
23
+ else return o;
24
+ }
25
+ function s() {
26
+ var t = this.__cachedImgObj;
27
+ this.onload = this.onerror = this.__cachedImgObj = null;
28
+ for (var o = 0; o < t.pending.length; o++) {
29
+ var n = t.pending[o], r = n.cb;
30
+ r && r(this, n.cbPayload), n.hostEl.dirty();
31
+ }
32
+ t.pending.length = 0;
33
+ }
34
+ function d(t) {
35
+ return t && t.width && t.height;
36
+ }
37
+ export {
38
+ v as createOrUpdateImage,
39
+ p as findExistImage,
40
+ d as isImageReady
41
+ };
42
+ //# sourceMappingURL=image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.js","sources":["../../../../../../node_modules/zrender/lib/graphic/helper/image.js"],"sourcesContent":["import LRU from '../../core/LRU.js';\nimport { platformApi } from '../../core/platform.js';\nvar globalImageCache = new LRU(50);\nexport function findExistImage(newImageOrSrc) {\n if (typeof newImageOrSrc === 'string') {\n var cachedImgObj = globalImageCache.get(newImageOrSrc);\n return cachedImgObj && cachedImgObj.image;\n }\n else {\n return newImageOrSrc;\n }\n}\nexport function createOrUpdateImage(newImageOrSrc, image, hostEl, onload, cbPayload) {\n if (!newImageOrSrc) {\n return image;\n }\n else if (typeof newImageOrSrc === 'string') {\n if ((image && image.__zrImageSrc === newImageOrSrc) || !hostEl) {\n return image;\n }\n var cachedImgObj = globalImageCache.get(newImageOrSrc);\n var pendingWrap = { hostEl: hostEl, cb: onload, cbPayload: cbPayload };\n if (cachedImgObj) {\n image = cachedImgObj.image;\n !isImageReady(image) && cachedImgObj.pending.push(pendingWrap);\n }\n else {\n image = platformApi.loadImage(newImageOrSrc, imageOnLoad, imageOnLoad);\n image.__zrImageSrc = newImageOrSrc;\n globalImageCache.put(newImageOrSrc, image.__cachedImgObj = {\n image: image,\n pending: [pendingWrap]\n });\n }\n return image;\n }\n else {\n return newImageOrSrc;\n }\n}\nfunction imageOnLoad() {\n var cachedImgObj = this.__cachedImgObj;\n this.onload = this.onerror = this.__cachedImgObj = null;\n for (var i = 0; i < cachedImgObj.pending.length; i++) {\n var pendingWrap = cachedImgObj.pending[i];\n var cb = pendingWrap.cb;\n cb && cb(this, pendingWrap.cbPayload);\n pendingWrap.hostEl.dirty();\n }\n cachedImgObj.pending.length = 0;\n}\nexport function isImageReady(image) {\n return image && image.width && image.height;\n}\n"],"names":["globalImageCache","LRU","findExistImage","newImageOrSrc","cachedImgObj","createOrUpdateImage","image","hostEl","onload","cbPayload","pendingWrap","isImageReady","platformApi","imageOnLoad","i","cb"],"mappings":";;AAEA,IAAIA,IAAmB,IAAIC,EAAI,EAAE;AAC1B,SAASC,EAAeC,GAAe;AAC1C,MAAI,OAAOA,KAAkB,UAAU;AACnC,QAAIC,IAAeJ,EAAiB,IAAIG,CAAa;AACrD,WAAOC,KAAgBA,EAAa;AAAA,EACxC;AAEI,WAAOD;AAEf;AACO,SAASE,EAAoBF,GAAeG,GAAOC,GAAQC,GAAQC,GAAW;AACjF,MAAKN;AAGA,QAAI,OAAOA,KAAkB,UAAU;AACxC,UAAKG,KAASA,EAAM,iBAAiBH,KAAkB,CAACI;AACpD,eAAOD;AAEX,UAAIF,IAAeJ,EAAiB,IAAIG,CAAa,GACjDO,IAAc,EAAE,QAAQH,GAAQ,IAAIC,GAAQ,WAAWC,EAAS;AACpE,aAAIL,KACAE,IAAQF,EAAa,OACrB,CAACO,EAAaL,CAAK,KAAKF,EAAa,QAAQ,KAAKM,CAAW,MAG7DJ,IAAQM,EAAY,UAAUT,GAAeU,GAAaA,CAAW,GACrEP,EAAM,eAAeH,GACrBH,EAAiB,IAAIG,GAAeG,EAAM,iBAAiB;AAAA,QACvD,OAAOA;AAAA,QACP,SAAS,CAACI,CAAW;AAAA,MACrC,CAAa,IAEEJ;AAAA,IACX;AAEI,aAAOH;AAAA,MAvBP,QAAOG;AAyBf;AACA,SAASO,IAAc;AACnB,MAAIT,IAAe,KAAK;AACxB,OAAK,SAAS,KAAK,UAAU,KAAK,iBAAiB;AACnD,WAASU,IAAI,GAAGA,IAAIV,EAAa,QAAQ,QAAQU,KAAK;AAClD,QAAIJ,IAAcN,EAAa,QAAQU,CAAC,GACpCC,IAAKL,EAAY;AACrB,IAAAK,KAAMA,EAAG,MAAML,EAAY,SAAS,GACpCA,EAAY,OAAO,MAAK;AAAA,EAC5B;AACA,EAAAN,EAAa,QAAQ,SAAS;AAClC;AACO,SAASO,EAAaL,GAAO;AAChC,SAAOA,KAASA,EAAM,SAASA,EAAM;AACzC;","x_google_ignoreList":[0]}
@@ -0,0 +1,212 @@
1
+ import { findExistImage as I, isImageReady as P } from "./image.js";
2
+ import { retrieve2 as x, retrieve3 as j, extend as S, reduce as y } from "../../core/util.js";
3
+ import { getLineHeight as N, getWidth as o, parsePercent as k } from "../../contain/text.js";
4
+ var D = /\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;
5
+ function rr(i, r, a, t, v, l) {
6
+ if (!a) {
7
+ i.text = "", i.isTruncated = !1;
8
+ return;
9
+ }
10
+ var n = (r + "").split(`
11
+ `);
12
+ l = Q(a, t, v, l);
13
+ for (var e = !1, h = {}, f = 0, c = n.length; f < c; f++)
14
+ U(h, n[f], l), n[f] = h.textLine, e = e || h.isTruncated;
15
+ i.text = n.join(`
16
+ `), i.isTruncated = e;
17
+ }
18
+ function Q(i, r, a, t) {
19
+ t = t || {};
20
+ var v = S({}, t);
21
+ v.font = r, a = x(a, "..."), v.maxIterations = x(t.maxIterations, 2);
22
+ var l = v.minChar = x(t.minChar, 0);
23
+ v.cnCharWidth = o("国", r);
24
+ var n = v.ascCharWidth = o("a", r);
25
+ v.placeholder = x(t.placeholder, "");
26
+ for (var e = i = Math.max(0, i - 1), h = 0; h < l && e >= n; h++)
27
+ e -= n;
28
+ var f = o(a, r);
29
+ return f > e && (a = "", f = 0), e = i - f, v.ellipsis = a, v.ellipsisWidth = f, v.contentWidth = e, v.containerWidth = i, v;
30
+ }
31
+ function U(i, r, a) {
32
+ var t = a.containerWidth, v = a.font, l = a.contentWidth;
33
+ if (!t) {
34
+ i.textLine = "", i.isTruncated = !1;
35
+ return;
36
+ }
37
+ var n = o(r, v);
38
+ if (n <= t) {
39
+ i.textLine = r, i.isTruncated = !1;
40
+ return;
41
+ }
42
+ for (var e = 0; ; e++) {
43
+ if (n <= l || e >= a.maxIterations) {
44
+ r += a.ellipsis;
45
+ break;
46
+ }
47
+ var h = e === 0 ? ar(r, l, a.ascCharWidth, a.cnCharWidth) : n > 0 ? Math.floor(r.length * l / n) : 0;
48
+ r = r.substr(0, h), n = o(r, v);
49
+ }
50
+ r === "" && (r = a.placeholder), i.textLine = r, i.isTruncated = !0;
51
+ }
52
+ function ar(i, r, a, t) {
53
+ for (var v = 0, l = 0, n = i.length; l < n && v < r; l++) {
54
+ var e = i.charCodeAt(l);
55
+ v += 0 <= e && e <= 127 ? a : t;
56
+ }
57
+ return l;
58
+ }
59
+ function cr(i, r) {
60
+ i != null && (i += "");
61
+ var a = r.overflow, t = r.padding, v = r.font, l = a === "truncate", n = N(v), e = x(r.lineHeight, n), h = !!r.backgroundColor, f = r.lineOverflow === "truncate", c = !1, g = r.width, s;
62
+ g != null && (a === "break" || a === "breakAll") ? s = i ? V(i, r.font, g, a === "breakAll", 0).lines : [] : s = i ? i.split(`
63
+ `) : [];
64
+ var w = s.length * e, m = x(r.height, w);
65
+ if (w > m && f) {
66
+ var b = Math.floor(m / e);
67
+ c = c || s.length > b, s = s.slice(0, b);
68
+ }
69
+ if (i && l && g != null)
70
+ for (var W = Q(g, v, r.ellipsis, {
71
+ minChar: r.truncateMinChar,
72
+ placeholder: r.placeholder
73
+ }), C = {}, d = 0; d < s.length; d++)
74
+ U(C, s[d], W), s[d] = C.textLine, c = c || C.isTruncated;
75
+ for (var p = m, T = 0, d = 0; d < s.length; d++)
76
+ T = Math.max(o(s[d], v), T);
77
+ g == null && (g = T);
78
+ var A = T;
79
+ return t && (p += t[0] + t[2], A += t[1] + t[3], g += t[1] + t[3]), h && (A = g), {
80
+ lines: s,
81
+ height: m,
82
+ outerWidth: A,
83
+ outerHeight: p,
84
+ lineHeight: e,
85
+ calculatedLineHeight: n,
86
+ contentWidth: T,
87
+ contentHeight: w,
88
+ width: g,
89
+ isTruncated: c
90
+ };
91
+ }
92
+ var ir = /* @__PURE__ */ (function() {
93
+ function i() {
94
+ }
95
+ return i;
96
+ })(), K = /* @__PURE__ */ (function() {
97
+ function i(r) {
98
+ this.tokens = [], r && (this.tokens = r);
99
+ }
100
+ return i;
101
+ })(), er = /* @__PURE__ */ (function() {
102
+ function i() {
103
+ this.width = 0, this.height = 0, this.contentWidth = 0, this.contentHeight = 0, this.outerWidth = 0, this.outerHeight = 0, this.lines = [], this.isTruncated = !1;
104
+ }
105
+ return i;
106
+ })();
107
+ function fr(i, r) {
108
+ var a = new er();
109
+ if (i != null && (i += ""), !i)
110
+ return a;
111
+ for (var t = r.width, v = r.height, l = r.overflow, n = (l === "break" || l === "breakAll") && t != null ? { width: t, accumWidth: 0, breakAll: l === "breakAll" } : null, e = D.lastIndex = 0, h; (h = D.exec(i)) != null; ) {
112
+ var f = h.index;
113
+ f > e && G(a, i.substring(e, f), r, n), G(a, h[2], r, n, h[1]), e = D.lastIndex;
114
+ }
115
+ e < i.length && G(a, i.substring(e, i.length), r, n);
116
+ var c = [], g = 0, s = 0, w = r.padding, m = l === "truncate", b = r.lineOverflow === "truncate", W = {};
117
+ function C(_, q, J) {
118
+ _.width = q, _.lineHeight = J, g += J, s = Math.max(s, q);
119
+ }
120
+ r: for (var d = 0; d < a.lines.length; d++) {
121
+ for (var p = a.lines[d], T = 0, A = 0, F = 0; F < p.tokens.length; F++) {
122
+ var u = p.tokens[F], H = u.styleName && r.rich[u.styleName] || {}, L = u.textPadding = H.padding, z = L ? L[1] + L[3] : 0, E = u.font = H.font || r.font;
123
+ u.contentHeight = N(E);
124
+ var O = x(H.height, u.contentHeight);
125
+ if (u.innerHeight = O, L && (O += L[0] + L[2]), u.height = O, u.lineHeight = j(H.lineHeight, r.lineHeight, O), u.align = H && H.align || r.align, u.verticalAlign = H && H.verticalAlign || "middle", b && v != null && g + u.lineHeight > v) {
126
+ var X = a.lines.length;
127
+ F > 0 ? (p.tokens = p.tokens.slice(0, F), C(p, A, T), a.lines = a.lines.slice(0, d + 1)) : a.lines = a.lines.slice(0, d), a.isTruncated = a.isTruncated || a.lines.length < X;
128
+ break r;
129
+ }
130
+ var M = H.width, Y = M == null || M === "auto";
131
+ if (typeof M == "string" && M.charAt(M.length - 1) === "%")
132
+ u.percentWidth = M, c.push(u), u.contentWidth = o(u.text, E);
133
+ else {
134
+ if (Y) {
135
+ var Z = H.backgroundColor, R = Z && Z.image;
136
+ R && (R = I(R), P(R) && (u.width = Math.max(u.width, R.width * O / R.height)));
137
+ }
138
+ var B = m && t != null ? t - A : null;
139
+ B != null && B < u.width ? !Y || B < z ? (u.text = "", u.width = u.contentWidth = 0) : (rr(W, u.text, B - z, E, r.ellipsis, { minChar: r.truncateMinChar }), u.text = W.text, a.isTruncated = a.isTruncated || W.isTruncated, u.width = u.contentWidth = o(u.text, E)) : u.contentWidth = o(u.text, E);
140
+ }
141
+ u.width += z, A += u.width, H && (T = Math.max(T, u.lineHeight));
142
+ }
143
+ C(p, A, T);
144
+ }
145
+ a.outerWidth = a.width = x(t, s), a.outerHeight = a.height = x(v, g), a.contentHeight = g, a.contentWidth = s, w && (a.outerWidth += w[1] + w[3], a.outerHeight += w[0] + w[2]);
146
+ for (var d = 0; d < c.length; d++) {
147
+ var u = c[d], $ = u.percentWidth;
148
+ u.width = parseInt($, 10) / 100 * a.width;
149
+ }
150
+ return a;
151
+ }
152
+ function G(i, r, a, t, v) {
153
+ var l = r === "", n = v && a.rich[v] || {}, e = i.lines, h = n.font || a.font, f = !1, c, g;
154
+ if (t) {
155
+ var s = n.padding, w = s ? s[1] + s[3] : 0;
156
+ if (n.width != null && n.width !== "auto") {
157
+ var m = k(n.width, t.width) + w;
158
+ e.length > 0 && m + t.accumWidth > t.width && (c = r.split(`
159
+ `), f = !0), t.accumWidth = m;
160
+ } else {
161
+ var b = V(r, h, t.width, t.breakAll, t.accumWidth);
162
+ t.accumWidth = b.accumWidth + w, g = b.linesWidths, c = b.lines;
163
+ }
164
+ } else
165
+ c = r.split(`
166
+ `);
167
+ for (var W = 0; W < c.length; W++) {
168
+ var C = c[W], d = new ir();
169
+ if (d.styleName = v, d.text = C, d.isLineHolder = !C && !l, typeof n.width == "number" ? d.width = n.width : d.width = g ? g[W] : o(C, h), !W && !f) {
170
+ var p = (e[e.length - 1] || (e[0] = new K())).tokens, T = p.length;
171
+ T === 1 && p[0].isLineHolder ? p[0] = d : (C || !T || l) && p.push(d);
172
+ } else
173
+ e.push(new K([d]));
174
+ }
175
+ }
176
+ function tr(i) {
177
+ var r = i.charCodeAt(0);
178
+ return r >= 32 && r <= 591 || r >= 880 && r <= 4351 || r >= 4608 && r <= 5119 || r >= 7680 && r <= 8303;
179
+ }
180
+ var nr = y(",&?/;] ".split(""), function(i, r) {
181
+ return i[r] = !0, i;
182
+ }, {});
183
+ function hr(i) {
184
+ return tr(i) ? !!nr[i] : !0;
185
+ }
186
+ function V(i, r, a, t, v) {
187
+ for (var l = [], n = [], e = "", h = "", f = 0, c = 0, g = 0; g < i.length; g++) {
188
+ var s = i.charAt(g);
189
+ if (s === `
190
+ `) {
191
+ h && (e += h, c += f), l.push(e), n.push(c), e = "", h = "", f = 0, c = 0;
192
+ continue;
193
+ }
194
+ var w = o(s, r), m = t ? !1 : !hr(s);
195
+ if (l.length ? c + w > a : v + c + w > a) {
196
+ c ? (e || h) && (m ? (e || (e = h, h = "", f = 0, c = f), l.push(e), n.push(c - f), h += s, f += w, e = "", c = f) : (h && (e += h, h = "", f = 0), l.push(e), n.push(c), e = s, c = w)) : m ? (l.push(h), n.push(f), h = s, f = w) : (l.push(s), n.push(w));
197
+ continue;
198
+ }
199
+ c += w, m ? (h += s, f += w) : (h && (e += h, h = "", f = 0), e += s);
200
+ }
201
+ return !l.length && !e && (e = i, h = "", f = 0), h && (e += h), e && (l.push(e), n.push(c)), l.length === 1 && (c += v), {
202
+ accumWidth: c,
203
+ lines: l,
204
+ linesWidths: n
205
+ };
206
+ }
207
+ export {
208
+ er as RichTextContentBlock,
209
+ cr as parsePlainText,
210
+ fr as parseRichText
211
+ };
212
+ //# sourceMappingURL=parseText.js.map