@visactor/vchart 1.0.1-alpha.1 → 1.0.1-alpha.2

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 (557) hide show
  1. package/build/index.js +5027 -5002
  2. package/build/index.min.js +2 -2
  3. package/chart.d.ts +1 -1
  4. package/chart.js +1 -1
  5. package/cjs/chart/area/area.js +3 -1
  6. package/cjs/chart/area/area.js.map +1 -1
  7. package/cjs/chart/bar/bar-3d.d.ts +7 -0
  8. package/cjs/chart/bar/bar-3d.js +19 -0
  9. package/cjs/chart/bar/bar-3d.js.map +1 -0
  10. package/cjs/chart/bar/bar.d.ts +0 -6
  11. package/cjs/chart/bar/bar.js +4 -11
  12. package/cjs/chart/bar/bar.js.map +1 -1
  13. package/cjs/chart/bar/index.d.ts +1 -0
  14. package/cjs/chart/bar/index.js +2 -1
  15. package/cjs/chart/bar/index.js.map +1 -1
  16. package/cjs/chart/base-chart.d.ts +1 -1
  17. package/cjs/chart/box-plot/box-plot.js +3 -1
  18. package/cjs/chart/box-plot/box-plot.js.map +1 -1
  19. package/cjs/chart/circle-packing/circle-packing.js +3 -1
  20. package/cjs/chart/circle-packing/circle-packing.js.map +1 -1
  21. package/cjs/chart/funnel/base.d.ts +9 -0
  22. package/cjs/chart/funnel/base.js +47 -0
  23. package/cjs/chart/funnel/base.js.map +1 -0
  24. package/cjs/chart/funnel/funnel-3d.d.ts +7 -0
  25. package/cjs/chart/funnel/funnel-3d.js +19 -0
  26. package/cjs/chart/funnel/funnel-3d.js.map +1 -0
  27. package/cjs/chart/funnel/funnel.d.ts +1 -16
  28. package/cjs/chart/funnel/funnel.js +4 -48
  29. package/cjs/chart/funnel/funnel.js.map +1 -1
  30. package/cjs/chart/funnel/index.d.ts +1 -0
  31. package/cjs/chart/funnel/index.js +2 -1
  32. package/cjs/chart/funnel/index.js.map +1 -1
  33. package/cjs/chart/gauge/gauge.js +3 -1
  34. package/cjs/chart/gauge/gauge.js.map +1 -1
  35. package/cjs/chart/heatmap/heatmap.js +3 -1
  36. package/cjs/chart/heatmap/heatmap.js.map +1 -1
  37. package/cjs/chart/histogram/base.d.ts +5 -0
  38. package/cjs/chart/histogram/base.js +22 -0
  39. package/cjs/chart/histogram/base.js.map +1 -0
  40. package/cjs/chart/histogram/histogram-3d.d.ts +7 -0
  41. package/cjs/chart/histogram/histogram-3d.js +19 -0
  42. package/cjs/chart/histogram/histogram-3d.js.map +1 -0
  43. package/cjs/chart/histogram/histogram.d.ts +1 -12
  44. package/cjs/chart/histogram/histogram.js +4 -23
  45. package/cjs/chart/histogram/histogram.js.map +1 -1
  46. package/cjs/chart/histogram/index.d.ts +1 -0
  47. package/cjs/chart/histogram/index.js +2 -1
  48. package/cjs/chart/histogram/index.js.map +1 -1
  49. package/cjs/chart/index.d.ts +57 -22
  50. package/cjs/chart/index.js +293 -26
  51. package/cjs/chart/index.js.map +1 -1
  52. package/cjs/chart/line/line.js +3 -1
  53. package/cjs/chart/line/line.js.map +1 -1
  54. package/cjs/chart/map/map.js +3 -1
  55. package/cjs/chart/map/map.js.map +1 -1
  56. package/cjs/chart/pie/base.d.ts +5 -0
  57. package/cjs/chart/pie/base.js +26 -0
  58. package/cjs/chart/pie/base.js.map +1 -0
  59. package/cjs/chart/pie/index.d.ts +1 -0
  60. package/cjs/chart/pie/index.js +2 -1
  61. package/cjs/chart/pie/index.js.map +1 -1
  62. package/cjs/chart/pie/pie-3d.d.ts +8 -0
  63. package/cjs/chart/pie/pie-3d.js +24 -0
  64. package/cjs/chart/pie/pie-3d.js.map +1 -0
  65. package/cjs/chart/pie/pie.d.ts +1 -13
  66. package/cjs/chart/pie/pie.js +4 -32
  67. package/cjs/chart/pie/pie.js.map +1 -1
  68. package/cjs/chart/progress/circular/circular.js +3 -1
  69. package/cjs/chart/progress/circular/circular.js.map +1 -1
  70. package/cjs/chart/progress/linear/linear.js +3 -1
  71. package/cjs/chart/progress/linear/linear.js.map +1 -1
  72. package/cjs/chart/radar/radar.js +3 -1
  73. package/cjs/chart/radar/radar.js.map +1 -1
  74. package/cjs/chart/range-area/range-area.js +3 -1
  75. package/cjs/chart/range-area/range-area.js.map +1 -1
  76. package/cjs/chart/range-column/index.d.ts +2 -1
  77. package/cjs/chart/range-column/index.js +2 -1
  78. package/cjs/chart/range-column/index.js.map +1 -1
  79. package/cjs/chart/range-column/{rangeColumn.d.ts → range-column-3d.d.ts} +0 -7
  80. package/cjs/chart/range-column/{rangeColumn.js → range-column-3d.js} +4 -17
  81. package/cjs/chart/range-column/range-column-3d.js.map +1 -0
  82. package/cjs/chart/range-column/range-column.d.ts +8 -0
  83. package/cjs/chart/range-column/range-column.js +25 -0
  84. package/cjs/chart/range-column/range-column.js.map +1 -0
  85. package/cjs/chart/rose/rose.js +3 -1
  86. package/cjs/chart/rose/rose.js.map +1 -1
  87. package/cjs/chart/sankey/sankey.js +3 -1
  88. package/cjs/chart/sankey/sankey.js.map +1 -1
  89. package/cjs/chart/scatter/scatter.js +3 -1
  90. package/cjs/chart/scatter/scatter.js.map +1 -1
  91. package/cjs/chart/sequence/sequence.js +3 -1
  92. package/cjs/chart/sequence/sequence.js.map +1 -1
  93. package/cjs/chart/sunburst/sunburst.js +3 -1
  94. package/cjs/chart/sunburst/sunburst.js.map +1 -1
  95. package/cjs/chart/treemap/treemap.js +3 -1
  96. package/cjs/chart/treemap/treemap.js.map +1 -1
  97. package/cjs/chart/waterfall/waterfall.js +3 -1
  98. package/cjs/chart/waterfall/waterfall.js.map +1 -1
  99. package/cjs/chart/word-cloud/base.d.ts +6 -0
  100. package/cjs/chart/word-cloud/base.js +25 -0
  101. package/cjs/chart/word-cloud/base.js.map +1 -0
  102. package/cjs/chart/word-cloud/index.d.ts +1 -0
  103. package/cjs/chart/word-cloud/index.js +2 -1
  104. package/cjs/chart/word-cloud/index.js.map +1 -1
  105. package/cjs/chart/word-cloud/word-cloud-3d.d.ts +9 -0
  106. package/cjs/chart/word-cloud/word-cloud-3d.js +46 -0
  107. package/cjs/chart/word-cloud/word-cloud-3d.js.map +1 -0
  108. package/cjs/chart/word-cloud/word-cloud.d.ts +2 -15
  109. package/cjs/chart/word-cloud/word-cloud.js +4 -53
  110. package/cjs/chart/word-cloud/word-cloud.js.map +1 -1
  111. package/cjs/compile/grammar-item.js +1 -2
  112. package/cjs/component/index.d.ts +39 -1
  113. package/cjs/component/index.js +202 -16
  114. package/cjs/component/index.js.map +1 -1
  115. package/cjs/component/legend/base-legend.d.ts +1 -1
  116. package/cjs/component/legend/util.d.ts +3 -3
  117. package/cjs/component/tooltip/handler/dom/model/base-tooltip-model.d.ts +1 -1
  118. package/cjs/constant/marker.js +1 -2
  119. package/cjs/constant/word-cloud.js +2 -1
  120. package/cjs/core/factory.js +1 -1
  121. package/cjs/{export/core.d.ts → core/index.d.ts} +4 -4
  122. package/cjs/{export/core.js → core/index.js} +5 -5
  123. package/cjs/core/index.js.map +1 -0
  124. package/cjs/core/instance-manager.js +1 -1
  125. package/cjs/core/interface.js +1 -1
  126. package/cjs/core/vchart.js +1 -1
  127. package/cjs/data/initialize.js +2 -1
  128. package/cjs/index.d.ts +6 -6
  129. package/cjs/index.js +4 -4
  130. package/cjs/index.js.map +1 -1
  131. package/cjs/interaction/interface.js +1 -1
  132. package/cjs/interaction/trigger.js +1 -1
  133. package/cjs/layout/base-layout.d.ts +24 -0
  134. package/cjs/layout/base-layout.js +124 -0
  135. package/cjs/layout/base-layout.js.map +1 -0
  136. package/cjs/layout/index.d.ts +7 -24
  137. package/cjs/layout/index.js +25 -115
  138. package/cjs/layout/index.js.map +1 -1
  139. package/cjs/layout/layout3d/index.d.ts +1 -1
  140. package/cjs/layout/layout3d/index.js +2 -2
  141. package/cjs/layout/layout3d/index.js.map +1 -1
  142. package/cjs/mark/arc-3d.d.ts +9 -0
  143. package/cjs/mark/arc-3d.js +16 -0
  144. package/cjs/mark/arc-3d.js.map +1 -0
  145. package/cjs/mark/arc.d.ts +1 -6
  146. package/cjs/mark/arc.js +1 -9
  147. package/cjs/mark/arc.js.map +1 -1
  148. package/cjs/mark/index.d.ts +21 -0
  149. package/cjs/{export/mark.js → mark/index.js} +49 -37
  150. package/cjs/mark/index.js.map +1 -0
  151. package/cjs/mark/{linkPath.js → link-path.js} +1 -1
  152. package/cjs/mark/link-path.js.map +1 -0
  153. package/cjs/mark/polygon/base-polygon.d.ts +6 -0
  154. package/cjs/mark/polygon/base-polygon.js +18 -0
  155. package/cjs/mark/polygon/base-polygon.js.map +1 -0
  156. package/cjs/mark/polygon/polygon.d.ts +9 -0
  157. package/cjs/mark/polygon/polygon.js +16 -0
  158. package/cjs/mark/polygon/polygon.js.map +1 -0
  159. package/cjs/mark/polygon/pyramid-3d.d.ts +9 -0
  160. package/cjs/mark/polygon/pyramid-3d.js +16 -0
  161. package/cjs/mark/polygon/pyramid-3d.js.map +1 -0
  162. package/cjs/mark/rect-3d.d.ts +10 -0
  163. package/cjs/mark/rect-3d.js +23 -0
  164. package/cjs/mark/rect-3d.js.map +1 -0
  165. package/cjs/mark/rect.d.ts +1 -7
  166. package/cjs/mark/rect.js +1 -16
  167. package/cjs/mark/rect.js.map +1 -1
  168. package/cjs/model/layout-item.js +1 -2
  169. package/cjs/plugin/interface.js +1 -1
  170. package/cjs/region/region.js +1 -1
  171. package/cjs/series/area/area.js +3 -1
  172. package/cjs/series/area/area.js.map +1 -1
  173. package/cjs/series/bar/bar-3d.d.ts +11 -0
  174. package/cjs/series/bar/bar-3d.js +25 -0
  175. package/cjs/series/bar/bar-3d.js.map +1 -0
  176. package/cjs/series/bar/bar.d.ts +0 -7
  177. package/cjs/series/bar/bar.js +3 -18
  178. package/cjs/series/bar/bar.js.map +1 -1
  179. package/cjs/series/box-plot/box-plot.js +5 -1
  180. package/cjs/series/box-plot/box-plot.js.map +1 -1
  181. package/cjs/series/circle-packing/circle-packing.js +3 -1
  182. package/cjs/series/circle-packing/circle-packing.js.map +1 -1
  183. package/cjs/series/dot/dot.js +3 -1
  184. package/cjs/series/dot/dot.js.map +1 -1
  185. package/cjs/series/funnel/funnel-3d.d.ts +18 -0
  186. package/cjs/series/funnel/funnel-3d.js +104 -0
  187. package/cjs/series/funnel/funnel-3d.js.map +1 -0
  188. package/cjs/series/funnel/funnel.d.ts +2 -14
  189. package/cjs/series/funnel/funnel.js +4 -96
  190. package/cjs/series/funnel/funnel.js.map +1 -1
  191. package/cjs/series/gauge/gauge-pointer.js +3 -1
  192. package/cjs/series/gauge/gauge-pointer.js.map +1 -1
  193. package/cjs/series/gauge/gauge.js +3 -1
  194. package/cjs/series/gauge/gauge.js.map +1 -1
  195. package/cjs/series/heatmap/heatmap.js +2 -2
  196. package/cjs/series/heatmap/heatmap.js.map +1 -1
  197. package/cjs/series/index.d.ts +66 -0
  198. package/cjs/{export/series.js → series/index.js} +70 -50
  199. package/cjs/series/index.js.map +1 -0
  200. package/cjs/series/line/line.js +3 -1
  201. package/cjs/series/line/line.js.map +1 -1
  202. package/cjs/series/link/link.js +3 -1
  203. package/cjs/series/link/link.js.map +1 -1
  204. package/cjs/series/map/map.js +2 -2
  205. package/cjs/series/map/map.js.map +1 -1
  206. package/cjs/series/pie/pie-3d.d.ts +16 -0
  207. package/cjs/series/pie/pie-3d.js +97 -0
  208. package/cjs/series/pie/pie-3d.js.map +1 -0
  209. package/cjs/series/pie/pie.d.ts +1 -11
  210. package/cjs/series/pie/pie.js +4 -89
  211. package/cjs/series/pie/pie.js.map +1 -1
  212. package/cjs/series/polar/animation.d.ts +1 -1
  213. package/cjs/series/polar/animation.js.map +1 -1
  214. package/cjs/series/progress/circular/circular.js +3 -1
  215. package/cjs/series/progress/circular/circular.js.map +1 -1
  216. package/cjs/series/progress/linear/linear.js +3 -1
  217. package/cjs/series/progress/linear/linear.js.map +1 -1
  218. package/cjs/series/radar/animation.d.ts +1 -1
  219. package/cjs/series/radar/animation.js.map +1 -1
  220. package/cjs/series/radar/radar.js +3 -1
  221. package/cjs/series/radar/radar.js.map +1 -1
  222. package/cjs/series/range-column/rangeColumn-3d.d.ts +10 -0
  223. package/cjs/series/range-column/rangeColumn-3d.js +19 -0
  224. package/cjs/series/range-column/rangeColumn-3d.js.map +1 -0
  225. package/cjs/series/range-column/rangeColumn.d.ts +0 -6
  226. package/cjs/series/range-column/rangeColumn.js +1 -10
  227. package/cjs/series/range-column/rangeColumn.js.map +1 -1
  228. package/cjs/series/rose/rose.js +2 -2
  229. package/cjs/series/rose/rose.js.map +1 -1
  230. package/cjs/series/sankey/sankey.js +2 -1
  231. package/cjs/series/sankey/sankey.js.map +1 -1
  232. package/cjs/series/scatter/scatter.js +3 -1
  233. package/cjs/series/scatter/scatter.js.map +1 -1
  234. package/cjs/series/sunburst/sunburst.js +3 -1
  235. package/cjs/series/sunburst/sunburst.js.map +1 -1
  236. package/cjs/series/treemap/treemap.js +3 -1
  237. package/cjs/series/treemap/treemap.js.map +1 -1
  238. package/cjs/series/waterfall/waterfall.js +2 -2
  239. package/cjs/series/waterfall/waterfall.js.map +1 -1
  240. package/cjs/series/word-cloud/base.d.ts +60 -0
  241. package/cjs/series/word-cloud/base.js +254 -0
  242. package/cjs/series/word-cloud/base.js.map +1 -0
  243. package/cjs/series/word-cloud/word-cloud-3d.d.ts +11 -0
  244. package/cjs/series/word-cloud/word-cloud-3d.js +199 -0
  245. package/cjs/series/word-cloud/word-cloud-3d.js.map +1 -0
  246. package/cjs/series/word-cloud/word-cloud.d.ts +2 -69
  247. package/cjs/series/word-cloud/word-cloud.js +5 -441
  248. package/cjs/series/word-cloud/word-cloud.js.map +1 -1
  249. package/cjs/vchart-all.d.ts +1 -1
  250. package/cjs/vchart-all.js +3 -5
  251. package/cjs/vchart-all.js.map +1 -1
  252. package/cjs/vchart-simple.d.ts +1 -1
  253. package/cjs/vchart-simple.js +2 -4
  254. package/cjs/vchart-simple.js.map +1 -1
  255. package/component.d.ts +1 -1
  256. package/component.js +1 -1
  257. package/core.d.ts +1 -1
  258. package/core.js +1 -1
  259. package/esm/chart/area/area.js +6 -0
  260. package/esm/chart/area/area.js.map +1 -1
  261. package/esm/chart/bar/bar-3d.d.ts +7 -0
  262. package/esm/chart/bar/bar-3d.js +20 -0
  263. package/esm/chart/bar/bar-3d.js.map +1 -0
  264. package/esm/chart/bar/bar.d.ts +0 -6
  265. package/esm/chart/bar/bar.js +6 -8
  266. package/esm/chart/bar/bar.js.map +1 -1
  267. package/esm/chart/bar/index.d.ts +1 -0
  268. package/esm/chart/bar/index.js +2 -0
  269. package/esm/chart/bar/index.js.map +1 -1
  270. package/esm/chart/base-chart.d.ts +1 -1
  271. package/esm/chart/box-plot/box-plot.js +6 -0
  272. package/esm/chart/box-plot/box-plot.js.map +1 -1
  273. package/esm/chart/circle-packing/circle-packing.js +6 -0
  274. package/esm/chart/circle-packing/circle-packing.js.map +1 -1
  275. package/esm/chart/funnel/base.d.ts +9 -0
  276. package/esm/chart/funnel/base.js +39 -0
  277. package/esm/chart/funnel/base.js.map +1 -0
  278. package/esm/chart/funnel/funnel-3d.d.ts +7 -0
  279. package/esm/chart/funnel/funnel-3d.js +20 -0
  280. package/esm/chart/funnel/funnel-3d.js.map +1 -0
  281. package/esm/chart/funnel/funnel.d.ts +1 -16
  282. package/esm/chart/funnel/funnel.js +7 -46
  283. package/esm/chart/funnel/funnel.js.map +1 -1
  284. package/esm/chart/funnel/index.d.ts +1 -0
  285. package/esm/chart/funnel/index.js +2 -0
  286. package/esm/chart/funnel/index.js.map +1 -1
  287. package/esm/chart/gauge/gauge.js +6 -0
  288. package/esm/chart/gauge/gauge.js.map +1 -1
  289. package/esm/chart/heatmap/heatmap.js +6 -0
  290. package/esm/chart/heatmap/heatmap.js.map +1 -1
  291. package/esm/chart/histogram/base.d.ts +5 -0
  292. package/esm/chart/histogram/base.js +14 -0
  293. package/esm/chart/histogram/base.js.map +1 -0
  294. package/esm/chart/histogram/histogram-3d.d.ts +7 -0
  295. package/esm/chart/histogram/histogram-3d.js +20 -0
  296. package/esm/chart/histogram/histogram-3d.js.map +1 -0
  297. package/esm/chart/histogram/histogram.d.ts +1 -12
  298. package/esm/chart/histogram/histogram.js +7 -21
  299. package/esm/chart/histogram/histogram.js.map +1 -1
  300. package/esm/chart/histogram/index.d.ts +1 -0
  301. package/esm/chart/histogram/index.js +2 -0
  302. package/esm/chart/histogram/index.js.map +1 -1
  303. package/esm/chart/index.d.ts +57 -22
  304. package/esm/chart/index.js +36 -22
  305. package/esm/chart/index.js.map +1 -1
  306. package/esm/chart/line/line.js +6 -0
  307. package/esm/chart/line/line.js.map +1 -1
  308. package/esm/chart/map/map.js +6 -0
  309. package/esm/chart/map/map.js.map +1 -1
  310. package/esm/chart/pie/base.d.ts +5 -0
  311. package/esm/chart/pie/base.js +18 -0
  312. package/esm/chart/pie/base.js.map +1 -0
  313. package/esm/chart/pie/index.d.ts +1 -0
  314. package/esm/chart/pie/index.js +2 -0
  315. package/esm/chart/pie/index.js.map +1 -1
  316. package/esm/chart/pie/pie-3d.d.ts +8 -0
  317. package/esm/chart/pie/pie-3d.js +25 -0
  318. package/esm/chart/pie/pie-3d.js.map +1 -0
  319. package/esm/chart/pie/pie.d.ts +1 -13
  320. package/esm/chart/pie/pie.js +6 -29
  321. package/esm/chart/pie/pie.js.map +1 -1
  322. package/esm/chart/progress/circular/circular.js +6 -0
  323. package/esm/chart/progress/circular/circular.js.map +1 -1
  324. package/esm/chart/progress/linear/linear.js +6 -0
  325. package/esm/chart/progress/linear/linear.js.map +1 -1
  326. package/esm/chart/radar/radar.js +6 -0
  327. package/esm/chart/radar/radar.js.map +1 -1
  328. package/esm/chart/range-area/range-area.js +6 -0
  329. package/esm/chart/range-area/range-area.js.map +1 -1
  330. package/esm/chart/range-column/index.d.ts +2 -1
  331. package/esm/chart/range-column/index.js +3 -1
  332. package/esm/chart/range-column/index.js.map +1 -1
  333. package/esm/chart/range-column/{rangeColumn.d.ts → range-column-3d.d.ts} +0 -7
  334. package/esm/chart/range-column/{rangeColumn.js → range-column-3d.js} +5 -13
  335. package/esm/chart/range-column/range-column-3d.js.map +1 -0
  336. package/esm/chart/range-column/range-column.d.ts +8 -0
  337. package/esm/chart/range-column/range-column.js +28 -0
  338. package/esm/chart/range-column/range-column.js.map +1 -0
  339. package/esm/chart/rose/rose.js +6 -0
  340. package/esm/chart/rose/rose.js.map +1 -1
  341. package/esm/chart/sankey/sankey.js +6 -0
  342. package/esm/chart/sankey/sankey.js.map +1 -1
  343. package/esm/chart/scatter/scatter.js +6 -0
  344. package/esm/chart/scatter/scatter.js.map +1 -1
  345. package/esm/chart/sequence/sequence.js +6 -0
  346. package/esm/chart/sequence/sequence.js.map +1 -1
  347. package/esm/chart/sunburst/sunburst.js +6 -0
  348. package/esm/chart/sunburst/sunburst.js.map +1 -1
  349. package/esm/chart/treemap/treemap.js +6 -0
  350. package/esm/chart/treemap/treemap.js.map +1 -1
  351. package/esm/chart/waterfall/waterfall.js +6 -0
  352. package/esm/chart/waterfall/waterfall.js.map +1 -1
  353. package/esm/chart/word-cloud/base.d.ts +6 -0
  354. package/esm/chart/word-cloud/base.js +21 -0
  355. package/esm/chart/word-cloud/base.js.map +1 -0
  356. package/esm/chart/word-cloud/index.d.ts +1 -0
  357. package/esm/chart/word-cloud/index.js +2 -0
  358. package/esm/chart/word-cloud/index.js.map +1 -1
  359. package/esm/chart/word-cloud/word-cloud-3d.d.ts +9 -0
  360. package/esm/chart/word-cloud/word-cloud-3d.js +47 -0
  361. package/esm/chart/word-cloud/word-cloud-3d.js.map +1 -0
  362. package/esm/chart/word-cloud/word-cloud.d.ts +2 -15
  363. package/esm/chart/word-cloud/word-cloud.js +6 -50
  364. package/esm/chart/word-cloud/word-cloud.js.map +1 -1
  365. package/esm/compile/grammar-item.js +1 -2
  366. package/esm/component/index.d.ts +39 -1
  367. package/esm/component/index.js +39 -1
  368. package/esm/component/index.js.map +1 -1
  369. package/esm/component/legend/base-legend.d.ts +1 -1
  370. package/esm/component/legend/util.d.ts +3 -3
  371. package/esm/component/tooltip/handler/dom/model/base-tooltip-model.d.ts +1 -1
  372. package/esm/constant/marker.js +1 -2
  373. package/esm/constant/word-cloud.js +2 -1
  374. package/esm/core/factory.js +1 -1
  375. package/esm/{export/core.d.ts → core/index.d.ts} +4 -4
  376. package/esm/{export/core.js → core/index.js} +5 -5
  377. package/esm/core/index.js.map +1 -0
  378. package/esm/core/instance-manager.js +1 -1
  379. package/esm/core/interface.js +1 -1
  380. package/esm/core/vchart.js +1 -1
  381. package/esm/data/initialize.js +2 -1
  382. package/esm/index.d.ts +6 -6
  383. package/esm/index.js +6 -6
  384. package/esm/index.js.map +1 -1
  385. package/esm/interaction/interface.js +1 -1
  386. package/esm/interaction/trigger.js +1 -1
  387. package/esm/layout/base-layout.d.ts +24 -0
  388. package/esm/layout/base-layout.js +116 -0
  389. package/esm/layout/base-layout.js.map +1 -0
  390. package/esm/layout/index.d.ts +7 -24
  391. package/esm/layout/index.js +8 -115
  392. package/esm/layout/index.js.map +1 -1
  393. package/esm/layout/layout3d/index.d.ts +1 -1
  394. package/esm/layout/layout3d/index.js +1 -1
  395. package/esm/layout/layout3d/index.js.map +1 -1
  396. package/esm/mark/arc-3d.d.ts +9 -0
  397. package/esm/mark/arc-3d.js +12 -0
  398. package/esm/mark/arc-3d.js.map +1 -0
  399. package/esm/mark/arc.d.ts +1 -6
  400. package/esm/mark/arc.js +0 -8
  401. package/esm/mark/arc.js.map +1 -1
  402. package/esm/mark/index.d.ts +21 -0
  403. package/esm/mark/index.js +40 -0
  404. package/esm/mark/index.js.map +1 -0
  405. package/esm/mark/{linkPath.js → link-path.js} +1 -1
  406. package/esm/mark/link-path.js.map +1 -0
  407. package/esm/mark/polygon/base-polygon.d.ts +6 -0
  408. package/esm/mark/polygon/base-polygon.js +10 -0
  409. package/esm/mark/polygon/base-polygon.js.map +1 -0
  410. package/esm/mark/polygon/polygon.d.ts +9 -0
  411. package/esm/mark/polygon/polygon.js +12 -0
  412. package/esm/mark/polygon/polygon.js.map +1 -0
  413. package/esm/mark/polygon/pyramid-3d.d.ts +9 -0
  414. package/esm/mark/polygon/pyramid-3d.js +12 -0
  415. package/esm/mark/polygon/pyramid-3d.js.map +1 -0
  416. package/esm/mark/rect-3d.d.ts +10 -0
  417. package/esm/mark/rect-3d.js +19 -0
  418. package/esm/mark/rect-3d.js.map +1 -0
  419. package/esm/mark/rect.d.ts +1 -7
  420. package/esm/mark/rect.js +0 -15
  421. package/esm/mark/rect.js.map +1 -1
  422. package/esm/model/layout-item.js +1 -2
  423. package/esm/plugin/interface.js +1 -1
  424. package/esm/region/region.js +1 -1
  425. package/esm/series/area/area.js +12 -0
  426. package/esm/series/area/area.js.map +1 -1
  427. package/esm/series/bar/bar-3d.d.ts +11 -0
  428. package/esm/series/bar/bar-3d.js +30 -0
  429. package/esm/series/bar/bar-3d.js.map +1 -0
  430. package/esm/series/bar/bar.d.ts +0 -7
  431. package/esm/series/bar/bar.js +8 -14
  432. package/esm/series/bar/bar.js.map +1 -1
  433. package/esm/series/box-plot/box-plot.js +8 -0
  434. package/esm/series/box-plot/box-plot.js.map +1 -1
  435. package/esm/series/circle-packing/circle-packing.js +8 -0
  436. package/esm/series/circle-packing/circle-packing.js.map +1 -1
  437. package/esm/series/dot/dot.js +14 -0
  438. package/esm/series/dot/dot.js.map +1 -1
  439. package/esm/series/funnel/funnel-3d.d.ts +18 -0
  440. package/esm/series/funnel/funnel-3d.js +113 -0
  441. package/esm/series/funnel/funnel-3d.js.map +1 -0
  442. package/esm/series/funnel/funnel.d.ts +2 -14
  443. package/esm/series/funnel/funnel.js +10 -93
  444. package/esm/series/funnel/funnel.js.map +1 -1
  445. package/esm/series/gauge/gauge-pointer.js +8 -0
  446. package/esm/series/gauge/gauge-pointer.js.map +1 -1
  447. package/esm/series/gauge/gauge.js +6 -0
  448. package/esm/series/gauge/gauge.js.map +1 -1
  449. package/esm/series/heatmap/heatmap.js +8 -0
  450. package/esm/series/heatmap/heatmap.js.map +1 -1
  451. package/esm/series/index.d.ts +66 -0
  452. package/esm/series/index.js +70 -0
  453. package/esm/series/index.js.map +1 -0
  454. package/esm/series/line/line.js +10 -0
  455. package/esm/series/line/line.js.map +1 -1
  456. package/esm/series/link/link.js +10 -0
  457. package/esm/series/link/link.js.map +1 -1
  458. package/esm/series/map/map.js +7 -1
  459. package/esm/series/map/map.js.map +1 -1
  460. package/esm/series/pie/pie-3d.d.ts +16 -0
  461. package/esm/series/pie/pie-3d.js +107 -0
  462. package/esm/series/pie/pie-3d.js.map +1 -0
  463. package/esm/series/pie/pie.d.ts +1 -11
  464. package/esm/series/pie/pie.js +10 -83
  465. package/esm/series/pie/pie.js.map +1 -1
  466. package/esm/series/polar/animation.d.ts +1 -1
  467. package/esm/series/polar/animation.js.map +1 -1
  468. package/esm/series/progress/circular/circular.js +8 -0
  469. package/esm/series/progress/circular/circular.js.map +1 -1
  470. package/esm/series/progress/linear/linear.js +6 -0
  471. package/esm/series/progress/linear/linear.js.map +1 -1
  472. package/esm/series/radar/animation.d.ts +1 -1
  473. package/esm/series/radar/animation.js.map +1 -1
  474. package/esm/series/radar/radar.js +12 -0
  475. package/esm/series/radar/radar.js.map +1 -1
  476. package/esm/series/range-column/rangeColumn-3d.d.ts +10 -0
  477. package/esm/series/range-column/rangeColumn-3d.js +23 -0
  478. package/esm/series/range-column/rangeColumn-3d.js.map +1 -0
  479. package/esm/series/range-column/rangeColumn.d.ts +0 -6
  480. package/esm/series/range-column/rangeColumn.js +0 -9
  481. package/esm/series/range-column/rangeColumn.js.map +1 -1
  482. package/esm/series/rose/rose.js +8 -0
  483. package/esm/series/rose/rose.js.map +1 -1
  484. package/esm/series/sankey/sankey.js +9 -1
  485. package/esm/series/sankey/sankey.js.map +1 -1
  486. package/esm/series/scatter/scatter.js +8 -0
  487. package/esm/series/scatter/scatter.js.map +1 -1
  488. package/esm/series/sunburst/sunburst.js +8 -0
  489. package/esm/series/sunburst/sunburst.js.map +1 -1
  490. package/esm/series/treemap/treemap.js +8 -0
  491. package/esm/series/treemap/treemap.js.map +1 -1
  492. package/esm/series/waterfall/waterfall.js +6 -0
  493. package/esm/series/waterfall/waterfall.js.map +1 -1
  494. package/esm/series/word-cloud/base.d.ts +60 -0
  495. package/esm/series/word-cloud/base.js +278 -0
  496. package/esm/series/word-cloud/base.js.map +1 -0
  497. package/esm/series/word-cloud/word-cloud-3d.d.ts +11 -0
  498. package/esm/series/word-cloud/word-cloud-3d.js +207 -0
  499. package/esm/series/word-cloud/word-cloud-3d.js.map +1 -0
  500. package/esm/series/word-cloud/word-cloud.d.ts +2 -69
  501. package/esm/series/word-cloud/word-cloud.js +2 -461
  502. package/esm/series/word-cloud/word-cloud.js.map +1 -1
  503. package/esm/vchart-all.d.ts +1 -1
  504. package/esm/vchart-all.js +4 -12
  505. package/esm/vchart-all.js.map +1 -1
  506. package/esm/vchart-simple.d.ts +1 -1
  507. package/esm/vchart-simple.js +4 -10
  508. package/esm/vchart-simple.js.map +1 -1
  509. package/layout.d.ts +1 -1
  510. package/layout.js +1 -1
  511. package/mark.d.ts +1 -1
  512. package/mark.js +1 -1
  513. package/package.json +1 -1
  514. package/series.d.ts +1 -1
  515. package/series.js +1 -1
  516. package/cjs/chart/range-column/rangeColumn.js.map +0 -1
  517. package/cjs/export/chart.d.ts +0 -57
  518. package/cjs/export/chart.js +0 -298
  519. package/cjs/export/chart.js.map +0 -1
  520. package/cjs/export/component.d.ts +0 -39
  521. package/cjs/export/component.js +0 -207
  522. package/cjs/export/component.js.map +0 -1
  523. package/cjs/export/core.js.map +0 -1
  524. package/cjs/export/layout.d.ts +0 -7
  525. package/cjs/export/layout.js +0 -33
  526. package/cjs/export/layout.js.map +0 -1
  527. package/cjs/export/mark.d.ts +0 -18
  528. package/cjs/export/mark.js.map +0 -1
  529. package/cjs/export/series.d.ts +0 -61
  530. package/cjs/export/series.js.map +0 -1
  531. package/cjs/mark/linkPath.js.map +0 -1
  532. package/cjs/mark/polygon.d.ts +0 -18
  533. package/cjs/mark/polygon.js +0 -32
  534. package/cjs/mark/polygon.js.map +0 -1
  535. package/esm/chart/range-column/rangeColumn.js.map +0 -1
  536. package/esm/export/chart.d.ts +0 -57
  537. package/esm/export/chart.js +0 -58
  538. package/esm/export/chart.js.map +0 -1
  539. package/esm/export/component.d.ts +0 -39
  540. package/esm/export/component.js +0 -40
  541. package/esm/export/component.js.map +0 -1
  542. package/esm/export/core.js.map +0 -1
  543. package/esm/export/layout.d.ts +0 -7
  544. package/esm/export/layout.js +0 -8
  545. package/esm/export/layout.js.map +0 -1
  546. package/esm/export/mark.d.ts +0 -18
  547. package/esm/export/mark.js +0 -34
  548. package/esm/export/mark.js.map +0 -1
  549. package/esm/export/series.d.ts +0 -61
  550. package/esm/export/series.js +0 -60
  551. package/esm/export/series.js.map +0 -1
  552. package/esm/mark/linkPath.js.map +0 -1
  553. package/esm/mark/polygon.d.ts +0 -18
  554. package/esm/mark/polygon.js +0 -28
  555. package/esm/mark/polygon.js.map +0 -1
  556. /package/cjs/mark/{linkPath.d.ts → link-path.d.ts} +0 -0
  557. /package/esm/mark/{linkPath.d.ts → link-path.d.ts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/export/chart.ts"],"names":[],"mappings":";;;AAKA,wCAA0C;AAwDxC,0FAxDO,gBAAS,OAwDP;AAtDX,sCAAoD;AAuDlD,yFAvDO,cAAQ,OAuDP;AACR,2FAxDiB,gBAAU,OAwDjB;AAtDZ,gDAAiD;AAuD/C,6FAvDO,uBAAY,OAuDP;AArDd,4DAA6D;AAsD3D,mGAtDO,mCAAkB,OAsDP;AApDpB,4CAA8C;AAqD5C,4FArDO,oBAAW,OAqDP;AAnDb,4CAA6D;AAoD3D,4FApDO,oBAAW,OAoDP;AACX,8FArDoB,sBAAa,OAqDpB;AAnDf,0CAA4C;AAoD1C,2FApDO,kBAAU,OAoDP;AAlDZ,8CAAgD;AAmD9C,6FAnDO,sBAAY,OAmDP;AAjDd,kDAAsE;AAkDpE,+FAlDO,0BAAc,OAkDP;AACd,iGAnDuB,4BAAgB,OAmDvB;AAjDlB,wCAA0C;AAkDxC,0FAlDO,gBAAS,OAkDP;AAhDX,sCAAwC;AAiDtC,yFAjDO,cAAQ,OAiDP;AA/CV,sCAAoD;AAgDlD,yFAhDO,cAAQ,OAgDP;AACR,2FAjDiB,gBAAU,OAiDjB;AA/CZ,yDAAmE;AAgDjE,sGAhDO,gCAAqB,OAgDP;AA9CvB,qDAA+D;AA+C7D,oGA/CO,4BAAmB,OA+CP;AA7CrB,0CAA4C;AA8C1C,2FA9CO,kBAAU,OA8CP;AA5CZ,oDAAqD;AA+CnD,+FA/CO,2BAAc,OA+CP;AA7ChB,wDAA6E;AA2C3E,iGA3CO,+BAAgB,OA2CP;AAChB,mGA5CyB,iCAAkB,OA4CzB;AA1CpB,wCAA0C;AA4CxC,0FA5CO,gBAAS,OA4CP;AA1CX,4CAA8C;AA2C5C,4FA3CO,oBAAW,OA2CP;AAzCb,8CAAgD;AA0C9C,6FA1CO,sBAAY,OA0CP;AAxCd,gDAAkD;AA0ChD,8FA1CO,wBAAa,OA0CP;AAxCf,gDAAkD;AAuChD,8FAvCO,wBAAa,OAuCP;AArCf,8CAAgD;AA0C9C,6FA1CO,sBAAY,OA0CP;AAxCd,kDAAoD;AAqClD,+FArCO,0BAAc,OAqCP;AAnChB,oDAAuE;AAoCrE,+FApCO,2BAAc,OAoCP;AACd,iGArCuB,6BAAgB,OAqCvB;AApClB,oDAAgD;AAsC9C,0FAtCO,sBAAS,OAsCP;AApCX,kDAAoD;AAwClD,+FAxCO,0BAAc,OAwCP;AAtChB,0CAA8E;AAmC5E,2FAnCO,kBAAU,OAmCP;AAEV,8FArCmB,qBAAa,OAqCnB;AADb,kGApCkC,yBAAiB,OAoClC","file":"chart.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all chart modules\n */\nimport type { IAreaChartSpec } from '../chart/area';\nimport { AreaChart } from '../chart/area';\nimport type { IBarChartSpec, IBar3dChartSpec } from '../chart/bar';\nimport { BarChart, Bar3dChart } from '../chart/bar';\nimport type { IBoxPlotChartSpec } from '../chart/box-plot';\nimport { BoxPlotChart } from '../chart/box-plot';\nimport type { ICirclePackingChartSpec } from '../chart/circle-packing';\nimport { CirclePackingChart } from '../chart/circle-packing';\nimport type { ICommonChartSpec } from '../chart/common';\nimport { CommonChart } from '../chart/common';\nimport type { IFunnelChartSpec, IFunnel3dChartSpec } from '../chart/funnel';\nimport { FunnelChart, Funnel3dChart } from '../chart/funnel';\nimport type { IGaugeChartSpec } from '../chart/gauge';\nimport { GaugeChart } from '../chart/gauge';\nimport type { IHeatmapChartSpec } from '../chart/heatmap';\nimport { HeatmapChart } from '../chart/heatmap';\nimport type { IHistogramChartSpec, IHistogram3dChartSpec } from '../chart/histogram';\nimport { HistogramChart, Histogram3dChart } from '../chart/histogram';\nimport type { ILineChartSpec } from '../chart/line';\nimport { LineChart } from '../chart/line';\nimport type { IMapChartSpec } from '../chart/map';\nimport { MapChart } from '../chart/map';\nimport type { IPieChartSpec, IPie3dChartSpec } from '../chart/pie';\nimport { PieChart, Pie3dChart } from '../chart/pie';\nimport type { ICircularProgressChartSpec } from '../chart/progress/circular';\nimport { CircularProgressChart } from '../chart/progress/circular';\nimport type { ILinearProgressChartSpec } from '../chart/progress/linear';\nimport { LinearProgressChart } from '../chart/progress/linear';\nimport type { IRadarChartSpec } from '../chart/radar';\nimport { RadarChart } from '../chart/radar';\nimport type { IRangeAreaChartSpec } from '../chart/range-area';\nimport { RangeAreaChart } from '../chart/range-area';\nimport type { IRangeColumnChartSpec, IRangeColumn3dChartSpec } from '../chart/range-column';\nimport { RangeColumnChart, RangeColumn3dChart } from '../chart/range-column';\nimport type { IRoseChartSpec } from '../chart/rose';\nimport { RoseChart } from '../chart/rose';\nimport type { ISankeyChartSpec } from '../chart/sankey';\nimport { SankeyChart } from '../chart/sankey';\nimport type { IScatterChartSpec } from '../chart/scatter';\nimport { ScatterChart } from '../chart/scatter';\nimport type { ISequenceChartSpec } from '../chart/sequence';\nimport { SequenceChart } from '../chart/sequence';\nimport type { ISunburstChartSpec } from '../chart/sunburst';\nimport { SunburstChart } from '../chart/sunburst';\nimport type { ITreemapChartSpec } from '../chart/treemap';\nimport { TreeMapChart } from '../chart/treemap';\nimport type { IWaterfallChartSpec } from '../chart/waterfall';\nimport { WaterfallChart } from '../chart/waterfall';\nimport type { IWordCloudChartSpec, IWordCloud3dChartSpec } from '../chart/word-cloud';\nimport { WordCloudChart, WordCloud3dChart } from '../chart/word-cloud';\nimport { BaseChart } from '../chart/base-chart';\nimport type { ICartesianChartSpec } from '../chart/cartesian';\nimport { CartesianChart } from '../chart/cartesian';\nimport type { IPolarChartSpec } from '../chart/polar';\nimport { PolarChart, RoseLikeChart, ProgressLikeChart } from '../chart/polar';\n\nexport {\n AreaChart,\n BarChart,\n Bar3dChart,\n BoxPlotChart,\n CirclePackingChart,\n CommonChart,\n FunnelChart,\n Funnel3dChart,\n GaugeChart,\n HeatmapChart,\n HistogramChart,\n Histogram3dChart,\n LineChart,\n MapChart,\n PieChart,\n Pie3dChart,\n CircularProgressChart,\n LinearProgressChart,\n RadarChart,\n RangeColumnChart,\n RangeColumn3dChart,\n RangeAreaChart,\n RoseChart,\n SankeyChart,\n ScatterChart,\n SunburstChart,\n SequenceChart,\n WaterfallChart,\n WordCloudChart,\n WordCloud3dChart,\n TreeMapChart,\n BaseChart,\n PolarChart,\n ProgressLikeChart,\n RoseLikeChart,\n CartesianChart\n};\n\nexport type {\n IAreaChartSpec,\n IBarChartSpec,\n IBar3dChartSpec,\n IBoxPlotChartSpec,\n ICirclePackingChartSpec,\n ICommonChartSpec,\n IFunnelChartSpec,\n IFunnel3dChartSpec,\n IGaugeChartSpec,\n IHeatmapChartSpec,\n IHistogramChartSpec,\n IHistogram3dChartSpec,\n ILineChartSpec,\n IMapChartSpec,\n IPieChartSpec,\n IPie3dChartSpec,\n ICircularProgressChartSpec,\n ILinearProgressChartSpec,\n IRadarChartSpec,\n IRangeColumnChartSpec,\n IRangeColumn3dChartSpec,\n IRangeAreaChartSpec,\n IRoseChartSpec,\n IScatterChartSpec,\n ISankeyChartSpec,\n ISequenceChartSpec,\n ISunburstChartSpec,\n ITreemapChartSpec,\n IWaterfallChartSpec,\n IWordCloud3dChartSpec,\n IWordCloudChartSpec,\n IPolarChartSpec,\n ICartesianChartSpec\n};\n"]}
@@ -1,39 +0,0 @@
1
- import type { IScrollBarSpec } from '../component/data-zoom/scroll-bar';
2
- import { ScrollBar } from '../component/data-zoom/scroll-bar';
3
- import type { IDataZoomSpec } from '../component/data-zoom/data-zoom';
4
- import { DataZoom } from '../component/data-zoom/data-zoom';
5
- import { CustomMark } from '../component/custom-mark';
6
- import type { IBrushSpec } from '../component/brush';
7
- import { Brush } from '../component/brush';
8
- import type { IMapLabelSpec } from '../component/map-label';
9
- import { MapLabelComponent } from '../component/map-label';
10
- import type { ICartesianLinearAxisSpec, ICartesianBandAxisSpec, ICartesianTimeAxisSpec, ICartesianAxisSpec } from '../component/axis/cartesian/index';
11
- import { CartesianAxis, CartesianLinearAxis, CartesianBandAxis, CartesianTimeAxis } from '../component/axis/cartesian/index';
12
- import type { IPolarAxisSpec, IPolarBandAxisSpec, IPolarLinearAxisSpec } from '../component/axis/polar';
13
- import { PolarAxis, PolarBandAxis, PolarLinearAxis } from '../component/axis/polar';
14
- import type { IDiscreteLegendSpec } from '../component/legend/discrete';
15
- import { DiscreteLegend } from '../component/legend/discrete';
16
- import type { IContinuousLegendSpec } from '../component/legend/continuous';
17
- import { ContinuousLegend } from '../component/legend/continuous';
18
- import type { IIndicatorSpec } from '../component/indicator';
19
- import { Indicator } from '../component/indicator';
20
- import type { ITitleSpec } from '../component/title';
21
- import { Title } from '../component/title';
22
- import type { IGeoCoordinateSpec } from '../component/geo';
23
- import { GeoCoordinate } from '../component/geo';
24
- import type { ICartesianCrosshairSpec, IPolarCrosshairSpec } from '../component/crosshair';
25
- import { CartesianCrossHair, PolarCrossHair } from '../component/crosshair';
26
- import type { IPlayerSpec } from '../component/player';
27
- import { Player } from '../component/player';
28
- import type { IMarkLineSpec } from '../component/marker/mark-line';
29
- import { MarkLine } from '../component/marker/mark-line';
30
- import type { IMarkAreaSpec } from '../component/marker/mark-area';
31
- import { MarkArea } from '../component/marker/mark-area';
32
- import type { IMarkPointSpec } from '../component/marker/mark-point';
33
- import { MarkPoint } from '../component/marker/mark-point';
34
- import type { ITooltipSpec } from '../component/tooltip';
35
- import { Tooltip } from '../component/tooltip';
36
- import type { ILabelSpec } from '../component/label';
37
- import { Label } from '../component/label';
38
- export { ScrollBar, DataZoom, CustomMark, Brush, MapLabelComponent, CartesianAxis, CartesianBandAxis, CartesianLinearAxis, CartesianTimeAxis, PolarAxis, PolarBandAxis, PolarLinearAxis, DiscreteLegend, ContinuousLegend, Indicator, Title, GeoCoordinate, CartesianCrossHair, PolarCrossHair, Player, MarkArea, MarkLine, MarkPoint, Tooltip, Label };
39
- export type { IScrollBarSpec, IBrushSpec, ICartesianAxisSpec, ICartesianBandAxisSpec, ICartesianCrosshairSpec, ICartesianLinearAxisSpec, ICartesianTimeAxisSpec, IContinuousLegendSpec, IDataZoomSpec, IDiscreteLegendSpec, IGeoCoordinateSpec, IIndicatorSpec, ILabelSpec, IMapLabelSpec, IMarkAreaSpec, IMarkLineSpec, IMarkPointSpec, IPlayerSpec, IPolarAxisSpec, IPolarBandAxisSpec, IPolarCrosshairSpec, IPolarLinearAxisSpec, ITitleSpec, ITooltipSpec };
@@ -1,207 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: !0
5
- }), exports.Label = exports.Tooltip = exports.MarkPoint = exports.MarkLine = exports.MarkArea = exports.Player = exports.PolarCrossHair = exports.CartesianCrossHair = exports.GeoCoordinate = exports.Title = exports.Indicator = exports.ContinuousLegend = exports.DiscreteLegend = exports.PolarLinearAxis = exports.PolarBandAxis = exports.PolarAxis = exports.CartesianTimeAxis = exports.CartesianLinearAxis = exports.CartesianBandAxis = exports.CartesianAxis = exports.MapLabelComponent = exports.Brush = exports.CustomMark = exports.DataZoom = exports.ScrollBar = void 0;
6
-
7
- const scroll_bar_1 = require("../component/data-zoom/scroll-bar");
8
-
9
- Object.defineProperty(exports, "ScrollBar", {
10
- enumerable: !0,
11
- get: function() {
12
- return scroll_bar_1.ScrollBar;
13
- }
14
- });
15
-
16
- const data_zoom_1 = require("../component/data-zoom/data-zoom");
17
-
18
- Object.defineProperty(exports, "DataZoom", {
19
- enumerable: !0,
20
- get: function() {
21
- return data_zoom_1.DataZoom;
22
- }
23
- });
24
-
25
- const custom_mark_1 = require("../component/custom-mark");
26
-
27
- Object.defineProperty(exports, "CustomMark", {
28
- enumerable: !0,
29
- get: function() {
30
- return custom_mark_1.CustomMark;
31
- }
32
- });
33
-
34
- const brush_1 = require("../component/brush");
35
-
36
- Object.defineProperty(exports, "Brush", {
37
- enumerable: !0,
38
- get: function() {
39
- return brush_1.Brush;
40
- }
41
- });
42
-
43
- const map_label_1 = require("../component/map-label");
44
-
45
- Object.defineProperty(exports, "MapLabelComponent", {
46
- enumerable: !0,
47
- get: function() {
48
- return map_label_1.MapLabelComponent;
49
- }
50
- });
51
-
52
- const index_1 = require("../component/axis/cartesian/index");
53
-
54
- Object.defineProperty(exports, "CartesianAxis", {
55
- enumerable: !0,
56
- get: function() {
57
- return index_1.CartesianAxis;
58
- }
59
- }), Object.defineProperty(exports, "CartesianLinearAxis", {
60
- enumerable: !0,
61
- get: function() {
62
- return index_1.CartesianLinearAxis;
63
- }
64
- }), Object.defineProperty(exports, "CartesianBandAxis", {
65
- enumerable: !0,
66
- get: function() {
67
- return index_1.CartesianBandAxis;
68
- }
69
- }), Object.defineProperty(exports, "CartesianTimeAxis", {
70
- enumerable: !0,
71
- get: function() {
72
- return index_1.CartesianTimeAxis;
73
- }
74
- });
75
-
76
- const polar_1 = require("../component/axis/polar");
77
-
78
- Object.defineProperty(exports, "PolarAxis", {
79
- enumerable: !0,
80
- get: function() {
81
- return polar_1.PolarAxis;
82
- }
83
- }), Object.defineProperty(exports, "PolarBandAxis", {
84
- enumerable: !0,
85
- get: function() {
86
- return polar_1.PolarBandAxis;
87
- }
88
- }), Object.defineProperty(exports, "PolarLinearAxis", {
89
- enumerable: !0,
90
- get: function() {
91
- return polar_1.PolarLinearAxis;
92
- }
93
- });
94
-
95
- const discrete_1 = require("../component/legend/discrete");
96
-
97
- Object.defineProperty(exports, "DiscreteLegend", {
98
- enumerable: !0,
99
- get: function() {
100
- return discrete_1.DiscreteLegend;
101
- }
102
- });
103
-
104
- const continuous_1 = require("../component/legend/continuous");
105
-
106
- Object.defineProperty(exports, "ContinuousLegend", {
107
- enumerable: !0,
108
- get: function() {
109
- return continuous_1.ContinuousLegend;
110
- }
111
- });
112
-
113
- const indicator_1 = require("../component/indicator");
114
-
115
- Object.defineProperty(exports, "Indicator", {
116
- enumerable: !0,
117
- get: function() {
118
- return indicator_1.Indicator;
119
- }
120
- });
121
-
122
- const title_1 = require("../component/title");
123
-
124
- Object.defineProperty(exports, "Title", {
125
- enumerable: !0,
126
- get: function() {
127
- return title_1.Title;
128
- }
129
- });
130
-
131
- const geo_1 = require("../component/geo");
132
-
133
- Object.defineProperty(exports, "GeoCoordinate", {
134
- enumerable: !0,
135
- get: function() {
136
- return geo_1.GeoCoordinate;
137
- }
138
- });
139
-
140
- const crosshair_1 = require("../component/crosshair");
141
-
142
- Object.defineProperty(exports, "CartesianCrossHair", {
143
- enumerable: !0,
144
- get: function() {
145
- return crosshair_1.CartesianCrossHair;
146
- }
147
- }), Object.defineProperty(exports, "PolarCrossHair", {
148
- enumerable: !0,
149
- get: function() {
150
- return crosshair_1.PolarCrossHair;
151
- }
152
- });
153
-
154
- const player_1 = require("../component/player");
155
-
156
- Object.defineProperty(exports, "Player", {
157
- enumerable: !0,
158
- get: function() {
159
- return player_1.Player;
160
- }
161
- });
162
-
163
- const mark_line_1 = require("../component/marker/mark-line");
164
-
165
- Object.defineProperty(exports, "MarkLine", {
166
- enumerable: !0,
167
- get: function() {
168
- return mark_line_1.MarkLine;
169
- }
170
- });
171
-
172
- const mark_area_1 = require("../component/marker/mark-area");
173
-
174
- Object.defineProperty(exports, "MarkArea", {
175
- enumerable: !0,
176
- get: function() {
177
- return mark_area_1.MarkArea;
178
- }
179
- });
180
-
181
- const mark_point_1 = require("../component/marker/mark-point");
182
-
183
- Object.defineProperty(exports, "MarkPoint", {
184
- enumerable: !0,
185
- get: function() {
186
- return mark_point_1.MarkPoint;
187
- }
188
- });
189
-
190
- const tooltip_1 = require("../component/tooltip");
191
-
192
- Object.defineProperty(exports, "Tooltip", {
193
- enumerable: !0,
194
- get: function() {
195
- return tooltip_1.Tooltip;
196
- }
197
- });
198
-
199
- const label_1 = require("../component/label");
200
-
201
- Object.defineProperty(exports, "Label", {
202
- enumerable: !0,
203
- get: function() {
204
- return label_1.Label;
205
- }
206
- });
207
- //# sourceMappingURL=component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/export/component.ts"],"names":[],"mappings":";;;AAKA,kEAA8D;AAgD5D,0FAhDO,sBAAS,OAgDP;AA9CX,gEAA4D;AA+C1D,yFA/CO,oBAAQ,OA+CP;AA9CV,0DAAsD;AA+CpD,2FA/CO,wBAAU,OA+CP;AA7CZ,8CAA2C;AA8CzC,sFA9CO,aAAK,OA8CP;AA5CP,sDAA2D;AA6CzD,kGA7CO,6BAAiB,OA6CP;AAtCnB,6DAK2C;AAkCzC,8FAtCA,qBAAa,OAsCA;AAEb,oGAvCA,2BAAmB,OAuCA;AADnB,kGArCA,yBAAiB,OAqCA;AAEjB,kGAtCA,yBAAiB,OAsCA;AAnCnB,mDAAoF;AAoClF,0FApCO,iBAAS,OAoCP;AACT,8FArCkB,qBAAa,OAqClB;AACb,gGAtCiC,uBAAe,OAsCjC;AApCjB,2DAA8D;AAqC5D,+FArCO,yBAAc,OAqCP;AAnChB,+DAAkE;AAoChE,iGApCO,6BAAgB,OAoCP;AAlClB,sDAAmD;AAmCjD,0FAnCO,qBAAS,OAmCP;AAjCX,8CAA2C;AAkCzC,sFAlCO,aAAK,OAkCP;AAhCP,0CAAiD;AAiC/C,8FAjCO,mBAAa,OAiCP;AA/Bf,sDAA4E;AAgC1E,mGAhCO,8BAAkB,OAgCP;AAClB,+FAjC2B,0BAAc,OAiC3B;AA/BhB,gDAA6C;AAgC3C,uFAhCO,eAAM,OAgCP;AA9BR,6DAAyD;AAgCvD,yFAhCO,oBAAQ,OAgCP;AA9BV,6DAAyD;AA6BvD,yFA7BO,oBAAQ,OA6BP;AA3BV,+DAA2D;AA6BzD,0FA7BO,sBAAS,OA6BP;AA3BX,kDAA+C;AA4B7C,wFA5BO,iBAAO,OA4BP;AA1BT,8CAA2C;AA2BzC,sFA3BO,aAAK,OA2BP","file":"component.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all component modules\n */\nimport type { IScrollBarSpec } from '../component/data-zoom/scroll-bar';\nimport { ScrollBar } from '../component/data-zoom/scroll-bar';\nimport type { IDataZoomSpec } from '../component/data-zoom/data-zoom';\nimport { DataZoom } from '../component/data-zoom/data-zoom';\nimport { CustomMark } from '../component/custom-mark';\nimport type { IBrushSpec } from '../component/brush';\nimport { Brush } from '../component/brush';\nimport type { IMapLabelSpec } from '../component/map-label';\nimport { MapLabelComponent } from '../component/map-label';\nimport type {\n ICartesianLinearAxisSpec,\n ICartesianBandAxisSpec,\n ICartesianTimeAxisSpec,\n ICartesianAxisSpec\n} from '../component/axis/cartesian/index';\nimport {\n CartesianAxis,\n CartesianLinearAxis,\n CartesianBandAxis,\n CartesianTimeAxis\n} from '../component/axis/cartesian/index';\nimport type { IPolarAxisSpec, IPolarBandAxisSpec, IPolarLinearAxisSpec } from '../component/axis/polar';\nimport { PolarAxis, PolarBandAxis, PolarLinearAxis } from '../component/axis/polar';\nimport type { IDiscreteLegendSpec } from '../component/legend/discrete';\nimport { DiscreteLegend } from '../component/legend/discrete';\nimport type { IContinuousLegendSpec } from '../component/legend/continuous';\nimport { ContinuousLegend } from '../component/legend/continuous';\nimport type { IIndicatorSpec } from '../component/indicator';\nimport { Indicator } from '../component/indicator';\nimport type { ITitleSpec } from '../component/title';\nimport { Title } from '../component/title';\nimport type { IGeoCoordinateSpec } from '../component/geo';\nimport { GeoCoordinate } from '../component/geo';\nimport type { ICartesianCrosshairSpec, IPolarCrosshairSpec } from '../component/crosshair';\nimport { CartesianCrossHair, PolarCrossHair } from '../component/crosshair';\nimport type { IPlayerSpec } from '../component/player';\nimport { Player } from '../component/player';\nimport type { IMarkLineSpec } from '../component/marker/mark-line';\nimport { MarkLine } from '../component/marker/mark-line';\nimport type { IMarkAreaSpec } from '../component/marker/mark-area';\nimport { MarkArea } from '../component/marker/mark-area';\nimport type { IMarkPointSpec } from '../component/marker/mark-point';\nimport { MarkPoint } from '../component/marker/mark-point';\nimport type { ITooltipSpec } from '../component/tooltip';\nimport { Tooltip } from '../component/tooltip';\nimport type { ILabelSpec } from '../component/label';\nimport { Label } from '../component/label';\n\nexport {\n ScrollBar,\n DataZoom,\n CustomMark,\n Brush,\n MapLabelComponent,\n CartesianAxis,\n CartesianBandAxis,\n CartesianLinearAxis,\n CartesianTimeAxis,\n PolarAxis,\n PolarBandAxis,\n PolarLinearAxis,\n DiscreteLegend,\n ContinuousLegend,\n Indicator,\n Title,\n GeoCoordinate,\n CartesianCrossHair,\n PolarCrossHair,\n Player,\n MarkArea,\n MarkLine,\n MarkPoint,\n Tooltip,\n Label\n};\n\nexport type {\n IScrollBarSpec,\n IBrushSpec,\n ICartesianAxisSpec,\n ICartesianBandAxisSpec,\n ICartesianCrosshairSpec,\n ICartesianLinearAxisSpec,\n ICartesianTimeAxisSpec,\n IContinuousLegendSpec,\n IDataZoomSpec,\n IDiscreteLegendSpec,\n IGeoCoordinateSpec,\n IIndicatorSpec,\n ILabelSpec,\n IMapLabelSpec,\n IMarkAreaSpec,\n IMarkLineSpec,\n IMarkPointSpec,\n IPlayerSpec,\n IPolarAxisSpec,\n IPolarBandAxisSpec,\n IPolarCrosshairSpec,\n IPolarLinearAxisSpec,\n ITitleSpec,\n ITooltipSpec\n};\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/export/core.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAKA,2CAAwC;AAgB/B,uFAhBA,eAAM,OAgBA;AAff,6CAA0C;AAezB,wFAfR,iBAAO,OAeQ;AAdxB,6CAA0C;AAC1C,2CAAyC;AACzC,yCAA0C;AAC1C,iDAAkD;AAGlD,eAAM,CAAC,OAAO,CAAC,CAAC,yBAAa,EAAE,iBAAS,CAAC,CAAC,CAAC;AAG3C,iBAAO,CAAC,cAAc,CAAC,QAAQ,EAAE,eAAa,CAAC,CAAC;AAGhD,iBAAO,CAAC,cAAc,CAAC,MAAM,EAAE,cAAa,CAAC,CAAC;AAKjC,QAAA,OAAO,GAAG,eAAe,CAAC;AAKvC,qDAAmC;AACnC,yDAAuC;AAEvC,qDAAmC","file":"core.js","sourcesContent":["/**\n * @description VChart 的核心模块,包含 VChart 使用必须要的接口。\n * The core module of VChart, containing the necessary interfaces for using VChart.\n */\n\nimport { VChart } from '../core/vchart';\nimport { Factory } from '../core/factory';\nimport { Region } from '../region/region';\nimport { Layout } from '../layout/index';\nimport { GroupMark } from '../mark/group';\nimport { ComponentMark } from '../mark/component';\n\n// register groupMark and componentMark\nVChart.useMark([ComponentMark, GroupMark]);\n\n// install region module\nFactory.registerRegion('region', Region as any);\n\n// install layout module\nFactory.registerLayout('base', Layout as any);\n\nexport { VChart, Factory };\n\n// export the version\nexport const version = \"1.0.1-alpha.1\";\n\n// export necessary types\nexport type { IVChart } from '../core/interface';\n// the event types\nexport * from '../event/interface';\nexport * from '../typings/spec/common';\nexport type { IStateSpec, StateValueType } from '../compile/mark';\nexport * from '../theme/interface';\n"]}
@@ -1,7 +0,0 @@
1
- import { Layout } from '../layout/index';
2
- import type { IGridLayoutSpec } from '../layout/grid-layout/grid-layout';
3
- import { GridLayout } from '../layout/grid-layout/grid-layout';
4
- import { Layout3d } from '../layout/layout3d';
5
- import type { ILayoutSpec } from '../layout/interface';
6
- export { Layout, GridLayout, Layout3d };
7
- export type { ILayoutSpec, IGridLayoutSpec };
@@ -1,33 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: !0
5
- }), exports.Layout3d = exports.GridLayout = exports.Layout = void 0;
6
-
7
- const index_1 = require("../layout/index");
8
-
9
- Object.defineProperty(exports, "Layout", {
10
- enumerable: !0,
11
- get: function() {
12
- return index_1.Layout;
13
- }
14
- });
15
-
16
- const grid_layout_1 = require("../layout/grid-layout/grid-layout");
17
-
18
- Object.defineProperty(exports, "GridLayout", {
19
- enumerable: !0,
20
- get: function() {
21
- return grid_layout_1.GridLayout;
22
- }
23
- });
24
-
25
- const layout3d_1 = require("../layout/layout3d");
26
-
27
- Object.defineProperty(exports, "Layout3d", {
28
- enumerable: !0,
29
- get: function() {
30
- return layout3d_1.Layout3d;
31
- }
32
- });
33
- //# sourceMappingURL=layout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/export/layout.ts"],"names":[],"mappings":";;;AAIA,2CAAyC;AAMhC,uFANA,cAAM,OAMA;AAJf,mEAA+D;AAI9C,2FAJR,wBAAU,OAIQ;AAH3B,iDAA8C;AAGjB,yFAHpB,mBAAQ,OAGoB","file":"layout.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all layout modules\n */\nimport { Layout } from '../layout/index';\nimport type { IGridLayoutSpec } from '../layout/grid-layout/grid-layout';\nimport { GridLayout } from '../layout/grid-layout/grid-layout';\nimport { Layout3d } from '../layout/layout3d';\nimport type { ILayoutSpec } from '../layout/interface';\n\nexport { Layout, GridLayout, Layout3d };\nexport type { ILayoutSpec, IGridLayoutSpec };\n"]}
@@ -1,18 +0,0 @@
1
- import { BoxPlotMark } from '../mark/box-plot';
2
- import { LineMark } from '../mark/line';
3
- import { SymbolMark } from '../mark/symbol';
4
- import { GroupMark } from '../mark/group';
5
- import { RuleMark } from '../mark/rule';
6
- import { TextMark } from '../mark/text';
7
- import { AreaMark } from '../mark/area';
8
- import { Rect3dMark, RectMark } from '../mark/rect';
9
- import { PathMark } from '../mark/path';
10
- import { Arc3dMark, ArcMark } from '../mark/arc';
11
- import { ComponentMark } from '../mark/component';
12
- import { PolygonMark, Pyramid3dMark } from '../mark/polygon';
13
- import { LinkPathMark } from '../mark/linkPath';
14
- import { ProgressArcMark } from '../mark/progress-arc';
15
- import { CellMark } from '../mark/cell';
16
- import { BaseMark } from '../mark/base';
17
- export type { IBoxPlotMarkSpec, ILineMarkSpec, ISymbolMarkSpec, IGroupMarkSpec, IRuleMarkSpec, ITextMarkSpec, IAreaMarkSpec, IRect3dMarkSpec, IRectMarkSpec, IPathMarkSpec, IArcMarkSpec, IArc3dMarkSpec, ICommonSpec, IPolygonMarkSpec, IPyramid3dMarkSpec, ILinkPathMarkSpec, IProgressArcMarkSpec, ConvertToMarkStyleSpec, ICellMarkSpec } from '../typings/visual';
18
- export { BoxPlotMark, LineMark, SymbolMark, GroupMark, RuleMark, TextMark, AreaMark, Rect3dMark, RectMark, PathMark, Arc3dMark, ArcMark, ComponentMark, PolygonMark, Pyramid3dMark, LinkPathMark, ProgressArcMark, CellMark, BaseMark };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/export/mark.ts"],"names":[],"mappings":";;;AAIA,+CAA+C;AAwC7C,4FAxCO,sBAAW,OAwCP;AAvCb,uCAAwC;AAwCtC,yFAxCO,eAAQ,OAwCP;AAvCV,2CAA4C;AAwC1C,2FAxCO,mBAAU,OAwCP;AAvCZ,yCAA0C;AAwCxC,0FAxCO,iBAAS,OAwCP;AAvCX,uCAAwC;AAwCtC,yFAxCO,eAAQ,OAwCP;AAvCV,uCAAwC;AAwCtC,yFAxCO,eAAQ,OAwCP;AAvCV,uCAAwC;AAwCtC,yFAxCO,eAAQ,OAwCP;AAvCV,uCAAoD;AAwClD,2FAxCO,iBAAU,OAwCP;AACV,yFAzCmB,eAAQ,OAyCnB;AAxCV,uCAAwC;AAyCtC,yFAzCO,eAAQ,OAyCP;AAxCV,qCAAiD;AAyC/C,0FAzCO,eAAS,OAyCP;AACT,wFA1CkB,aAAO,OA0ClB;AAzCT,iDAAkD;AA0ChD,8FA1CO,yBAAa,OA0CP;AAzCf,6CAA6D;AA0C3D,4FA1CO,qBAAW,OA0CP;AACX,8FA3CoB,uBAAa,OA2CpB;AA1Cf,+CAAgD;AA2C9C,6FA3CO,uBAAY,OA2CP;AA1Cd,uDAAuD;AA2CrD,gGA3CO,8BAAe,OA2CP;AA1CjB,uCAAwC;AA2CtC,yFA3CO,eAAQ,OA2CP;AA1CV,uCAAwC;AA2CtC,yFA3CO,eAAQ,OA2CP","file":"mark.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all mark modules\n */\nimport { BoxPlotMark } from '../mark/box-plot';\nimport { LineMark } from '../mark/line';\nimport { SymbolMark } from '../mark/symbol';\nimport { GroupMark } from '../mark/group';\nimport { RuleMark } from '../mark/rule';\nimport { TextMark } from '../mark/text';\nimport { AreaMark } from '../mark/area';\nimport { Rect3dMark, RectMark } from '../mark/rect';\nimport { PathMark } from '../mark/path';\nimport { Arc3dMark, ArcMark } from '../mark/arc';\nimport { ComponentMark } from '../mark/component';\nimport { PolygonMark, Pyramid3dMark } from '../mark/polygon';\nimport { LinkPathMark } from '../mark/linkPath';\nimport { ProgressArcMark } from '../mark/progress-arc';\nimport { CellMark } from '../mark/cell';\nimport { BaseMark } from '../mark/base';\n\nexport type {\n IBoxPlotMarkSpec,\n ILineMarkSpec,\n ISymbolMarkSpec,\n IGroupMarkSpec,\n IRuleMarkSpec,\n ITextMarkSpec,\n IAreaMarkSpec,\n IRect3dMarkSpec,\n IRectMarkSpec,\n IPathMarkSpec,\n IArcMarkSpec,\n IArc3dMarkSpec,\n ICommonSpec,\n IPolygonMarkSpec,\n IPyramid3dMarkSpec,\n ILinkPathMarkSpec,\n IProgressArcMarkSpec,\n ConvertToMarkStyleSpec,\n ICellMarkSpec\n} from '../typings/visual';\n\nexport {\n BoxPlotMark,\n LineMark,\n SymbolMark,\n GroupMark,\n RuleMark,\n TextMark,\n AreaMark,\n Rect3dMark,\n RectMark,\n PathMark,\n Arc3dMark,\n ArcMark,\n ComponentMark,\n PolygonMark,\n Pyramid3dMark,\n LinkPathMark,\n ProgressArcMark,\n CellMark,\n BaseMark\n};\n"]}
@@ -1,61 +0,0 @@
1
- import { WaterfallSeries } from '../series/waterfall/waterfall';
2
- import type { IWaterfallSeriesSpec } from '../series/waterfall/interface';
3
- import { BoxPlotSeries } from '../series/box-plot/box-plot';
4
- import type { IBoxPlotSeriesSpec } from '../series/box-plot/interface';
5
- import { LineSeries } from '../series/line/line';
6
- import type { ILineSeriesSpec } from '../series/line/interface';
7
- import { Bar3dSeries, BarSeries } from '../series/bar/bar';
8
- import type { IBar3dSeriesSpec, IBarSeriesSpec } from '../series/bar/interface';
9
- import { RangeColumn3dSeries, RangeColumnSeries } from '../series/range-column/rangeColumn';
10
- import type { IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec } from '../series/range-column/interface';
11
- import { RangeAreaSeries } from '../series/range-area/range-area';
12
- import type { IRangeAreaSeriesSpec } from '../series/range-area/interface';
13
- import { MapSeries } from '../series/map/map';
14
- import type { IMapSeriesSpec } from '../series/map/interface';
15
- import { Pie3dSeries, PieSeries } from '../series/pie/pie';
16
- import type { IPie3dSeriesSpec } from '../series/pie/interface';
17
- import type { IPieSeriesSpec } from '../series/pie/interface';
18
- import { ScatterSeries } from '../series/scatter/scatter';
19
- import type { IScatterSeriesSpec } from '../series/scatter/interface';
20
- import { RoseSeries } from '../series/rose/rose';
21
- import type { IRoseSeriesSpec } from '../series/rose/interface';
22
- import { RadarSeries } from '../series/radar/radar';
23
- import type { IRadarSeriesSpec } from '../series/radar/interface';
24
- import { AreaSeries } from '../series/area/area';
25
- import type { IAreaSeriesSpec } from '../series/area/interface';
26
- import { DotSeries } from '../series/dot/dot';
27
- import type { IDotSeriesSpec } from '../series/dot/interface';
28
- import { LinkSeries } from '../series/link/link';
29
- import type { ILinkSeriesSpec } from '../series/link/interface';
30
- import { CircularProgressSeries } from '../series/progress/circular/circular';
31
- import type { ICircularProgressSeriesSpec } from '../series/progress/circular/interface';
32
- import { LinearProgressSeries } from '../series/progress/linear/linear';
33
- import type { ILinearProgressSeriesSpec } from '../series/progress/linear/interface';
34
- import { WordCloud3dSeries, WordCloudSeries } from '../series/word-cloud/word-cloud';
35
- import type { IWordCloud3dSeriesSpec, IWordCloudSeriesSpec } from '../series/word-cloud/interface';
36
- import { Funnel3dSeries, FunnelSeries } from '../series/funnel/funnel';
37
- import type { IFunnel3dSeriesSpec, IFunnelSeriesSpec } from '../series/funnel/interface';
38
- import { SunburstSeries } from '../series/sunburst/sunburst';
39
- import type { ISunburstSeriesSpec } from '../series/sunburst/interface';
40
- import { CirclePackingSeries } from '../series/circle-packing/circle-packing';
41
- import type { ICirclePackingSeriesSpec } from '../series/circle-packing/interface';
42
- import { SankeySeries } from '../series/sankey/sankey';
43
- import type { ISankeySeriesSpec } from '../series/sankey/interface';
44
- import { TreeMapSeries } from '../series/treemap/treemap';
45
- import type { ITreemapSeriesSpec } from '../series/treemap/interface';
46
- import type { IGaugePointerSeriesSpec, IGaugeSeriesSpec } from '../series/gauge';
47
- import { GaugePointerSeries, GaugeSeries } from '../series/gauge';
48
- import { HeatmapSeries } from '../series/heatmap/heatmap';
49
- import type { IHeatmapSeriesSpec } from '../series/heatmap/interface';
50
- import { BaseSeries } from '../series/base/base-series';
51
- import type { ICartesianSeriesSpec } from '../series/cartesian';
52
- import { CartesianSeries } from '../series/cartesian';
53
- import { PolarSeries } from '../series/polar/polar';
54
- import type { IPolarSeriesSpec } from '../series/polar/interface';
55
- import type { IProgressLikeSeriesSpec } from '../series/polar/progress-like';
56
- import { ProgressLikeSeries } from '../series/polar/progress-like';
57
- import type { IRoseLikeSeriesSpec } from '../series/polar/rose-like';
58
- import { RoseLikeSeries } from '../series/polar/rose-like';
59
- import type { ISeries } from '../series/interface';
60
- export { WaterfallSeries, Bar3dSeries, BarSeries, BoxPlotSeries, LineSeries, RadarSeries, RangeAreaSeries, RangeColumn3dSeries, RangeColumnSeries, MapSeries, Pie3dSeries, PieSeries, SankeySeries, ScatterSeries, SunburstSeries, RoseLikeSeries, RoseSeries, AreaSeries, DotSeries, LinearProgressSeries, LinkSeries, CirclePackingSeries, CircularProgressSeries, WordCloud3dSeries, WordCloudSeries, Funnel3dSeries, FunnelSeries, TreeMapSeries, GaugePointerSeries, GaugeSeries, HeatmapSeries, BaseSeries, CartesianSeries, PolarSeries, ProgressLikeSeries };
61
- export type { ISeries, IRoseLikeSeriesSpec, IAreaSeriesSpec, IBar3dSeriesSpec, IBarSeriesSpec, IBoxPlotSeriesSpec, ICartesianSeriesSpec, ICirclePackingSeriesSpec, ICircularProgressSeriesSpec, IDotSeriesSpec, IFunnel3dSeriesSpec, IFunnelSeriesSpec, IGaugePointerSeriesSpec, IGaugeSeriesSpec, IHeatmapSeriesSpec, ILineSeriesSpec, ILinearProgressSeriesSpec, ILinkSeriesSpec, IMapSeriesSpec, IPie3dSeriesSpec, IPieSeriesSpec, IPolarSeriesSpec, IProgressLikeSeriesSpec, IRadarSeriesSpec, IRangeAreaSeriesSpec, IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec, IRoseSeriesSpec, ISankeySeriesSpec, IScatterSeriesSpec, ISunburstSeriesSpec, ITreemapSeriesSpec, IWaterfallSeriesSpec, IWordCloud3dSeriesSpec, IWordCloudSeriesSpec };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/export/series.ts"],"names":[],"mappings":";;;AAIA,6DAAgE;AA8D9D,gGA9DO,2BAAe,OA8DP;AA5DjB,0DAA4D;AA+D1D,8FA/DO,wBAAa,OA+DP;AA7Df,8CAAiD;AA8D/C,2FA9DO,iBAAU,OA8DP;AA5DZ,2CAA2D;AAyDzD,4FAzDO,iBAAW,OAyDP;AACX,0FA1DoB,eAAS,OA0DpB;AAxDX,oEAA4F;AA6D1F,oGA7DO,iCAAmB,OA6DP;AACnB,kGA9D4B,+BAAiB,OA8D5B;AA5DnB,gEAAkE;AA0DhE,gGA1DO,4BAAe,OA0DP;AAxDjB,2CAA8C;AA2D5C,0FA3DO,eAAS,OA2DP;AAzDX,2CAA2D;AA0DzD,4FA1DO,iBAAW,OA0DP;AACX,0FA3DoB,eAAS,OA2DpB;AAxDX,uDAA0D;AA0DxD,8FA1DO,uBAAa,OA0DP;AAxDf,8CAAiD;AA2D/C,2FA3DO,iBAAU,OA2DP;AAzDZ,iDAAoD;AA8ClD,4FA9CO,mBAAW,OA8CP;AA5Cb,8CAAiD;AAwD/C,2FAxDO,iBAAU,OAwDP;AAtDZ,2CAA8C;AAuD5C,0FAvDO,eAAS,OAuDP;AArDX,8CAAiD;AAuD/C,2FAvDO,iBAAU,OAuDP;AArDZ,mEAA8E;AAuD5E,uGAvDO,iCAAsB,OAuDP;AArDxB,6DAAwE;AAkDtE,qGAlDO,6BAAoB,OAkDP;AAhDtB,gEAAqF;AAoDnF,kGApDO,8BAAiB,OAoDP;AACjB,gGArD0B,4BAAe,OAqD1B;AAnDjB,oDAAuE;AAoDrE,+FApDO,uBAAc,OAoDP;AACd,6FArDuB,qBAAY,OAqDvB;AAnDd,0DAA6D;AAuC3D,+FAvCO,yBAAc,OAuCP;AArChB,4EAA8E;AA4C5E,oGA5CO,oCAAmB,OA4CP;AA1CrB,oDAAuD;AAiCrD,6FAjCO,qBAAY,OAiCP;AA/Bd,uDAA0D;AA8CxD,8FA9CO,uBAAa,OA8CP;AA3Cf,2CAAkE;AA4ChE,mGA5CO,0BAAkB,OA4CP;AAClB,4FA7C2B,mBAAW,OA6C3B;AA5Cb,uDAA0D;AA6CxD,8FA7CO,uBAAa,OA6CP;AA3Cf,4DAAwD;AA4CtD,2FA5CO,wBAAU,OA4CP;AA1CZ,mDAAsD;AA2CpD,gGA3CO,2BAAe,OA2CP;AA1CjB,iDAAoD;AA2ClD,4FA3CO,mBAAW,OA2CP;AAxCb,iEAAmE;AAyCjE,mGAzCO,kCAAkB,OAyCP;AAvCpB,yDAA2D;AAoBzD,+FApBO,0BAAc,OAoBP","file":"series.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all mark modules\n */\nimport { WaterfallSeries } from '../series/waterfall/waterfall';\nimport type { IWaterfallSeriesSpec } from '../series/waterfall/interface';\nimport { BoxPlotSeries } from '../series/box-plot/box-plot';\nimport type { IBoxPlotSeriesSpec } from '../series/box-plot/interface';\nimport { LineSeries } from '../series/line/line';\nimport type { ILineSeriesSpec } from '../series/line/interface';\nimport { Bar3dSeries, BarSeries } from '../series/bar/bar';\nimport type { IBar3dSeriesSpec, IBarSeriesSpec } from '../series/bar/interface';\nimport { RangeColumn3dSeries, RangeColumnSeries } from '../series/range-column/rangeColumn';\nimport type { IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec } from '../series/range-column/interface';\nimport { RangeAreaSeries } from '../series/range-area/range-area';\nimport type { IRangeAreaSeriesSpec } from '../series/range-area/interface';\nimport { MapSeries } from '../series/map/map';\nimport type { IMapSeriesSpec } from '../series/map/interface';\nimport { Pie3dSeries, PieSeries } from '../series/pie/pie';\nimport type { IPie3dSeriesSpec } from '../series/pie/interface';\nimport type { IPieSeriesSpec } from '../series/pie/interface';\nimport { ScatterSeries } from '../series/scatter/scatter';\nimport type { IScatterSeriesSpec } from '../series/scatter/interface';\nimport { RoseSeries } from '../series/rose/rose';\nimport type { IRoseSeriesSpec } from '../series/rose/interface';\nimport { RadarSeries } from '../series/radar/radar';\nimport type { IRadarSeriesSpec } from '../series/radar/interface';\nimport { AreaSeries } from '../series/area/area';\nimport type { IAreaSeriesSpec } from '../series/area/interface';\nimport { DotSeries } from '../series/dot/dot';\nimport type { IDotSeriesSpec } from '../series/dot/interface';\nimport { LinkSeries } from '../series/link/link';\nimport type { ILinkSeriesSpec } from '../series/link/interface';\nimport { CircularProgressSeries } from '../series/progress/circular/circular';\nimport type { ICircularProgressSeriesSpec } from '../series/progress/circular/interface';\nimport { LinearProgressSeries } from '../series/progress/linear/linear';\nimport type { ILinearProgressSeriesSpec } from '../series/progress/linear/interface';\nimport { WordCloud3dSeries, WordCloudSeries } from '../series/word-cloud/word-cloud';\nimport type { IWordCloud3dSeriesSpec, IWordCloudSeriesSpec } from '../series/word-cloud/interface';\nimport { Funnel3dSeries, FunnelSeries } from '../series/funnel/funnel';\nimport type { IFunnel3dSeriesSpec, IFunnelSeriesSpec } from '../series/funnel/interface';\nimport { SunburstSeries } from '../series/sunburst/sunburst';\nimport type { ISunburstSeriesSpec } from '../series/sunburst/interface';\nimport { CirclePackingSeries } from '../series/circle-packing/circle-packing';\nimport type { ICirclePackingSeriesSpec } from '../series/circle-packing/interface';\nimport { SankeySeries } from '../series/sankey/sankey';\nimport type { ISankeySeriesSpec } from '../series/sankey/interface';\nimport { TreeMapSeries } from '../series/treemap/treemap';\nimport type { ITreemapSeriesSpec } from '../series/treemap/interface';\nimport type { IGaugePointerSeriesSpec, IGaugeSeriesSpec } from '../series/gauge';\nimport { GaugePointerSeries, GaugeSeries } from '../series/gauge';\nimport { HeatmapSeries } from '../series/heatmap/heatmap';\nimport type { IHeatmapSeriesSpec } from '../series/heatmap/interface';\nimport { BaseSeries } from '../series/base/base-series';\nimport type { ICartesianSeriesSpec } from '../series/cartesian';\nimport { CartesianSeries } from '../series/cartesian';\nimport { PolarSeries } from '../series/polar/polar';\nimport type { IPolarSeriesSpec } from '../series/polar/interface';\nimport type { IProgressLikeSeriesSpec } from '../series/polar/progress-like';\nimport { ProgressLikeSeries } from '../series/polar/progress-like';\nimport type { IRoseLikeSeriesSpec } from '../series/polar/rose-like';\nimport { RoseLikeSeries } from '../series/polar/rose-like';\n\nimport type { ISeries } from '../series/interface';\n\nexport {\n WaterfallSeries,\n Bar3dSeries,\n BarSeries,\n BoxPlotSeries,\n LineSeries,\n RadarSeries,\n RangeAreaSeries,\n RangeColumn3dSeries,\n RangeColumnSeries,\n MapSeries,\n Pie3dSeries,\n PieSeries,\n SankeySeries,\n ScatterSeries,\n SunburstSeries,\n RoseLikeSeries,\n RoseSeries,\n AreaSeries,\n DotSeries,\n LinearProgressSeries,\n LinkSeries,\n CirclePackingSeries,\n CircularProgressSeries,\n WordCloud3dSeries,\n WordCloudSeries,\n Funnel3dSeries,\n FunnelSeries,\n TreeMapSeries,\n GaugePointerSeries,\n GaugeSeries,\n HeatmapSeries,\n BaseSeries,\n CartesianSeries,\n PolarSeries,\n ProgressLikeSeries\n};\n\nexport type {\n ISeries,\n IRoseLikeSeriesSpec,\n IAreaSeriesSpec,\n IBar3dSeriesSpec,\n IBarSeriesSpec,\n IBoxPlotSeriesSpec,\n ICartesianSeriesSpec,\n ICirclePackingSeriesSpec,\n ICircularProgressSeriesSpec,\n IDotSeriesSpec,\n IFunnel3dSeriesSpec,\n IFunnelSeriesSpec,\n IGaugePointerSeriesSpec,\n IGaugeSeriesSpec,\n IHeatmapSeriesSpec,\n ILineSeriesSpec,\n ILinearProgressSeriesSpec,\n ILinkSeriesSpec,\n IMapSeriesSpec,\n IPie3dSeriesSpec,\n IPieSeriesSpec,\n IPolarSeriesSpec,\n IProgressLikeSeriesSpec,\n IRadarSeriesSpec,\n IRangeAreaSeriesSpec,\n IRangeColumn3dSeriesSpec,\n IRangeColumnSeriesSpec,\n IRoseSeriesSpec,\n ISankeySeriesSpec,\n IScatterSeriesSpec,\n ISunburstSeriesSpec,\n ITreemapSeriesSpec,\n IWaterfallSeriesSpec,\n IWordCloud3dSeriesSpec,\n IWordCloudSeriesSpec\n};\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/mark/linkPath.ts"],"names":[],"mappings":";;;AAAA,gDAA4C;AAI5C,2CAA2C;AAC3C,iDAA2D;AAM3D,MAAa,YAAa,SAAQ,oBAA2B;IAA7D;;QAEW,SAAI,GAAG,YAAY,CAAC,IAAI,CAAC;IAgCpC,CAAC;IA9BW,gBAAgB;QACxB,MAAM,YAAY,mCACb,KAAK,CAAC,gBAAgB,EAAE,KAC3B,CAAC,EAAE,CAAC,EACJ,CAAC,EAAE,CAAC,EACJ,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,GAAG,EACP,EAAE,EAAE,GAAG,EACP,SAAS,EAAE,CAAC,EACZ,KAAK,EAAE,IAAI,GACZ,CAAC;QACF,OAAO,YAAY,CAAC;IACtB,CAAC;IAES,YAAY,CAAC,KAA2B;QAChD,IAAA,gCAAqB,GAAE,CAAC;QAExB,MAAM,IAAI,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;QAGpC,MAAM,EAAE,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAC/B,MAAM,SAAS,GAAG,UAAU,CAAC;QAC7B,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;QAC7C,IAAI,CAAC,QAAQ,GAAG,IAAI;aACjB,KAAK,CAAC,SAAS,EAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,IAAI,CAAC,QAAQ,CAAC;aACxC,EAAE,CAAC,EAAE,CAAC;aACN,cAAc,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC;QAC5C,IAAI,CAAC,kBAAkB,GAAG,EAAE,CAAC;IAC/B,CAAC;;AAjCH,oCAkCC;AAjCiB,iBAAI,GAAG,wBAAY,CAAC,QAAQ,CAAC","file":"linkPath.js","sourcesContent":["import { BaseMark } from './base/base-mark';\nimport type { ILinkPathMarkSpec } from '../typings/visual';\nimport type { IMarkRaw, IMarkStyle } from './interface';\n// eslint-disable-next-line no-duplicate-imports\nimport { MarkTypeEnum } from './interface';\nimport { registerLinkPathGlyph } from '@visactor/vgrammar';\n// eslint-disable-next-line no-duplicate-imports\nimport type { IGroupMark } from '@visactor/vgrammar';\n\nexport type ILinkPathMark = IMarkRaw<ILinkPathMarkSpec>;\n\nexport class LinkPathMark extends BaseMark<ILinkPathMarkSpec> implements ILinkPathMark {\n static readonly type = MarkTypeEnum.linkPath;\n readonly type = LinkPathMark.type;\n\n protected _getDefaultStyle() {\n const defaultStyle: IMarkStyle<ILinkPathMarkSpec> = {\n ...super._getDefaultStyle(),\n x: 0,\n y: 0,\n x0: 0,\n y0: 0,\n x1: 100,\n y1: 100,\n thickness: 1,\n round: true\n };\n return defaultStyle;\n }\n\n protected _initProduct(group?: string | IGroupMark) {\n registerLinkPathGlyph();\n\n const view = this.getVGrammarView();\n\n // 声明语法元素\n const id = this.getProductId();\n const glyphType = 'linkPath';\n const direction = this.getStyle('direction');\n this._product = view\n .glyph(glyphType, group ?? view.rootMark)\n .id(id)\n .configureGlyph({ direction: direction });\n this._compiledProductId = id;\n }\n}\n"]}
@@ -1,18 +0,0 @@
1
- import type { ICommonSpec, IPolygonMarkSpec, IPyramid3dMarkSpec } from '../typings/visual';
2
- import { BaseMark } from './base/base-mark';
3
- import type { IMarkRaw, IMarkStyle } from './interface';
4
- import { MarkTypeEnum } from './interface';
5
- export type IPolygonMark = IMarkRaw<IPolygonMarkSpec>;
6
- export type IPyramid3dMark = IMarkRaw<IPyramid3dMarkSpec>;
7
- declare class BasePolygonMark<T extends ICommonSpec> extends BaseMark<T> {
8
- protected _getDefaultStyle(): IMarkStyle<T>;
9
- }
10
- export declare class PolygonMark extends BasePolygonMark<IPolygonMarkSpec> implements IPolygonMark {
11
- static readonly type = MarkTypeEnum.polygon;
12
- readonly type = MarkTypeEnum.polygon;
13
- }
14
- export declare class Pyramid3dMark extends BasePolygonMark<IPyramid3dMarkSpec> implements IPyramid3dMark {
15
- static readonly type = MarkTypeEnum.pyramid3d;
16
- readonly type = MarkTypeEnum.pyramid3d;
17
- }
18
- export {};
@@ -1,32 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: !0
5
- }), exports.Pyramid3dMark = exports.PolygonMark = void 0;
6
-
7
- const base_mark_1 = require("./base/base-mark"), interface_1 = require("./interface");
8
-
9
- class BasePolygonMark extends base_mark_1.BaseMark {
10
- _getDefaultStyle() {
11
- return Object.assign(Object.assign({}, super._getDefaultStyle()), {
12
- points: []
13
- });
14
- }
15
- }
16
-
17
- class PolygonMark extends BasePolygonMark {
18
- constructor() {
19
- super(...arguments), this.type = PolygonMark.type;
20
- }
21
- }
22
-
23
- exports.PolygonMark = PolygonMark, PolygonMark.type = interface_1.MarkTypeEnum.polygon;
24
-
25
- class Pyramid3dMark extends BasePolygonMark {
26
- constructor() {
27
- super(...arguments), this.type = Pyramid3dMark.type;
28
- }
29
- }
30
-
31
- exports.Pyramid3dMark = Pyramid3dMark, Pyramid3dMark.type = interface_1.MarkTypeEnum.pyramid3d;
32
- //# sourceMappingURL=polygon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/mark/polygon.ts"],"names":[],"mappings":";;;AACA,gDAA4C;AAG5C,2CAA2C;AAK3C,MAAM,eAAuC,SAAQ,oBAAW;IACpD,gBAAgB;QACxB,MAAM,YAAY,mCACb,KAAK,CAAC,gBAAgB,EAAE,KAC3B,MAAM,EAAE,EAAE,GACX,CAAC;QACF,OAAO,YAAY,CAAC;IACtB,CAAC;CACF;AAED,MAAa,WAAY,SAAQ,eAAiC;IAAlE;;QAEW,SAAI,GAAG,WAAW,CAAC,IAAI,CAAC;IACnC,CAAC;;AAHD,kCAGC;AAFiB,gBAAI,GAAG,wBAAY,CAAC,OAAO,CAAC;AAI9C,MAAa,aAAc,SAAQ,eAAmC;IAAtE;;QAEW,SAAI,GAAG,aAAa,CAAC,IAAI,CAAC;IACrC,CAAC;;AAHD,sCAGC;AAFiB,kBAAI,GAAG,wBAAY,CAAC,SAAS,CAAC","file":"polygon.js","sourcesContent":["import type { ICommonSpec, IPolygonMarkSpec, IPyramid3dMarkSpec } from '../typings/visual';\nimport { BaseMark } from './base/base-mark';\nimport type { IMarkRaw, IMarkStyle } from './interface';\n// eslint-disable-next-line no-duplicate-imports\nimport { MarkTypeEnum } from './interface';\n\nexport type IPolygonMark = IMarkRaw<IPolygonMarkSpec>;\nexport type IPyramid3dMark = IMarkRaw<IPyramid3dMarkSpec>;\n\nclass BasePolygonMark<T extends ICommonSpec> extends BaseMark<T> {\n protected _getDefaultStyle() {\n const defaultStyle: IMarkStyle<T> = {\n ...super._getDefaultStyle(),\n points: []\n };\n return defaultStyle;\n }\n}\n\nexport class PolygonMark extends BasePolygonMark<IPolygonMarkSpec> implements IPolygonMark {\n static readonly type = MarkTypeEnum.polygon;\n readonly type = PolygonMark.type;\n}\n\nexport class Pyramid3dMark extends BasePolygonMark<IPyramid3dMarkSpec> implements IPyramid3dMark {\n static readonly type = MarkTypeEnum.pyramid3d;\n readonly type = Pyramid3dMark.type;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/chart/range-column/rangeColumn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,OAAO,gBAAiB,SAAQ,cAAc;IAApD;;QAGW,SAAI,GAAW,aAAa,CAAC,WAAW,CAAC;QACzC,eAAU,GAAW,cAAc,CAAC,WAAW,CAAC;IAc3D,CAAC;IAZW,qBAAqB,CAAC,IAAS;;QACvC,MAAM,MAAM,qBACP,KAAK,CAAC,qBAAqB,CAAC,IAAI,CAAC,CACrC,CAAC;QACF,MAAM,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC;QACtB,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,UAAU,EAAE;YAC3C,MAAM,CAAC,MAAM,GAAG,MAAA,IAAI,CAAC,MAAM,mCAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;SAC/D;aAAM;YACL,MAAM,CAAC,MAAM,GAAG,MAAA,IAAI,CAAC,MAAM,mCAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;SAC/D;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;;AAhBe,qBAAI,GAAW,aAAa,CAAC,WAAW,CAAC;AACzC,qBAAI,GAAW,eAAe,CAAC;AAkBjD,MAAM,OAAO,kBAAmB,SAAQ,cAAc;IAAtD;;QAGW,SAAI,GAAW,aAAa,CAAC,aAAa,CAAC;QAC3C,eAAU,GAAW,cAAc,CAAC,aAAa,CAAC;IAc7D,CAAC;IAZW,qBAAqB,CAAC,IAAS;;QACvC,MAAM,MAAM,qBACP,KAAK,CAAC,qBAAqB,CAAC,IAAI,CAAC,CACrC,CAAC;QACF,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAC1B,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,UAAU,EAAE;YAC3C,MAAM,CAAC,MAAM,GAAG,MAAA,IAAI,CAAC,MAAM,mCAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;SAC/D;aAAM;YACL,MAAM,CAAC,MAAM,GAAG,MAAA,IAAI,CAAC,MAAM,mCAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;SAC/D;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;;AAhBe,uBAAI,GAAW,aAAa,CAAC,aAAa,CAAC;AAC3C,uBAAI,GAAW,eAAe,CAAC","file":"rangeColumn.js","sourcesContent":["import { CartesianChart } from '../cartesian/cartesian';\nimport { ChartTypeEnum } from '../interface';\nimport { SeriesTypeEnum } from '../../series/interface';\nimport { Direction } from '../../typings';\n\nexport class RangeColumnChart extends CartesianChart {\n static readonly type: string = ChartTypeEnum.rangeColumn;\n static readonly view: string = 'singleDefault';\n readonly type: string = ChartTypeEnum.rangeColumn;\n readonly seriesType: string = SeriesTypeEnum.rangeColumn;\n\n protected _getDefaultSeriesSpec(spec: any): any {\n const series: any = {\n ...super._getDefaultSeriesSpec(spec)\n };\n series.bar = spec.bar;\n if (spec.direction === Direction.horizontal) {\n series.xField = spec.xField ?? [spec.minField, spec.maxField];\n } else {\n series.yField = spec.yField ?? [spec.minField, spec.maxField];\n }\n return series;\n }\n}\n\nexport class RangeColumn3dChart extends CartesianChart {\n static readonly type: string = ChartTypeEnum.rangeColumn3d;\n static readonly view: string = 'singleDefault';\n readonly type: string = ChartTypeEnum.rangeColumn3d;\n readonly seriesType: string = SeriesTypeEnum.rangeColumn3d;\n\n protected _getDefaultSeriesSpec(spec: any): any {\n const series: any = {\n ...super._getDefaultSeriesSpec(spec)\n };\n series.bar3d = spec.bar3d;\n if (spec.direction === Direction.horizontal) {\n series.xField = spec.xField ?? [spec.minField, spec.maxField];\n } else {\n series.yField = spec.yField ?? [spec.minField, spec.maxField];\n }\n return series;\n }\n}\n"]}
@@ -1,57 +0,0 @@
1
- import type { IAreaChartSpec } from '../chart/area';
2
- import { AreaChart } from '../chart/area';
3
- import type { IBarChartSpec, IBar3dChartSpec } from '../chart/bar';
4
- import { BarChart, Bar3dChart } from '../chart/bar';
5
- import type { IBoxPlotChartSpec } from '../chart/box-plot';
6
- import { BoxPlotChart } from '../chart/box-plot';
7
- import type { ICirclePackingChartSpec } from '../chart/circle-packing';
8
- import { CirclePackingChart } from '../chart/circle-packing';
9
- import type { ICommonChartSpec } from '../chart/common';
10
- import { CommonChart } from '../chart/common';
11
- import type { IFunnelChartSpec, IFunnel3dChartSpec } from '../chart/funnel';
12
- import { FunnelChart, Funnel3dChart } from '../chart/funnel';
13
- import type { IGaugeChartSpec } from '../chart/gauge';
14
- import { GaugeChart } from '../chart/gauge';
15
- import type { IHeatmapChartSpec } from '../chart/heatmap';
16
- import { HeatmapChart } from '../chart/heatmap';
17
- import type { IHistogramChartSpec, IHistogram3dChartSpec } from '../chart/histogram';
18
- import { HistogramChart, Histogram3dChart } from '../chart/histogram';
19
- import type { ILineChartSpec } from '../chart/line';
20
- import { LineChart } from '../chart/line';
21
- import type { IMapChartSpec } from '../chart/map';
22
- import { MapChart } from '../chart/map';
23
- import type { IPieChartSpec, IPie3dChartSpec } from '../chart/pie';
24
- import { PieChart, Pie3dChart } from '../chart/pie';
25
- import type { ICircularProgressChartSpec } from '../chart/progress/circular';
26
- import { CircularProgressChart } from '../chart/progress/circular';
27
- import type { ILinearProgressChartSpec } from '../chart/progress/linear';
28
- import { LinearProgressChart } from '../chart/progress/linear';
29
- import type { IRadarChartSpec } from '../chart/radar';
30
- import { RadarChart } from '../chart/radar';
31
- import type { IRangeAreaChartSpec } from '../chart/range-area';
32
- import { RangeAreaChart } from '../chart/range-area';
33
- import type { IRangeColumnChartSpec, IRangeColumn3dChartSpec } from '../chart/range-column';
34
- import { RangeColumnChart, RangeColumn3dChart } from '../chart/range-column';
35
- import type { IRoseChartSpec } from '../chart/rose';
36
- import { RoseChart } from '../chart/rose';
37
- import type { ISankeyChartSpec } from '../chart/sankey';
38
- import { SankeyChart } from '../chart/sankey';
39
- import type { IScatterChartSpec } from '../chart/scatter';
40
- import { ScatterChart } from '../chart/scatter';
41
- import type { ISequenceChartSpec } from '../chart/sequence';
42
- import { SequenceChart } from '../chart/sequence';
43
- import type { ISunburstChartSpec } from '../chart/sunburst';
44
- import { SunburstChart } from '../chart/sunburst';
45
- import type { ITreemapChartSpec } from '../chart/treemap';
46
- import { TreeMapChart } from '../chart/treemap';
47
- import type { IWaterfallChartSpec } from '../chart/waterfall';
48
- import { WaterfallChart } from '../chart/waterfall';
49
- import type { IWordCloudChartSpec, IWordCloud3dChartSpec } from '../chart/word-cloud';
50
- import { WordCloudChart, WordCloud3dChart } from '../chart/word-cloud';
51
- import { BaseChart } from '../chart/base-chart';
52
- import type { ICartesianChartSpec } from '../chart/cartesian';
53
- import { CartesianChart } from '../chart/cartesian';
54
- import type { IPolarChartSpec } from '../chart/polar';
55
- import { PolarChart, RoseLikeChart, ProgressLikeChart } from '../chart/polar';
56
- export { AreaChart, BarChart, Bar3dChart, BoxPlotChart, CirclePackingChart, CommonChart, FunnelChart, Funnel3dChart, GaugeChart, HeatmapChart, HistogramChart, Histogram3dChart, LineChart, MapChart, PieChart, Pie3dChart, CircularProgressChart, LinearProgressChart, RadarChart, RangeColumnChart, RangeColumn3dChart, RangeAreaChart, RoseChart, SankeyChart, ScatterChart, SunburstChart, SequenceChart, WaterfallChart, WordCloudChart, WordCloud3dChart, TreeMapChart, BaseChart, PolarChart, ProgressLikeChart, RoseLikeChart, CartesianChart };
57
- export type { IAreaChartSpec, IBarChartSpec, IBar3dChartSpec, IBoxPlotChartSpec, ICirclePackingChartSpec, ICommonChartSpec, IFunnelChartSpec, IFunnel3dChartSpec, IGaugeChartSpec, IHeatmapChartSpec, IHistogramChartSpec, IHistogram3dChartSpec, ILineChartSpec, IMapChartSpec, IPieChartSpec, IPie3dChartSpec, ICircularProgressChartSpec, ILinearProgressChartSpec, IRadarChartSpec, IRangeColumnChartSpec, IRangeColumn3dChartSpec, IRangeAreaChartSpec, IRoseChartSpec, IScatterChartSpec, ISankeyChartSpec, ISequenceChartSpec, ISunburstChartSpec, ITreemapChartSpec, IWaterfallChartSpec, IWordCloud3dChartSpec, IWordCloudChartSpec, IPolarChartSpec, ICartesianChartSpec };