@visactor/vchart-types 0.10.0-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 (954) hide show
  1. package/.eslintrc.js +7 -0
  2. package/.rush/temp/shrinkwrap-deps.json +4 -0
  3. package/README.md +30 -0
  4. package/package.json +29 -0
  5. package/tsconfig.eslint.json +9 -0
  6. package/tsconfig.json +3 -0
  7. package/tsconfig.test.json +5 -0
  8. package/tsconfig.tsbuildinfo +1 -0
  9. package/types/animation/animate-manager.d.ts +12 -0
  10. package/types/animation/config.d.ts +60 -0
  11. package/types/animation/interface.d.ts +29 -0
  12. package/types/animation/spec.d.ts +24 -0
  13. package/types/animation/utils.d.ts +18 -0
  14. package/types/chart/area/area-transformer.d.ts +6 -0
  15. package/types/chart/area/area.d.ts +14 -0
  16. package/types/chart/area/index.d.ts +3 -0
  17. package/types/chart/area/interface.d.ts +7 -0
  18. package/types/chart/bar/3d/bar-3d-transformer.d.ts +6 -0
  19. package/types/chart/bar/3d/bar-3d.d.ts +14 -0
  20. package/types/chart/bar/3d/index.d.ts +2 -0
  21. package/types/chart/bar/bar-3d.d.ts +9 -0
  22. package/types/chart/bar/bar-transformer.d.ts +6 -0
  23. package/types/chart/bar/bar.d.ts +14 -0
  24. package/types/chart/bar/index.d.ts +4 -0
  25. package/types/chart/bar/interface.d.ts +11 -0
  26. package/types/chart/base/base-chart-transformer.d.ts +22 -0
  27. package/types/chart/base/base-chart.d.ts +149 -0
  28. package/types/chart/base/index.d.ts +2 -0
  29. package/types/chart/base/util.d.ts +7 -0
  30. package/types/chart/base-chart.d.ts +148 -0
  31. package/types/chart/box-plot/box-plot-transformer.d.ts +6 -0
  32. package/types/chart/box-plot/box-plot.d.ts +13 -0
  33. package/types/chart/box-plot/index.d.ts +3 -0
  34. package/types/chart/box-plot/interface.d.ts +7 -0
  35. package/types/chart/cartesian/cartesian-transformer.d.ts +8 -0
  36. package/types/chart/cartesian/cartesian.d.ts +8 -0
  37. package/types/chart/cartesian/index.d.ts +2 -0
  38. package/types/chart/cartesian/interface.d.ts +15 -0
  39. package/types/chart/chart-meta/data.d.ts +15 -0
  40. package/types/chart/circle-packing/circle-packing-transformer.d.ts +7 -0
  41. package/types/chart/circle-packing/circle-packing.d.ts +13 -0
  42. package/types/chart/circle-packing/index.d.ts +3 -0
  43. package/types/chart/circle-packing/interface.d.ts +6 -0
  44. package/types/chart/common/common-transformer.d.ts +7 -0
  45. package/types/chart/common/common.d.ts +13 -0
  46. package/types/chart/common/index.d.ts +3 -0
  47. package/types/chart/common/interface.d.ts +41 -0
  48. package/types/chart/correlation/correlation-transformer.d.ts +6 -0
  49. package/types/chart/correlation/correlation.d.ts +13 -0
  50. package/types/chart/correlation/index.d.ts +3 -0
  51. package/types/chart/correlation/interface.d.ts +6 -0
  52. package/types/chart/funnel/3d/funnel-3d.d.ts +14 -0
  53. package/types/chart/funnel/3d/index.d.ts +1 -0
  54. package/types/chart/funnel/base.d.ts +9 -0
  55. package/types/chart/funnel/funnel-3d.d.ts +8 -0
  56. package/types/chart/funnel/funnel-transformer.d.ts +8 -0
  57. package/types/chart/funnel/funnel.d.ts +13 -0
  58. package/types/chart/funnel/index.d.ts +4 -0
  59. package/types/chart/funnel/interface.d.ts +9 -0
  60. package/types/chart/gauge/gauge-transformer.d.ts +9 -0
  61. package/types/chart/gauge/gauge.d.ts +14 -0
  62. package/types/chart/gauge/index.d.ts +3 -0
  63. package/types/chart/gauge/interface.d.ts +10 -0
  64. package/types/chart/heatmap/heatmap-transformer.d.ts +5 -0
  65. package/types/chart/heatmap/heatmap.d.ts +13 -0
  66. package/types/chart/heatmap/index.d.ts +3 -0
  67. package/types/chart/heatmap/interface.d.ts +7 -0
  68. package/types/chart/histogram/3d/histogram-3d.d.ts +14 -0
  69. package/types/chart/histogram/3d/index.d.ts +1 -0
  70. package/types/chart/histogram/base/base.d.ts +8 -0
  71. package/types/chart/histogram/base/histogram-base-transformer.d.ts +6 -0
  72. package/types/chart/histogram/base/index.d.ts +2 -0
  73. package/types/chart/histogram/base.d.ts +6 -0
  74. package/types/chart/histogram/histogram-3d.d.ts +8 -0
  75. package/types/chart/histogram/histogram-transformer.d.ts +5 -0
  76. package/types/chart/histogram/histogram.d.ts +13 -0
  77. package/types/chart/histogram/index.d.ts +4 -0
  78. package/types/chart/histogram/interface.d.ts +9 -0
  79. package/types/chart/index.d.ts +60 -0
  80. package/types/chart/interface/chart.d.ts +105 -0
  81. package/types/chart/interface/common.d.ts +47 -0
  82. package/types/chart/interface/index.d.ts +3 -0
  83. package/types/chart/interface/type.d.ts +36 -0
  84. package/types/chart/line/index.d.ts +3 -0
  85. package/types/chart/line/interface.d.ts +7 -0
  86. package/types/chart/line/line-transformer.d.ts +6 -0
  87. package/types/chart/line/line.d.ts +14 -0
  88. package/types/chart/liquid/index.d.ts +2 -0
  89. package/types/chart/liquid/interface.d.ts +7 -0
  90. package/types/chart/liquid/liquid-transformer.d.ts +6 -0
  91. package/types/chart/liquid/liquid.d.ts +13 -0
  92. package/types/chart/map/index.d.ts +3 -0
  93. package/types/chart/map/interface.d.ts +6 -0
  94. package/types/chart/map/map-transformer.d.ts +8 -0
  95. package/types/chart/map/map.d.ts +13 -0
  96. package/types/chart/pie/3d/index.d.ts +1 -0
  97. package/types/chart/pie/3d/pie-3d.d.ts +17 -0
  98. package/types/chart/pie/base/base.d.ts +8 -0
  99. package/types/chart/pie/base/index.d.ts +2 -0
  100. package/types/chart/pie/base/pie-transformer.d.ts +7 -0
  101. package/types/chart/pie/base.d.ts +5 -0
  102. package/types/chart/pie/index.d.ts +4 -0
  103. package/types/chart/pie/interface.d.ts +11 -0
  104. package/types/chart/pie/pie-3d.d.ts +9 -0
  105. package/types/chart/pie/pie.d.ts +13 -0
  106. package/types/chart/polar/index.d.ts +4 -0
  107. package/types/chart/polar/interface.d.ts +7 -0
  108. package/types/chart/polar/polar-transformer.d.ts +9 -0
  109. package/types/chart/polar/polar.d.ts +9 -0
  110. package/types/chart/polar/progress-like/index.d.ts +1 -0
  111. package/types/chart/polar/progress-like/progress-like-transformer.d.ts +8 -0
  112. package/types/chart/polar/progress-like.d.ts +7 -0
  113. package/types/chart/polar/rose-like/index.d.ts +1 -0
  114. package/types/chart/polar/rose-like/rose-like-transformer.d.ts +7 -0
  115. package/types/chart/polar/rose-like.d.ts +7 -0
  116. package/types/chart/progress/circular/circular-progress-transformer.d.ts +7 -0
  117. package/types/chart/progress/circular/circular.d.ts +15 -0
  118. package/types/chart/progress/circular/index.d.ts +3 -0
  119. package/types/chart/progress/circular/interface.d.ts +7 -0
  120. package/types/chart/progress/interface.d.ts +8 -0
  121. package/types/chart/progress/linear/index.d.ts +3 -0
  122. package/types/chart/progress/linear/interface.d.ts +9 -0
  123. package/types/chart/progress/linear/linear-progress-transformer.d.ts +7 -0
  124. package/types/chart/progress/linear/linear.d.ts +14 -0
  125. package/types/chart/radar/index.d.ts +3 -0
  126. package/types/chart/radar/interface.d.ts +7 -0
  127. package/types/chart/radar/radar-transformer.d.ts +6 -0
  128. package/types/chart/radar/radar.d.ts +14 -0
  129. package/types/chart/range-area/index.d.ts +3 -0
  130. package/types/chart/range-area/interface.d.ts +7 -0
  131. package/types/chart/range-area/range-area-transformer.d.ts +6 -0
  132. package/types/chart/range-area/range-area.d.ts +13 -0
  133. package/types/chart/range-column/3d/index.d.ts +2 -0
  134. package/types/chart/range-column/3d/range-column-3d-transformer.d.ts +5 -0
  135. package/types/chart/range-column/3d/range-column-3d.d.ts +13 -0
  136. package/types/chart/range-column/index.d.ts +4 -0
  137. package/types/chart/range-column/interface.d.ts +11 -0
  138. package/types/chart/range-column/range-column-3d.d.ts +9 -0
  139. package/types/chart/range-column/range-column-transformer.d.ts +6 -0
  140. package/types/chart/range-column/range-column.d.ts +13 -0
  141. package/types/chart/rose/index.d.ts +3 -0
  142. package/types/chart/rose/interface.d.ts +7 -0
  143. package/types/chart/rose/rose-transformer.d.ts +6 -0
  144. package/types/chart/rose/rose.d.ts +14 -0
  145. package/types/chart/sankey/index.d.ts +3 -0
  146. package/types/chart/sankey/interface.d.ts +6 -0
  147. package/types/chart/sankey/sankey-transformer.d.ts +6 -0
  148. package/types/chart/sankey/sankey.d.ts +13 -0
  149. package/types/chart/scatter/index.d.ts +3 -0
  150. package/types/chart/scatter/interface.d.ts +7 -0
  151. package/types/chart/scatter/scatter-transformer.d.ts +5 -0
  152. package/types/chart/scatter/scatter.d.ts +14 -0
  153. package/types/chart/sequence/index.d.ts +3 -0
  154. package/types/chart/sequence/interface.d.ts +24 -0
  155. package/types/chart/sequence/sequence-transformer.d.ts +7 -0
  156. package/types/chart/sequence/sequence.d.ts +14 -0
  157. package/types/chart/stack.d.ts +11 -0
  158. package/types/chart/sunburst/index.d.ts +3 -0
  159. package/types/chart/sunburst/interface.d.ts +6 -0
  160. package/types/chart/sunburst/sunburst-transformer.d.ts +7 -0
  161. package/types/chart/sunburst/sunburst.d.ts +13 -0
  162. package/types/chart/treemap/index.d.ts +3 -0
  163. package/types/chart/treemap/interface.d.ts +6 -0
  164. package/types/chart/treemap/treemap-transformer.d.ts +7 -0
  165. package/types/chart/treemap/treemap.d.ts +14 -0
  166. package/types/chart/util.d.ts +23 -0
  167. package/types/chart/waterfall/index.d.ts +3 -0
  168. package/types/chart/waterfall/interface.d.ts +7 -0
  169. package/types/chart/waterfall/waterfall-transformer.d.ts +7 -0
  170. package/types/chart/waterfall/waterfall.d.ts +14 -0
  171. package/types/chart/word-cloud/3d/index.d.ts +2 -0
  172. package/types/chart/word-cloud/3d/word-cloud-3d-transformer.d.ts +6 -0
  173. package/types/chart/word-cloud/3d/word-cloud-3d.d.ts +15 -0
  174. package/types/chart/word-cloud/base/base.d.ts +9 -0
  175. package/types/chart/word-cloud/base/index.d.ts +2 -0
  176. package/types/chart/word-cloud/base/word-cloud-base-transformer.d.ts +5 -0
  177. package/types/chart/word-cloud/base.d.ts +6 -0
  178. package/types/chart/word-cloud/index.d.ts +4 -0
  179. package/types/chart/word-cloud/interface.d.ts +10 -0
  180. package/types/chart/word-cloud/word-cloud-3d.d.ts +11 -0
  181. package/types/chart/word-cloud/word-cloud-transformer.d.ts +5 -0
  182. package/types/chart/word-cloud/word-cloud.d.ts +14 -0
  183. package/types/compile/compilable-base.d.ts +11 -0
  184. package/types/compile/compiler.d.ts +71 -0
  185. package/types/compile/data/compilable-data.d.ts +23 -0
  186. package/types/compile/data/index.d.ts +2 -0
  187. package/types/compile/data/interface.d.ts +8 -0
  188. package/types/compile/grammar-item.d.ts +24 -0
  189. package/types/compile/interface/compilable-item.d.ts +36 -0
  190. package/types/compile/interface/compiler.d.ts +57 -0
  191. package/types/compile/interface/index.d.ts +2 -0
  192. package/types/compile/mark/compilable-mark.d.ts +116 -0
  193. package/types/compile/mark/index.d.ts +3 -0
  194. package/types/compile/mark/interface.d.ts +147 -0
  195. package/types/compile/mark/mark-data.d.ts +9 -0
  196. package/types/compile/mark/mark-state-manager.d.ts +26 -0
  197. package/types/compile/mark/util.d.ts +5 -0
  198. package/types/compile/signal/compilable-signal.d.ts +21 -0
  199. package/types/compile/signal/index.d.ts +4 -0
  200. package/types/compile/signal/interface.d.ts +12 -0
  201. package/types/compile/signal/signal-manager.d.ts +11 -0
  202. package/types/compile/signal/state-manager.d.ts +12 -0
  203. package/types/compile/util.d.ts +2 -0
  204. package/types/component/axis/base-axis.d.ts +151 -0
  205. package/types/component/axis/cartesian/axis.d.ts +113 -0
  206. package/types/component/axis/cartesian/band-axis.d.ts +35 -0
  207. package/types/component/axis/cartesian/config.d.ts +3 -0
  208. package/types/component/axis/cartesian/index.d.ts +7 -0
  209. package/types/component/axis/cartesian/interface/common.d.ts +48 -0
  210. package/types/component/axis/cartesian/interface/index.d.ts +3 -0
  211. package/types/component/axis/cartesian/interface/spec.d.ts +62 -0
  212. package/types/component/axis/cartesian/interface/theme.d.ts +22 -0
  213. package/types/component/axis/cartesian/linear-axis.d.ts +29 -0
  214. package/types/component/axis/cartesian/log-axis.d.ts +18 -0
  215. package/types/component/axis/cartesian/symlog-axis.d.ts +18 -0
  216. package/types/component/axis/cartesian/time-axis.d.ts +23 -0
  217. package/types/component/axis/cartesian/util/common.d.ts +15 -0
  218. package/types/component/axis/cartesian/util/index.d.ts +2 -0
  219. package/types/component/axis/cartesian/util/time.d.ts +80 -0
  220. package/types/component/axis/index.d.ts +3 -0
  221. package/types/component/axis/interface/common.d.ts +49 -0
  222. package/types/component/axis/interface/index.d.ts +3 -0
  223. package/types/component/axis/interface/spec.d.ts +92 -0
  224. package/types/component/axis/interface/theme.d.ts +15 -0
  225. package/types/component/axis/interface.d.ts +137 -0
  226. package/types/component/axis/mixin/band-axis-mixin.d.ts +59 -0
  227. package/types/component/axis/mixin/linear-axis-mixin.d.ts +64 -0
  228. package/types/component/axis/polar/axis.d.ts +89 -0
  229. package/types/component/axis/polar/band-axis.d.ts +35 -0
  230. package/types/component/axis/polar/config.d.ts +3 -0
  231. package/types/component/axis/polar/index.d.ts +4 -0
  232. package/types/component/axis/polar/interface/common.d.ts +31 -0
  233. package/types/component/axis/polar/interface/index.d.ts +4 -0
  234. package/types/component/axis/polar/interface/spec.d.ts +21 -0
  235. package/types/component/axis/polar/interface/theme.d.ts +11 -0
  236. package/types/component/axis/polar/linear-axis.d.ts +24 -0
  237. package/types/component/axis/polar/util/common.d.ts +9 -0
  238. package/types/component/axis/polar/util/index.d.ts +1 -0
  239. package/types/component/axis/util.d.ts +35 -0
  240. package/types/component/base/base-component-transformer.d.ts +10 -0
  241. package/types/component/base/base-component.d.ts +47 -0
  242. package/types/component/base/index.d.ts +2 -0
  243. package/types/component/base/interface.d.ts +8 -0
  244. package/types/component/base/util.d.ts +3 -0
  245. package/types/component/brush/brush.d.ts +85 -0
  246. package/types/component/brush/index.d.ts +2 -0
  247. package/types/component/brush/interface.d.ts +51 -0
  248. package/types/component/common/trigger/config.d.ts +22 -0
  249. package/types/component/common/trigger/desktop.d.ts +10 -0
  250. package/types/component/common/trigger/interface.d.ts +8 -0
  251. package/types/component/common/trigger/mobile.d.ts +11 -0
  252. package/types/component/crosshair/base.d.ts +84 -0
  253. package/types/component/crosshair/cartesian.d.ts +52 -0
  254. package/types/component/crosshair/config.d.ts +17 -0
  255. package/types/component/crosshair/index.d.ts +3 -0
  256. package/types/component/crosshair/interface/index.d.ts +2 -0
  257. package/types/component/crosshair/interface/spec.d.ts +76 -0
  258. package/types/component/crosshair/interface/theme.d.ts +9 -0
  259. package/types/component/crosshair/polar.d.ts +39 -0
  260. package/types/component/crosshair/util.d.ts +9 -0
  261. package/types/component/custom-mark/custom-mark.d.ts +35 -0
  262. package/types/component/custom-mark/index.d.ts +1 -0
  263. package/types/component/data-zoom/constant.d.ts +4 -0
  264. package/types/component/data-zoom/data-filter-base-component.d.ts +129 -0
  265. package/types/component/data-zoom/data-zoom/data-zoom-transformer.d.ts +9 -0
  266. package/types/component/data-zoom/data-zoom/data-zoom.d.ts +78 -0
  267. package/types/component/data-zoom/data-zoom/index.d.ts +3 -0
  268. package/types/component/data-zoom/data-zoom/interface.d.ts +67 -0
  269. package/types/component/data-zoom/index.d.ts +2 -0
  270. package/types/component/data-zoom/interface.d.ts +59 -0
  271. package/types/component/data-zoom/scroll-bar/index.d.ts +2 -0
  272. package/types/component/data-zoom/scroll-bar/interface.d.ts +27 -0
  273. package/types/component/data-zoom/scroll-bar/scroll-bar.d.ts +36 -0
  274. package/types/component/data-zoom/util.d.ts +23 -0
  275. package/types/component/geo/geo-coordinate.d.ts +61 -0
  276. package/types/component/geo/index.d.ts +2 -0
  277. package/types/component/geo/interface.d.ts +27 -0
  278. package/types/component/geo/projection.d.ts +17 -0
  279. package/types/component/index.d.ts +47 -0
  280. package/types/component/indicator/index.d.ts +2 -0
  281. package/types/component/indicator/indicator.d.ts +43 -0
  282. package/types/component/indicator/interface.d.ts +37 -0
  283. package/types/component/indicator/util.d.ts +13 -0
  284. package/types/component/interface/common.d.ts +39 -0
  285. package/types/component/interface/index.d.ts +4 -0
  286. package/types/component/interface/theme.d.ts +44 -0
  287. package/types/component/interface/tooltip-helper.d.ts +5 -0
  288. package/types/component/interface/type.d.ts +35 -0
  289. package/types/component/label/base-label.d.ts +35 -0
  290. package/types/component/label/index.d.ts +4 -0
  291. package/types/component/label/interface.d.ts +44 -0
  292. package/types/component/label/label-transformer.d.ts +8 -0
  293. package/types/component/label/label.d.ts +55 -0
  294. package/types/component/label/total-label.d.ts +28 -0
  295. package/types/component/label/totalLabel.d.ts +27 -0
  296. package/types/component/label/util.d.ts +65 -0
  297. package/types/component/legend/base-legend.d.ts +62 -0
  298. package/types/component/legend/continuous/index.d.ts +2 -0
  299. package/types/component/legend/continuous/interface.d.ts +59 -0
  300. package/types/component/legend/continuous/legend.d.ts +28 -0
  301. package/types/component/legend/continuous/util.d.ts +8 -0
  302. package/types/component/legend/discrete/index.d.ts +2 -0
  303. package/types/component/legend/discrete/interface.d.ts +61 -0
  304. package/types/component/legend/discrete/legend.d.ts +27 -0
  305. package/types/component/legend/discrete/util.d.ts +3 -0
  306. package/types/component/legend/index.d.ts +3 -0
  307. package/types/component/legend/interface.d.ts +40 -0
  308. package/types/component/legend/util.d.ts +32 -0
  309. package/types/component/map-label/component.d.ts +55 -0
  310. package/types/component/map-label/index.d.ts +2 -0
  311. package/types/component/map-label/interface.d.ts +40 -0
  312. package/types/component/map-label/layout.d.ts +23 -0
  313. package/types/component/marker/base-marker.d.ts +72 -0
  314. package/types/component/marker/interface.d.ts +86 -0
  315. package/types/component/marker/mark-area/index.d.ts +2 -0
  316. package/types/component/marker/mark-area/interface/index.d.ts +2 -0
  317. package/types/component/marker/mark-area/interface/spec.d.ts +24 -0
  318. package/types/component/marker/mark-area/interface/theme.d.ts +11 -0
  319. package/types/component/marker/mark-area/mark-area.d.ts +21 -0
  320. package/types/component/marker/mark-line/index.d.ts +2 -0
  321. package/types/component/marker/mark-line/interface/index.d.ts +2 -0
  322. package/types/component/marker/mark-line/interface/spec.d.ts +63 -0
  323. package/types/component/marker/mark-line/interface/theme.d.ts +13 -0
  324. package/types/component/marker/mark-line/mark-line.d.ts +22 -0
  325. package/types/component/marker/mark-line/util.d.ts +9 -0
  326. package/types/component/marker/mark-point/index.d.ts +2 -0
  327. package/types/component/marker/mark-point/interface/index.d.ts +2 -0
  328. package/types/component/marker/mark-point/interface/spec.d.ts +17 -0
  329. package/types/component/marker/mark-point/interface/theme.d.ts +38 -0
  330. package/types/component/marker/mark-point/mark-point.d.ts +21 -0
  331. package/types/component/marker/utils.d.ts +17 -0
  332. package/types/component/player/index.d.ts +2 -0
  333. package/types/component/player/interface/index.d.ts +2 -0
  334. package/types/component/player/interface/spec.d.ts +18 -0
  335. package/types/component/player/interface/theme.d.ts +32 -0
  336. package/types/component/player/player.d.ts +53 -0
  337. package/types/component/player/utils/index.d.ts +1 -0
  338. package/types/component/player/utils/orient.d.ts +3 -0
  339. package/types/component/player/utils/transform.d.ts +4 -0
  340. package/types/component/poptip/index.d.ts +1 -0
  341. package/types/component/poptip/interface.d.ts +15 -0
  342. package/types/component/title/index.d.ts +2 -0
  343. package/types/component/title/interface/index.d.ts +2 -0
  344. package/types/component/title/interface/spec.d.ts +47 -0
  345. package/types/component/title/interface/theme.d.ts +19 -0
  346. package/types/component/title/title.d.ts +49 -0
  347. package/types/component/title/utils.d.ts +2 -0
  348. package/types/component/tooltip/handler/base.d.ts +64 -0
  349. package/types/component/tooltip/handler/canvas/canvas-tooltip-handler.d.ts +19 -0
  350. package/types/component/tooltip/handler/canvas/index.d.ts +1 -0
  351. package/types/component/tooltip/handler/constants.d.ts +17 -0
  352. package/types/component/tooltip/handler/dom/dom-tooltip-handler.d.ts +25 -0
  353. package/types/component/tooltip/handler/dom/index.d.ts +1 -0
  354. package/types/component/tooltip/handler/dom/interface.d.ts +57 -0
  355. package/types/component/tooltip/handler/dom/model/base-tooltip-model.d.ts +25 -0
  356. package/types/component/tooltip/handler/dom/model/content-column-model.d.ts +23 -0
  357. package/types/component/tooltip/handler/dom/model/content-model.d.ts +15 -0
  358. package/types/component/tooltip/handler/dom/model/interface.d.ts +9 -0
  359. package/types/component/tooltip/handler/dom/model/shape-model.d.ts +23 -0
  360. package/types/component/tooltip/handler/dom/model/style-constants.d.ts +8 -0
  361. package/types/component/tooltip/handler/dom/model/text-model.d.ts +5 -0
  362. package/types/component/tooltip/handler/dom/model/title-model.d.ts +15 -0
  363. package/types/component/tooltip/handler/dom/model/tooltip-model.d.ts +21 -0
  364. package/types/component/tooltip/handler/dom/util.d.ts +6 -0
  365. package/types/component/tooltip/handler/index.d.ts +2 -0
  366. package/types/component/tooltip/handler/interface/index.d.ts +1 -0
  367. package/types/component/tooltip/handler/interface/style.d.ts +8 -0
  368. package/types/component/tooltip/handler/utils/attribute.d.ts +9 -0
  369. package/types/component/tooltip/handler/utils/common.d.ts +19 -0
  370. package/types/component/tooltip/handler/utils/compose.d.ts +5 -0
  371. package/types/component/tooltip/handler/utils/get-spec.d.ts +5 -0
  372. package/types/component/tooltip/handler/utils/index.d.ts +6 -0
  373. package/types/component/tooltip/handler/utils/pattern.d.ts +4 -0
  374. package/types/component/tooltip/handler/utils/position.d.ts +7 -0
  375. package/types/component/tooltip/index.d.ts +3 -0
  376. package/types/component/tooltip/interface/common.d.ts +24 -0
  377. package/types/component/tooltip/interface/event.d.ts +8 -0
  378. package/types/component/tooltip/interface/index.d.ts +3 -0
  379. package/types/component/tooltip/interface/spec.d.ts +29 -0
  380. package/types/component/tooltip/interface/theme.d.ts +49 -0
  381. package/types/component/tooltip/processor/base.d.ts +18 -0
  382. package/types/component/tooltip/processor/dimension-tooltip.d.ts +10 -0
  383. package/types/component/tooltip/processor/index.d.ts +5 -0
  384. package/types/component/tooltip/processor/interface.d.ts +16 -0
  385. package/types/component/tooltip/processor/mark-tooltip.d.ts +10 -0
  386. package/types/component/tooltip/processor/util.d.ts +4 -0
  387. package/types/component/tooltip/tooltip-transformer.d.ts +8 -0
  388. package/types/component/tooltip/tooltip.d.ts +68 -0
  389. package/types/component/tooltip/utils/common.d.ts +5 -0
  390. package/types/component/tooltip/utils/index.d.ts +2 -0
  391. package/types/component/tooltip/utils/show-tooltip.d.ts +3 -0
  392. package/types/component/util.d.ts +2 -0
  393. package/types/constant/base.d.ts +3 -0
  394. package/types/constant/box-plot.d.ts +10 -0
  395. package/types/constant/correlation.d.ts +3 -0
  396. package/types/constant/event.d.ts +58 -0
  397. package/types/constant/funnel.d.ts +14 -0
  398. package/types/constant/hierarchy.d.ts +3 -0
  399. package/types/constant/index.d.ts +111 -0
  400. package/types/constant/label.d.ts +6 -0
  401. package/types/constant/layout.d.ts +3 -0
  402. package/types/constant/marker.d.ts +4 -0
  403. package/types/constant/polar.d.ts +13 -0
  404. package/types/constant/scatter.d.ts +7 -0
  405. package/types/constant/scroll-bar.d.ts +1 -0
  406. package/types/constant/sunburst.d.ts +1 -0
  407. package/types/constant/waterfall.d.ts +1 -0
  408. package/types/constant/word-cloud.d.ts +7 -0
  409. package/types/core/expression-function.d.ts +12 -0
  410. package/types/core/factory.d.ts +65 -0
  411. package/types/core/index.d.ts +15 -0
  412. package/types/core/instance-manager.d.ts +10 -0
  413. package/types/core/interface.d.ts +106 -0
  414. package/types/core/util.d.ts +3 -0
  415. package/types/core/vchart.d.ts +185 -0
  416. package/types/data/initialize.d.ts +21 -0
  417. package/types/data/parser/array.d.ts +2 -0
  418. package/types/data/parser/scale.d.ts +2 -0
  419. package/types/data/register.d.ts +3 -0
  420. package/types/data/transforms/add-property.d.ts +12 -0
  421. package/types/data/transforms/aggregation.d.ts +34 -0
  422. package/types/data/transforms/box-plot.d.ts +5 -0
  423. package/types/data/transforms/circle-packing.d.ts +7 -0
  424. package/types/data/transforms/copy-data-view.d.ts +5 -0
  425. package/types/data/transforms/correlation-center.d.ts +4 -0
  426. package/types/data/transforms/correlation.d.ts +17 -0
  427. package/types/data/transforms/data-key.d.ts +20 -0
  428. package/types/data/transforms/dimension-data.d.ts +10 -0
  429. package/types/data/transforms/dimension-statistics.d.ts +24 -0
  430. package/types/data/transforms/drill.d.ts +14 -0
  431. package/types/data/transforms/flatten.d.ts +9 -0
  432. package/types/data/transforms/funnel.d.ts +51 -0
  433. package/types/data/transforms/hierarchy-dimension-statistics.d.ts +3 -0
  434. package/types/data/transforms/invalid-travel.d.ts +8 -0
  435. package/types/data/transforms/legend-data/continuous/continuous.d.ts +4 -0
  436. package/types/data/transforms/legend-data/continuous/index.d.ts +2 -0
  437. package/types/data/transforms/legend-data/continuous/interface.d.ts +13 -0
  438. package/types/data/transforms/legend-data/discrete/discrete.d.ts +4 -0
  439. package/types/data/transforms/legend-data/discrete/index.d.ts +2 -0
  440. package/types/data/transforms/legend-data/discrete/interface.d.ts +15 -0
  441. package/types/data/transforms/link-dot-info.d.ts +13 -0
  442. package/types/data/transforms/lookup.d.ts +12 -0
  443. package/types/data/transforms/map.d.ts +7 -0
  444. package/types/data/transforms/marker-filter.d.ts +5 -0
  445. package/types/data/transforms/obj-flat.d.ts +2 -0
  446. package/types/data/transforms/pie.d.ts +17 -0
  447. package/types/data/transforms/regression.d.ts +6 -0
  448. package/types/data/transforms/sankey-links.d.ts +2 -0
  449. package/types/data/transforms/sankey-nodes.d.ts +2 -0
  450. package/types/data/transforms/sankey.d.ts +19 -0
  451. package/types/data/transforms/stack-split.d.ts +6 -0
  452. package/types/data/transforms/sunburst.d.ts +7 -0
  453. package/types/data/transforms/treemap.d.ts +11 -0
  454. package/types/data/transforms/waterfall.d.ts +25 -0
  455. package/types/env/env.d.ts +7 -0
  456. package/types/env/index.d.ts +1 -0
  457. package/types/event/bubble.d.ts +15 -0
  458. package/types/event/event-dispatcher.d.ts +27 -0
  459. package/types/event/event.d.ts +18 -0
  460. package/types/event/events/base.d.ts +16 -0
  461. package/types/event/events/dimension/base.d.ts +20 -0
  462. package/types/event/events/dimension/dimension-click.d.ts +7 -0
  463. package/types/event/events/dimension/dimension-hover.d.ts +9 -0
  464. package/types/event/events/dimension/index.d.ts +3 -0
  465. package/types/event/events/dimension/interface.d.ts +23 -0
  466. package/types/event/events/dimension/util/cartesian.d.ts +8 -0
  467. package/types/event/events/dimension/util/common.d.ts +8 -0
  468. package/types/event/events/dimension/util/index.d.ts +3 -0
  469. package/types/event/events/dimension/util/polar.d.ts +4 -0
  470. package/types/event/events/index.d.ts +6 -0
  471. package/types/event/index.d.ts +2 -0
  472. package/types/event/interface.d.ts +160 -0
  473. package/types/index-lark.d.ts +4 -0
  474. package/types/index-wx-simple.d.ts +4 -0
  475. package/types/index-wx.d.ts +4 -0
  476. package/types/index.d.ts +10 -0
  477. package/types/interaction/config.d.ts +22 -0
  478. package/types/interaction/dimension-trigger.d.ts +32 -0
  479. package/types/interaction/drill/drillable.d.ts +28 -0
  480. package/types/interaction/drill/index.d.ts +1 -0
  481. package/types/interaction/interaction.d.ts +22 -0
  482. package/types/interaction/interface.d.ts +72 -0
  483. package/types/interaction/trigger.d.ts +39 -0
  484. package/types/interaction/zoom/index.d.ts +1 -0
  485. package/types/interaction/zoom/zoomable.d.ts +84 -0
  486. package/types/layout/base-layout.d.ts +77 -0
  487. package/types/layout/grid-layout/grid-layout.d.ts +50 -0
  488. package/types/layout/index.d.ts +6 -0
  489. package/types/layout/interface.d.ts +115 -0
  490. package/types/layout/layout-item.d.ts +72 -0
  491. package/types/layout/layout3d/index.d.ts +22 -0
  492. package/types/layout/util.d.ts +6 -0
  493. package/types/mark/arc-3d.d.ts +11 -0
  494. package/types/mark/arc.d.ts +21 -0
  495. package/types/mark/area.d.ts +12 -0
  496. package/types/mark/base/base-line.d.ts +8 -0
  497. package/types/mark/base/base-mark.d.ts +38 -0
  498. package/types/mark/base/index.d.ts +2 -0
  499. package/types/mark/box-plot.d.ts +13 -0
  500. package/types/mark/cell.d.ts +11 -0
  501. package/types/mark/component.d.ts +15 -0
  502. package/types/mark/group.d.ts +32 -0
  503. package/types/mark/image.d.ts +11 -0
  504. package/types/mark/index.d.ts +22 -0
  505. package/types/mark/interface/common.d.ts +77 -0
  506. package/types/mark/interface/index.d.ts +2 -0
  507. package/types/mark/interface/type.d.ts +25 -0
  508. package/types/mark/label.d.ts +28 -0
  509. package/types/mark/line.d.ts +12 -0
  510. package/types/mark/link-path.d.ts +13 -0
  511. package/types/mark/liquid.d.ts +13 -0
  512. package/types/mark/mark-set/index.d.ts +22 -0
  513. package/types/mark/path.d.ts +11 -0
  514. package/types/mark/polygon/base-polygon.d.ts +6 -0
  515. package/types/mark/polygon/polygon.d.ts +11 -0
  516. package/types/mark/polygon/pyramid-3d.d.ts +10 -0
  517. package/types/mark/progress-arc.d.ts +14 -0
  518. package/types/mark/rect-3d.d.ts +11 -0
  519. package/types/mark/rect.d.ts +11 -0
  520. package/types/mark/ripple.d.ts +13 -0
  521. package/types/mark/rule.d.ts +11 -0
  522. package/types/mark/symbol.d.ts +13 -0
  523. package/types/mark/text.d.ts +13 -0
  524. package/types/mark/utils/common.d.ts +3 -0
  525. package/types/mark/utils/index.d.ts +1 -0
  526. package/types/model/base-model-transformer.d.ts +25 -0
  527. package/types/model/base-model.d.ts +81 -0
  528. package/types/model/index.d.ts +3 -0
  529. package/types/model/interface.d.ts +153 -0
  530. package/types/model/layout-item.d.ts +59 -0
  531. package/types/model/layout-model.d.ts +41 -0
  532. package/types/model/tooltip-helper.d.ts +25 -0
  533. package/types/plugin/base/base-plugin-service.d.ts +13 -0
  534. package/types/plugin/base/base-plugin.d.ts +9 -0
  535. package/types/plugin/base/interface.d.ts +22 -0
  536. package/types/plugin/chart/index.d.ts +2 -0
  537. package/types/plugin/chart/interface.d.ts +26 -0
  538. package/types/plugin/chart/media-query/index.d.ts +2 -0
  539. package/types/plugin/chart/media-query/interface/common.d.ts +24 -0
  540. package/types/plugin/chart/media-query/interface/index.d.ts +2 -0
  541. package/types/plugin/chart/media-query/interface/spec.d.ts +25 -0
  542. package/types/plugin/chart/media-query/media-query.d.ts +30 -0
  543. package/types/plugin/chart/media-query/util/action.d.ts +3 -0
  544. package/types/plugin/chart/media-query/util/filter.d.ts +5 -0
  545. package/types/plugin/chart/media-query/util/index.d.ts +2 -0
  546. package/types/plugin/chart/media-query/util/query.d.ts +3 -0
  547. package/types/plugin/chart/plugin-service.d.ts +12 -0
  548. package/types/plugin/chart/register.d.ts +2 -0
  549. package/types/plugin/components/axis-sync/axis-sync.d.ts +13 -0
  550. package/types/plugin/components/axis-sync/index.d.ts +1 -0
  551. package/types/plugin/components/axis-sync/tick-align-transform.d.ts +7 -0
  552. package/types/plugin/components/axis-sync/zero-align-transform.d.ts +15 -0
  553. package/types/plugin/components/axis-sync-plugin/axis-sync.d.ts +13 -0
  554. package/types/plugin/components/axis-sync-plugin/index.d.ts +1 -0
  555. package/types/plugin/components/axis-sync-plugin/tick-align-transform.d.ts +7 -0
  556. package/types/plugin/components/axis-sync-plugin/zero-align-transform.d.ts +15 -0
  557. package/types/plugin/components/basic-plugin.d.ts +9 -0
  558. package/types/plugin/components/index.d.ts +5 -0
  559. package/types/plugin/components/interface.d.ts +23 -0
  560. package/types/plugin/components/plugin-service.d.ts +7 -0
  561. package/types/plugin/components/register.d.ts +2 -0
  562. package/types/plugin/components/tooltip-handler/base.d.ts +66 -0
  563. package/types/plugin/components/tooltip-handler/canvas/canvas-tooltip-handler.d.ts +22 -0
  564. package/types/plugin/components/tooltip-handler/canvas/index.d.ts +1 -0
  565. package/types/plugin/components/tooltip-handler/constants.d.ts +17 -0
  566. package/types/plugin/components/tooltip-handler/dom/constant.d.ts +1 -0
  567. package/types/plugin/components/tooltip-handler/dom/dom-tooltip-handler.d.ts +28 -0
  568. package/types/plugin/components/tooltip-handler/dom/index.d.ts +1 -0
  569. package/types/plugin/components/tooltip-handler/dom/interface.d.ts +57 -0
  570. package/types/plugin/components/tooltip-handler/dom/model/base-tooltip-model.d.ts +25 -0
  571. package/types/plugin/components/tooltip-handler/dom/model/content-column-model.d.ts +23 -0
  572. package/types/plugin/components/tooltip-handler/dom/model/content-model.d.ts +16 -0
  573. package/types/plugin/components/tooltip-handler/dom/model/interface.d.ts +10 -0
  574. package/types/plugin/components/tooltip-handler/dom/model/shape-model.d.ts +23 -0
  575. package/types/plugin/components/tooltip-handler/dom/model/style-constants.d.ts +7 -0
  576. package/types/plugin/components/tooltip-handler/dom/model/text-model.d.ts +5 -0
  577. package/types/plugin/components/tooltip-handler/dom/model/title-model.d.ts +15 -0
  578. package/types/plugin/components/tooltip-handler/dom/model/tooltip-model.d.ts +21 -0
  579. package/types/plugin/components/tooltip-handler/dom/utils/common.d.ts +3 -0
  580. package/types/plugin/components/tooltip-handler/dom/utils/index.d.ts +2 -0
  581. package/types/plugin/components/tooltip-handler/dom/utils/style.d.ts +4 -0
  582. package/types/plugin/components/tooltip-handler/index.d.ts +2 -0
  583. package/types/plugin/components/tooltip-handler/interface/common.d.ts +4 -0
  584. package/types/plugin/components/tooltip-handler/interface/index.d.ts +2 -0
  585. package/types/plugin/components/tooltip-handler/interface/style.d.ts +13 -0
  586. package/types/plugin/components/tooltip-handler/utils/attribute.d.ts +8 -0
  587. package/types/plugin/components/tooltip-handler/utils/common.d.ts +20 -0
  588. package/types/plugin/components/tooltip-handler/utils/compose.d.ts +4 -0
  589. package/types/plugin/components/tooltip-handler/utils/get-spec.d.ts +5 -0
  590. package/types/plugin/components/tooltip-handler/utils/index.d.ts +6 -0
  591. package/types/plugin/components/tooltip-handler/utils/pattern.d.ts +4 -0
  592. package/types/plugin/components/tooltip-handler/utils/position.d.ts +7 -0
  593. package/types/plugin/index.d.ts +1 -0
  594. package/types/plugin/interface.d.ts +4 -0
  595. package/types/plugin/series/interface.d.ts +9 -0
  596. package/types/region/index.d.ts +3 -0
  597. package/types/region/interface.d.ts +66 -0
  598. package/types/region/region-transformer.d.ts +8 -0
  599. package/types/region/region.d.ts +88 -0
  600. package/types/scale/color-ordinal-scale.d.ts +8 -0
  601. package/types/scale/global-scale.d.ts +37 -0
  602. package/types/scale/interface.d.ts +18 -0
  603. package/types/series/area/animation.d.ts +8 -0
  604. package/types/series/area/area-transformer.d.ts +7 -0
  605. package/types/series/area/area.d.ts +33 -0
  606. package/types/series/area/constant.d.ts +2 -0
  607. package/types/series/area/interface.d.ts +26 -0
  608. package/types/series/area/tooltip-helpter.d.ts +5 -0
  609. package/types/series/bar/animation.d.ts +14 -0
  610. package/types/series/bar/bar-3d.d.ts +14 -0
  611. package/types/series/bar/bar-transformer.d.ts +5 -0
  612. package/types/series/bar/bar.d.ts +67 -0
  613. package/types/series/bar/constant.d.ts +3 -0
  614. package/types/series/bar/interface.d.ts +42 -0
  615. package/types/series/base/base-series-transformer.d.ts +18 -0
  616. package/types/series/base/base-series.d.ts +228 -0
  617. package/types/series/base/constant.d.ts +6 -0
  618. package/types/series/base/group.d.ts +12 -0
  619. package/types/series/base/index.d.ts +2 -0
  620. package/types/series/base/series-data.d.ts +5 -0
  621. package/types/series/base/tooltip-helper.d.ts +31 -0
  622. package/types/series/box-plot/box-plot.d.ts +62 -0
  623. package/types/series/box-plot/constant.d.ts +2 -0
  624. package/types/series/box-plot/interface.d.ts +22 -0
  625. package/types/series/box-plot/tooltip-helper.d.ts +12 -0
  626. package/types/series/cartesian/cartesian.d.ts +105 -0
  627. package/types/series/cartesian/index.d.ts +2 -0
  628. package/types/series/cartesian/interface.d.ts +15 -0
  629. package/types/series/circle-packing/animation.d.ts +5 -0
  630. package/types/series/circle-packing/circle-packing.d.ts +45 -0
  631. package/types/series/circle-packing/constant.d.ts +2 -0
  632. package/types/series/circle-packing/interface.d.ts +20 -0
  633. package/types/series/circle-packing/tooltip-helper.d.ts +5 -0
  634. package/types/series/correlation/animation.d.ts +8 -0
  635. package/types/series/correlation/constant.d.ts +2 -0
  636. package/types/series/correlation/correlation-transformer.d.ts +5 -0
  637. package/types/series/correlation/correlation.d.ts +56 -0
  638. package/types/series/correlation/interface.d.ts +37 -0
  639. package/types/series/dot/config.d.ts +4 -0
  640. package/types/series/dot/constant.d.ts +2 -0
  641. package/types/series/dot/dot.d.ts +72 -0
  642. package/types/series/dot/interface.d.ts +40 -0
  643. package/types/series/dot/tooltip-helper.d.ts +7 -0
  644. package/types/series/funnel/3d/funnel-3d-transformer.d.ts +6 -0
  645. package/types/series/funnel/3d/funnel-3d.d.ts +22 -0
  646. package/types/series/funnel/3d/index.d.ts +2 -0
  647. package/types/series/funnel/constant.d.ts +3 -0
  648. package/types/series/funnel/funnel-3d.d.ts +22 -0
  649. package/types/series/funnel/funnel-transformer.d.ts +5 -0
  650. package/types/series/funnel/funnel.d.ts +97 -0
  651. package/types/series/funnel/interface.d.ts +60 -0
  652. package/types/series/funnel/tooltip-helper.d.ts +9 -0
  653. package/types/series/gauge/animation.d.ts +7 -0
  654. package/types/series/gauge/constant.d.ts +3 -0
  655. package/types/series/gauge/gauge-pointer.d.ts +38 -0
  656. package/types/series/gauge/gauge-transformer.d.ts +5 -0
  657. package/types/series/gauge/gauge.d.ts +33 -0
  658. package/types/series/gauge/index.d.ts +3 -0
  659. package/types/series/gauge/interface.d.ts +50 -0
  660. package/types/series/geo/geo.d.ts +55 -0
  661. package/types/series/geo/interface.d.ts +4 -0
  662. package/types/series/heatmap/animation.d.ts +4 -0
  663. package/types/series/heatmap/constant.d.ts +2 -0
  664. package/types/series/heatmap/heatmap-transformer.d.ts +5 -0
  665. package/types/series/heatmap/heatmap.d.ts +41 -0
  666. package/types/series/heatmap/interface.d.ts +23 -0
  667. package/types/series/heatmap/tooltip-helper.d.ts +6 -0
  668. package/types/series/index.d.ts +70 -0
  669. package/types/series/interface/common.d.ts +81 -0
  670. package/types/series/interface/index.d.ts +5 -0
  671. package/types/series/interface/series.d.ts +179 -0
  672. package/types/series/interface/theme.d.ts +106 -0
  673. package/types/series/interface/tooltip-helper.d.ts +13 -0
  674. package/types/series/interface/type.d.ts +96 -0
  675. package/types/series/line/animation.d.ts +7 -0
  676. package/types/series/line/constant.d.ts +2 -0
  677. package/types/series/line/interface.d.ts +25 -0
  678. package/types/series/line/line.d.ts +28 -0
  679. package/types/series/link/constant.d.ts +2 -0
  680. package/types/series/link/interface.d.ts +25 -0
  681. package/types/series/link/link.d.ts +53 -0
  682. package/types/series/link/tooltip-helper.d.ts +6 -0
  683. package/types/series/liquid/animation.d.ts +14 -0
  684. package/types/series/liquid/constant.d.ts +2 -0
  685. package/types/series/liquid/interface.d.ts +35 -0
  686. package/types/series/liquid/liquid.d.ts +50 -0
  687. package/types/series/liquid/tooltip-helper.d.ts +9 -0
  688. package/types/series/liquid/util.d.ts +2 -0
  689. package/types/series/map/constant.d.ts +2 -0
  690. package/types/series/map/geo-source.d.ts +20 -0
  691. package/types/series/map/interface.d.ts +31 -0
  692. package/types/series/map/map-transformer.d.ts +5 -0
  693. package/types/series/map/map.d.ts +53 -0
  694. package/types/series/map/tooltip-helper.d.ts +5 -0
  695. package/types/series/mixin/constant.d.ts +2 -0
  696. package/types/series/mixin/line-mixin-transformer.d.ts +5 -0
  697. package/types/series/mixin/line-mixin.d.ts +62 -0
  698. package/types/series/pie/3d/index.d.ts +2 -0
  699. package/types/series/pie/3d/pie-3d-transformer.d.ts +5 -0
  700. package/types/series/pie/3d/pie-3d.d.ts +20 -0
  701. package/types/series/pie/animation/animation.d.ts +25 -0
  702. package/types/series/pie/animation/centerOffset.d.ts +6 -0
  703. package/types/series/pie/constant.d.ts +3 -0
  704. package/types/series/pie/interface.d.ts +70 -0
  705. package/types/series/pie/pie-3d.d.ts +16 -0
  706. package/types/series/pie/pie-transformer.d.ts +9 -0
  707. package/types/series/pie/pie.d.ts +80 -0
  708. package/types/series/polar/animation.d.ts +41 -0
  709. package/types/series/polar/index.d.ts +3 -0
  710. package/types/series/polar/interface.d.ts +22 -0
  711. package/types/series/polar/polar.d.ts +60 -0
  712. package/types/series/polar/progress-like/animation.d.ts +7 -0
  713. package/types/series/polar/progress-like/constant.d.ts +2 -0
  714. package/types/series/polar/progress-like/index.d.ts +3 -0
  715. package/types/series/polar/progress-like/interface.d.ts +21 -0
  716. package/types/series/polar/progress-like/progress-like.d.ts +34 -0
  717. package/types/series/polar/rose-like/index.d.ts +2 -0
  718. package/types/series/polar/rose-like/interface.d.ts +3 -0
  719. package/types/series/polar/rose-like/rose-like.d.ts +13 -0
  720. package/types/series/progress/circular/circular.d.ts +28 -0
  721. package/types/series/progress/circular/constant.d.ts +2 -0
  722. package/types/series/progress/circular/index.d.ts +1 -0
  723. package/types/series/progress/circular/interface.d.ts +20 -0
  724. package/types/series/progress/interface.d.ts +7 -0
  725. package/types/series/progress/linear/animation.d.ts +10 -0
  726. package/types/series/progress/linear/constant.d.ts +2 -0
  727. package/types/series/progress/linear/index.d.ts +1 -0
  728. package/types/series/progress/linear/interface.d.ts +26 -0
  729. package/types/series/progress/linear/linear.d.ts +26 -0
  730. package/types/series/progress/linear/tooltip-helper.d.ts +7 -0
  731. package/types/series/radar/animation.d.ts +73 -0
  732. package/types/series/radar/constant.d.ts +2 -0
  733. package/types/series/radar/interface.d.ts +22 -0
  734. package/types/series/radar/radar.d.ts +31 -0
  735. package/types/series/range-area/constant.d.ts +2 -0
  736. package/types/series/range-area/interface.d.ts +7 -0
  737. package/types/series/range-area/range-area.d.ts +15 -0
  738. package/types/series/range-area/tooltip-helper.d.ts +7 -0
  739. package/types/series/range-column/3d/index.d.ts +2 -0
  740. package/types/series/range-column/3d/range-column-3d-transformer.d.ts +5 -0
  741. package/types/series/range-column/3d/range-column-3d.d.ts +15 -0
  742. package/types/series/range-column/animation.d.ts +10 -0
  743. package/types/series/range-column/constant.d.ts +3 -0
  744. package/types/series/range-column/interface.d.ts +56 -0
  745. package/types/series/range-column/range-column-3d.d.ts +15 -0
  746. package/types/series/range-column/range-column-transformer.d.ts +5 -0
  747. package/types/series/range-column/range-column.d.ts +32 -0
  748. package/types/series/range-column/tooltip-helper.d.ts +6 -0
  749. package/types/series/rose/animation.d.ts +13 -0
  750. package/types/series/rose/constant.d.ts +2 -0
  751. package/types/series/rose/interface.d.ts +19 -0
  752. package/types/series/rose/rose-transformer.d.ts +5 -0
  753. package/types/series/rose/rose.d.ts +33 -0
  754. package/types/series/sankey/animation.d.ts +13 -0
  755. package/types/series/sankey/constant.d.ts +2 -0
  756. package/types/series/sankey/interface.d.ts +108 -0
  757. package/types/series/sankey/sankey.d.ts +67 -0
  758. package/types/series/sankey/tooltip-helper.d.ts +7 -0
  759. package/types/series/scatter/animation.d.ts +8 -0
  760. package/types/series/scatter/constant.d.ts +2 -0
  761. package/types/series/scatter/interface.d.ts +24 -0
  762. package/types/series/scatter/scatter-transformer.d.ts +5 -0
  763. package/types/series/scatter/scatter.d.ts +39 -0
  764. package/types/series/sunburst/animation/enter.d.ts +3 -0
  765. package/types/series/sunburst/animation/exit.d.ts +3 -0
  766. package/types/series/sunburst/animation/index.d.ts +6 -0
  767. package/types/series/sunburst/animation/interface.d.ts +12 -0
  768. package/types/series/sunburst/animation/preset.d.ts +3 -0
  769. package/types/series/sunburst/animation/utils.d.ts +3 -0
  770. package/types/series/sunburst/constant.d.ts +2 -0
  771. package/types/series/sunburst/interface.d.ts +41 -0
  772. package/types/series/sunburst/sunburst.d.ts +60 -0
  773. package/types/series/sunburst/tooltip-helper.d.ts +5 -0
  774. package/types/series/treemap/animation.d.ts +5 -0
  775. package/types/series/treemap/constant.d.ts +2 -0
  776. package/types/series/treemap/interface.d.ts +41 -0
  777. package/types/series/treemap/tooltip-helper.d.ts +5 -0
  778. package/types/series/treemap/treemap-transform.d.ts +6 -0
  779. package/types/series/treemap/treemap.d.ts +61 -0
  780. package/types/series/util/label-mark.d.ts +4 -0
  781. package/types/series/util/spec.d.ts +2 -0
  782. package/types/series/util/stack.d.ts +9 -0
  783. package/types/series/util/utils.d.ts +10 -0
  784. package/types/series/waterfall/animation.d.ts +5 -0
  785. package/types/series/waterfall/constant.d.ts +2 -0
  786. package/types/series/waterfall/interface.d.ts +60 -0
  787. package/types/series/waterfall/waterfall-transformer.d.ts +5 -0
  788. package/types/series/waterfall/waterfall.d.ts +41 -0
  789. package/types/series/word-cloud/animation.d.ts +14 -0
  790. package/types/series/word-cloud/base.d.ts +66 -0
  791. package/types/series/word-cloud/config.d.ts +16 -0
  792. package/types/series/word-cloud/constant.d.ts +2 -0
  793. package/types/series/word-cloud/interface.d.ts +111 -0
  794. package/types/series/word-cloud/word-cloud-3d.d.ts +34 -0
  795. package/types/series/word-cloud/word-cloud.d.ts +9 -0
  796. package/types/theme/builtin/common/component/axis/band-axis.d.ts +2 -0
  797. package/types/theme/builtin/common/component/axis/cartesian-axis.d.ts +4 -0
  798. package/types/theme/builtin/common/component/axis/common-axis.d.ts +2 -0
  799. package/types/theme/builtin/common/component/axis/linear-axis.d.ts +2 -0
  800. package/types/theme/builtin/common/component/axis/polar-axis.d.ts +3 -0
  801. package/types/theme/builtin/common/component/brush.d.ts +2 -0
  802. package/types/theme/builtin/common/component/crosshair.d.ts +2 -0
  803. package/types/theme/builtin/common/component/data-zoom.d.ts +2 -0
  804. package/types/theme/builtin/common/component/index.d.ts +2 -0
  805. package/types/theme/builtin/common/component/indicator.d.ts +2 -0
  806. package/types/theme/builtin/common/component/legend/color-legend.d.ts +2 -0
  807. package/types/theme/builtin/common/component/legend/continuous.d.ts +2 -0
  808. package/types/theme/builtin/common/component/legend/discrete-legend.d.ts +2 -0
  809. package/types/theme/builtin/common/component/legend/size-legend.d.ts +2 -0
  810. package/types/theme/builtin/common/component/map-label.d.ts +2 -0
  811. package/types/theme/builtin/common/component/mark-area.d.ts +2 -0
  812. package/types/theme/builtin/common/component/mark-line.d.ts +2 -0
  813. package/types/theme/builtin/common/component/mark-point.d.ts +2 -0
  814. package/types/theme/builtin/common/component/player.d.ts +2 -0
  815. package/types/theme/builtin/common/component/poptip.d.ts +2 -0
  816. package/types/theme/builtin/common/component/scroll-bar.d.ts +2 -0
  817. package/types/theme/builtin/common/component/title.d.ts +2 -0
  818. package/types/theme/builtin/common/component/tooltip.d.ts +3 -0
  819. package/types/theme/builtin/common/component/total-label.d.ts +2 -0
  820. package/types/theme/builtin/common/constants.d.ts +2 -0
  821. package/types/theme/builtin/common/legacy/index.d.ts +1 -0
  822. package/types/theme/builtin/common/legacy/legend/color-legend.d.ts +2 -0
  823. package/types/theme/builtin/common/legacy/legend/continuous.d.ts +2 -0
  824. package/types/theme/builtin/common/legacy/legend/index.d.ts +2 -0
  825. package/types/theme/builtin/common/legacy/legend/size-legend.d.ts +2 -0
  826. package/types/theme/builtin/common/mark.d.ts +3 -0
  827. package/types/theme/builtin/common/series/area.d.ts +2 -0
  828. package/types/theme/builtin/common/series/bar.d.ts +2 -0
  829. package/types/theme/builtin/common/series/bar3d.d.ts +2 -0
  830. package/types/theme/builtin/common/series/box-plot.d.ts +2 -0
  831. package/types/theme/builtin/common/series/circle-packing.d.ts +2 -0
  832. package/types/theme/builtin/common/series/circular-progress.d.ts +2 -0
  833. package/types/theme/builtin/common/series/correlation.d.ts +2 -0
  834. package/types/theme/builtin/common/series/dot.d.ts +2 -0
  835. package/types/theme/builtin/common/series/funnel.d.ts +2 -0
  836. package/types/theme/builtin/common/series/funnel3d.d.ts +2 -0
  837. package/types/theme/builtin/common/series/gauge-pointer.d.ts +2 -0
  838. package/types/theme/builtin/common/series/gauge.d.ts +2 -0
  839. package/types/theme/builtin/common/series/heatmap.d.ts +2 -0
  840. package/types/theme/builtin/common/series/index.d.ts +2 -0
  841. package/types/theme/builtin/common/series/line.d.ts +2 -0
  842. package/types/theme/builtin/common/series/linear-progress.d.ts +2 -0
  843. package/types/theme/builtin/common/series/link.d.ts +2 -0
  844. package/types/theme/builtin/common/series/liquid.d.ts +2 -0
  845. package/types/theme/builtin/common/series/map.d.ts +2 -0
  846. package/types/theme/builtin/common/series/pie.d.ts +2 -0
  847. package/types/theme/builtin/common/series/pie3d.d.ts +2 -0
  848. package/types/theme/builtin/common/series/radar.d.ts +2 -0
  849. package/types/theme/builtin/common/series/rangeColumn.d.ts +2 -0
  850. package/types/theme/builtin/common/series/rose.d.ts +2 -0
  851. package/types/theme/builtin/common/series/sankey.d.ts +2 -0
  852. package/types/theme/builtin/common/series/scatter.d.ts +2 -0
  853. package/types/theme/builtin/common/series/sunburst.d.ts +2 -0
  854. package/types/theme/builtin/common/series/treemap.d.ts +2 -0
  855. package/types/theme/builtin/common/series/waterfall.d.ts +2 -0
  856. package/types/theme/builtin/common/series/word-cloud.d.ts +2 -0
  857. package/types/theme/builtin/common/series/word-cloud3d.d.ts +2 -0
  858. package/types/theme/builtin/common-mobile/component/axis/band-axis.d.ts +2 -0
  859. package/types/theme/builtin/common-mobile/component/axis/cartesian-axis.d.ts +4 -0
  860. package/types/theme/builtin/common-mobile/component/axis/common-axis.d.ts +2 -0
  861. package/types/theme/builtin/common-mobile/component/axis/linear-axis.d.ts +2 -0
  862. package/types/theme/builtin/common-mobile/component/axis/polar-axis.d.ts +3 -0
  863. package/types/theme/builtin/common-mobile/component/crosshair.d.ts +2 -0
  864. package/types/theme/builtin/common-mobile/component/data-zoom.d.ts +2 -0
  865. package/types/theme/builtin/common-mobile/component/index.d.ts +2 -0
  866. package/types/theme/builtin/common-mobile/component/indicator.d.ts +2 -0
  867. package/types/theme/builtin/common-mobile/component/legend/color-legend.d.ts +2 -0
  868. package/types/theme/builtin/common-mobile/component/legend/continuous.d.ts +2 -0
  869. package/types/theme/builtin/common-mobile/component/legend/discrete-legend.d.ts +2 -0
  870. package/types/theme/builtin/common-mobile/component/legend/size-legend.d.ts +2 -0
  871. package/types/theme/builtin/common-mobile/component/map-label.d.ts +2 -0
  872. package/types/theme/builtin/common-mobile/component/mark-area.d.ts +2 -0
  873. package/types/theme/builtin/common-mobile/component/mark-line.d.ts +2 -0
  874. package/types/theme/builtin/common-mobile/component/mark-point.d.ts +2 -0
  875. package/types/theme/builtin/common-mobile/component/player.d.ts +2 -0
  876. package/types/theme/builtin/common-mobile/component/poptip.d.ts +2 -0
  877. package/types/theme/builtin/common-mobile/component/title.d.ts +2 -0
  878. package/types/theme/builtin/common-mobile/component/tooltip.d.ts +2 -0
  879. package/types/theme/builtin/common-mobile/component/total-label.d.ts +2 -0
  880. package/types/theme/builtin/common-mobile/constants.d.ts +2 -0
  881. package/types/theme/builtin/common-mobile/mark.d.ts +3 -0
  882. package/types/theme/builtin/dark/color-scheme.d.ts +2 -0
  883. package/types/theme/builtin/dark/index.d.ts +2 -0
  884. package/types/theme/builtin/dark-mobile/index.d.ts +2 -0
  885. package/types/theme/builtin/index.d.ts +12 -0
  886. package/types/theme/builtin/light/color-scheme.d.ts +2 -0
  887. package/types/theme/builtin/light/index.d.ts +2 -0
  888. package/types/theme/builtin/light-mobile/index.d.ts +2 -0
  889. package/types/theme/color-scheme/builtin/default.d.ts +2 -0
  890. package/types/theme/color-scheme/builtin/index.d.ts +2 -0
  891. package/types/theme/color-scheme/builtin/interface.d.ts +30 -0
  892. package/types/theme/color-scheme/index.d.ts +3 -0
  893. package/types/theme/color-scheme/interface.d.ts +30 -0
  894. package/types/theme/color-scheme/legacy.d.ts +5 -0
  895. package/types/theme/color-scheme/util.d.ts +10 -0
  896. package/types/theme/index.d.ts +4 -0
  897. package/types/theme/interface.d.ts +56 -0
  898. package/types/theme/theme-manager.d.ts +13 -0
  899. package/types/theme/util.d.ts +5 -0
  900. package/types/typings/common.d.ts +7 -0
  901. package/types/typings/coordinate.d.ts +9 -0
  902. package/types/typings/cursor.d.ts +1 -0
  903. package/types/typings/data.d.ts +2 -0
  904. package/types/typings/event.d.ts +1 -0
  905. package/types/typings/geo.d.ts +3 -0
  906. package/types/typings/group.d.ts +8 -0
  907. package/types/typings/index.d.ts +15 -0
  908. package/types/typings/interpolate.d.ts +5 -0
  909. package/types/typings/layout.d.ts +24 -0
  910. package/types/typings/line-stroke.d.ts +3 -0
  911. package/types/typings/params.d.ts +17 -0
  912. package/types/typings/scale.d.ts +33 -0
  913. package/types/typings/shape.d.ts +6 -0
  914. package/types/typings/space.d.ts +19 -0
  915. package/types/typings/spec/chart.d.ts +62 -0
  916. package/types/typings/spec/common.d.ts +275 -0
  917. package/types/typings/spec/index.d.ts +5 -0
  918. package/types/typings/spec/media-query.d.ts +28 -0
  919. package/types/typings/tooltip/common.d.ts +8 -0
  920. package/types/typings/tooltip/handler.d.ts +8 -0
  921. package/types/typings/tooltip/index.d.ts +6 -0
  922. package/types/typings/tooltip/label.d.ts +10 -0
  923. package/types/typings/tooltip/line.d.ts +23 -0
  924. package/types/typings/tooltip/position.d.ts +31 -0
  925. package/types/typings/tooltip/shape.d.ts +23 -0
  926. package/types/typings/tooltip/tooltip.d.ts +26 -0
  927. package/types/typings/visual.d.ts +293 -0
  928. package/types/util/array.d.ts +3 -0
  929. package/types/util/color.d.ts +1 -0
  930. package/types/util/data.d.ts +38 -0
  931. package/types/util/debug.d.ts +9 -0
  932. package/types/util/env.d.ts +7 -0
  933. package/types/util/hierarchy.d.ts +3 -0
  934. package/types/util/id.d.ts +2 -0
  935. package/types/util/image.d.ts +4 -0
  936. package/types/util/index.d.ts +22 -0
  937. package/types/util/math.d.ts +28 -0
  938. package/types/util/model.d.ts +5 -0
  939. package/types/util/object.d.ts +3 -0
  940. package/types/util/scale.d.ts +21 -0
  941. package/types/util/space.d.ts +13 -0
  942. package/types/util/spec/background.d.ts +4 -0
  943. package/types/util/spec/clone-deep.d.ts +1 -0
  944. package/types/util/spec/common.d.ts +5 -0
  945. package/types/util/spec/index.d.ts +7 -0
  946. package/types/util/spec/merge-spec.d.ts +5 -0
  947. package/types/util/spec/merge-theme.d.ts +6 -0
  948. package/types/util/spec/preprocess.d.ts +3 -0
  949. package/types/util/spec/transform.d.ts +5 -0
  950. package/types/util/style.d.ts +4 -0
  951. package/types/util/text.d.ts +5 -0
  952. package/types/util/type.d.ts +7 -0
  953. package/types/vchart-all.d.ts +2 -0
  954. package/types/vchart-simple.d.ts +4 -0
@@ -0,0 +1,6 @@
1
+ export * from './preset';
2
+ export * from './enter';
3
+ export * from './exit';
4
+ export * from './preset';
5
+ export * from './interface';
6
+ export declare const registerSunburstAnimation: () => void;
@@ -0,0 +1,12 @@
1
+ export type SunburstMark = 'arc' | 'label';
2
+ export type SunburstAppearPreset = 'growAngle' | 'growRadius' | 'fadeIn';
3
+ export type SunburstAppearParams = 'growAngle' | 'growRadius' | 'fadeIn';
4
+ export interface ISunburstAnimationParams {
5
+ animationInfo: () => animationInfo;
6
+ }
7
+ export type animationInfo = {
8
+ startAngle: number;
9
+ endAngle: number;
10
+ outerRadius: number;
11
+ innerRadius: number;
12
+ };
@@ -0,0 +1,3 @@
1
+ import type { IAnimationTypeConfig } from '@visactor/vgrammar-core';
2
+ import type { ISunburstAnimationParams, SunburstAppearPreset } from './interface';
3
+ export declare const sunburstPresetAnimation: (_params: ISunburstAnimationParams, preset: SunburstAppearPreset) => IAnimationTypeConfig;
@@ -0,0 +1,3 @@
1
+ import type { IElement } from '@visactor/vgrammar-core';
2
+ export declare const computeRatio: (angle: number, range: [number, number]) => number;
3
+ export declare const getInnerMostElements: (element: IElement) => IElement[];
@@ -0,0 +1,2 @@
1
+ import type { SeriesMarkMap } from '../interface/common';
2
+ export declare const sunburstSeriesMark: SeriesMarkMap;
@@ -0,0 +1,41 @@
1
+ import type { IAnimationSpec } from '../../animation/spec';
2
+ import type { IMarkSpec, IMarkTheme, ISeriesSpec } from '../../typings/spec';
3
+ import type { SunburstLabelConfig } from '@visactor/vgrammar-hierarchy';
4
+ import type { SunburstAppearPreset, SunburstMark } from './animation';
5
+ import type { IArcMarkSpec, ITextMarkSpec } from '../../typings';
6
+ import type { IPolarSeriesTheme } from '../polar/interface';
7
+ import type { SeriesMarkNameEnum } from '../interface/type';
8
+ export interface ISunburstSeriesSpec extends Omit<ISeriesSpec, 'data'>, IAnimationSpec<SunburstMark, SunburstAppearPreset> {
9
+ type: 'sunburst';
10
+ categoryField: string;
11
+ valueField: string;
12
+ centerX?: number;
13
+ centerY?: number;
14
+ offsetX?: number;
15
+ offsetY?: number;
16
+ startAngle?: number;
17
+ endAngle?: number;
18
+ innerRadius?: number | number[];
19
+ outerRadius?: number | number[];
20
+ gap?: number | number[];
21
+ labelLayout?: SunburstLabelConfig | (SunburstLabelConfig | null)[];
22
+ labelAutoVisible?: LabelAutoVisibleType;
23
+ drill?: boolean;
24
+ drillField?: string;
25
+ [SeriesMarkNameEnum.label]?: IMarkSpec<ITextMarkSpec>;
26
+ [SeriesMarkNameEnum.sunburst]?: IMarkSpec<IArcMarkSpec>;
27
+ }
28
+ export interface ISunburstSeriesTheme extends Omit<IPolarSeriesTheme, 'label' | 'innerRadius' | 'outerRadius'> {
29
+ startAngle?: number;
30
+ endAngle?: number;
31
+ innerRadius?: number | number[];
32
+ outerRadius?: number | number[];
33
+ gap?: number | number[];
34
+ labelLayout?: SunburstLabelConfig | SunburstLabelConfig[];
35
+ [SeriesMarkNameEnum.label]?: IMarkTheme<ITextMarkSpec>;
36
+ [SeriesMarkNameEnum.sunburst]?: IMarkTheme<IArcMarkSpec>;
37
+ }
38
+ export type LabelAutoVisibleType = {
39
+ enable?: boolean;
40
+ circumference?: number;
41
+ };
@@ -0,0 +1,60 @@
1
+ import type { Datum } from '../../typings';
2
+ import type { ISunburstSeriesSpec } from './interface';
3
+ import type { SeriesMarkMap } from '../interface';
4
+ import { SeriesTypeEnum } from '../interface/type';
5
+ import type { IMark } from '../../mark/interface';
6
+ import { PolarSeries } from '../polar/polar';
7
+ export declare class SunburstSeries extends PolarSeries<any> {
8
+ protected _spec: ISunburstSeriesSpec;
9
+ static readonly type: string;
10
+ type: SeriesTypeEnum;
11
+ static readonly mark: SeriesMarkMap;
12
+ private _sunburstMark;
13
+ private _labelMark;
14
+ protected _categoryField: string;
15
+ protected _valueField: string;
16
+ private _centerX;
17
+ private _centerY;
18
+ private _offsetX;
19
+ private _offsetY;
20
+ private _startAngle;
21
+ private _endAngle;
22
+ private __innerRadius;
23
+ private __outerRadius;
24
+ private _gap;
25
+ private _labelLayout;
26
+ private _labelAutoVisible?;
27
+ private _label;
28
+ private _sunburst;
29
+ setCategoryField(f: string): string;
30
+ getCategoryField(): string;
31
+ setValueField(f: string): string;
32
+ getValueField(): string;
33
+ getDimensionField(): string[];
34
+ getMeasureField(): string[];
35
+ setAttrFromSpec(): void;
36
+ protected initData(): void;
37
+ getStatisticFields(): {
38
+ key: string;
39
+ operations: ("max" | "min" | "values")[];
40
+ }[];
41
+ protected _addDataIndexAndKey(): void;
42
+ initMark(): void;
43
+ initMarkStyle(): void;
44
+ private _initArcMark;
45
+ private _initArcMarkStyle;
46
+ private _initLabelMark;
47
+ private _initLabelMarkStyle;
48
+ protected initTooltip(): void;
49
+ initAnimation(): void;
50
+ initEvent(): void;
51
+ onLayoutEnd(ctx: any): void;
52
+ private _computeRadius;
53
+ private _computeLevel;
54
+ getGroupFields(): string[];
55
+ getStackGroupFields(): string[];
56
+ getStackValueField(): string;
57
+ protected _noAnimationDataKey(datum: Datum, index: number): unknown | undefined;
58
+ getActiveMarks(): IMark[];
59
+ }
60
+ export declare const registerSunBurstSeries: () => void;
@@ -0,0 +1,5 @@
1
+ import type { Datum } from '../../typings';
2
+ import { BaseSeriesTooltipHelper } from '../base/tooltip-helper';
3
+ export declare class SunburstTooltipHelper extends BaseSeriesTooltipHelper {
4
+ contentKeyCallback: (datum: Datum) => any;
5
+ }
@@ -0,0 +1,5 @@
1
+ import type { IAnimationTypeConfig } from '@visactor/vgrammar-core';
2
+ export type TreemapMark = 'leaf' | 'nonLeaf';
3
+ export type TreemapAppearPreset = 'growIn' | 'fadeIn';
4
+ export declare const treemapPresetAnimation: (preset: TreemapAppearPreset) => IAnimationTypeConfig;
5
+ export declare const registerTreemapAnimation: () => void;
@@ -0,0 +1,2 @@
1
+ import type { SeriesMarkMap } from '../interface/common';
2
+ export declare const treemapSeriesMark: SeriesMarkMap;
@@ -0,0 +1,41 @@
1
+ import type { IRectMarkSpec, ITextMarkSpec } from '../../typings';
2
+ import type { IHierarchyData, IMarkSpec, IMarkTheme, ISeriesSpec } from '../../typings/spec';
3
+ import type { TreemapOptions } from '@visactor/vgrammar-hierarchy';
4
+ import type { ICartesianSeriesTheme } from '../cartesian/interface';
5
+ import type { IAnimationSpec } from '../../animation/spec';
6
+ import type { TreemapAppearPreset, TreemapMark } from './animation';
7
+ import type { SeriesMarkNameEnum } from '../interface/type';
8
+ export interface ITreemapSeriesSpec extends Omit<ISeriesSpec, 'data'>, IAnimationSpec<TreemapMark, TreemapAppearPreset> {
9
+ type: 'treemap';
10
+ categoryField: string;
11
+ valueField: string;
12
+ data: IHierarchyData;
13
+ aspectRatio?: number;
14
+ splitType?: TreemapOptions['splitType'];
15
+ gapWidth?: TreemapOptions['gapWidth'];
16
+ nodePadding?: TreemapOptions['padding'];
17
+ maxDepth?: TreemapOptions['maxDepth'];
18
+ minVisibleArea?: TreemapOptions['minVisibleArea'];
19
+ minChildrenVisibleArea?: TreemapOptions['minChildrenVisibleArea'];
20
+ minChildrenVisibleSize?: TreemapOptions['minChildrenVisibleSize'];
21
+ roam?: boolean;
22
+ drill?: boolean;
23
+ drillField?: string;
24
+ [SeriesMarkNameEnum.leaf]?: IMarkSpec<IRectMarkSpec>;
25
+ [SeriesMarkNameEnum.nonLeaf]?: IMarkSpec<IRectMarkSpec>;
26
+ [SeriesMarkNameEnum.label]?: IMarkSpec<ITextMarkSpec>;
27
+ [SeriesMarkNameEnum.nonLeafLabel]?: IMarkSpec<ITextMarkSpec> & {
28
+ position?: TreemapOptions['labelPosition'];
29
+ padding?: TreemapOptions['labelPadding'];
30
+ };
31
+ }
32
+ export interface ITreemapSeriesTheme extends ICartesianSeriesTheme {
33
+ gapWidth?: TreemapOptions['padding'];
34
+ nodePadding?: TreemapOptions['padding'];
35
+ [SeriesMarkNameEnum.leaf]?: Partial<IMarkTheme<IRectMarkSpec>>;
36
+ [SeriesMarkNameEnum.nonLeaf]?: Partial<IMarkTheme<IRectMarkSpec>>;
37
+ [SeriesMarkNameEnum.label]?: Partial<IMarkTheme<ITextMarkSpec>>;
38
+ [SeriesMarkNameEnum.nonLeafLabel]?: Partial<IMarkTheme<ITextMarkSpec> & {
39
+ padding?: TreemapOptions['labelPadding'];
40
+ }>;
41
+ }
@@ -0,0 +1,5 @@
1
+ import { BaseSeriesTooltipHelper } from '../base/tooltip-helper';
2
+ export declare class TreemapTooltipHelper extends BaseSeriesTooltipHelper {
3
+ get defaultShapeType(): string;
4
+ contentKeyCallback: (datum: any) => any;
5
+ }
@@ -0,0 +1,6 @@
1
+ import type { ISeriesSpec } from '../../typings';
2
+ import { BaseSeriesSpecTransformer } from '../base';
3
+ import type { ITreemapSeriesSpec, ITreemapSeriesTheme } from './interface';
4
+ export declare class TreemapSeriesSpecTransformer<T extends ISeriesSpec = Omit<ITreemapSeriesSpec, 'data'>, K extends ITreemapSeriesTheme = ITreemapSeriesTheme> extends BaseSeriesSpecTransformer<T, K> {
5
+ protected _transformLabelSpec(spec: T): void;
6
+ }
@@ -0,0 +1,61 @@
1
+ import type { IMark } from '../../mark/interface';
2
+ import { CartesianSeries } from '../cartesian/cartesian';
3
+ import type { SeriesMarkMap } from '../interface';
4
+ import { SeriesTypeEnum } from '../interface/type';
5
+ import type { ITreemapSeriesSpec } from './interface';
6
+ import type { PanEventParam, ZoomEventParam } from '../../event/interface';
7
+ import { DataView } from '@visactor/vdataset';
8
+ import type { ILabelMark } from '../../mark/label';
9
+ import { TreemapSeriesSpecTransformer } from './treemap-transform';
10
+ export declare class TreemapSeries extends CartesianSeries<any> {
11
+ static readonly type: string;
12
+ type: SeriesTypeEnum;
13
+ static readonly mark: SeriesMarkMap;
14
+ static readonly transformerConstructor: typeof TreemapSeriesSpecTransformer;
15
+ readonly transformerConstructor: typeof TreemapSeriesSpecTransformer;
16
+ private _leafMark;
17
+ private _nonLeafMark;
18
+ private _labelMark;
19
+ private _nonLeafLabelMark;
20
+ protected _spec: ITreemapSeriesSpec;
21
+ protected _categoryField: string;
22
+ getCategoryField(): string;
23
+ setCategoryField(f: string): string;
24
+ protected _valueField: string;
25
+ getValueField(): string;
26
+ setValueField(f: string): string;
27
+ private _maxDepth;
28
+ private _matrix;
29
+ private _viewBox;
30
+ private _enableAnimationHook;
31
+ setAttrFromSpec(): void;
32
+ initData(): void;
33
+ protected _addDataIndexAndKey(): void;
34
+ getRawDataStatisticsByField(field: string, isNumeric?: boolean): any;
35
+ protected _createHierarchyDataStatistics(dataName: string, rawData: DataView[]): DataView;
36
+ getStatisticFields(): {
37
+ key: string;
38
+ operations: import("../../data/transforms/dimension-statistics").StatisticOperations;
39
+ }[];
40
+ initMark(): void;
41
+ initMarkStyle(): void;
42
+ protected _initLeafMarkStyle(): void;
43
+ protected _initNonLeafMarkStyle(): void;
44
+ initLabelMarkStyle(labelMark: ILabelMark): void;
45
+ protected initNonLeafLabelMarkStyle(labelMark: ILabelMark): void;
46
+ initAnimation(): void;
47
+ protected initEvent(): void;
48
+ protected _getDataIdKey(): string;
49
+ protected initTooltip(): void;
50
+ private _shouldFilterElement;
51
+ handlePan(event: PanEventParam): void;
52
+ handleZoom(event: ZoomEventParam): void;
53
+ getDimensionField(): string[];
54
+ getMeasureField(): string[];
55
+ onLayoutEnd(ctx: any): void;
56
+ protected enableMarkAnimation(): void;
57
+ protected disableMarkAnimation(): void;
58
+ getDefaultShapeType(): string;
59
+ getActiveMarks(): IMark[];
60
+ }
61
+ export declare const registerTreemapSeries: () => void;
@@ -0,0 +1,4 @@
1
+ import type { ITextMark } from '../../mark/text';
2
+ import type { DirectionType } from '../../typings/space';
3
+ import type { ISeries } from '../interface';
4
+ export declare function setRectLabelPos(component: ISeries, labelMark: ITextMark, position: string, offset: number, x: (datum: any) => number, x1: (datum: any) => number, y: (datum: any) => number, y1: (datum: any) => number, direction: () => DirectionType): void;
@@ -0,0 +1,2 @@
1
+ import type { DirectionType, ISeriesSpec } from '../../typings';
2
+ export declare function getDirectionFromSeriesSpec(spec: ISeriesSpec): DirectionType;
@@ -0,0 +1,9 @@
1
+ import type { IStackCacheNode } from '../../util/data';
2
+ export declare function stackWithMinHeight(stackCache: IStackCacheNode, stackInverse: boolean, context: {
3
+ isVertical: boolean;
4
+ start: string;
5
+ end: string;
6
+ startMethod: string;
7
+ endMethod: string;
8
+ axisHelper: string;
9
+ }): void;
@@ -0,0 +1,10 @@
1
+ import type { IAxisHelper as CartesianHelper } from '../../component/axis/cartesian/interface/common';
2
+ import type { Datum } from '../../typings';
3
+ import type { IPolarAxisHelper } from '../../component/axis';
4
+ import type { ICartesianSeries } from '..';
5
+ export declare function isPolarAxisSeries(type: string): boolean;
6
+ export declare function sortDataInAxisHelper(axisHelper: CartesianHelper | IPolarAxisHelper, field: string, dataList: Datum[]): void;
7
+ export declare function getGroupAnimationParams(series: ICartesianSeries): {
8
+ dataIndex: (datum: any) => any;
9
+ dataCount: () => any;
10
+ };
@@ -0,0 +1,5 @@
1
+ import type { IAnimationTypeConfig } from '@visactor/vgrammar-core';
2
+ import type { IBarAnimationParams, BarAppearPreset } from '../bar/animation';
3
+ export type WaterfallAppearPreset = BarAppearPreset;
4
+ export declare function waterfallPresetAnimation(params: IBarAnimationParams, preset: BarAppearPreset): IAnimationTypeConfig;
5
+ export declare const registerWaterfallAnimation: () => void;
@@ -0,0 +1,2 @@
1
+ import type { SeriesMarkMap } from '../interface/common';
2
+ export declare const waterfallSeriesMark: SeriesMarkMap;
@@ -0,0 +1,60 @@
1
+ import type { Datum, IMarkSpec, IMarkTheme, IRuleMarkSpec, ITextMarkSpec } from '../../typings';
2
+ import type { IAnimationSpec } from '../../animation/spec';
3
+ import type { WaterfallAppearPreset } from './animation';
4
+ import type { IBarSeriesSpec, IBarSeriesTheme } from '../bar/interface';
5
+ import type { ILabelSpec } from '../../component/label';
6
+ import type { SeriesMarkNameEnum } from '../interface/type';
7
+ type WaterfallMarks = 'bar';
8
+ export interface IWaterfallTotalText {
9
+ text?: string;
10
+ }
11
+ export interface IWaterfallTotalEnd extends IWaterfallTotalText {
12
+ type: 'end';
13
+ }
14
+ export interface IWaterfallTotalCustom extends IWaterfallTotalText {
15
+ type: 'custom';
16
+ tagField: string;
17
+ product: (datum: Datum, current: {
18
+ start: number;
19
+ end: number;
20
+ }) => {
21
+ start: number;
22
+ end: number;
23
+ };
24
+ }
25
+ export interface IWaterfallTotalField extends IWaterfallTotalText {
26
+ type: 'field';
27
+ tagField: string;
28
+ valueField?: string;
29
+ startField?: string;
30
+ collectCountField?: string;
31
+ }
32
+ export type IWaterfallStackLabelPosition = 'withChange' | 'middle' | 'max' | 'min';
33
+ export type IWaterfallStackLabelValueType = 'change' | 'absolute';
34
+ export interface IWaterfallSeriesSpec extends Omit<IBarSeriesSpec, 'type' | 'label'>, IAnimationSpec<WaterfallMarks, WaterfallAppearPreset> {
35
+ type: 'waterfall';
36
+ total?: IWaterfallTotalEnd | IWaterfallTotalField | IWaterfallTotalCustom;
37
+ [SeriesMarkNameEnum.leaderLine]?: IMarkSpec<IRuleMarkSpec>;
38
+ [SeriesMarkNameEnum.stackLabel]?: ILabelSpec & {
39
+ position?: IWaterfallStackLabelPosition;
40
+ offset?: number;
41
+ valueType?: IWaterfallStackLabelValueType;
42
+ };
43
+ [SeriesMarkNameEnum.label]?: ILabelSpec & {
44
+ visible: boolean;
45
+ offset?: number;
46
+ };
47
+ }
48
+ export interface IWaterfallSeriesTheme extends IBarSeriesTheme {
49
+ seriesFieldName: {
50
+ total: string;
51
+ increase: string;
52
+ decrease: string;
53
+ };
54
+ [SeriesMarkNameEnum.leaderLine]?: Partial<IMarkTheme<IRuleMarkSpec>>;
55
+ [SeriesMarkNameEnum.stackLabel]?: Partial<IMarkTheme<ITextMarkSpec> & {
56
+ offset?: number;
57
+ position?: IWaterfallStackLabelPosition;
58
+ }>;
59
+ }
60
+ export {};
@@ -0,0 +1,5 @@
1
+ import { BarSeriesSpecTransformer } from '../bar/bar-transformer';
2
+ import type { IWaterfallSeriesSpec, IWaterfallSeriesTheme } from './interface';
3
+ export declare class WaterfallSeriesSpecTransformer<T extends IWaterfallSeriesSpec = IWaterfallSeriesSpec, K extends IWaterfallSeriesTheme = IWaterfallSeriesTheme> extends BarSeriesSpecTransformer<any, K> {
4
+ protected _transformLabelSpec(spec: T): void;
5
+ }
@@ -0,0 +1,41 @@
1
+ import type { IRuleMark } from '../../mark/rule';
2
+ import { BarSeries } from '../bar/bar';
3
+ import type { IWaterfallSeriesSpec } from './interface';
4
+ import type { SeriesMarkMap } from '../interface';
5
+ import { SeriesTypeEnum } from '../interface/type';
6
+ import type { ITransformOptions, DataView } from '@visactor/vdataset';
7
+ import { SeriesData } from '../base/series-data';
8
+ import type { ITextMark } from '../../mark/text';
9
+ import type { IModelEvaluateOption } from '../../model/interface';
10
+ import type { Datum } from '../../typings';
11
+ import type { ILabelMark } from '../../mark/label';
12
+ export declare const DefaultBandWidth = 6;
13
+ export declare class WaterfallSeries<T extends IWaterfallSeriesSpec = IWaterfallSeriesSpec> extends BarSeries<any> {
14
+ static readonly type: string;
15
+ type: SeriesTypeEnum;
16
+ static readonly mark: SeriesMarkMap;
17
+ static readonly transformerConstructor: any;
18
+ readonly transformerConstructor: any;
19
+ protected _stack: boolean;
20
+ protected _totalData?: SeriesData;
21
+ getTotalData(): any;
22
+ protected _spec: T;
23
+ protected _leaderLineMark: IRuleMark;
24
+ protected _stackLabelMark: ITextMark;
25
+ protected _labelMark: ITextMark;
26
+ protected initGroups(): void;
27
+ setAttrFromSpec(): void;
28
+ getSeriesKeys(): string[];
29
+ protected initData(): void;
30
+ initAnimation(): void;
31
+ viewDataUpdate(d: DataView): void;
32
+ addViewDataFilter(_option: ITransformOptions): void;
33
+ reFilterViewData(): void;
34
+ onEvaluateEnd(ctx: IModelEvaluateOption): void;
35
+ initMark(): void;
36
+ initLabelMarkStyle(labelMark: ILabelMark): void;
37
+ totalPositionX(datum: Datum, field: string, pos?: number): number;
38
+ totalPositionY(datum: Datum, field: string, pos?: number): number;
39
+ initMarkStyle(): void;
40
+ }
41
+ export declare const registerWaterfallSeries: () => void;
@@ -0,0 +1,14 @@
1
+ import type { IAnimationTypeConfig } from '@visactor/vgrammar-core';
2
+ export interface IWordcloud3dAnimationParams {
3
+ radius: number;
4
+ depth_3d: number;
5
+ }
6
+ export interface IWordcloudAnimationParams {
7
+ animationConfig: () => IAnimationTypeConfig;
8
+ }
9
+ export type WordcloudAppearPreset = 'scaleIn' | 'fadeIn';
10
+ export declare const WordCloud3dAnimation: (params: IWordcloud3dAnimationParams | (() => any)) => IAnimationTypeConfig;
11
+ export declare const WordCloudScaleInAnimation: (params: IWordcloudAnimationParams) => IAnimationTypeConfig;
12
+ export declare function wordcloudPresetAnimation(params: IWordcloudAnimationParams, preset: WordcloudAppearPreset | boolean): IAnimationTypeConfig;
13
+ export declare const registerWordCloudAnimation: () => void;
14
+ export declare const registerWordCloud3dAnimation: () => void;
@@ -0,0 +1,66 @@
1
+ import type { IPadding } from '@visactor/vutils';
2
+ import type { ITextMark } from '../../mark/text';
3
+ import type { SeriesMarkMap } from '../interface';
4
+ import type { IWordCloudSeriesSpec, WordCloudConfigType, WordCloudShapeConfigType, WordCloudShapeType } from './interface';
5
+ import type { Datum, IPoint } from '../../typings';
6
+ import { BaseSeries } from '../base/base-series';
7
+ import type { IMark } from '../../mark/interface';
8
+ export type IBaseWordCloudSeriesSpec = Omit<IWordCloudSeriesSpec, 'type'> & {
9
+ type: string;
10
+ };
11
+ export declare class BaseWordCloudSeries<T extends IBaseWordCloudSeriesSpec = IBaseWordCloudSeriesSpec> extends BaseSeries<T> {
12
+ static readonly mark: SeriesMarkMap;
13
+ protected _nameField: string;
14
+ protected _valueField?: string;
15
+ setValueField(field: string): void;
16
+ protected _fontFamilyField: string;
17
+ protected _fontWeightField: string;
18
+ protected _fontStyleField: string;
19
+ protected _colorHexField: string;
20
+ protected _colorMode: 'linear' | 'ordinal';
21
+ protected _colorList: string[];
22
+ protected _rotateAngles?: number[];
23
+ protected _fontWeightRange?: [number, number];
24
+ protected _textField?: string;
25
+ protected _fontSizeRange?: [number, number] | 'auto';
26
+ setFontSizeRange(fontSizeRange: [number, number] | 'auto'): void;
27
+ protected _maskShape?: string | WordCloudShapeType;
28
+ protected _isWordCloudShape: boolean;
29
+ protected _keepAspect?: boolean;
30
+ protected _random?: boolean;
31
+ protected _fontPadding?: number;
32
+ protected _fillingFontPadding?: number;
33
+ protected _wordCloudConfig?: WordCloudConfigType;
34
+ protected _wordCloudShapeConfig?: WordCloudShapeConfigType;
35
+ protected _padding?: IPadding;
36
+ protected _defaultFontFamily: string;
37
+ protected _keyWordColorCallback: (datum: Datum) => string;
38
+ protected _fillingColorCallback: (datum: Datum) => string;
39
+ setAttrFromSpec(): void;
40
+ protected _wordMark: ITextMark;
41
+ initMark(): void;
42
+ initMarkStyle(): void;
43
+ protected initTooltip(): void;
44
+ initAnimation(): void;
45
+ protected getWordOrdinalColorScale(field: string, isFillingWord: boolean): any;
46
+ protected initColorCallback(field: string, isFillingWord: boolean): (datum: Datum) => any;
47
+ getWordColor: (datum: Datum) => string;
48
+ compile(): void;
49
+ protected _wordCloudTransformOption(): Object;
50
+ protected _wordCloudShapeTransformOption(): Object;
51
+ getStatisticFields(): {
52
+ key: string;
53
+ operations: Array<'max' | 'min' | 'values'>;
54
+ }[];
55
+ dataToPosition(data: Datum): IPoint;
56
+ dataToPositionX(data: any): number;
57
+ dataToPositionY(data: any): number;
58
+ dataToPositionZ(data: any): number;
59
+ valueToPosition(value1: any, value2?: any): IPoint;
60
+ getGroupFields(): string[];
61
+ getStackGroupFields(): string[];
62
+ getStackValueField(): string;
63
+ onLayoutEnd(ctx: any): void;
64
+ getActiveMarks(): IMark[];
65
+ reInit(): void;
66
+ }
@@ -0,0 +1,16 @@
1
+ export declare const DEFAULT_ROTATE_ANGLES: number[];
2
+ export declare const DEFAULT_DRAW_OUT_OF_BOUND = "hidden";
3
+ export declare const DEFAULT_MIN_FONT_SIZE = 20;
4
+ export declare const DEFAULT_FONTSIZE_RANGE: [number, number];
5
+ export declare const DEFAULT_FONT_WEIGHT_RANGE: [number, number];
6
+ export declare const DEFAULT_MASK_SHAPE = "circle";
7
+ export declare const DEFAULT_ZOOM_TO_FIT: {
8
+ shrink: boolean;
9
+ enlarge: boolean;
10
+ fontSizeLimitMin: number;
11
+ };
12
+ export declare const DEFAULT_RANDOM = true;
13
+ export declare const DEFAULT_FONT_PADDING = 1;
14
+ export declare const DEFAULT_TEXT_ALIGN = "center";
15
+ export declare const DEFAULT_TEXT_BASE_LINE = "alphabetic";
16
+ export declare const SHAPE_TYPE: string[];
@@ -0,0 +1,2 @@
1
+ import type { SeriesMarkMap } from '../interface/common';
2
+ export declare const wordCloudSeriesMark: SeriesMarkMap;
@@ -0,0 +1,111 @@
1
+ import type { ITextMarkSpec, IMarkSpec, ISeriesSpec } from '../../typings';
2
+ import type { IAnimationSpec, IMarkAnimateSpec, IStateAnimateSpec } from '../../animation/spec';
3
+ import type { SeriesMarkNameEnum } from '../interface/type';
4
+ import type { WordcloudAppearPreset } from './animation';
5
+ import type { shapes } from '@visactor/vgrammar-wordcloud';
6
+ export type WordCloudShapeType = keyof typeof shapes;
7
+ export type EllipsisType = {
8
+ string?: string;
9
+ limitLength?: number;
10
+ };
11
+ export type ZoomToFitType = {
12
+ shrink?: boolean;
13
+ enlarge?: boolean;
14
+ fontSizeLimitMin?: number;
15
+ fontSizeLimitMax?: number;
16
+ };
17
+ export type DrawOutOfBoundType = 'clip' | 'hidden' | 'ellipsis';
18
+ export type WordCloudConfigType = {
19
+ drawOutOfBound?: DrawOutOfBoundType;
20
+ ellipsis?: EllipsisType;
21
+ layoutMode?: 'fast' | 'grid' | 'default';
22
+ zoomToFit: ZoomToFitType;
23
+ progressiveTime?: number;
24
+ progressiveStep?: number;
25
+ };
26
+ export type WordCloudShapeConfigType = {
27
+ fillingSeriesField?: string;
28
+ fillingColorList?: string[];
29
+ fillingFontFamilyField?: string;
30
+ fillingFontWeightField?: string;
31
+ fillingFontStyleField?: string;
32
+ fillingColorHexField?: string;
33
+ fillingRotateAngles?: number[];
34
+ ratio?: number;
35
+ removeWhiteBorder?: boolean;
36
+ layoutMode?: 'default' | 'ensureMapping' | 'ensureMappingEnlarge';
37
+ fillingTimes?: number;
38
+ fillingXStep?: number;
39
+ fillingYStep?: number;
40
+ fillingXRatioStep?: number;
41
+ fillingYRatioStep?: number;
42
+ fillingInitialFontSize?: number;
43
+ fillingDeltaFontSize?: number;
44
+ fillingInitialOpacity?: number;
45
+ fillingDeltaOpacity?: number;
46
+ textLayoutTimes?: number;
47
+ fontSizeShrinkFactor?: number;
48
+ stepFactor?: number;
49
+ importantWordCount?: number;
50
+ globalShinkLimit?: number;
51
+ fontSizeEnlargeFactor?: number;
52
+ fillingDeltaFontSizeFactor?: number;
53
+ fillingRatio?: number;
54
+ };
55
+ export interface IWordCloudSeriesBaseSpec extends ISeriesSpec, IAnimationSpec<string, WordcloudAppearPreset> {
56
+ nameField: string;
57
+ valueField?: string;
58
+ fontFamilyField?: string;
59
+ fontWeightField?: string;
60
+ fontStyleField?: string;
61
+ colorHexField?: string;
62
+ colorMode?: 'linear' | 'ordinal';
63
+ colorList?: string[];
64
+ rotateAngles?: number[];
65
+ fontWeightRange?: [number, number];
66
+ fontSizeRange?: [number, number] | 'auto';
67
+ maskShape?: string | WordCloudShapeType;
68
+ keepAspect?: boolean;
69
+ random?: boolean;
70
+ wordCloudConfig?: WordCloudConfigType;
71
+ wordCloudShapeConfig?: WordCloudShapeConfigType;
72
+ [SeriesMarkNameEnum.word]?: IMarkSpec<ITextMarkSpec> & {
73
+ padding?: number;
74
+ formatMethod?: (datum?: any) => string;
75
+ };
76
+ [SeriesMarkNameEnum.fillingWord]?: IMarkSpec<ITextMarkSpec> & {
77
+ padding?: number;
78
+ };
79
+ animationAppear?: boolean | (IStateAnimateSpec<WordcloudAppearPreset> & {
80
+ duration?: number;
81
+ totalTime?: number;
82
+ }) | IMarkAnimateSpec<string>;
83
+ }
84
+ export interface IWordCloudSeriesSpec extends IWordCloudSeriesBaseSpec {
85
+ type: 'wordCloud';
86
+ }
87
+ export interface IWordCloudSeriesTheme {
88
+ [SeriesMarkNameEnum.word]?: IMarkSpec<ITextMarkSpec> & {
89
+ padding?: number;
90
+ formatMethod?: (datum?: any) => string;
91
+ };
92
+ [SeriesMarkNameEnum.fillingWord]?: IMarkSpec<ITextMarkSpec> & {
93
+ padding?: number;
94
+ formatMethod?: (datum?: any) => string;
95
+ };
96
+ }
97
+ export interface IWordCloud3dSeriesSpec extends IWordCloudSeriesBaseSpec {
98
+ type: 'wordCloud3d';
99
+ depth_3d?: number;
100
+ postProjection?: 'StereographicProjection';
101
+ }
102
+ export interface IWordCloud3dSeriesTheme {
103
+ [SeriesMarkNameEnum.word]?: IMarkSpec<ITextMarkSpec> & {
104
+ padding?: number;
105
+ formatMethod?: (text: string | string[], datum?: any) => string | string[];
106
+ };
107
+ [SeriesMarkNameEnum.fillingWord]?: IMarkSpec<ITextMarkSpec> & {
108
+ padding?: number;
109
+ formatMethod?: (text: string | string[], datum?: any) => string | string[];
110
+ };
111
+ }