@antv/g2 4.1.43 → 4.1.44

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 (1336) hide show
  1. package/dist/g2.min.js +44 -0
  2. package/dist/g2.min.js.map +1 -0
  3. package/esm/animate/animation/fade.d.ts +21 -0
  4. package/esm/animate/animation/fade.js +42 -0
  5. package/esm/animate/animation/fade.js.map +1 -0
  6. package/esm/animate/animation/grow-in.d.ts +30 -0
  7. package/esm/animate/animation/grow-in.js +38 -0
  8. package/esm/animate/animation/grow-in.js.map +1 -0
  9. package/esm/animate/animation/index.d.ts +16 -0
  10. package/esm/animate/animation/index.js +17 -0
  11. package/esm/animate/animation/index.js.map +1 -0
  12. package/esm/animate/animation/path-in.d.ts +12 -0
  13. package/esm/animate/animation/path-in.js +21 -0
  14. package/esm/animate/animation/path-in.js.map +1 -0
  15. package/esm/animate/animation/position-update.d.ts +11 -0
  16. package/esm/animate/animation/position-update.js +24 -0
  17. package/esm/animate/animation/position-update.js.map +1 -0
  18. package/esm/animate/animation/scale-in.d.ts +19 -0
  19. package/esm/animate/animation/scale-in.js +60 -0
  20. package/esm/animate/animation/scale-in.js.map +1 -0
  21. package/esm/animate/animation/sector-path-update.d.ts +11 -0
  22. package/esm/animate/animation/sector-path-update.js +131 -0
  23. package/esm/animate/animation/sector-path-update.js.map +1 -0
  24. package/esm/animate/animation/util.d.ts +19 -0
  25. package/esm/animate/animation/util.js +88 -0
  26. package/esm/animate/animation/util.js.map +1 -0
  27. package/esm/animate/animation/wave-in.d.ts +13 -0
  28. package/esm/animate/animation/wave-in.js +26 -0
  29. package/esm/animate/animation/wave-in.js.map +1 -0
  30. package/esm/animate/animation/zoom.d.ts +21 -0
  31. package/esm/animate/animation/zoom.js +66 -0
  32. package/esm/animate/animation/zoom.js.map +1 -0
  33. package/esm/animate/index.d.ts +48 -0
  34. package/esm/animate/index.js +249 -0
  35. package/esm/animate/index.js.map +1 -0
  36. package/esm/animate/interface.d.ts +12 -0
  37. package/esm/animate/interface.js +2 -0
  38. package/esm/animate/interface.js.map +1 -0
  39. package/esm/api.d.ts +2 -0
  40. package/esm/api.js +3 -0
  41. package/esm/api.js.map +1 -0
  42. package/esm/base.d.ts +33 -0
  43. package/esm/base.js +55 -0
  44. package/esm/base.js.map +1 -0
  45. package/esm/chart/chart.d.ts +61 -0
  46. package/esm/chart/chart.js +157 -0
  47. package/esm/chart/chart.js.map +1 -0
  48. package/esm/chart/controller/annotation.d.ts +162 -0
  49. package/esm/chart/controller/annotation.js +581 -0
  50. package/esm/chart/controller/annotation.js.map +1 -0
  51. package/esm/chart/controller/axis.d.ts +93 -0
  52. package/esm/chart/controller/axis.js +578 -0
  53. package/esm/chart/controller/axis.js.map +1 -0
  54. package/esm/chart/controller/base.d.ts +64 -0
  55. package/esm/chart/controller/base.js +62 -0
  56. package/esm/chart/controller/base.js.map +1 -0
  57. package/esm/chart/controller/coordinate.d.ts +74 -0
  58. package/esm/chart/controller/coordinate.js +145 -0
  59. package/esm/chart/controller/coordinate.js.map +1 -0
  60. package/esm/chart/controller/gesture.d.ts +37 -0
  61. package/esm/chart/controller/gesture.js +258 -0
  62. package/esm/chart/controller/gesture.js.map +1 -0
  63. package/esm/chart/controller/index.d.ts +25 -0
  64. package/esm/chart/controller/index.js +34 -0
  65. package/esm/chart/controller/index.js.map +1 -0
  66. package/esm/chart/controller/legend.d.ts +106 -0
  67. package/esm/chart/controller/legend.js +484 -0
  68. package/esm/chart/controller/legend.js.map +1 -0
  69. package/esm/chart/controller/scrollbar.d.ts +64 -0
  70. package/esm/chart/controller/scrollbar.js +316 -0
  71. package/esm/chart/controller/scrollbar.js.map +1 -0
  72. package/esm/chart/controller/slider.d.ts +88 -0
  73. package/esm/chart/controller/slider.js +296 -0
  74. package/esm/chart/controller/slider.js.map +1 -0
  75. package/esm/chart/controller/tooltip.d.ts +68 -0
  76. package/esm/chart/controller/tooltip.js +644 -0
  77. package/esm/chart/controller/tooltip.js.map +1 -0
  78. package/esm/chart/event.d.ts +47 -0
  79. package/esm/chart/event.js +91 -0
  80. package/esm/chart/event.js.map +1 -0
  81. package/esm/chart/index.d.ts +4 -0
  82. package/esm/chart/index.js +5 -0
  83. package/esm/chart/index.js.map +1 -0
  84. package/esm/chart/layout/auto.d.ts +8 -0
  85. package/esm/chart/layout/auto.js +64 -0
  86. package/esm/chart/layout/auto.js.map +1 -0
  87. package/esm/chart/layout/constraint/bounds.d.ts +32 -0
  88. package/esm/chart/layout/constraint/bounds.js +30 -0
  89. package/esm/chart/layout/constraint/bounds.js.map +1 -0
  90. package/esm/chart/layout/constraint/constraint.d.ts +31 -0
  91. package/esm/chart/layout/constraint/constraint.js +81 -0
  92. package/esm/chart/layout/constraint/constraint.js.map +1 -0
  93. package/esm/chart/layout/constraint/gauss.d.ts +11 -0
  94. package/esm/chart/layout/constraint/gauss.js +63 -0
  95. package/esm/chart/layout/constraint/gauss.js.map +1 -0
  96. package/esm/chart/layout/constraint/index.d.ts +5 -0
  97. package/esm/chart/layout/constraint/index.js +30 -0
  98. package/esm/chart/layout/constraint/index.js.map +1 -0
  99. package/esm/chart/layout/constraint/solver.d.ts +40 -0
  100. package/esm/chart/layout/constraint/solver.js +77 -0
  101. package/esm/chart/layout/constraint/solver.js.map +1 -0
  102. package/esm/chart/layout/constraint/types.d.ts +21 -0
  103. package/esm/chart/layout/constraint/types.js +13 -0
  104. package/esm/chart/layout/constraint/types.js.map +1 -0
  105. package/esm/chart/layout/constraint/variable.d.ts +24 -0
  106. package/esm/chart/layout/constraint/variable.js +28 -0
  107. package/esm/chart/layout/constraint/variable.js.map +1 -0
  108. package/esm/chart/layout/index.d.ts +15 -0
  109. package/esm/chart/layout/index.js +26 -0
  110. package/esm/chart/layout/index.js.map +1 -0
  111. package/esm/chart/layout/padding-cal.d.ts +53 -0
  112. package/esm/chart/layout/padding-cal.js +108 -0
  113. package/esm/chart/layout/padding-cal.js.map +1 -0
  114. package/esm/chart/util/scale-pool.d.ts +57 -0
  115. package/esm/chart/util/scale-pool.js +212 -0
  116. package/esm/chart/util/scale-pool.js.map +1 -0
  117. package/esm/chart/util/sync-view-padding.d.ts +9 -0
  118. package/esm/chart/util/sync-view-padding.js +14 -0
  119. package/esm/chart/util/sync-view-padding.js.map +1 -0
  120. package/esm/chart/view.d.ts +747 -0
  121. package/esm/chart/view.js +1633 -0
  122. package/esm/chart/view.js.map +1 -0
  123. package/esm/component/labels.d.ts +47 -0
  124. package/esm/component/labels.js +274 -0
  125. package/esm/component/labels.js.map +1 -0
  126. package/esm/component/update-label.d.ts +21 -0
  127. package/esm/component/update-label.js +57 -0
  128. package/esm/component/update-label.js.map +1 -0
  129. package/esm/constant.d.ts +122 -0
  130. package/esm/constant.js +134 -0
  131. package/esm/constant.js.map +1 -0
  132. package/esm/core.d.ts +46 -0
  133. package/esm/core.js +60 -0
  134. package/esm/core.js.map +1 -0
  135. package/esm/dependents.d.ts +21 -0
  136. package/esm/dependents.js +33 -0
  137. package/esm/dependents.js.map +1 -0
  138. package/esm/engine/index.d.ts +13 -0
  139. package/esm/engine/index.js +22 -0
  140. package/esm/engine/index.js.map +1 -0
  141. package/esm/facet/circle.d.ts +36 -0
  142. package/esm/facet/circle.js +119 -0
  143. package/esm/facet/circle.js.map +1 -0
  144. package/esm/facet/facet.d.ts +165 -0
  145. package/esm/facet/facet.js +291 -0
  146. package/esm/facet/facet.js.map +1 -0
  147. package/esm/facet/index.d.ts +13 -0
  148. package/esm/facet/index.js +22 -0
  149. package/esm/facet/index.js.map +1 -0
  150. package/esm/facet/list.d.ts +46 -0
  151. package/esm/facet/list.js +134 -0
  152. package/esm/facet/list.js.map +1 -0
  153. package/esm/facet/matrix.d.ts +34 -0
  154. package/esm/facet/matrix.js +119 -0
  155. package/esm/facet/matrix.js.map +1 -0
  156. package/esm/facet/mirror.d.ts +31 -0
  157. package/esm/facet/mirror.js +144 -0
  158. package/esm/facet/mirror.js.map +1 -0
  159. package/esm/facet/rect.d.ts +35 -0
  160. package/esm/facet/rect.js +141 -0
  161. package/esm/facet/rect.js.map +1 -0
  162. package/esm/facet/tree.d.ts +40 -0
  163. package/esm/facet/tree.js +288 -0
  164. package/esm/facet/tree.js.map +1 -0
  165. package/esm/geometry/area.d.ts +46 -0
  166. package/esm/geometry/area.js +62 -0
  167. package/esm/geometry/area.js.map +1 -0
  168. package/esm/geometry/base.d.ts +793 -0
  169. package/esm/geometry/base.js +1487 -0
  170. package/esm/geometry/base.js.map +1 -0
  171. package/esm/geometry/edge.d.ts +15 -0
  172. package/esm/geometry/edge.js +24 -0
  173. package/esm/geometry/edge.js.map +1 -0
  174. package/esm/geometry/element/index.d.ts +127 -0
  175. package/esm/geometry/element/index.js +436 -0
  176. package/esm/geometry/element/index.js.map +1 -0
  177. package/esm/geometry/heatmap.d.ts +31 -0
  178. package/esm/geometry/heatmap.js +190 -0
  179. package/esm/geometry/heatmap.js.map +1 -0
  180. package/esm/geometry/interval.d.ts +41 -0
  181. package/esm/geometry/interval.js +98 -0
  182. package/esm/geometry/interval.js.map +1 -0
  183. package/esm/geometry/label/base.d.ts +76 -0
  184. package/esm/geometry/label/base.js +404 -0
  185. package/esm/geometry/label/base.js.map +1 -0
  186. package/esm/geometry/label/index.d.ts +38 -0
  187. package/esm/geometry/label/index.js +35 -0
  188. package/esm/geometry/label/index.js.map +1 -0
  189. package/esm/geometry/label/interface.d.ts +50 -0
  190. package/esm/geometry/label/interface.js +2 -0
  191. package/esm/geometry/label/interface.js.map +1 -0
  192. package/esm/geometry/label/interval.d.ts +27 -0
  193. package/esm/geometry/label/interval.js +146 -0
  194. package/esm/geometry/label/interval.js.map +1 -0
  195. package/esm/geometry/label/layout/adjust-color.d.ts +3 -0
  196. package/esm/geometry/label/layout/adjust-color.js +36 -0
  197. package/esm/geometry/label/layout/adjust-color.js.map +1 -0
  198. package/esm/geometry/label/layout/hide-overlap.d.ts +8 -0
  199. package/esm/geometry/label/layout/hide-overlap.js +29 -0
  200. package/esm/geometry/label/layout/hide-overlap.js.map +1 -0
  201. package/esm/geometry/label/layout/interval/adjust-position.d.ts +9 -0
  202. package/esm/geometry/label/layout/interval/adjust-position.js +61 -0
  203. package/esm/geometry/label/layout/interval/adjust-position.js.map +1 -0
  204. package/esm/geometry/label/layout/interval/hide-overlap.d.ts +9 -0
  205. package/esm/geometry/label/layout/interval/hide-overlap.js +78 -0
  206. package/esm/geometry/label/layout/interval/hide-overlap.js.map +1 -0
  207. package/esm/geometry/label/layout/limit-in-canvas.d.ts +9 -0
  208. package/esm/geometry/label/layout/limit-in-canvas.js +44 -0
  209. package/esm/geometry/label/layout/limit-in-canvas.js.map +1 -0
  210. package/esm/geometry/label/layout/limit-in-plot.d.ts +18 -0
  211. package/esm/geometry/label/layout/limit-in-plot.js +75 -0
  212. package/esm/geometry/label/layout/limit-in-plot.js.map +1 -0
  213. package/esm/geometry/label/layout/limit-in-shape.d.ts +7 -0
  214. package/esm/geometry/label/layout/limit-in-shape.js +18 -0
  215. package/esm/geometry/label/layout/limit-in-shape.js.map +1 -0
  216. package/esm/geometry/label/layout/overlap.d.ts +15 -0
  217. package/esm/geometry/label/layout/overlap.js +223 -0
  218. package/esm/geometry/label/layout/overlap.js.map +1 -0
  219. package/esm/geometry/label/layout/path/adjust-position.d.ts +17 -0
  220. package/esm/geometry/label/layout/path/adjust-position.js +94 -0
  221. package/esm/geometry/label/layout/path/adjust-position.js.map +1 -0
  222. package/esm/geometry/label/layout/pie/distribute.d.ts +3 -0
  223. package/esm/geometry/label/layout/pie/distribute.js +185 -0
  224. package/esm/geometry/label/layout/pie/distribute.js.map +1 -0
  225. package/esm/geometry/label/layout/pie/outer.d.ts +6 -0
  226. package/esm/geometry/label/layout/pie/outer.js +207 -0
  227. package/esm/geometry/label/layout/pie/outer.js.map +1 -0
  228. package/esm/geometry/label/layout/pie/spider.d.ts +7 -0
  229. package/esm/geometry/label/layout/pie/spider.js +181 -0
  230. package/esm/geometry/label/layout/pie/spider.js.map +1 -0
  231. package/esm/geometry/label/layout/pie/util.d.ts +10 -0
  232. package/esm/geometry/label/layout/pie/util.js +73 -0
  233. package/esm/geometry/label/layout/pie/util.js.map +1 -0
  234. package/esm/geometry/label/layout/point/adjust-position.d.ts +17 -0
  235. package/esm/geometry/label/layout/point/adjust-position.js +94 -0
  236. package/esm/geometry/label/layout/point/adjust-position.js.map +1 -0
  237. package/esm/geometry/label/pie.d.ts +22 -0
  238. package/esm/geometry/label/pie.js +95 -0
  239. package/esm/geometry/label/pie.js.map +1 -0
  240. package/esm/geometry/label/polar.d.ts +64 -0
  241. package/esm/geometry/label/polar.js +221 -0
  242. package/esm/geometry/label/polar.js.map +1 -0
  243. package/esm/geometry/label/util/index.d.ts +26 -0
  244. package/esm/geometry/label/util/index.js +61 -0
  245. package/esm/geometry/label/util/index.js.map +1 -0
  246. package/esm/geometry/line.d.ts +11 -0
  247. package/esm/geometry/line.js +21 -0
  248. package/esm/geometry/line.js.map +1 -0
  249. package/esm/geometry/path.d.ts +40 -0
  250. package/esm/geometry/path.js +122 -0
  251. package/esm/geometry/path.js.map +1 -0
  252. package/esm/geometry/point.d.ts +19 -0
  253. package/esm/geometry/point.js +30 -0
  254. package/esm/geometry/point.js.map +1 -0
  255. package/esm/geometry/polygon.d.ts +19 -0
  256. package/esm/geometry/polygon.js +62 -0
  257. package/esm/geometry/polygon.js.map +1 -0
  258. package/esm/geometry/schema.d.ts +18 -0
  259. package/esm/geometry/schema.js +48 -0
  260. package/esm/geometry/schema.js.map +1 -0
  261. package/esm/geometry/shape/area/index.d.ts +2 -0
  262. package/esm/geometry/shape/area/index.js +44 -0
  263. package/esm/geometry/shape/area/index.js.map +1 -0
  264. package/esm/geometry/shape/area/line.d.ts +1 -0
  265. package/esm/geometry/shape/area/line.js +31 -0
  266. package/esm/geometry/shape/area/line.js.map +1 -0
  267. package/esm/geometry/shape/area/smooth-line.d.ts +1 -0
  268. package/esm/geometry/shape/area/smooth-line.js +30 -0
  269. package/esm/geometry/shape/area/smooth-line.js.map +1 -0
  270. package/esm/geometry/shape/area/smooth.d.ts +1 -0
  271. package/esm/geometry/shape/area/smooth.js +31 -0
  272. package/esm/geometry/shape/area/smooth.js.map +1 -0
  273. package/esm/geometry/shape/area/util.d.ts +22 -0
  274. package/esm/geometry/shape/area/util.js +88 -0
  275. package/esm/geometry/shape/area/util.js.map +1 -0
  276. package/esm/geometry/shape/base.d.ts +22 -0
  277. package/esm/geometry/shape/base.js +162 -0
  278. package/esm/geometry/shape/base.js.map +1 -0
  279. package/esm/geometry/shape/constant.d.ts +4 -0
  280. package/esm/geometry/shape/constant.js +5 -0
  281. package/esm/geometry/shape/constant.js.map +1 -0
  282. package/esm/geometry/shape/edge/arc.d.ts +1 -0
  283. package/esm/geometry/shape/edge/arc.js +84 -0
  284. package/esm/geometry/shape/edge/arc.js.map +1 -0
  285. package/esm/geometry/shape/edge/index.d.ts +2 -0
  286. package/esm/geometry/shape/edge/index.js +31 -0
  287. package/esm/geometry/shape/edge/index.js.map +1 -0
  288. package/esm/geometry/shape/edge/smooth.d.ts +1 -0
  289. package/esm/geometry/shape/edge/smooth.js +30 -0
  290. package/esm/geometry/shape/edge/smooth.js.map +1 -0
  291. package/esm/geometry/shape/edge/util.d.ts +17 -0
  292. package/esm/geometry/shape/edge/util.js +32 -0
  293. package/esm/geometry/shape/edge/util.js.map +1 -0
  294. package/esm/geometry/shape/edge/vhv.d.ts +1 -0
  295. package/esm/geometry/shape/edge/vhv.js +42 -0
  296. package/esm/geometry/shape/edge/vhv.js.map +1 -0
  297. package/esm/geometry/shape/interval/funnel.d.ts +1 -0
  298. package/esm/geometry/shape/interval/funnel.js +31 -0
  299. package/esm/geometry/shape/interval/funnel.js.map +1 -0
  300. package/esm/geometry/shape/interval/hollow-rect.d.ts +1 -0
  301. package/esm/geometry/shape/interval/hollow-rect.js +51 -0
  302. package/esm/geometry/shape/interval/hollow-rect.js.map +1 -0
  303. package/esm/geometry/shape/interval/index.d.ts +3 -0
  304. package/esm/geometry/shape/interval/index.js +63 -0
  305. package/esm/geometry/shape/interval/index.js.map +1 -0
  306. package/esm/geometry/shape/interval/line.d.ts +1 -0
  307. package/esm/geometry/shape/interval/line.js +54 -0
  308. package/esm/geometry/shape/interval/line.js.map +1 -0
  309. package/esm/geometry/shape/interval/pyramid.d.ts +1 -0
  310. package/esm/geometry/shape/interval/pyramid.js +31 -0
  311. package/esm/geometry/shape/interval/pyramid.js.map +1 -0
  312. package/esm/geometry/shape/interval/tick.d.ts +1 -0
  313. package/esm/geometry/shape/interval/tick.js +77 -0
  314. package/esm/geometry/shape/interval/tick.js.map +1 -0
  315. package/esm/geometry/shape/interval/util.d.ts +55 -0
  316. package/esm/geometry/shape/interval/util.js +311 -0
  317. package/esm/geometry/shape/interval/util.js.map +1 -0
  318. package/esm/geometry/shape/line/index.d.ts +8 -0
  319. package/esm/geometry/shape/line/index.js +105 -0
  320. package/esm/geometry/shape/line/index.js.map +1 -0
  321. package/esm/geometry/shape/line/step.d.ts +1 -0
  322. package/esm/geometry/shape/line/step.js +84 -0
  323. package/esm/geometry/shape/line/step.js.map +1 -0
  324. package/esm/geometry/shape/line/util.d.ts +16 -0
  325. package/esm/geometry/shape/line/util.js +83 -0
  326. package/esm/geometry/shape/line/util.js.map +1 -0
  327. package/esm/geometry/shape/point/hollow.d.ts +1 -0
  328. package/esm/geometry/shape/point/hollow.js +24 -0
  329. package/esm/geometry/shape/point/hollow.js.map +1 -0
  330. package/esm/geometry/shape/point/image.d.ts +1 -0
  331. package/esm/geometry/shape/point/image.js +48 -0
  332. package/esm/geometry/shape/point/image.js.map +1 -0
  333. package/esm/geometry/shape/point/index.d.ts +2 -0
  334. package/esm/geometry/shape/point/index.js +32 -0
  335. package/esm/geometry/shape/point/index.js.map +1 -0
  336. package/esm/geometry/shape/point/solid.d.ts +1 -0
  337. package/esm/geometry/shape/point/solid.js +23 -0
  338. package/esm/geometry/shape/point/solid.js.map +1 -0
  339. package/esm/geometry/shape/point/util.d.ts +15 -0
  340. package/esm/geometry/shape/point/util.js +39 -0
  341. package/esm/geometry/shape/point/util.js.map +1 -0
  342. package/esm/geometry/shape/polygon/index.d.ts +2 -0
  343. package/esm/geometry/shape/polygon/index.js +65 -0
  344. package/esm/geometry/shape/polygon/index.js.map +1 -0
  345. package/esm/geometry/shape/polygon/square.d.ts +1 -0
  346. package/esm/geometry/shape/polygon/square.js +44 -0
  347. package/esm/geometry/shape/polygon/square.js.map +1 -0
  348. package/esm/geometry/shape/schema/box.d.ts +1 -0
  349. package/esm/geometry/shape/schema/box.js +142 -0
  350. package/esm/geometry/shape/schema/box.js.map +1 -0
  351. package/esm/geometry/shape/schema/candle.d.ts +1 -0
  352. package/esm/geometry/shape/schema/candle.js +80 -0
  353. package/esm/geometry/shape/schema/candle.js.map +1 -0
  354. package/esm/geometry/shape/schema/index.d.ts +2 -0
  355. package/esm/geometry/shape/schema/index.js +6 -0
  356. package/esm/geometry/shape/schema/index.js.map +1 -0
  357. package/esm/geometry/shape/util/get-path-points.d.ts +38 -0
  358. package/esm/geometry/shape/util/get-path-points.js +131 -0
  359. package/esm/geometry/shape/util/get-path-points.js.map +1 -0
  360. package/esm/geometry/shape/util/get-style.d.ts +18 -0
  361. package/esm/geometry/shape/util/get-style.js +47 -0
  362. package/esm/geometry/shape/util/get-style.js.map +1 -0
  363. package/esm/geometry/shape/util/path.d.ts +32 -0
  364. package/esm/geometry/shape/util/path.js +311 -0
  365. package/esm/geometry/shape/util/path.js.map +1 -0
  366. package/esm/geometry/shape/util/split-points.d.ts +13 -0
  367. package/esm/geometry/shape/util/split-points.js +24 -0
  368. package/esm/geometry/shape/util/split-points.js.map +1 -0
  369. package/esm/geometry/shape/violin/hollow.d.ts +1 -0
  370. package/esm/geometry/shape/violin/hollow.js +51 -0
  371. package/esm/geometry/shape/violin/hollow.js.map +1 -0
  372. package/esm/geometry/shape/violin/index.d.ts +2 -0
  373. package/esm/geometry/shape/violin/index.js +60 -0
  374. package/esm/geometry/shape/violin/index.js.map +1 -0
  375. package/esm/geometry/shape/violin/smooth.d.ts +1 -0
  376. package/esm/geometry/shape/violin/smooth.js +28 -0
  377. package/esm/geometry/shape/violin/smooth.js.map +1 -0
  378. package/esm/geometry/util/diff.d.ts +11 -0
  379. package/esm/geometry/util/diff.js +30 -0
  380. package/esm/geometry/util/diff.js.map +1 -0
  381. package/esm/geometry/util/get-shape-type.d.ts +8 -0
  382. package/esm/geometry/util/get-shape-type.js +16 -0
  383. package/esm/geometry/util/get-shape-type.js.map +1 -0
  384. package/esm/geometry/util/group-data.d.ts +3 -0
  385. package/esm/geometry/util/group-data.js +31 -0
  386. package/esm/geometry/util/group-data.js.map +1 -0
  387. package/esm/geometry/util/is-model-change.d.ts +9 -0
  388. package/esm/geometry/util/is-model-change.js +14 -0
  389. package/esm/geometry/util/is-model-change.js.map +1 -0
  390. package/esm/geometry/util/parse-fields.d.ts +2 -0
  391. package/esm/geometry/util/parse-fields.js +9 -0
  392. package/esm/geometry/util/parse-fields.js.map +1 -0
  393. package/esm/geometry/util/shape-size.d.ts +2 -0
  394. package/esm/geometry/util/shape-size.js +124 -0
  395. package/esm/geometry/util/shape-size.js.map +1 -0
  396. package/esm/geometry/violin.d.ts +25 -0
  397. package/esm/geometry/violin.js +67 -0
  398. package/esm/geometry/violin.js.map +1 -0
  399. package/esm/index.d.ts +107 -0
  400. package/esm/index.js +581 -0
  401. package/esm/index.js.map +1 -0
  402. package/esm/interaction/action/active-region.d.ts +33 -0
  403. package/esm/interaction/action/active-region.js +198 -0
  404. package/esm/interaction/action/active-region.js.map +1 -0
  405. package/esm/interaction/action/base.d.ts +29 -0
  406. package/esm/interaction/action/base.js +36 -0
  407. package/esm/interaction/action/base.js.map +1 -0
  408. package/esm/interaction/action/callback.d.ts +17 -0
  409. package/esm/interaction/action/callback.js +27 -0
  410. package/esm/interaction/action/callback.js.map +1 -0
  411. package/esm/interaction/action/component/list-active.d.ts +14 -0
  412. package/esm/interaction/action/component/list-active.js +24 -0
  413. package/esm/interaction/action/component/list-active.js.map +1 -0
  414. package/esm/interaction/action/component/list-checked.d.ts +30 -0
  415. package/esm/interaction/action/component/list-checked.js +82 -0
  416. package/esm/interaction/action/component/list-checked.js.map +1 -0
  417. package/esm/interaction/action/component/list-focus.d.ts +5 -0
  418. package/esm/interaction/action/component/list-focus.js +55 -0
  419. package/esm/interaction/action/component/list-focus.js.map +1 -0
  420. package/esm/interaction/action/component/list-highlight-util.d.ts +7 -0
  421. package/esm/interaction/action/component/list-highlight-util.js +20 -0
  422. package/esm/interaction/action/component/list-highlight-util.js.map +1 -0
  423. package/esm/interaction/action/component/list-highlight.d.ts +20 -0
  424. package/esm/interaction/action/component/list-highlight.js +97 -0
  425. package/esm/interaction/action/component/list-highlight.js.map +1 -0
  426. package/esm/interaction/action/component/list-radio.d.ts +24 -0
  427. package/esm/interaction/action/component/list-radio.js +116 -0
  428. package/esm/interaction/action/component/list-radio.js.map +1 -0
  429. package/esm/interaction/action/component/list-selected.d.ts +10 -0
  430. package/esm/interaction/action/component/list-selected.js +20 -0
  431. package/esm/interaction/action/component/list-selected.js.map +1 -0
  432. package/esm/interaction/action/component/list-state.d.ts +46 -0
  433. package/esm/interaction/action/component/list-state.js +167 -0
  434. package/esm/interaction/action/component/list-state.js.map +1 -0
  435. package/esm/interaction/action/component/list-unchecked.d.ts +13 -0
  436. package/esm/interaction/action/component/list-unchecked.js +23 -0
  437. package/esm/interaction/action/component/list-unchecked.js.map +1 -0
  438. package/esm/interaction/action/component/tooltip/ellipsis-text.d.ts +25 -0
  439. package/esm/interaction/action/component/tooltip/ellipsis-text.js +93 -0
  440. package/esm/interaction/action/component/tooltip/ellipsis-text.js.map +1 -0
  441. package/esm/interaction/action/component/tooltip/geometry.d.ts +24 -0
  442. package/esm/interaction/action/component/tooltip/geometry.js +71 -0
  443. package/esm/interaction/action/component/tooltip/geometry.js.map +1 -0
  444. package/esm/interaction/action/component/tooltip/sibling.d.ts +21 -0
  445. package/esm/interaction/action/component/tooltip/sibling.js +39 -0
  446. package/esm/interaction/action/component/tooltip/sibling.js.map +1 -0
  447. package/esm/interaction/action/cursor.d.ts +69 -0
  448. package/esm/interaction/action/cursor.js +113 -0
  449. package/esm/interaction/action/cursor.js.map +1 -0
  450. package/esm/interaction/action/data/filter.d.ts +13 -0
  451. package/esm/interaction/action/data/filter.js +66 -0
  452. package/esm/interaction/action/data/filter.js.map +1 -0
  453. package/esm/interaction/action/data/range-filter.d.ts +56 -0
  454. package/esm/interaction/action/data/range-filter.js +163 -0
  455. package/esm/interaction/action/data/range-filter.js.map +1 -0
  456. package/esm/interaction/action/data/sibling-filter.d.ts +22 -0
  457. package/esm/interaction/action/data/sibling-filter.js +39 -0
  458. package/esm/interaction/action/data/sibling-filter.js.map +1 -0
  459. package/esm/interaction/action/element/active.d.ts +14 -0
  460. package/esm/interaction/action/element/active.js +24 -0
  461. package/esm/interaction/action/element/active.js.map +1 -0
  462. package/esm/interaction/action/element/filter.d.ts +20 -0
  463. package/esm/interaction/action/element/filter.js +89 -0
  464. package/esm/interaction/action/element/filter.js.map +1 -0
  465. package/esm/interaction/action/element/highlight-by-color.d.ts +10 -0
  466. package/esm/interaction/action/element/highlight-by-color.js +30 -0
  467. package/esm/interaction/action/element/highlight-by-color.js.map +1 -0
  468. package/esm/interaction/action/element/highlight-by-x.d.ts +15 -0
  469. package/esm/interaction/action/element/highlight-by-x.js +51 -0
  470. package/esm/interaction/action/element/highlight-by-x.js.map +1 -0
  471. package/esm/interaction/action/element/highlight-util.d.ts +18 -0
  472. package/esm/interaction/action/element/highlight-util.js +45 -0
  473. package/esm/interaction/action/element/highlight-util.js.map +1 -0
  474. package/esm/interaction/action/element/highlight.d.ts +21 -0
  475. package/esm/interaction/action/element/highlight.js +93 -0
  476. package/esm/interaction/action/element/highlight.js.map +1 -0
  477. package/esm/interaction/action/element/link-by-color.d.ts +51 -0
  478. package/esm/interaction/action/element/link-by-color.js +156 -0
  479. package/esm/interaction/action/element/link-by-color.js.map +1 -0
  480. package/esm/interaction/action/element/range-active.d.ts +13 -0
  481. package/esm/interaction/action/element/range-active.js +23 -0
  482. package/esm/interaction/action/element/range-active.js.map +1 -0
  483. package/esm/interaction/action/element/range-highlight.d.ts +27 -0
  484. package/esm/interaction/action/element/range-highlight.js +54 -0
  485. package/esm/interaction/action/element/range-highlight.js.map +1 -0
  486. package/esm/interaction/action/element/range-selected.d.ts +13 -0
  487. package/esm/interaction/action/element/range-selected.js +23 -0
  488. package/esm/interaction/action/element/range-selected.js.map +1 -0
  489. package/esm/interaction/action/element/range-state.d.ts +38 -0
  490. package/esm/interaction/action/element/range-state.js +164 -0
  491. package/esm/interaction/action/element/range-state.js.map +1 -0
  492. package/esm/interaction/action/element/selected.d.ts +14 -0
  493. package/esm/interaction/action/element/selected.js +24 -0
  494. package/esm/interaction/action/element/selected.js.map +1 -0
  495. package/esm/interaction/action/element/sibling-filter.d.ts +19 -0
  496. package/esm/interaction/action/element/sibling-filter.js +93 -0
  497. package/esm/interaction/action/element/sibling-filter.js.map +1 -0
  498. package/esm/interaction/action/element/single-active.d.ts +13 -0
  499. package/esm/interaction/action/element/single-active.js +23 -0
  500. package/esm/interaction/action/element/single-active.js.map +1 -0
  501. package/esm/interaction/action/element/single-highlight.d.ts +16 -0
  502. package/esm/interaction/action/element/single-highlight.js +35 -0
  503. package/esm/interaction/action/element/single-highlight.js.map +1 -0
  504. package/esm/interaction/action/element/single-selected.d.ts +13 -0
  505. package/esm/interaction/action/element/single-selected.js +23 -0
  506. package/esm/interaction/action/element/single-selected.js.map +1 -0
  507. package/esm/interaction/action/element/single-state.d.ts +18 -0
  508. package/esm/interaction/action/element/single-state.js +53 -0
  509. package/esm/interaction/action/element/single-state.js.map +1 -0
  510. package/esm/interaction/action/element/state-base.d.ts +39 -0
  511. package/esm/interaction/action/element/state-base.js +59 -0
  512. package/esm/interaction/action/element/state-base.js.map +1 -0
  513. package/esm/interaction/action/element/state.d.ts +28 -0
  514. package/esm/interaction/action/element/state.js +99 -0
  515. package/esm/interaction/action/element/state.js.map +1 -0
  516. package/esm/interaction/action/index.d.ts +2 -0
  517. package/esm/interaction/action/index.js +3 -0
  518. package/esm/interaction/action/index.js.map +1 -0
  519. package/esm/interaction/action/mask/base.d.ts +62 -0
  520. package/esm/interaction/action/mask/base.js +169 -0
  521. package/esm/interaction/action/mask/base.js.map +1 -0
  522. package/esm/interaction/action/mask/circle.d.ts +14 -0
  523. package/esm/interaction/action/mask/circle.js +37 -0
  524. package/esm/interaction/action/mask/circle.js.map +1 -0
  525. package/esm/interaction/action/mask/dim-rect.d.ts +11 -0
  526. package/esm/interaction/action/mask/dim-rect.js +62 -0
  527. package/esm/interaction/action/mask/dim-rect.js.map +1 -0
  528. package/esm/interaction/action/mask/path.d.ts +16 -0
  529. package/esm/interaction/action/mask/path.js +44 -0
  530. package/esm/interaction/action/mask/path.js.map +1 -0
  531. package/esm/interaction/action/mask/rect.d.ts +17 -0
  532. package/esm/interaction/action/mask/rect.js +39 -0
  533. package/esm/interaction/action/mask/rect.js.map +1 -0
  534. package/esm/interaction/action/mask/smooth-path.d.ts +9 -0
  535. package/esm/interaction/action/mask/smooth-path.js +21 -0
  536. package/esm/interaction/action/mask/smooth-path.js.map +1 -0
  537. package/esm/interaction/action/register.d.ts +36 -0
  538. package/esm/interaction/action/register.js +60 -0
  539. package/esm/interaction/action/register.js.map +1 -0
  540. package/esm/interaction/action/util.d.ts +140 -0
  541. package/esm/interaction/action/util.js +361 -0
  542. package/esm/interaction/action/util.js.map +1 -0
  543. package/esm/interaction/action/view/button.d.ts +25 -0
  544. package/esm/interaction/action/view/button.js +116 -0
  545. package/esm/interaction/action/view/button.js.map +1 -0
  546. package/esm/interaction/action/view/drag.d.ts +24 -0
  547. package/esm/interaction/action/view/drag.js +73 -0
  548. package/esm/interaction/action/view/drag.js.map +1 -0
  549. package/esm/interaction/action/view/mousewheel-scroll.d.ts +5 -0
  550. package/esm/interaction/action/view/mousewheel-scroll.js +35 -0
  551. package/esm/interaction/action/view/mousewheel-scroll.js.map +1 -0
  552. package/esm/interaction/action/view/move.d.ts +28 -0
  553. package/esm/interaction/action/view/move.js +80 -0
  554. package/esm/interaction/action/view/move.js.map +1 -0
  555. package/esm/interaction/action/view/scale-transform.d.ts +18 -0
  556. package/esm/interaction/action/view/scale-transform.js +51 -0
  557. package/esm/interaction/action/view/scale-transform.js.map +1 -0
  558. package/esm/interaction/action/view/scale-translate.d.ts +30 -0
  559. package/esm/interaction/action/view/scale-translate.js +112 -0
  560. package/esm/interaction/action/view/scale-translate.js.map +1 -0
  561. package/esm/interaction/action/view/scale-zoom.d.ts +20 -0
  562. package/esm/interaction/action/view/scale-zoom.js +83 -0
  563. package/esm/interaction/action/view/scale-zoom.js.map +1 -0
  564. package/esm/interaction/context.d.ts +65 -0
  565. package/esm/interaction/context.js +142 -0
  566. package/esm/interaction/context.js.map +1 -0
  567. package/esm/interaction/grammar-interaction.d.ts +158 -0
  568. package/esm/interaction/grammar-interaction.js +285 -0
  569. package/esm/interaction/grammar-interaction.js.map +1 -0
  570. package/esm/interaction/index.d.ts +25 -0
  571. package/esm/interaction/index.js +43 -0
  572. package/esm/interaction/index.js.map +1 -0
  573. package/esm/interaction/interaction.d.ts +29 -0
  574. package/esm/interaction/interaction.js +32 -0
  575. package/esm/interaction/interaction.js.map +1 -0
  576. package/esm/interface.d.ts +2264 -0
  577. package/esm/interface.js +2 -0
  578. package/esm/interface.js.map +1 -0
  579. package/esm/theme/index.d.ts +12 -0
  580. package/esm/theme/index.js +23 -0
  581. package/esm/theme/index.js.map +1 -0
  582. package/esm/theme/style-sheet/dark.d.ts +825 -0
  583. package/esm/theme/style-sheet/dark.js +496 -0
  584. package/esm/theme/style-sheet/dark.js.map +1 -0
  585. package/esm/theme/style-sheet/light.d.ts +817 -0
  586. package/esm/theme/style-sheet/light.js +492 -0
  587. package/esm/theme/style-sheet/light.js.map +1 -0
  588. package/esm/theme/util/create-by-style-sheet.d.ts +6 -0
  589. package/esm/theme/util/create-by-style-sheet.js +1422 -0
  590. package/esm/theme/util/create-by-style-sheet.js.map +1 -0
  591. package/esm/theme/util/create-theme.d.ts +6 -0
  592. package/esm/theme/util/create-theme.js +12 -0
  593. package/esm/theme/util/create-theme.js.map +1 -0
  594. package/esm/theme/util/index.d.ts +1 -0
  595. package/esm/theme/util/index.js +2 -0
  596. package/esm/theme/util/index.js.map +1 -0
  597. package/esm/util/annotation.d.ts +7 -0
  598. package/esm/util/annotation.js +39 -0
  599. package/esm/util/annotation.js.map +1 -0
  600. package/esm/util/attr.d.ts +10 -0
  601. package/esm/util/attr.js +25 -0
  602. package/esm/util/attr.js.map +1 -0
  603. package/esm/util/axis.d.ts +100 -0
  604. package/esm/util/axis.js +236 -0
  605. package/esm/util/axis.js.map +1 -0
  606. package/esm/util/bbox.d.ts +105 -0
  607. package/esm/util/bbox.js +282 -0
  608. package/esm/util/bbox.js.map +1 -0
  609. package/esm/util/collision-detect.d.ts +16 -0
  610. package/esm/util/collision-detect.js +127 -0
  611. package/esm/util/collision-detect.js.map +1 -0
  612. package/esm/util/color.d.ts +1 -0
  613. package/esm/util/color.js +18 -0
  614. package/esm/util/color.js.map +1 -0
  615. package/esm/util/context.d.ts +4 -0
  616. package/esm/util/context.js +11 -0
  617. package/esm/util/context.js.map +1 -0
  618. package/esm/util/coordinate.d.ts +86 -0
  619. package/esm/util/coordinate.js +147 -0
  620. package/esm/util/coordinate.js.map +1 -0
  621. package/esm/util/direction.d.ts +19 -0
  622. package/esm/util/direction.js +120 -0
  623. package/esm/util/direction.js.map +1 -0
  624. package/esm/util/dom.d.ts +19 -0
  625. package/esm/util/dom.js +61 -0
  626. package/esm/util/dom.js.map +1 -0
  627. package/esm/util/event.d.ts +8 -0
  628. package/esm/util/event.js +14 -0
  629. package/esm/util/event.js.map +1 -0
  630. package/esm/util/facet.d.ts +16 -0
  631. package/esm/util/facet.js +43 -0
  632. package/esm/util/facet.js.map +1 -0
  633. package/esm/util/graphics.d.ts +58 -0
  634. package/esm/util/graphics.js +203 -0
  635. package/esm/util/graphics.js.map +1 -0
  636. package/esm/util/grid.d.ts +36 -0
  637. package/esm/util/grid.js +118 -0
  638. package/esm/util/grid.js.map +1 -0
  639. package/esm/util/helper.d.ts +34 -0
  640. package/esm/util/helper.js +72 -0
  641. package/esm/util/helper.js.map +1 -0
  642. package/esm/util/legend.d.ts +45 -0
  643. package/esm/util/legend.js +145 -0
  644. package/esm/util/legend.js.map +1 -0
  645. package/esm/util/marker.d.ts +10 -0
  646. package/esm/util/marker.js +58 -0
  647. package/esm/util/marker.js.map +1 -0
  648. package/esm/util/padding.d.ts +14 -0
  649. package/esm/util/padding.js +40 -0
  650. package/esm/util/padding.js.map +1 -0
  651. package/esm/util/scale.d.ts +42 -0
  652. package/esm/util/scale.js +128 -0
  653. package/esm/util/scale.js.map +1 -0
  654. package/esm/util/stat.d.ts +10 -0
  655. package/esm/util/stat.js +36 -0
  656. package/esm/util/stat.js.map +1 -0
  657. package/esm/util/text.d.ts +23 -0
  658. package/esm/util/text.js +84 -0
  659. package/esm/util/text.js.map +1 -0
  660. package/esm/util/tooltip.d.ts +26 -0
  661. package/esm/util/tooltip.js +419 -0
  662. package/esm/util/tooltip.js.map +1 -0
  663. package/esm/util/transform.d.ts +33 -0
  664. package/esm/util/transform.js +61 -0
  665. package/esm/util/transform.js.map +1 -0
  666. package/esm/util/types.d.ts +6 -0
  667. package/esm/util/types.js +2 -0
  668. package/esm/util/types.js.map +1 -0
  669. package/lib/animate/animation/fade.d.ts +21 -0
  670. package/lib/animate/animation/fade.js +47 -0
  671. package/lib/animate/animation/fade.js.map +1 -0
  672. package/lib/animate/animation/grow-in.d.ts +30 -0
  673. package/lib/animate/animation/grow-in.js +44 -0
  674. package/lib/animate/animation/grow-in.js.map +1 -0
  675. package/lib/animate/animation/index.d.ts +16 -0
  676. package/lib/animate/animation/index.js +22 -0
  677. package/lib/animate/animation/index.js.map +1 -0
  678. package/lib/animate/animation/path-in.d.ts +12 -0
  679. package/lib/animate/animation/path-in.js +25 -0
  680. package/lib/animate/animation/path-in.js.map +1 -0
  681. package/lib/animate/animation/position-update.d.ts +11 -0
  682. package/lib/animate/animation/position-update.js +28 -0
  683. package/lib/animate/animation/position-update.js.map +1 -0
  684. package/lib/animate/animation/scale-in.d.ts +19 -0
  685. package/lib/animate/animation/scale-in.js +65 -0
  686. package/lib/animate/animation/scale-in.js.map +1 -0
  687. package/lib/animate/animation/sector-path-update.d.ts +11 -0
  688. package/lib/animate/animation/sector-path-update.js +135 -0
  689. package/lib/animate/animation/sector-path-update.js.map +1 -0
  690. package/lib/animate/animation/util.d.ts +19 -0
  691. package/lib/animate/animation/util.js +93 -0
  692. package/lib/animate/animation/util.js.map +1 -0
  693. package/lib/animate/animation/wave-in.d.ts +13 -0
  694. package/lib/animate/animation/wave-in.js +30 -0
  695. package/lib/animate/animation/wave-in.js.map +1 -0
  696. package/lib/animate/animation/zoom.d.ts +21 -0
  697. package/lib/animate/animation/zoom.js +71 -0
  698. package/lib/animate/animation/zoom.js.map +1 -0
  699. package/lib/animate/index.d.ts +48 -0
  700. package/lib/animate/index.js +255 -0
  701. package/lib/animate/index.js.map +1 -0
  702. package/lib/animate/interface.d.ts +12 -0
  703. package/lib/animate/interface.js +3 -0
  704. package/lib/animate/interface.js.map +1 -0
  705. package/lib/api.d.ts +2 -0
  706. package/lib/api.js +7 -0
  707. package/lib/api.js.map +1 -0
  708. package/lib/base.d.ts +33 -0
  709. package/lib/base.js +57 -0
  710. package/lib/base.js.map +1 -0
  711. package/lib/chart/chart.d.ts +61 -0
  712. package/lib/chart/chart.js +159 -0
  713. package/lib/chart/chart.js.map +1 -0
  714. package/lib/chart/controller/annotation.d.ts +162 -0
  715. package/lib/chart/controller/annotation.js +583 -0
  716. package/lib/chart/controller/annotation.js.map +1 -0
  717. package/lib/chart/controller/axis.d.ts +93 -0
  718. package/lib/chart/controller/axis.js +580 -0
  719. package/lib/chart/controller/axis.js.map +1 -0
  720. package/lib/chart/controller/base.d.ts +64 -0
  721. package/lib/chart/controller/base.js +65 -0
  722. package/lib/chart/controller/base.js.map +1 -0
  723. package/lib/chart/controller/coordinate.d.ts +74 -0
  724. package/lib/chart/controller/coordinate.js +147 -0
  725. package/lib/chart/controller/coordinate.js.map +1 -0
  726. package/lib/chart/controller/gesture.d.ts +37 -0
  727. package/lib/chart/controller/gesture.js +260 -0
  728. package/lib/chart/controller/gesture.js.map +1 -0
  729. package/lib/chart/controller/index.d.ts +25 -0
  730. package/lib/chart/controller/index.js +41 -0
  731. package/lib/chart/controller/index.js.map +1 -0
  732. package/lib/chart/controller/legend.d.ts +106 -0
  733. package/lib/chart/controller/legend.js +486 -0
  734. package/lib/chart/controller/legend.js.map +1 -0
  735. package/lib/chart/controller/scrollbar.d.ts +64 -0
  736. package/lib/chart/controller/scrollbar.js +318 -0
  737. package/lib/chart/controller/scrollbar.js.map +1 -0
  738. package/lib/chart/controller/slider.d.ts +88 -0
  739. package/lib/chart/controller/slider.js +298 -0
  740. package/lib/chart/controller/slider.js.map +1 -0
  741. package/lib/chart/controller/tooltip.d.ts +68 -0
  742. package/lib/chart/controller/tooltip.js +646 -0
  743. package/lib/chart/controller/tooltip.js.map +1 -0
  744. package/lib/chart/event.d.ts +47 -0
  745. package/lib/chart/event.js +93 -0
  746. package/lib/chart/event.js.map +1 -0
  747. package/lib/chart/index.d.ts +4 -0
  748. package/lib/chart/index.js +16 -0
  749. package/lib/chart/index.js.map +1 -0
  750. package/lib/chart/layout/auto.d.ts +8 -0
  751. package/lib/chart/layout/auto.js +68 -0
  752. package/lib/chart/layout/auto.js.map +1 -0
  753. package/lib/chart/layout/constraint/bounds.d.ts +32 -0
  754. package/lib/chart/layout/constraint/bounds.js +33 -0
  755. package/lib/chart/layout/constraint/bounds.js.map +1 -0
  756. package/lib/chart/layout/constraint/constraint.d.ts +31 -0
  757. package/lib/chart/layout/constraint/constraint.js +84 -0
  758. package/lib/chart/layout/constraint/constraint.js.map +1 -0
  759. package/lib/chart/layout/constraint/gauss.d.ts +11 -0
  760. package/lib/chart/layout/constraint/gauss.js +68 -0
  761. package/lib/chart/layout/constraint/gauss.js.map +1 -0
  762. package/lib/chart/layout/constraint/index.d.ts +5 -0
  763. package/lib/chart/layout/constraint/index.js +38 -0
  764. package/lib/chart/layout/constraint/index.js.map +1 -0
  765. package/lib/chart/layout/constraint/solver.d.ts +40 -0
  766. package/lib/chart/layout/constraint/solver.js +80 -0
  767. package/lib/chart/layout/constraint/solver.js.map +1 -0
  768. package/lib/chart/layout/constraint/types.d.ts +21 -0
  769. package/lib/chart/layout/constraint/types.js +16 -0
  770. package/lib/chart/layout/constraint/types.js.map +1 -0
  771. package/lib/chart/layout/constraint/variable.d.ts +24 -0
  772. package/lib/chart/layout/constraint/variable.js +31 -0
  773. package/lib/chart/layout/constraint/variable.js.map +1 -0
  774. package/lib/chart/layout/index.d.ts +15 -0
  775. package/lib/chart/layout/index.js +29 -0
  776. package/lib/chart/layout/index.js.map +1 -0
  777. package/lib/chart/layout/padding-cal.d.ts +53 -0
  778. package/lib/chart/layout/padding-cal.js +111 -0
  779. package/lib/chart/layout/padding-cal.js.map +1 -0
  780. package/lib/chart/util/scale-pool.d.ts +57 -0
  781. package/lib/chart/util/scale-pool.js +215 -0
  782. package/lib/chart/util/scale-pool.js.map +1 -0
  783. package/lib/chart/util/sync-view-padding.d.ts +9 -0
  784. package/lib/chart/util/sync-view-padding.js +18 -0
  785. package/lib/chart/util/sync-view-padding.js.map +1 -0
  786. package/lib/chart/view.d.ts +747 -0
  787. package/lib/chart/view.js +1637 -0
  788. package/lib/chart/view.js.map +1 -0
  789. package/lib/component/labels.d.ts +47 -0
  790. package/lib/component/labels.js +276 -0
  791. package/lib/component/labels.js.map +1 -0
  792. package/lib/component/update-label.d.ts +21 -0
  793. package/lib/component/update-label.js +61 -0
  794. package/lib/component/update-label.js.map +1 -0
  795. package/lib/constant.d.ts +122 -0
  796. package/lib/constant.js +137 -0
  797. package/lib/constant.js.map +1 -0
  798. package/lib/core.d.ts +46 -0
  799. package/lib/core.js +101 -0
  800. package/lib/core.js.map +1 -0
  801. package/lib/dependents.d.ts +21 -0
  802. package/lib/dependents.js +55 -0
  803. package/lib/dependents.js.map +1 -0
  804. package/lib/engine/index.d.ts +13 -0
  805. package/lib/engine/index.js +27 -0
  806. package/lib/engine/index.js.map +1 -0
  807. package/lib/facet/circle.d.ts +36 -0
  808. package/lib/facet/circle.js +121 -0
  809. package/lib/facet/circle.js.map +1 -0
  810. package/lib/facet/facet.d.ts +165 -0
  811. package/lib/facet/facet.js +294 -0
  812. package/lib/facet/facet.js.map +1 -0
  813. package/lib/facet/index.d.ts +13 -0
  814. package/lib/facet/index.js +28 -0
  815. package/lib/facet/index.js.map +1 -0
  816. package/lib/facet/list.d.ts +46 -0
  817. package/lib/facet/list.js +136 -0
  818. package/lib/facet/list.js.map +1 -0
  819. package/lib/facet/matrix.d.ts +34 -0
  820. package/lib/facet/matrix.js +121 -0
  821. package/lib/facet/matrix.js.map +1 -0
  822. package/lib/facet/mirror.d.ts +31 -0
  823. package/lib/facet/mirror.js +146 -0
  824. package/lib/facet/mirror.js.map +1 -0
  825. package/lib/facet/rect.d.ts +35 -0
  826. package/lib/facet/rect.js +143 -0
  827. package/lib/facet/rect.js.map +1 -0
  828. package/lib/facet/tree.d.ts +40 -0
  829. package/lib/facet/tree.js +290 -0
  830. package/lib/facet/tree.js.map +1 -0
  831. package/lib/geometry/area.d.ts +46 -0
  832. package/lib/geometry/area.js +64 -0
  833. package/lib/geometry/area.js.map +1 -0
  834. package/lib/geometry/base.d.ts +793 -0
  835. package/lib/geometry/base.js +1489 -0
  836. package/lib/geometry/base.js.map +1 -0
  837. package/lib/geometry/edge.d.ts +15 -0
  838. package/lib/geometry/edge.js +26 -0
  839. package/lib/geometry/edge.js.map +1 -0
  840. package/lib/geometry/element/index.d.ts +127 -0
  841. package/lib/geometry/element/index.js +438 -0
  842. package/lib/geometry/element/index.js.map +1 -0
  843. package/lib/geometry/heatmap.d.ts +31 -0
  844. package/lib/geometry/heatmap.js +192 -0
  845. package/lib/geometry/heatmap.js.map +1 -0
  846. package/lib/geometry/interval.d.ts +41 -0
  847. package/lib/geometry/interval.js +100 -0
  848. package/lib/geometry/interval.js.map +1 -0
  849. package/lib/geometry/label/base.d.ts +76 -0
  850. package/lib/geometry/label/base.js +406 -0
  851. package/lib/geometry/label/base.js.map +1 -0
  852. package/lib/geometry/label/index.d.ts +38 -0
  853. package/lib/geometry/label/index.js +42 -0
  854. package/lib/geometry/label/index.js.map +1 -0
  855. package/lib/geometry/label/interface.d.ts +50 -0
  856. package/lib/geometry/label/interface.js +3 -0
  857. package/lib/geometry/label/interface.js.map +1 -0
  858. package/lib/geometry/label/interval.d.ts +27 -0
  859. package/lib/geometry/label/interval.js +148 -0
  860. package/lib/geometry/label/interval.js.map +1 -0
  861. package/lib/geometry/label/layout/adjust-color.d.ts +3 -0
  862. package/lib/geometry/label/layout/adjust-color.js +40 -0
  863. package/lib/geometry/label/layout/adjust-color.js.map +1 -0
  864. package/lib/geometry/label/layout/hide-overlap.d.ts +8 -0
  865. package/lib/geometry/label/layout/hide-overlap.js +33 -0
  866. package/lib/geometry/label/layout/hide-overlap.js.map +1 -0
  867. package/lib/geometry/label/layout/interval/adjust-position.d.ts +9 -0
  868. package/lib/geometry/label/layout/interval/adjust-position.js +65 -0
  869. package/lib/geometry/label/layout/interval/adjust-position.js.map +1 -0
  870. package/lib/geometry/label/layout/interval/hide-overlap.d.ts +9 -0
  871. package/lib/geometry/label/layout/interval/hide-overlap.js +82 -0
  872. package/lib/geometry/label/layout/interval/hide-overlap.js.map +1 -0
  873. package/lib/geometry/label/layout/limit-in-canvas.d.ts +9 -0
  874. package/lib/geometry/label/layout/limit-in-canvas.js +48 -0
  875. package/lib/geometry/label/layout/limit-in-canvas.js.map +1 -0
  876. package/lib/geometry/label/layout/limit-in-plot.d.ts +18 -0
  877. package/lib/geometry/label/layout/limit-in-plot.js +79 -0
  878. package/lib/geometry/label/layout/limit-in-plot.js.map +1 -0
  879. package/lib/geometry/label/layout/limit-in-shape.d.ts +7 -0
  880. package/lib/geometry/label/layout/limit-in-shape.js +22 -0
  881. package/lib/geometry/label/layout/limit-in-shape.js.map +1 -0
  882. package/lib/geometry/label/layout/overlap.d.ts +15 -0
  883. package/lib/geometry/label/layout/overlap.js +228 -0
  884. package/lib/geometry/label/layout/overlap.js.map +1 -0
  885. package/lib/geometry/label/layout/path/adjust-position.d.ts +17 -0
  886. package/lib/geometry/label/layout/path/adjust-position.js +98 -0
  887. package/lib/geometry/label/layout/path/adjust-position.js.map +1 -0
  888. package/lib/geometry/label/layout/pie/distribute.d.ts +3 -0
  889. package/lib/geometry/label/layout/pie/distribute.js +189 -0
  890. package/lib/geometry/label/layout/pie/distribute.js.map +1 -0
  891. package/lib/geometry/label/layout/pie/outer.d.ts +6 -0
  892. package/lib/geometry/label/layout/pie/outer.js +211 -0
  893. package/lib/geometry/label/layout/pie/outer.js.map +1 -0
  894. package/lib/geometry/label/layout/pie/spider.d.ts +7 -0
  895. package/lib/geometry/label/layout/pie/spider.js +185 -0
  896. package/lib/geometry/label/layout/pie/spider.js.map +1 -0
  897. package/lib/geometry/label/layout/pie/util.d.ts +10 -0
  898. package/lib/geometry/label/layout/pie/util.js +77 -0
  899. package/lib/geometry/label/layout/pie/util.js.map +1 -0
  900. package/lib/geometry/label/layout/point/adjust-position.d.ts +17 -0
  901. package/lib/geometry/label/layout/point/adjust-position.js +98 -0
  902. package/lib/geometry/label/layout/point/adjust-position.js.map +1 -0
  903. package/lib/geometry/label/pie.d.ts +22 -0
  904. package/lib/geometry/label/pie.js +97 -0
  905. package/lib/geometry/label/pie.js.map +1 -0
  906. package/lib/geometry/label/polar.d.ts +64 -0
  907. package/lib/geometry/label/polar.js +223 -0
  908. package/lib/geometry/label/polar.js.map +1 -0
  909. package/lib/geometry/label/util/index.d.ts +26 -0
  910. package/lib/geometry/label/util/index.js +68 -0
  911. package/lib/geometry/label/util/index.js.map +1 -0
  912. package/lib/geometry/line.d.ts +11 -0
  913. package/lib/geometry/line.js +23 -0
  914. package/lib/geometry/line.js.map +1 -0
  915. package/lib/geometry/path.d.ts +40 -0
  916. package/lib/geometry/path.js +124 -0
  917. package/lib/geometry/path.js.map +1 -0
  918. package/lib/geometry/point.d.ts +19 -0
  919. package/lib/geometry/point.js +32 -0
  920. package/lib/geometry/point.js.map +1 -0
  921. package/lib/geometry/polygon.d.ts +19 -0
  922. package/lib/geometry/polygon.js +64 -0
  923. package/lib/geometry/polygon.js.map +1 -0
  924. package/lib/geometry/schema.d.ts +18 -0
  925. package/lib/geometry/schema.js +50 -0
  926. package/lib/geometry/schema.js.map +1 -0
  927. package/lib/geometry/shape/area/index.d.ts +2 -0
  928. package/lib/geometry/shape/area/index.js +46 -0
  929. package/lib/geometry/shape/area/index.js.map +1 -0
  930. package/lib/geometry/shape/area/line.d.ts +1 -0
  931. package/lib/geometry/shape/area/line.js +33 -0
  932. package/lib/geometry/shape/area/line.js.map +1 -0
  933. package/lib/geometry/shape/area/smooth-line.d.ts +1 -0
  934. package/lib/geometry/shape/area/smooth-line.js +32 -0
  935. package/lib/geometry/shape/area/smooth-line.js.map +1 -0
  936. package/lib/geometry/shape/area/smooth.d.ts +1 -0
  937. package/lib/geometry/shape/area/smooth.js +33 -0
  938. package/lib/geometry/shape/area/smooth.js.map +1 -0
  939. package/lib/geometry/shape/area/util.d.ts +22 -0
  940. package/lib/geometry/shape/area/util.js +93 -0
  941. package/lib/geometry/shape/area/util.js.map +1 -0
  942. package/lib/geometry/shape/base.d.ts +22 -0
  943. package/lib/geometry/shape/base.js +168 -0
  944. package/lib/geometry/shape/base.js.map +1 -0
  945. package/lib/geometry/shape/constant.d.ts +4 -0
  946. package/lib/geometry/shape/constant.js +8 -0
  947. package/lib/geometry/shape/constant.js.map +1 -0
  948. package/lib/geometry/shape/edge/arc.d.ts +1 -0
  949. package/lib/geometry/shape/edge/arc.js +86 -0
  950. package/lib/geometry/shape/edge/arc.js.map +1 -0
  951. package/lib/geometry/shape/edge/index.d.ts +2 -0
  952. package/lib/geometry/shape/edge/index.js +33 -0
  953. package/lib/geometry/shape/edge/index.js.map +1 -0
  954. package/lib/geometry/shape/edge/smooth.d.ts +1 -0
  955. package/lib/geometry/shape/edge/smooth.js +32 -0
  956. package/lib/geometry/shape/edge/smooth.js.map +1 -0
  957. package/lib/geometry/shape/edge/util.d.ts +17 -0
  958. package/lib/geometry/shape/edge/util.js +37 -0
  959. package/lib/geometry/shape/edge/util.js.map +1 -0
  960. package/lib/geometry/shape/edge/vhv.d.ts +1 -0
  961. package/lib/geometry/shape/edge/vhv.js +44 -0
  962. package/lib/geometry/shape/edge/vhv.js.map +1 -0
  963. package/lib/geometry/shape/interval/funnel.d.ts +1 -0
  964. package/lib/geometry/shape/interval/funnel.js +33 -0
  965. package/lib/geometry/shape/interval/funnel.js.map +1 -0
  966. package/lib/geometry/shape/interval/hollow-rect.d.ts +1 -0
  967. package/lib/geometry/shape/interval/hollow-rect.js +53 -0
  968. package/lib/geometry/shape/interval/hollow-rect.js.map +1 -0
  969. package/lib/geometry/shape/interval/index.d.ts +3 -0
  970. package/lib/geometry/shape/interval/index.js +65 -0
  971. package/lib/geometry/shape/interval/index.js.map +1 -0
  972. package/lib/geometry/shape/interval/line.d.ts +1 -0
  973. package/lib/geometry/shape/interval/line.js +56 -0
  974. package/lib/geometry/shape/interval/line.js.map +1 -0
  975. package/lib/geometry/shape/interval/pyramid.d.ts +1 -0
  976. package/lib/geometry/shape/interval/pyramid.js +33 -0
  977. package/lib/geometry/shape/interval/pyramid.js.map +1 -0
  978. package/lib/geometry/shape/interval/tick.d.ts +1 -0
  979. package/lib/geometry/shape/interval/tick.js +79 -0
  980. package/lib/geometry/shape/interval/tick.js.map +1 -0
  981. package/lib/geometry/shape/interval/util.d.ts +55 -0
  982. package/lib/geometry/shape/interval/util.js +321 -0
  983. package/lib/geometry/shape/interval/util.js.map +1 -0
  984. package/lib/geometry/shape/line/index.d.ts +8 -0
  985. package/lib/geometry/shape/line/index.js +109 -0
  986. package/lib/geometry/shape/line/index.js.map +1 -0
  987. package/lib/geometry/shape/line/step.d.ts +1 -0
  988. package/lib/geometry/shape/line/step.js +86 -0
  989. package/lib/geometry/shape/line/step.js.map +1 -0
  990. package/lib/geometry/shape/line/util.d.ts +16 -0
  991. package/lib/geometry/shape/line/util.js +87 -0
  992. package/lib/geometry/shape/line/util.js.map +1 -0
  993. package/lib/geometry/shape/point/hollow.d.ts +1 -0
  994. package/lib/geometry/shape/point/hollow.js +26 -0
  995. package/lib/geometry/shape/point/hollow.js.map +1 -0
  996. package/lib/geometry/shape/point/image.d.ts +1 -0
  997. package/lib/geometry/shape/point/image.js +50 -0
  998. package/lib/geometry/shape/point/image.js.map +1 -0
  999. package/lib/geometry/shape/point/index.d.ts +2 -0
  1000. package/lib/geometry/shape/point/index.js +34 -0
  1001. package/lib/geometry/shape/point/index.js.map +1 -0
  1002. package/lib/geometry/shape/point/solid.d.ts +1 -0
  1003. package/lib/geometry/shape/point/solid.js +25 -0
  1004. package/lib/geometry/shape/point/solid.js.map +1 -0
  1005. package/lib/geometry/shape/point/util.d.ts +15 -0
  1006. package/lib/geometry/shape/point/util.js +43 -0
  1007. package/lib/geometry/shape/point/util.js.map +1 -0
  1008. package/lib/geometry/shape/polygon/index.d.ts +2 -0
  1009. package/lib/geometry/shape/polygon/index.js +67 -0
  1010. package/lib/geometry/shape/polygon/index.js.map +1 -0
  1011. package/lib/geometry/shape/polygon/square.d.ts +1 -0
  1012. package/lib/geometry/shape/polygon/square.js +46 -0
  1013. package/lib/geometry/shape/polygon/square.js.map +1 -0
  1014. package/lib/geometry/shape/schema/box.d.ts +1 -0
  1015. package/lib/geometry/shape/schema/box.js +144 -0
  1016. package/lib/geometry/shape/schema/box.js.map +1 -0
  1017. package/lib/geometry/shape/schema/candle.d.ts +1 -0
  1018. package/lib/geometry/shape/schema/candle.js +82 -0
  1019. package/lib/geometry/shape/schema/candle.js.map +1 -0
  1020. package/lib/geometry/shape/schema/index.d.ts +2 -0
  1021. package/lib/geometry/shape/schema/index.js +8 -0
  1022. package/lib/geometry/shape/schema/index.js.map +1 -0
  1023. package/lib/geometry/shape/util/get-path-points.d.ts +38 -0
  1024. package/lib/geometry/shape/util/get-path-points.js +137 -0
  1025. package/lib/geometry/shape/util/get-path-points.js.map +1 -0
  1026. package/lib/geometry/shape/util/get-style.d.ts +18 -0
  1027. package/lib/geometry/shape/util/get-style.js +52 -0
  1028. package/lib/geometry/shape/util/get-style.js.map +1 -0
  1029. package/lib/geometry/shape/util/path.d.ts +32 -0
  1030. package/lib/geometry/shape/util/path.js +320 -0
  1031. package/lib/geometry/shape/util/path.js.map +1 -0
  1032. package/lib/geometry/shape/util/split-points.d.ts +13 -0
  1033. package/lib/geometry/shape/util/split-points.js +28 -0
  1034. package/lib/geometry/shape/util/split-points.js.map +1 -0
  1035. package/lib/geometry/shape/violin/hollow.d.ts +1 -0
  1036. package/lib/geometry/shape/violin/hollow.js +53 -0
  1037. package/lib/geometry/shape/violin/hollow.js.map +1 -0
  1038. package/lib/geometry/shape/violin/index.d.ts +2 -0
  1039. package/lib/geometry/shape/violin/index.js +62 -0
  1040. package/lib/geometry/shape/violin/index.js.map +1 -0
  1041. package/lib/geometry/shape/violin/smooth.d.ts +1 -0
  1042. package/lib/geometry/shape/violin/smooth.js +30 -0
  1043. package/lib/geometry/shape/violin/smooth.js.map +1 -0
  1044. package/lib/geometry/util/diff.d.ts +11 -0
  1045. package/lib/geometry/util/diff.js +34 -0
  1046. package/lib/geometry/util/diff.js.map +1 -0
  1047. package/lib/geometry/util/get-shape-type.d.ts +8 -0
  1048. package/lib/geometry/util/get-shape-type.js +20 -0
  1049. package/lib/geometry/util/get-shape-type.js.map +1 -0
  1050. package/lib/geometry/util/group-data.d.ts +3 -0
  1051. package/lib/geometry/util/group-data.js +35 -0
  1052. package/lib/geometry/util/group-data.js.map +1 -0
  1053. package/lib/geometry/util/is-model-change.d.ts +9 -0
  1054. package/lib/geometry/util/is-model-change.js +18 -0
  1055. package/lib/geometry/util/is-model-change.js.map +1 -0
  1056. package/lib/geometry/util/parse-fields.d.ts +2 -0
  1057. package/lib/geometry/util/parse-fields.js +13 -0
  1058. package/lib/geometry/util/parse-fields.js.map +1 -0
  1059. package/lib/geometry/util/shape-size.d.ts +2 -0
  1060. package/lib/geometry/util/shape-size.js +128 -0
  1061. package/lib/geometry/util/shape-size.js.map +1 -0
  1062. package/lib/geometry/violin.d.ts +25 -0
  1063. package/lib/geometry/violin.js +69 -0
  1064. package/lib/geometry/violin.js.map +1 -0
  1065. package/lib/index.d.ts +107 -0
  1066. package/lib/index.js +586 -0
  1067. package/lib/index.js.map +1 -0
  1068. package/lib/interaction/action/active-region.d.ts +33 -0
  1069. package/lib/interaction/action/active-region.js +202 -0
  1070. package/lib/interaction/action/active-region.js.map +1 -0
  1071. package/lib/interaction/action/base.d.ts +29 -0
  1072. package/lib/interaction/action/base.js +38 -0
  1073. package/lib/interaction/action/base.js.map +1 -0
  1074. package/lib/interaction/action/callback.d.ts +17 -0
  1075. package/lib/interaction/action/callback.js +29 -0
  1076. package/lib/interaction/action/callback.js.map +1 -0
  1077. package/lib/interaction/action/component/list-active.d.ts +14 -0
  1078. package/lib/interaction/action/component/list-active.js +26 -0
  1079. package/lib/interaction/action/component/list-active.js.map +1 -0
  1080. package/lib/interaction/action/component/list-checked.d.ts +30 -0
  1081. package/lib/interaction/action/component/list-checked.js +84 -0
  1082. package/lib/interaction/action/component/list-checked.js.map +1 -0
  1083. package/lib/interaction/action/component/list-focus.d.ts +5 -0
  1084. package/lib/interaction/action/component/list-focus.js +57 -0
  1085. package/lib/interaction/action/component/list-focus.js.map +1 -0
  1086. package/lib/interaction/action/component/list-highlight-util.d.ts +7 -0
  1087. package/lib/interaction/action/component/list-highlight-util.js +24 -0
  1088. package/lib/interaction/action/component/list-highlight-util.js.map +1 -0
  1089. package/lib/interaction/action/component/list-highlight.d.ts +20 -0
  1090. package/lib/interaction/action/component/list-highlight.js +99 -0
  1091. package/lib/interaction/action/component/list-highlight.js.map +1 -0
  1092. package/lib/interaction/action/component/list-radio.d.ts +24 -0
  1093. package/lib/interaction/action/component/list-radio.js +118 -0
  1094. package/lib/interaction/action/component/list-radio.js.map +1 -0
  1095. package/lib/interaction/action/component/list-selected.d.ts +10 -0
  1096. package/lib/interaction/action/component/list-selected.js +22 -0
  1097. package/lib/interaction/action/component/list-selected.js.map +1 -0
  1098. package/lib/interaction/action/component/list-state.d.ts +46 -0
  1099. package/lib/interaction/action/component/list-state.js +169 -0
  1100. package/lib/interaction/action/component/list-state.js.map +1 -0
  1101. package/lib/interaction/action/component/list-unchecked.d.ts +13 -0
  1102. package/lib/interaction/action/component/list-unchecked.js +25 -0
  1103. package/lib/interaction/action/component/list-unchecked.js.map +1 -0
  1104. package/lib/interaction/action/component/tooltip/ellipsis-text.d.ts +25 -0
  1105. package/lib/interaction/action/component/tooltip/ellipsis-text.js +95 -0
  1106. package/lib/interaction/action/component/tooltip/ellipsis-text.js.map +1 -0
  1107. package/lib/interaction/action/component/tooltip/geometry.d.ts +24 -0
  1108. package/lib/interaction/action/component/tooltip/geometry.js +73 -0
  1109. package/lib/interaction/action/component/tooltip/geometry.js.map +1 -0
  1110. package/lib/interaction/action/component/tooltip/sibling.d.ts +21 -0
  1111. package/lib/interaction/action/component/tooltip/sibling.js +41 -0
  1112. package/lib/interaction/action/component/tooltip/sibling.js.map +1 -0
  1113. package/lib/interaction/action/cursor.d.ts +69 -0
  1114. package/lib/interaction/action/cursor.js +115 -0
  1115. package/lib/interaction/action/cursor.js.map +1 -0
  1116. package/lib/interaction/action/data/filter.d.ts +13 -0
  1117. package/lib/interaction/action/data/filter.js +68 -0
  1118. package/lib/interaction/action/data/filter.js.map +1 -0
  1119. package/lib/interaction/action/data/range-filter.d.ts +56 -0
  1120. package/lib/interaction/action/data/range-filter.js +166 -0
  1121. package/lib/interaction/action/data/range-filter.js.map +1 -0
  1122. package/lib/interaction/action/data/sibling-filter.d.ts +22 -0
  1123. package/lib/interaction/action/data/sibling-filter.js +41 -0
  1124. package/lib/interaction/action/data/sibling-filter.js.map +1 -0
  1125. package/lib/interaction/action/element/active.d.ts +14 -0
  1126. package/lib/interaction/action/element/active.js +26 -0
  1127. package/lib/interaction/action/element/active.js.map +1 -0
  1128. package/lib/interaction/action/element/filter.d.ts +20 -0
  1129. package/lib/interaction/action/element/filter.js +91 -0
  1130. package/lib/interaction/action/element/filter.js.map +1 -0
  1131. package/lib/interaction/action/element/highlight-by-color.d.ts +10 -0
  1132. package/lib/interaction/action/element/highlight-by-color.js +32 -0
  1133. package/lib/interaction/action/element/highlight-by-color.js.map +1 -0
  1134. package/lib/interaction/action/element/highlight-by-x.d.ts +15 -0
  1135. package/lib/interaction/action/element/highlight-by-x.js +53 -0
  1136. package/lib/interaction/action/element/highlight-by-x.js.map +1 -0
  1137. package/lib/interaction/action/element/highlight-util.d.ts +18 -0
  1138. package/lib/interaction/action/element/highlight-util.js +50 -0
  1139. package/lib/interaction/action/element/highlight-util.js.map +1 -0
  1140. package/lib/interaction/action/element/highlight.d.ts +21 -0
  1141. package/lib/interaction/action/element/highlight.js +96 -0
  1142. package/lib/interaction/action/element/highlight.js.map +1 -0
  1143. package/lib/interaction/action/element/link-by-color.d.ts +51 -0
  1144. package/lib/interaction/action/element/link-by-color.js +158 -0
  1145. package/lib/interaction/action/element/link-by-color.js.map +1 -0
  1146. package/lib/interaction/action/element/range-active.d.ts +13 -0
  1147. package/lib/interaction/action/element/range-active.js +25 -0
  1148. package/lib/interaction/action/element/range-active.js.map +1 -0
  1149. package/lib/interaction/action/element/range-highlight.d.ts +27 -0
  1150. package/lib/interaction/action/element/range-highlight.js +57 -0
  1151. package/lib/interaction/action/element/range-highlight.js.map +1 -0
  1152. package/lib/interaction/action/element/range-selected.d.ts +13 -0
  1153. package/lib/interaction/action/element/range-selected.js +25 -0
  1154. package/lib/interaction/action/element/range-selected.js.map +1 -0
  1155. package/lib/interaction/action/element/range-state.d.ts +38 -0
  1156. package/lib/interaction/action/element/range-state.js +166 -0
  1157. package/lib/interaction/action/element/range-state.js.map +1 -0
  1158. package/lib/interaction/action/element/selected.d.ts +14 -0
  1159. package/lib/interaction/action/element/selected.js +26 -0
  1160. package/lib/interaction/action/element/selected.js.map +1 -0
  1161. package/lib/interaction/action/element/sibling-filter.d.ts +19 -0
  1162. package/lib/interaction/action/element/sibling-filter.js +95 -0
  1163. package/lib/interaction/action/element/sibling-filter.js.map +1 -0
  1164. package/lib/interaction/action/element/single-active.d.ts +13 -0
  1165. package/lib/interaction/action/element/single-active.js +25 -0
  1166. package/lib/interaction/action/element/single-active.js.map +1 -0
  1167. package/lib/interaction/action/element/single-highlight.d.ts +16 -0
  1168. package/lib/interaction/action/element/single-highlight.js +37 -0
  1169. package/lib/interaction/action/element/single-highlight.js.map +1 -0
  1170. package/lib/interaction/action/element/single-selected.d.ts +13 -0
  1171. package/lib/interaction/action/element/single-selected.js +25 -0
  1172. package/lib/interaction/action/element/single-selected.js.map +1 -0
  1173. package/lib/interaction/action/element/single-state.d.ts +18 -0
  1174. package/lib/interaction/action/element/single-state.js +55 -0
  1175. package/lib/interaction/action/element/single-state.js.map +1 -0
  1176. package/lib/interaction/action/element/state-base.d.ts +39 -0
  1177. package/lib/interaction/action/element/state-base.js +61 -0
  1178. package/lib/interaction/action/element/state-base.js.map +1 -0
  1179. package/lib/interaction/action/element/state.d.ts +28 -0
  1180. package/lib/interaction/action/element/state.js +101 -0
  1181. package/lib/interaction/action/element/state.js.map +1 -0
  1182. package/lib/interaction/action/index.d.ts +2 -0
  1183. package/lib/interaction/action/index.js +13 -0
  1184. package/lib/interaction/action/index.js.map +1 -0
  1185. package/lib/interaction/action/mask/base.d.ts +62 -0
  1186. package/lib/interaction/action/mask/base.js +171 -0
  1187. package/lib/interaction/action/mask/base.js.map +1 -0
  1188. package/lib/interaction/action/mask/circle.d.ts +14 -0
  1189. package/lib/interaction/action/mask/circle.js +39 -0
  1190. package/lib/interaction/action/mask/circle.js.map +1 -0
  1191. package/lib/interaction/action/mask/dim-rect.d.ts +11 -0
  1192. package/lib/interaction/action/mask/dim-rect.js +64 -0
  1193. package/lib/interaction/action/mask/dim-rect.js.map +1 -0
  1194. package/lib/interaction/action/mask/path.d.ts +16 -0
  1195. package/lib/interaction/action/mask/path.js +46 -0
  1196. package/lib/interaction/action/mask/path.js.map +1 -0
  1197. package/lib/interaction/action/mask/rect.d.ts +17 -0
  1198. package/lib/interaction/action/mask/rect.js +41 -0
  1199. package/lib/interaction/action/mask/rect.js.map +1 -0
  1200. package/lib/interaction/action/mask/smooth-path.d.ts +9 -0
  1201. package/lib/interaction/action/mask/smooth-path.js +23 -0
  1202. package/lib/interaction/action/mask/smooth-path.js.map +1 -0
  1203. package/lib/interaction/action/register.d.ts +36 -0
  1204. package/lib/interaction/action/register.js +69 -0
  1205. package/lib/interaction/action/register.js.map +1 -0
  1206. package/lib/interaction/action/util.d.ts +140 -0
  1207. package/lib/interaction/action/util.js +387 -0
  1208. package/lib/interaction/action/util.js.map +1 -0
  1209. package/lib/interaction/action/view/button.d.ts +25 -0
  1210. package/lib/interaction/action/view/button.js +118 -0
  1211. package/lib/interaction/action/view/button.js.map +1 -0
  1212. package/lib/interaction/action/view/drag.d.ts +24 -0
  1213. package/lib/interaction/action/view/drag.js +75 -0
  1214. package/lib/interaction/action/view/drag.js.map +1 -0
  1215. package/lib/interaction/action/view/mousewheel-scroll.d.ts +5 -0
  1216. package/lib/interaction/action/view/mousewheel-scroll.js +37 -0
  1217. package/lib/interaction/action/view/mousewheel-scroll.js.map +1 -0
  1218. package/lib/interaction/action/view/move.d.ts +28 -0
  1219. package/lib/interaction/action/view/move.js +82 -0
  1220. package/lib/interaction/action/view/move.js.map +1 -0
  1221. package/lib/interaction/action/view/scale-transform.d.ts +18 -0
  1222. package/lib/interaction/action/view/scale-transform.js +53 -0
  1223. package/lib/interaction/action/view/scale-transform.js.map +1 -0
  1224. package/lib/interaction/action/view/scale-translate.d.ts +30 -0
  1225. package/lib/interaction/action/view/scale-translate.js +114 -0
  1226. package/lib/interaction/action/view/scale-translate.js.map +1 -0
  1227. package/lib/interaction/action/view/scale-zoom.d.ts +20 -0
  1228. package/lib/interaction/action/view/scale-zoom.js +85 -0
  1229. package/lib/interaction/action/view/scale-zoom.js.map +1 -0
  1230. package/lib/interaction/context.d.ts +65 -0
  1231. package/lib/interaction/context.js +144 -0
  1232. package/lib/interaction/context.js.map +1 -0
  1233. package/lib/interaction/grammar-interaction.d.ts +158 -0
  1234. package/lib/interaction/grammar-interaction.js +289 -0
  1235. package/lib/interaction/grammar-interaction.js.map +1 -0
  1236. package/lib/interaction/index.d.ts +25 -0
  1237. package/lib/interaction/index.js +54 -0
  1238. package/lib/interaction/index.js.map +1 -0
  1239. package/lib/interaction/interaction.d.ts +29 -0
  1240. package/lib/interaction/interaction.js +34 -0
  1241. package/lib/interaction/interaction.js.map +1 -0
  1242. package/lib/interface.d.ts +2264 -0
  1243. package/lib/interface.js +3 -0
  1244. package/lib/interface.js.map +1 -0
  1245. package/lib/theme/index.d.ts +12 -0
  1246. package/lib/theme/index.js +28 -0
  1247. package/lib/theme/index.js.map +1 -0
  1248. package/lib/theme/style-sheet/dark.d.ts +825 -0
  1249. package/lib/theme/style-sheet/dark.js +500 -0
  1250. package/lib/theme/style-sheet/dark.js.map +1 -0
  1251. package/lib/theme/style-sheet/light.d.ts +817 -0
  1252. package/lib/theme/style-sheet/light.js +496 -0
  1253. package/lib/theme/style-sheet/light.js.map +1 -0
  1254. package/lib/theme/util/create-by-style-sheet.d.ts +6 -0
  1255. package/lib/theme/util/create-by-style-sheet.js +1426 -0
  1256. package/lib/theme/util/create-by-style-sheet.js.map +1 -0
  1257. package/lib/theme/util/create-theme.d.ts +6 -0
  1258. package/lib/theme/util/create-theme.js +16 -0
  1259. package/lib/theme/util/create-theme.js.map +1 -0
  1260. package/lib/theme/util/index.d.ts +1 -0
  1261. package/lib/theme/util/index.js +6 -0
  1262. package/lib/theme/util/index.js.map +1 -0
  1263. package/lib/util/annotation.d.ts +7 -0
  1264. package/lib/util/annotation.js +43 -0
  1265. package/lib/util/annotation.js.map +1 -0
  1266. package/lib/util/attr.d.ts +10 -0
  1267. package/lib/util/attr.js +29 -0
  1268. package/lib/util/attr.js.map +1 -0
  1269. package/lib/util/axis.d.ts +100 -0
  1270. package/lib/util/axis.js +251 -0
  1271. package/lib/util/axis.js.map +1 -0
  1272. package/lib/util/bbox.d.ts +105 -0
  1273. package/lib/util/bbox.js +287 -0
  1274. package/lib/util/bbox.js.map +1 -0
  1275. package/lib/util/collision-detect.d.ts +16 -0
  1276. package/lib/util/collision-detect.js +132 -0
  1277. package/lib/util/collision-detect.js.map +1 -0
  1278. package/lib/util/color.d.ts +1 -0
  1279. package/lib/util/color.js +23 -0
  1280. package/lib/util/color.js.map +1 -0
  1281. package/lib/util/context.d.ts +4 -0
  1282. package/lib/util/context.js +15 -0
  1283. package/lib/util/context.js.map +1 -0
  1284. package/lib/util/coordinate.d.ts +86 -0
  1285. package/lib/util/coordinate.js +157 -0
  1286. package/lib/util/coordinate.js.map +1 -0
  1287. package/lib/util/direction.d.ts +19 -0
  1288. package/lib/util/direction.js +125 -0
  1289. package/lib/util/direction.js.map +1 -0
  1290. package/lib/util/dom.d.ts +19 -0
  1291. package/lib/util/dom.js +68 -0
  1292. package/lib/util/dom.js.map +1 -0
  1293. package/lib/util/event.d.ts +8 -0
  1294. package/lib/util/event.js +18 -0
  1295. package/lib/util/event.js.map +1 -0
  1296. package/lib/util/facet.d.ts +16 -0
  1297. package/lib/util/facet.js +48 -0
  1298. package/lib/util/facet.js.map +1 -0
  1299. package/lib/util/graphics.d.ts +58 -0
  1300. package/lib/util/graphics.js +212 -0
  1301. package/lib/util/graphics.js.map +1 -0
  1302. package/lib/util/grid.d.ts +36 -0
  1303. package/lib/util/grid.js +125 -0
  1304. package/lib/util/grid.js.map +1 -0
  1305. package/lib/util/helper.d.ts +34 -0
  1306. package/lib/util/helper.js +79 -0
  1307. package/lib/util/helper.js.map +1 -0
  1308. package/lib/util/legend.d.ts +45 -0
  1309. package/lib/util/legend.js +152 -0
  1310. package/lib/util/legend.js.map +1 -0
  1311. package/lib/util/marker.d.ts +10 -0
  1312. package/lib/util/marker.js +61 -0
  1313. package/lib/util/marker.js.map +1 -0
  1314. package/lib/util/padding.d.ts +14 -0
  1315. package/lib/util/padding.js +45 -0
  1316. package/lib/util/padding.js.map +1 -0
  1317. package/lib/util/scale.d.ts +42 -0
  1318. package/lib/util/scale.js +137 -0
  1319. package/lib/util/scale.js.map +1 -0
  1320. package/lib/util/stat.d.ts +10 -0
  1321. package/lib/util/stat.js +41 -0
  1322. package/lib/util/stat.js.map +1 -0
  1323. package/lib/util/text.d.ts +23 -0
  1324. package/lib/util/text.js +88 -0
  1325. package/lib/util/text.js.map +1 -0
  1326. package/lib/util/tooltip.d.ts +26 -0
  1327. package/lib/util/tooltip.js +426 -0
  1328. package/lib/util/tooltip.js.map +1 -0
  1329. package/lib/util/transform.d.ts +33 -0
  1330. package/lib/util/transform.js +69 -0
  1331. package/lib/util/transform.js.map +1 -0
  1332. package/lib/util/types.d.ts +6 -0
  1333. package/lib/util/types.js +3 -0
  1334. package/lib/util/types.js.map +1 -0
  1335. package/package.json +4 -3
  1336. package/src/core.ts +1 -1
@@ -0,0 +1,1426 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createThemeByStyleSheet = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var component_1 = require("@antv/component");
6
+ var matrix_util_1 = require("@antv/matrix-util");
7
+ var util_1 = require("@antv/util");
8
+ var graphics_1 = require("../../util/graphics");
9
+ /**
10
+ * 根据样式表创建 axis 组件主题样式
11
+ * @param styleSheet
12
+ */
13
+ function createAxisStyles(styleSheet) {
14
+ return {
15
+ title: {
16
+ autoRotate: true,
17
+ position: 'center',
18
+ spacing: styleSheet.axisTitleSpacing,
19
+ style: {
20
+ fill: styleSheet.axisTitleTextFillColor,
21
+ fontSize: styleSheet.axisTitleTextFontSize,
22
+ lineHeight: styleSheet.axisTitleTextLineHeight,
23
+ textBaseline: 'middle',
24
+ fontFamily: styleSheet.fontFamily,
25
+ },
26
+ },
27
+ label: {
28
+ autoRotate: false,
29
+ autoEllipsis: false,
30
+ autoHide: { type: 'equidistance', cfg: { minGap: 6 } },
31
+ offset: styleSheet.axisLabelOffset,
32
+ style: {
33
+ fill: styleSheet.axisLabelFillColor,
34
+ fontSize: styleSheet.axisLabelFontSize,
35
+ lineHeight: styleSheet.axisLabelLineHeight,
36
+ fontFamily: styleSheet.fontFamily,
37
+ },
38
+ },
39
+ line: {
40
+ style: {
41
+ lineWidth: styleSheet.axisLineBorder,
42
+ stroke: styleSheet.axisLineBorderColor,
43
+ },
44
+ },
45
+ grid: {
46
+ line: {
47
+ type: 'line',
48
+ style: {
49
+ stroke: styleSheet.axisGridBorderColor,
50
+ lineWidth: styleSheet.axisGridBorder,
51
+ lineDash: styleSheet.axisGridLineDash,
52
+ },
53
+ },
54
+ alignTick: true,
55
+ animate: true,
56
+ },
57
+ tickLine: {
58
+ style: {
59
+ lineWidth: styleSheet.axisTickLineBorder,
60
+ stroke: styleSheet.axisTickLineBorderColor,
61
+ },
62
+ alignTick: true,
63
+ length: styleSheet.axisTickLineLength,
64
+ },
65
+ subTickLine: null,
66
+ animate: true,
67
+ };
68
+ }
69
+ /**
70
+ *
71
+ * @param styleSheet
72
+ */
73
+ // export function
74
+ /**
75
+ * 根据样式表创建 legend 组件主题样式
76
+ * @param styleSheet
77
+ */
78
+ function createLegendStyles(styleSheet) {
79
+ return {
80
+ title: null,
81
+ marker: {
82
+ symbol: 'circle',
83
+ spacing: styleSheet.legendMarkerSpacing,
84
+ style: {
85
+ r: styleSheet.legendCircleMarkerSize,
86
+ fill: styleSheet.legendMarkerColor,
87
+ },
88
+ },
89
+ itemName: {
90
+ spacing: 5,
91
+ style: {
92
+ fill: styleSheet.legendItemNameFillColor,
93
+ fontFamily: styleSheet.fontFamily,
94
+ fontSize: styleSheet.legendItemNameFontSize,
95
+ lineHeight: styleSheet.legendItemNameLineHeight,
96
+ fontWeight: styleSheet.legendItemNameFontWeight,
97
+ textAlign: 'start',
98
+ textBaseline: 'middle',
99
+ },
100
+ },
101
+ itemStates: {
102
+ active: {
103
+ nameStyle: {
104
+ opacity: 0.8,
105
+ },
106
+ },
107
+ unchecked: {
108
+ nameStyle: {
109
+ fill: '#D8D8D8',
110
+ },
111
+ markerStyle: {
112
+ fill: '#D8D8D8',
113
+ stroke: '#D8D8D8',
114
+ },
115
+ },
116
+ inactive: {
117
+ nameStyle: {
118
+ fill: '#D8D8D8',
119
+ },
120
+ markerStyle: {
121
+ opacity: 0.2,
122
+ },
123
+ },
124
+ },
125
+ flipPage: true,
126
+ pageNavigator: {
127
+ marker: {
128
+ style: {
129
+ size: styleSheet.legendPageNavigatorMarkerSize,
130
+ inactiveFill: styleSheet.legendPageNavigatorMarkerInactiveFillColor,
131
+ inactiveOpacity: styleSheet.legendPageNavigatorMarkerInactiveFillOpacity,
132
+ fill: styleSheet.legendPageNavigatorMarkerFillColor,
133
+ opacity: styleSheet.legendPageNavigatorMarkerFillOpacity,
134
+ },
135
+ },
136
+ text: {
137
+ style: {
138
+ fill: styleSheet.legendPageNavigatorTextFillColor,
139
+ fontSize: styleSheet.legendPageNavigatorTextFontSize,
140
+ },
141
+ },
142
+ },
143
+ animate: false,
144
+ maxItemWidth: 200,
145
+ itemSpacing: styleSheet.legendItemSpacing,
146
+ itemMarginBottom: styleSheet.legendItemMarginBottom,
147
+ padding: styleSheet.legendPadding, // 图例组件自己的外边距
148
+ };
149
+ }
150
+ /**
151
+ * 根据主题样式表生成主题结构
152
+ * @param styleSheet 主题样式表
153
+ */
154
+ function createThemeByStyleSheet(styleSheet) {
155
+ var _a;
156
+ var shapeStyles = {
157
+ point: {
158
+ default: {
159
+ fill: styleSheet.pointFillColor,
160
+ r: styleSheet.pointSize,
161
+ stroke: styleSheet.pointBorderColor,
162
+ lineWidth: styleSheet.pointBorder,
163
+ fillOpacity: styleSheet.pointFillOpacity,
164
+ },
165
+ active: {
166
+ stroke: styleSheet.pointActiveBorderColor,
167
+ lineWidth: styleSheet.pointActiveBorder,
168
+ },
169
+ selected: {
170
+ stroke: styleSheet.pointSelectedBorderColor,
171
+ lineWidth: styleSheet.pointSelectedBorder,
172
+ },
173
+ inactive: {
174
+ fillOpacity: styleSheet.pointInactiveFillOpacity,
175
+ strokeOpacity: styleSheet.pointInactiveBorderOpacity,
176
+ },
177
+ },
178
+ hollowPoint: {
179
+ default: {
180
+ fill: styleSheet.hollowPointFillColor,
181
+ lineWidth: styleSheet.hollowPointBorder,
182
+ stroke: styleSheet.hollowPointBorderColor,
183
+ strokeOpacity: styleSheet.hollowPointBorderOpacity,
184
+ r: styleSheet.hollowPointSize,
185
+ },
186
+ active: {
187
+ stroke: styleSheet.hollowPointActiveBorderColor,
188
+ strokeOpacity: styleSheet.hollowPointActiveBorderOpacity,
189
+ },
190
+ selected: {
191
+ lineWidth: styleSheet.hollowPointSelectedBorder,
192
+ stroke: styleSheet.hollowPointSelectedBorderColor,
193
+ strokeOpacity: styleSheet.hollowPointSelectedBorderOpacity,
194
+ },
195
+ inactive: {
196
+ strokeOpacity: styleSheet.hollowPointInactiveBorderOpacity,
197
+ },
198
+ },
199
+ area: {
200
+ default: {
201
+ fill: styleSheet.areaFillColor,
202
+ fillOpacity: styleSheet.areaFillOpacity,
203
+ stroke: null,
204
+ },
205
+ active: {
206
+ fillOpacity: styleSheet.areaActiveFillOpacity,
207
+ },
208
+ selected: {
209
+ fillOpacity: styleSheet.areaSelectedFillOpacity,
210
+ },
211
+ inactive: {
212
+ fillOpacity: styleSheet.areaInactiveFillOpacity,
213
+ },
214
+ },
215
+ hollowArea: {
216
+ default: {
217
+ fill: null,
218
+ stroke: styleSheet.hollowAreaBorderColor,
219
+ lineWidth: styleSheet.hollowAreaBorder,
220
+ strokeOpacity: styleSheet.hollowAreaBorderOpacity,
221
+ },
222
+ active: {
223
+ fill: null,
224
+ lineWidth: styleSheet.hollowAreaActiveBorder,
225
+ },
226
+ selected: {
227
+ fill: null,
228
+ lineWidth: styleSheet.hollowAreaSelectedBorder,
229
+ },
230
+ inactive: {
231
+ strokeOpacity: styleSheet.hollowAreaInactiveBorderOpacity,
232
+ },
233
+ },
234
+ interval: {
235
+ default: {
236
+ fill: styleSheet.intervalFillColor,
237
+ fillOpacity: styleSheet.intervalFillOpacity,
238
+ },
239
+ active: {
240
+ stroke: styleSheet.intervalActiveBorderColor,
241
+ lineWidth: styleSheet.intervalActiveBorder,
242
+ },
243
+ selected: {
244
+ stroke: styleSheet.intervalSelectedBorderColor,
245
+ lineWidth: styleSheet.intervalSelectedBorder,
246
+ },
247
+ inactive: {
248
+ fillOpacity: styleSheet.intervalInactiveFillOpacity,
249
+ strokeOpacity: styleSheet.intervalInactiveBorderOpacity,
250
+ },
251
+ },
252
+ hollowInterval: {
253
+ default: {
254
+ fill: styleSheet.hollowIntervalFillColor,
255
+ stroke: styleSheet.hollowIntervalBorderColor,
256
+ lineWidth: styleSheet.hollowIntervalBorder,
257
+ strokeOpacity: styleSheet.hollowIntervalBorderOpacity,
258
+ },
259
+ active: {
260
+ stroke: styleSheet.hollowIntervalActiveBorderColor,
261
+ lineWidth: styleSheet.hollowIntervalActiveBorder,
262
+ strokeOpacity: styleSheet.hollowIntervalActiveBorderOpacity,
263
+ },
264
+ selected: {
265
+ stroke: styleSheet.hollowIntervalSelectedBorderColor,
266
+ lineWidth: styleSheet.hollowIntervalSelectedBorder,
267
+ strokeOpacity: styleSheet.hollowIntervalSelectedBorderOpacity,
268
+ },
269
+ inactive: {
270
+ stroke: styleSheet.hollowIntervalInactiveBorderColor,
271
+ lineWidth: styleSheet.hollowIntervalInactiveBorder,
272
+ strokeOpacity: styleSheet.hollowIntervalInactiveBorderOpacity,
273
+ },
274
+ },
275
+ line: {
276
+ default: {
277
+ stroke: styleSheet.lineBorderColor,
278
+ lineWidth: styleSheet.lineBorder,
279
+ strokeOpacity: styleSheet.lineBorderOpacity,
280
+ fill: null,
281
+ lineAppendWidth: 10,
282
+ lineCap: 'round',
283
+ lineJoin: 'round',
284
+ },
285
+ active: {
286
+ lineWidth: styleSheet.lineActiveBorder,
287
+ },
288
+ selected: {
289
+ lineWidth: styleSheet.lineSelectedBorder,
290
+ },
291
+ inactive: {
292
+ strokeOpacity: styleSheet.lineInactiveBorderOpacity,
293
+ },
294
+ },
295
+ };
296
+ var axisStyles = createAxisStyles(styleSheet);
297
+ var legendStyles = createLegendStyles(styleSheet);
298
+ return {
299
+ background: styleSheet.backgroundColor,
300
+ defaultColor: styleSheet.brandColor,
301
+ subColor: styleSheet.subColor,
302
+ semanticRed: styleSheet.paletteSemanticRed,
303
+ semanticGreen: styleSheet.paletteSemanticGreen,
304
+ padding: 'auto',
305
+ fontFamily: styleSheet.fontFamily,
306
+ // 兼容Theme配置
307
+ /** 一般柱状图宽度占比,geometry中已添加默认值,为了geometry配置生效默认值为null */
308
+ columnWidthRatio: 1 / 2,
309
+ /** 柱状图最大宽度 */
310
+ maxColumnWidth: null,
311
+ /** 柱状图最小宽度 */
312
+ minColumnWidth: null,
313
+ /** 玫瑰图占比 */
314
+ roseWidthRatio: 0.9999999,
315
+ /** 多层饼图/环图占比 */
316
+ multiplePieWidthRatio: 1 / 1.3,
317
+ colors10: styleSheet.paletteQualitative10,
318
+ colors20: styleSheet.paletteQualitative20,
319
+ sequenceColors: styleSheet.paletteSequence,
320
+ shapes: {
321
+ point: [
322
+ 'hollow-circle',
323
+ 'hollow-square',
324
+ 'hollow-bowtie',
325
+ 'hollow-diamond',
326
+ 'hollow-hexagon',
327
+ 'hollow-triangle',
328
+ 'hollow-triangle-down',
329
+ 'circle',
330
+ 'square',
331
+ 'bowtie',
332
+ 'diamond',
333
+ 'hexagon',
334
+ 'triangle',
335
+ 'triangle-down',
336
+ 'cross',
337
+ 'tick',
338
+ 'plus',
339
+ 'hyphen',
340
+ 'line',
341
+ ],
342
+ line: ['line', 'dash', 'dot', 'smooth'],
343
+ area: ['area', 'smooth', 'line', 'smooth-line'],
344
+ interval: ['rect', 'hollow-rect', 'line', 'tick'],
345
+ },
346
+ sizes: [1, 10],
347
+ geometries: {
348
+ interval: {
349
+ rect: {
350
+ default: {
351
+ style: shapeStyles.interval.default,
352
+ },
353
+ active: {
354
+ style: shapeStyles.interval.active,
355
+ },
356
+ inactive: {
357
+ style: shapeStyles.interval.inactive,
358
+ },
359
+ selected: {
360
+ style: function (element) {
361
+ var coordinate = element.geometry.coordinate;
362
+ if (coordinate.isPolar && coordinate.isTransposed) {
363
+ var _a = (0, graphics_1.getAngle)(element.getModel(), coordinate), startAngle = _a.startAngle, endAngle = _a.endAngle;
364
+ var middleAngle = (startAngle + endAngle) / 2;
365
+ var r = 7.5;
366
+ var x = r * Math.cos(middleAngle);
367
+ var y = r * Math.sin(middleAngle);
368
+ return {
369
+ matrix: matrix_util_1.ext.transform(null, [['t', x, y]]),
370
+ };
371
+ }
372
+ return shapeStyles.interval.selected;
373
+ },
374
+ },
375
+ },
376
+ 'hollow-rect': {
377
+ default: {
378
+ style: shapeStyles.hollowInterval.default,
379
+ },
380
+ active: {
381
+ style: shapeStyles.hollowInterval.active,
382
+ },
383
+ inactive: {
384
+ style: shapeStyles.hollowInterval.inactive,
385
+ },
386
+ selected: {
387
+ style: shapeStyles.hollowInterval.selected,
388
+ },
389
+ },
390
+ line: {
391
+ default: {
392
+ style: shapeStyles.hollowInterval.default,
393
+ },
394
+ active: {
395
+ style: shapeStyles.hollowInterval.active,
396
+ },
397
+ inactive: {
398
+ style: shapeStyles.hollowInterval.inactive,
399
+ },
400
+ selected: {
401
+ style: shapeStyles.hollowInterval.selected,
402
+ },
403
+ },
404
+ tick: {
405
+ default: {
406
+ style: shapeStyles.hollowInterval.default,
407
+ },
408
+ active: {
409
+ style: shapeStyles.hollowInterval.active,
410
+ },
411
+ inactive: {
412
+ style: shapeStyles.hollowInterval.inactive,
413
+ },
414
+ selected: {
415
+ style: shapeStyles.hollowInterval.selected,
416
+ },
417
+ },
418
+ funnel: {
419
+ default: {
420
+ style: shapeStyles.interval.default,
421
+ },
422
+ active: {
423
+ style: shapeStyles.interval.active,
424
+ },
425
+ inactive: {
426
+ style: shapeStyles.interval.inactive,
427
+ },
428
+ selected: {
429
+ style: shapeStyles.interval.selected,
430
+ },
431
+ },
432
+ pyramid: {
433
+ default: {
434
+ style: shapeStyles.interval.default,
435
+ },
436
+ active: {
437
+ style: shapeStyles.interval.active,
438
+ },
439
+ inactive: {
440
+ style: shapeStyles.interval.inactive,
441
+ },
442
+ selected: {
443
+ style: shapeStyles.interval.selected,
444
+ },
445
+ },
446
+ },
447
+ line: {
448
+ line: {
449
+ default: {
450
+ style: shapeStyles.line.default,
451
+ },
452
+ active: {
453
+ style: shapeStyles.line.active,
454
+ },
455
+ inactive: {
456
+ style: shapeStyles.line.inactive,
457
+ },
458
+ selected: {
459
+ style: shapeStyles.line.selected,
460
+ },
461
+ },
462
+ dot: {
463
+ default: {
464
+ style: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, shapeStyles.line.default), { lineCap: null, lineDash: [1, 1] }),
465
+ },
466
+ active: {
467
+ style: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, shapeStyles.line.active), { lineCap: null, lineDash: [1, 1] }),
468
+ },
469
+ inactive: {
470
+ style: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, shapeStyles.line.inactive), { lineCap: null, lineDash: [1, 1] }),
471
+ },
472
+ selected: {
473
+ style: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, shapeStyles.line.selected), { lineCap: null, lineDash: [1, 1] }),
474
+ },
475
+ },
476
+ dash: {
477
+ default: {
478
+ style: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, shapeStyles.line.default), { lineCap: null, lineDash: [5.5, 1] }),
479
+ },
480
+ active: {
481
+ style: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, shapeStyles.line.active), { lineCap: null, lineDash: [5.5, 1] }),
482
+ },
483
+ inactive: {
484
+ style: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, shapeStyles.line.inactive), { lineCap: null, lineDash: [5.5, 1] }),
485
+ },
486
+ selected: {
487
+ style: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, shapeStyles.line.selected), { lineCap: null, lineDash: [5.5, 1] }),
488
+ },
489
+ },
490
+ smooth: {
491
+ default: {
492
+ style: shapeStyles.line.default,
493
+ },
494
+ active: {
495
+ style: shapeStyles.line.active,
496
+ },
497
+ inactive: {
498
+ style: shapeStyles.line.inactive,
499
+ },
500
+ selected: {
501
+ style: shapeStyles.line.selected,
502
+ },
503
+ },
504
+ hv: {
505
+ default: {
506
+ style: shapeStyles.line.default,
507
+ },
508
+ active: {
509
+ style: shapeStyles.line.active,
510
+ },
511
+ inactive: {
512
+ style: shapeStyles.line.inactive,
513
+ },
514
+ selected: {
515
+ style: shapeStyles.line.selected,
516
+ },
517
+ },
518
+ vh: {
519
+ default: {
520
+ style: shapeStyles.line.default,
521
+ },
522
+ active: {
523
+ style: shapeStyles.line.active,
524
+ },
525
+ inactive: {
526
+ style: shapeStyles.line.inactive,
527
+ },
528
+ selected: {
529
+ style: shapeStyles.line.selected,
530
+ },
531
+ },
532
+ hvh: {
533
+ default: {
534
+ style: shapeStyles.line.default,
535
+ },
536
+ active: {
537
+ style: shapeStyles.line.active,
538
+ },
539
+ inactive: {
540
+ style: shapeStyles.line.inactive,
541
+ },
542
+ selected: {
543
+ style: shapeStyles.line.selected,
544
+ },
545
+ },
546
+ vhv: {
547
+ default: {
548
+ style: shapeStyles.line.default,
549
+ },
550
+ active: {
551
+ style: shapeStyles.line.active,
552
+ },
553
+ inactive: {
554
+ style: shapeStyles.line.inactive,
555
+ },
556
+ selected: {
557
+ style: shapeStyles.line.selected,
558
+ },
559
+ },
560
+ },
561
+ polygon: {
562
+ polygon: {
563
+ default: {
564
+ style: shapeStyles.interval.default,
565
+ },
566
+ active: {
567
+ style: shapeStyles.interval.active,
568
+ },
569
+ inactive: {
570
+ style: shapeStyles.interval.inactive,
571
+ },
572
+ selected: {
573
+ style: shapeStyles.interval.selected,
574
+ },
575
+ },
576
+ },
577
+ point: {
578
+ circle: {
579
+ default: {
580
+ style: shapeStyles.point.default,
581
+ },
582
+ active: {
583
+ style: shapeStyles.point.active,
584
+ },
585
+ inactive: {
586
+ style: shapeStyles.point.inactive,
587
+ },
588
+ selected: {
589
+ style: shapeStyles.point.selected,
590
+ },
591
+ },
592
+ square: {
593
+ default: {
594
+ style: shapeStyles.point.default,
595
+ },
596
+ active: {
597
+ style: shapeStyles.point.active,
598
+ },
599
+ inactive: {
600
+ style: shapeStyles.point.inactive,
601
+ },
602
+ selected: {
603
+ style: shapeStyles.point.selected,
604
+ },
605
+ },
606
+ bowtie: {
607
+ default: {
608
+ style: shapeStyles.point.default,
609
+ },
610
+ active: {
611
+ style: shapeStyles.point.active,
612
+ },
613
+ inactive: {
614
+ style: shapeStyles.point.inactive,
615
+ },
616
+ selected: {
617
+ style: shapeStyles.point.selected,
618
+ },
619
+ },
620
+ diamond: {
621
+ default: {
622
+ style: shapeStyles.point.default,
623
+ },
624
+ active: {
625
+ style: shapeStyles.point.active,
626
+ },
627
+ inactive: {
628
+ style: shapeStyles.point.inactive,
629
+ },
630
+ selected: {
631
+ style: shapeStyles.point.selected,
632
+ },
633
+ },
634
+ hexagon: {
635
+ default: {
636
+ style: shapeStyles.point.default,
637
+ },
638
+ active: {
639
+ style: shapeStyles.point.active,
640
+ },
641
+ inactive: {
642
+ style: shapeStyles.point.inactive,
643
+ },
644
+ selected: {
645
+ style: shapeStyles.point.selected,
646
+ },
647
+ },
648
+ triangle: {
649
+ default: {
650
+ style: shapeStyles.point.default,
651
+ },
652
+ active: {
653
+ style: shapeStyles.point.active,
654
+ },
655
+ inactive: {
656
+ style: shapeStyles.point.inactive,
657
+ },
658
+ selected: {
659
+ style: shapeStyles.point.selected,
660
+ },
661
+ },
662
+ 'triangle-down': {
663
+ default: {
664
+ style: shapeStyles.point.default,
665
+ },
666
+ active: {
667
+ style: shapeStyles.point.active,
668
+ },
669
+ inactive: {
670
+ style: shapeStyles.point.inactive,
671
+ },
672
+ selected: {
673
+ style: shapeStyles.point.selected,
674
+ },
675
+ },
676
+ 'hollow-circle': {
677
+ default: {
678
+ style: shapeStyles.hollowPoint.default,
679
+ },
680
+ active: {
681
+ style: shapeStyles.hollowPoint.active,
682
+ },
683
+ inactive: {
684
+ style: shapeStyles.hollowPoint.inactive,
685
+ },
686
+ selected: {
687
+ style: shapeStyles.hollowPoint.selected,
688
+ },
689
+ },
690
+ 'hollow-square': {
691
+ default: {
692
+ style: shapeStyles.hollowPoint.default,
693
+ },
694
+ active: {
695
+ style: shapeStyles.hollowPoint.active,
696
+ },
697
+ inactive: {
698
+ style: shapeStyles.hollowPoint.inactive,
699
+ },
700
+ selected: {
701
+ style: shapeStyles.hollowPoint.selected,
702
+ },
703
+ },
704
+ 'hollow-bowtie': {
705
+ default: {
706
+ style: shapeStyles.hollowPoint.default,
707
+ },
708
+ active: {
709
+ style: shapeStyles.hollowPoint.active,
710
+ },
711
+ inactive: {
712
+ style: shapeStyles.hollowPoint.inactive,
713
+ },
714
+ selected: {
715
+ style: shapeStyles.hollowPoint.selected,
716
+ },
717
+ },
718
+ 'hollow-diamond': {
719
+ default: {
720
+ style: shapeStyles.hollowPoint.default,
721
+ },
722
+ active: {
723
+ style: shapeStyles.hollowPoint.active,
724
+ },
725
+ inactive: {
726
+ style: shapeStyles.hollowPoint.inactive,
727
+ },
728
+ selected: {
729
+ style: shapeStyles.hollowPoint.selected,
730
+ },
731
+ },
732
+ 'hollow-hexagon': {
733
+ default: {
734
+ style: shapeStyles.hollowPoint.default,
735
+ },
736
+ active: {
737
+ style: shapeStyles.hollowPoint.active,
738
+ },
739
+ inactive: {
740
+ style: shapeStyles.hollowPoint.inactive,
741
+ },
742
+ selected: {
743
+ style: shapeStyles.hollowPoint.selected,
744
+ },
745
+ },
746
+ 'hollow-triangle': {
747
+ default: {
748
+ style: shapeStyles.hollowPoint.default,
749
+ },
750
+ active: {
751
+ style: shapeStyles.hollowPoint.active,
752
+ },
753
+ inactive: {
754
+ style: shapeStyles.hollowPoint.inactive,
755
+ },
756
+ selected: {
757
+ style: shapeStyles.hollowPoint.selected,
758
+ },
759
+ },
760
+ 'hollow-triangle-down': {
761
+ default: {
762
+ style: shapeStyles.hollowPoint.default,
763
+ },
764
+ active: {
765
+ style: shapeStyles.hollowPoint.active,
766
+ },
767
+ inactive: {
768
+ style: shapeStyles.hollowPoint.inactive,
769
+ },
770
+ selected: {
771
+ style: shapeStyles.hollowPoint.selected,
772
+ },
773
+ },
774
+ cross: {
775
+ default: {
776
+ style: shapeStyles.hollowPoint.default,
777
+ },
778
+ active: {
779
+ style: shapeStyles.hollowPoint.active,
780
+ },
781
+ inactive: {
782
+ style: shapeStyles.hollowPoint.inactive,
783
+ },
784
+ selected: {
785
+ style: shapeStyles.hollowPoint.selected,
786
+ },
787
+ },
788
+ tick: {
789
+ default: {
790
+ style: shapeStyles.hollowPoint.default,
791
+ },
792
+ active: {
793
+ style: shapeStyles.hollowPoint.active,
794
+ },
795
+ inactive: {
796
+ style: shapeStyles.hollowPoint.inactive,
797
+ },
798
+ selected: {
799
+ style: shapeStyles.hollowPoint.selected,
800
+ },
801
+ },
802
+ plus: {
803
+ default: {
804
+ style: shapeStyles.hollowPoint.default,
805
+ },
806
+ active: {
807
+ style: shapeStyles.hollowPoint.active,
808
+ },
809
+ inactive: {
810
+ style: shapeStyles.hollowPoint.inactive,
811
+ },
812
+ selected: {
813
+ style: shapeStyles.hollowPoint.selected,
814
+ },
815
+ },
816
+ hyphen: {
817
+ default: {
818
+ style: shapeStyles.hollowPoint.default,
819
+ },
820
+ active: {
821
+ style: shapeStyles.hollowPoint.active,
822
+ },
823
+ inactive: {
824
+ style: shapeStyles.hollowPoint.inactive,
825
+ },
826
+ selected: {
827
+ style: shapeStyles.hollowPoint.selected,
828
+ },
829
+ },
830
+ line: {
831
+ default: {
832
+ style: shapeStyles.hollowPoint.default,
833
+ },
834
+ active: {
835
+ style: shapeStyles.hollowPoint.active,
836
+ },
837
+ inactive: {
838
+ style: shapeStyles.hollowPoint.inactive,
839
+ },
840
+ selected: {
841
+ style: shapeStyles.hollowPoint.selected,
842
+ },
843
+ },
844
+ },
845
+ area: {
846
+ area: {
847
+ default: {
848
+ style: shapeStyles.area.default,
849
+ },
850
+ active: {
851
+ style: shapeStyles.area.active,
852
+ },
853
+ inactive: {
854
+ style: shapeStyles.area.inactive,
855
+ },
856
+ selected: {
857
+ style: shapeStyles.area.selected,
858
+ },
859
+ },
860
+ smooth: {
861
+ default: {
862
+ style: shapeStyles.area.default,
863
+ },
864
+ active: {
865
+ style: shapeStyles.area.active,
866
+ },
867
+ inactive: {
868
+ style: shapeStyles.area.inactive,
869
+ },
870
+ selected: {
871
+ style: shapeStyles.area.selected,
872
+ },
873
+ },
874
+ line: {
875
+ default: {
876
+ style: shapeStyles.hollowArea.default,
877
+ },
878
+ active: {
879
+ style: shapeStyles.hollowArea.active,
880
+ },
881
+ inactive: {
882
+ style: shapeStyles.hollowArea.inactive,
883
+ },
884
+ selected: {
885
+ style: shapeStyles.hollowArea.selected,
886
+ },
887
+ },
888
+ 'smooth-line': {
889
+ default: {
890
+ style: shapeStyles.hollowArea.default,
891
+ },
892
+ active: {
893
+ style: shapeStyles.hollowArea.active,
894
+ },
895
+ inactive: {
896
+ style: shapeStyles.hollowArea.inactive,
897
+ },
898
+ selected: {
899
+ style: shapeStyles.hollowArea.selected,
900
+ },
901
+ },
902
+ },
903
+ schema: {
904
+ candle: {
905
+ default: {
906
+ style: shapeStyles.hollowInterval.default,
907
+ },
908
+ active: {
909
+ style: shapeStyles.hollowInterval.active,
910
+ },
911
+ inactive: {
912
+ style: shapeStyles.hollowInterval.inactive,
913
+ },
914
+ selected: {
915
+ style: shapeStyles.hollowInterval.selected,
916
+ },
917
+ },
918
+ box: {
919
+ default: {
920
+ style: shapeStyles.hollowInterval.default,
921
+ },
922
+ active: {
923
+ style: shapeStyles.hollowInterval.active,
924
+ },
925
+ inactive: {
926
+ style: shapeStyles.hollowInterval.inactive,
927
+ },
928
+ selected: {
929
+ style: shapeStyles.hollowInterval.selected,
930
+ },
931
+ },
932
+ },
933
+ edge: {
934
+ line: {
935
+ default: {
936
+ style: shapeStyles.line.default,
937
+ },
938
+ active: {
939
+ style: shapeStyles.line.active,
940
+ },
941
+ inactive: {
942
+ style: shapeStyles.line.inactive,
943
+ },
944
+ selected: {
945
+ style: shapeStyles.line.selected,
946
+ },
947
+ },
948
+ vhv: {
949
+ default: {
950
+ style: shapeStyles.line.default,
951
+ },
952
+ active: {
953
+ style: shapeStyles.line.active,
954
+ },
955
+ inactive: {
956
+ style: shapeStyles.line.inactive,
957
+ },
958
+ selected: {
959
+ style: shapeStyles.line.selected,
960
+ },
961
+ },
962
+ smooth: {
963
+ default: {
964
+ style: shapeStyles.line.default,
965
+ },
966
+ active: {
967
+ style: shapeStyles.line.active,
968
+ },
969
+ inactive: {
970
+ style: shapeStyles.line.inactive,
971
+ },
972
+ selected: {
973
+ style: shapeStyles.line.selected,
974
+ },
975
+ },
976
+ arc: {
977
+ default: {
978
+ style: shapeStyles.line.default,
979
+ },
980
+ active: {
981
+ style: shapeStyles.line.active,
982
+ },
983
+ inactive: {
984
+ style: shapeStyles.line.inactive,
985
+ },
986
+ selected: {
987
+ style: shapeStyles.line.selected,
988
+ },
989
+ },
990
+ },
991
+ violin: {
992
+ violin: {
993
+ default: {
994
+ style: shapeStyles.line.default,
995
+ },
996
+ active: {
997
+ style: shapeStyles.line.active,
998
+ },
999
+ inactive: {
1000
+ style: shapeStyles.line.inactive,
1001
+ },
1002
+ selected: {
1003
+ style: shapeStyles.line.selected,
1004
+ },
1005
+ },
1006
+ smooth: {
1007
+ default: {
1008
+ style: shapeStyles.line.default,
1009
+ },
1010
+ active: {
1011
+ style: shapeStyles.line.active,
1012
+ },
1013
+ inactive: {
1014
+ style: shapeStyles.line.inactive,
1015
+ },
1016
+ selected: {
1017
+ style: shapeStyles.line.selected,
1018
+ },
1019
+ },
1020
+ hollow: {
1021
+ default: {
1022
+ style: shapeStyles.hollowArea.default,
1023
+ },
1024
+ active: {
1025
+ style: shapeStyles.hollowArea.active,
1026
+ },
1027
+ inactive: {
1028
+ style: shapeStyles.hollowArea.inactive,
1029
+ },
1030
+ selected: {
1031
+ style: shapeStyles.hollowArea.selected,
1032
+ },
1033
+ },
1034
+ 'hollow-smooth': {
1035
+ default: {
1036
+ style: shapeStyles.hollowArea.default,
1037
+ },
1038
+ active: {
1039
+ style: shapeStyles.hollowArea.active,
1040
+ },
1041
+ inactive: {
1042
+ style: shapeStyles.hollowArea.inactive,
1043
+ },
1044
+ selected: {
1045
+ style: shapeStyles.hollowArea.selected,
1046
+ },
1047
+ },
1048
+ },
1049
+ },
1050
+ components: {
1051
+ axis: {
1052
+ common: axisStyles,
1053
+ top: {
1054
+ position: 'top',
1055
+ grid: null,
1056
+ title: null,
1057
+ verticalLimitLength: 1 / 2,
1058
+ },
1059
+ bottom: {
1060
+ position: 'bottom',
1061
+ grid: null,
1062
+ title: null,
1063
+ verticalLimitLength: 1 / 2,
1064
+ },
1065
+ left: {
1066
+ position: 'left',
1067
+ title: null,
1068
+ line: null,
1069
+ tickLine: null,
1070
+ verticalLimitLength: 1 / 3,
1071
+ },
1072
+ right: {
1073
+ position: 'right',
1074
+ title: null,
1075
+ line: null,
1076
+ tickLine: null,
1077
+ verticalLimitLength: 1 / 3,
1078
+ },
1079
+ circle: {
1080
+ title: null,
1081
+ grid: (0, util_1.deepMix)({}, axisStyles.grid, { line: { type: 'line' } }),
1082
+ },
1083
+ radius: {
1084
+ title: null,
1085
+ grid: (0, util_1.deepMix)({}, axisStyles.grid, { line: { type: 'circle' } }),
1086
+ },
1087
+ },
1088
+ legend: {
1089
+ common: legendStyles,
1090
+ right: {
1091
+ layout: 'vertical',
1092
+ padding: styleSheet.legendVerticalPadding,
1093
+ },
1094
+ left: {
1095
+ layout: 'vertical',
1096
+ padding: styleSheet.legendVerticalPadding,
1097
+ },
1098
+ top: {
1099
+ layout: 'horizontal',
1100
+ padding: styleSheet.legendHorizontalPadding,
1101
+ },
1102
+ bottom: {
1103
+ layout: 'horizontal',
1104
+ padding: styleSheet.legendHorizontalPadding,
1105
+ },
1106
+ continuous: {
1107
+ title: null,
1108
+ background: null,
1109
+ track: {},
1110
+ rail: {
1111
+ type: 'color',
1112
+ size: styleSheet.sliderRailHeight,
1113
+ defaultLength: styleSheet.sliderRailWidth,
1114
+ style: {
1115
+ fill: styleSheet.sliderRailFillColor,
1116
+ stroke: styleSheet.sliderRailBorderColor,
1117
+ lineWidth: styleSheet.sliderRailBorder,
1118
+ },
1119
+ },
1120
+ label: {
1121
+ align: 'rail',
1122
+ spacing: 4,
1123
+ formatter: null,
1124
+ style: {
1125
+ fill: styleSheet.sliderLabelTextFillColor,
1126
+ fontSize: styleSheet.sliderLabelTextFontSize,
1127
+ lineHeight: styleSheet.sliderLabelTextLineHeight,
1128
+ textBaseline: 'middle',
1129
+ fontFamily: styleSheet.fontFamily,
1130
+ },
1131
+ },
1132
+ handler: {
1133
+ size: styleSheet.sliderHandlerWidth,
1134
+ style: {
1135
+ fill: styleSheet.sliderHandlerFillColor,
1136
+ stroke: styleSheet.sliderHandlerBorderColor,
1137
+ },
1138
+ },
1139
+ slidable: true,
1140
+ padding: legendStyles.padding,
1141
+ },
1142
+ },
1143
+ tooltip: {
1144
+ showContent: true,
1145
+ follow: true,
1146
+ showCrosshairs: false,
1147
+ showMarkers: true,
1148
+ shared: false,
1149
+ enterable: false,
1150
+ position: 'auto',
1151
+ marker: {
1152
+ symbol: 'circle',
1153
+ stroke: '#fff',
1154
+ shadowBlur: 10,
1155
+ shadowOffsetX: 0,
1156
+ shadowOffsetY: 0,
1157
+ shadowColor: 'rgba(0,0,0,0.09)',
1158
+ lineWidth: 2,
1159
+ r: 4,
1160
+ },
1161
+ crosshairs: {
1162
+ line: {
1163
+ style: {
1164
+ stroke: styleSheet.tooltipCrosshairsBorderColor,
1165
+ lineWidth: styleSheet.tooltipCrosshairsBorder,
1166
+ },
1167
+ },
1168
+ text: null,
1169
+ textBackground: {
1170
+ padding: 2,
1171
+ style: {
1172
+ fill: 'rgba(0, 0, 0, 0.25)',
1173
+ lineWidth: 0,
1174
+ stroke: null,
1175
+ },
1176
+ },
1177
+ follow: false,
1178
+ },
1179
+ // tooltip dom 样式
1180
+ domStyles: (_a = {},
1181
+ _a["".concat(component_1.TOOLTIP_CSS_CONST.CONTAINER_CLASS)] = {
1182
+ position: 'absolute',
1183
+ visibility: 'hidden',
1184
+ zIndex: 8,
1185
+ transition: 'left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s',
1186
+ backgroundColor: styleSheet.tooltipContainerFillColor,
1187
+ opacity: styleSheet.tooltipContainerFillOpacity,
1188
+ boxShadow: styleSheet.tooltipContainerShadow,
1189
+ borderRadius: "".concat(styleSheet.tooltipContainerBorderRadius, "px"),
1190
+ color: styleSheet.tooltipTextFillColor,
1191
+ fontSize: "".concat(styleSheet.tooltipTextFontSize, "px"),
1192
+ fontFamily: styleSheet.fontFamily,
1193
+ lineHeight: "".concat(styleSheet.tooltipTextLineHeight, "px"),
1194
+ padding: '0 12px 0 12px',
1195
+ },
1196
+ _a["".concat(component_1.TOOLTIP_CSS_CONST.TITLE_CLASS)] = {
1197
+ marginBottom: '12px',
1198
+ marginTop: '12px',
1199
+ },
1200
+ _a["".concat(component_1.TOOLTIP_CSS_CONST.LIST_CLASS)] = {
1201
+ margin: 0,
1202
+ listStyleType: 'none',
1203
+ padding: 0,
1204
+ },
1205
+ _a["".concat(component_1.TOOLTIP_CSS_CONST.LIST_ITEM_CLASS)] = {
1206
+ listStyleType: 'none',
1207
+ padding: 0,
1208
+ marginBottom: '12px',
1209
+ marginTop: '12px',
1210
+ marginLeft: 0,
1211
+ marginRight: 0,
1212
+ },
1213
+ _a["".concat(component_1.TOOLTIP_CSS_CONST.MARKER_CLASS)] = {
1214
+ width: '8px',
1215
+ height: '8px',
1216
+ borderRadius: '50%',
1217
+ display: 'inline-block',
1218
+ marginRight: '8px',
1219
+ },
1220
+ _a["".concat(component_1.TOOLTIP_CSS_CONST.VALUE_CLASS)] = {
1221
+ display: 'inline-block',
1222
+ float: 'right',
1223
+ marginLeft: '30px',
1224
+ },
1225
+ _a),
1226
+ },
1227
+ annotation: {
1228
+ arc: {
1229
+ style: {
1230
+ stroke: styleSheet.annotationArcBorderColor,
1231
+ lineWidth: styleSheet.annotationArcBorder,
1232
+ },
1233
+ animate: true,
1234
+ },
1235
+ line: {
1236
+ style: {
1237
+ stroke: styleSheet.annotationLineBorderColor,
1238
+ lineDash: styleSheet.annotationLineDash,
1239
+ lineWidth: styleSheet.annotationLineBorder,
1240
+ },
1241
+ text: {
1242
+ position: 'start',
1243
+ autoRotate: true,
1244
+ style: {
1245
+ fill: styleSheet.annotationTextFillColor,
1246
+ stroke: styleSheet.annotationTextBorderColor,
1247
+ lineWidth: styleSheet.annotationTextBorder,
1248
+ fontSize: styleSheet.annotationTextFontSize,
1249
+ textAlign: 'start',
1250
+ fontFamily: styleSheet.fontFamily,
1251
+ textBaseline: 'bottom',
1252
+ },
1253
+ },
1254
+ animate: true,
1255
+ },
1256
+ text: {
1257
+ style: {
1258
+ fill: styleSheet.annotationTextFillColor,
1259
+ stroke: styleSheet.annotationTextBorderColor,
1260
+ lineWidth: styleSheet.annotationTextBorder,
1261
+ fontSize: styleSheet.annotationTextFontSize,
1262
+ textBaseline: 'middle',
1263
+ textAlign: 'start',
1264
+ fontFamily: styleSheet.fontFamily,
1265
+ },
1266
+ animate: true,
1267
+ },
1268
+ region: {
1269
+ top: false,
1270
+ style: {
1271
+ lineWidth: styleSheet.annotationRegionBorder,
1272
+ stroke: styleSheet.annotationRegionBorderColor,
1273
+ fill: styleSheet.annotationRegionFillColor,
1274
+ fillOpacity: styleSheet.annotationRegionFillOpacity,
1275
+ },
1276
+ animate: true,
1277
+ },
1278
+ image: {
1279
+ top: false,
1280
+ animate: true,
1281
+ },
1282
+ dataMarker: {
1283
+ top: true,
1284
+ point: {
1285
+ style: {
1286
+ r: 3,
1287
+ stroke: styleSheet.brandColor,
1288
+ lineWidth: 2,
1289
+ },
1290
+ },
1291
+ line: {
1292
+ style: {
1293
+ stroke: styleSheet.annotationLineBorderColor,
1294
+ lineWidth: styleSheet.annotationLineBorder,
1295
+ },
1296
+ length: styleSheet.annotationDataMarkerLineLength,
1297
+ },
1298
+ text: {
1299
+ style: {
1300
+ textAlign: 'start',
1301
+ fill: styleSheet.annotationTextFillColor,
1302
+ stroke: styleSheet.annotationTextBorderColor,
1303
+ lineWidth: styleSheet.annotationTextBorder,
1304
+ fontSize: styleSheet.annotationTextFontSize,
1305
+ fontFamily: styleSheet.fontFamily,
1306
+ },
1307
+ },
1308
+ direction: 'upward',
1309
+ autoAdjust: true,
1310
+ animate: true,
1311
+ },
1312
+ dataRegion: {
1313
+ style: {
1314
+ region: {
1315
+ fill: styleSheet.annotationRegionFillColor,
1316
+ fillOpacity: styleSheet.annotationRegionFillOpacity,
1317
+ },
1318
+ text: {
1319
+ textAlign: 'center',
1320
+ textBaseline: 'bottom',
1321
+ fill: styleSheet.annotationTextFillColor,
1322
+ stroke: styleSheet.annotationTextBorderColor,
1323
+ lineWidth: styleSheet.annotationTextBorder,
1324
+ fontSize: styleSheet.annotationTextFontSize,
1325
+ fontFamily: styleSheet.fontFamily,
1326
+ },
1327
+ },
1328
+ animate: true,
1329
+ },
1330
+ },
1331
+ slider: {
1332
+ common: {
1333
+ padding: [8, 8, 8, 8],
1334
+ backgroundStyle: {
1335
+ fill: styleSheet.cSliderBackgroundFillColor,
1336
+ opacity: styleSheet.cSliderBackgroundFillOpacity,
1337
+ },
1338
+ foregroundStyle: {
1339
+ fill: styleSheet.cSliderForegroundFillColor,
1340
+ opacity: styleSheet.cSliderForegroundFillOpacity,
1341
+ },
1342
+ handlerStyle: {
1343
+ width: styleSheet.cSliderHandlerWidth,
1344
+ height: styleSheet.cSliderHandlerHeight,
1345
+ fill: styleSheet.cSliderHandlerFillColor,
1346
+ opacity: styleSheet.cSliderHandlerFillOpacity,
1347
+ stroke: styleSheet.cSliderHandlerBorderColor,
1348
+ lineWidth: styleSheet.cSliderHandlerBorder,
1349
+ radius: styleSheet.cSliderHandlerBorderRadius,
1350
+ // 高亮的颜色
1351
+ highLightFill: styleSheet.cSliderHandlerHighlightFillColor,
1352
+ },
1353
+ textStyle: {
1354
+ fill: styleSheet.cSliderTextFillColor,
1355
+ opacity: styleSheet.cSliderTextFillOpacity,
1356
+ fontSize: styleSheet.cSliderTextFontSize,
1357
+ lineHeight: styleSheet.cSliderTextLineHeight,
1358
+ fontWeight: styleSheet.cSliderTextFontWeight,
1359
+ stroke: styleSheet.cSliderTextBorderColor,
1360
+ lineWidth: styleSheet.cSliderTextBorder,
1361
+ },
1362
+ },
1363
+ },
1364
+ scrollbar: {
1365
+ common: {
1366
+ padding: [8, 8, 8, 8],
1367
+ },
1368
+ default: {
1369
+ style: {
1370
+ trackColor: styleSheet.scrollbarTrackFillColor,
1371
+ thumbColor: styleSheet.scrollbarThumbFillColor,
1372
+ },
1373
+ },
1374
+ hover: {
1375
+ style: {
1376
+ thumbColor: styleSheet.scrollbarThumbHighlightFillColor,
1377
+ },
1378
+ },
1379
+ },
1380
+ },
1381
+ labels: {
1382
+ offset: 12,
1383
+ style: {
1384
+ fill: styleSheet.labelFillColor,
1385
+ fontSize: styleSheet.labelFontSize,
1386
+ fontFamily: styleSheet.fontFamily,
1387
+ stroke: styleSheet.labelBorderColor,
1388
+ lineWidth: styleSheet.labelBorder,
1389
+ },
1390
+ fillColorDark: styleSheet.labelFillColorDark,
1391
+ fillColorLight: styleSheet.labelFillColorLight,
1392
+ autoRotate: true,
1393
+ },
1394
+ innerLabels: {
1395
+ style: {
1396
+ fill: styleSheet.innerLabelFillColor,
1397
+ fontSize: styleSheet.innerLabelFontSize,
1398
+ fontFamily: styleSheet.fontFamily,
1399
+ stroke: styleSheet.innerLabelBorderColor,
1400
+ lineWidth: styleSheet.innerLabelBorder,
1401
+ },
1402
+ autoRotate: true,
1403
+ },
1404
+ overflowLabels: {
1405
+ style: {
1406
+ fill: styleSheet.overflowLabelFillColor,
1407
+ fontSize: styleSheet.overflowLabelFontSize,
1408
+ fontFamily: styleSheet.fontFamily,
1409
+ stroke: styleSheet.overflowLabelBorderColor,
1410
+ lineWidth: styleSheet.overflowLabelBorder,
1411
+ },
1412
+ },
1413
+ pieLabels: {
1414
+ labelHeight: 14,
1415
+ offset: 10,
1416
+ labelLine: {
1417
+ style: {
1418
+ lineWidth: styleSheet.labelLineBorder,
1419
+ },
1420
+ },
1421
+ autoRotate: true,
1422
+ },
1423
+ };
1424
+ }
1425
+ exports.createThemeByStyleSheet = createThemeByStyleSheet;
1426
+ //# sourceMappingURL=create-by-style-sheet.js.map