@antv/component 0.9.7 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1783) hide show
  1. package/LICENSE +3 -3
  2. package/README.md +61 -823
  3. package/dist/component.min.js +1 -0
  4. package/esm/animation/fadeIn.d.ts +3 -0
  5. package/esm/animation/fadeIn.js +7 -0
  6. package/esm/animation/fadeIn.js.map +1 -0
  7. package/esm/animation/fadeOut.d.ts +3 -0
  8. package/esm/animation/fadeOut.js +7 -0
  9. package/esm/animation/fadeOut.js.map +1 -0
  10. package/esm/animation/index.d.ts +4 -0
  11. package/esm/animation/index.js +4 -0
  12. package/esm/animation/index.js.map +1 -0
  13. package/esm/animation/types.d.ts +9 -0
  14. package/esm/animation/types.js +3 -0
  15. package/esm/animation/types.js.map +1 -0
  16. package/esm/animation/utils.d.ts +26 -0
  17. package/esm/animation/utils.js +151 -0
  18. package/esm/animation/utils.js.map +1 -0
  19. package/esm/constant.d.ts +1 -0
  20. package/esm/constant.js +3 -0
  21. package/esm/constant.js.map +1 -0
  22. package/esm/core/component.d.ts +18 -0
  23. package/esm/core/component.js +58 -0
  24. package/esm/core/component.js.map +1 -0
  25. package/esm/core/index.d.ts +2 -0
  26. package/esm/core/index.js +3 -0
  27. package/esm/core/index.js.map +1 -0
  28. package/esm/core/types.d.ts +27 -0
  29. package/esm/core/types.js +2 -0
  30. package/esm/core/types.js.map +1 -0
  31. package/esm/index.d.ts +2 -17
  32. package/esm/index.js +6 -17
  33. package/esm/index.js.map +1 -1
  34. package/esm/shapes/Circle.d.ts +4 -0
  35. package/esm/shapes/Circle.js +2 -0
  36. package/esm/shapes/Circle.js.map +1 -0
  37. package/esm/shapes/CustomElement.d.ts +4 -0
  38. package/esm/shapes/CustomElement.js +2 -0
  39. package/esm/shapes/CustomElement.js.map +1 -0
  40. package/esm/shapes/DisplayObject.d.ts +2 -0
  41. package/esm/shapes/DisplayObject.js +2 -0
  42. package/esm/shapes/DisplayObject.js.map +1 -0
  43. package/esm/shapes/Ellipse.d.ts +4 -0
  44. package/esm/shapes/Ellipse.js +2 -0
  45. package/esm/shapes/Ellipse.js.map +1 -0
  46. package/esm/shapes/Group.d.ts +4 -0
  47. package/esm/shapes/Group.js +2 -0
  48. package/esm/shapes/Group.js.map +1 -0
  49. package/esm/shapes/HTML.d.ts +4 -0
  50. package/esm/shapes/HTML.js +2 -0
  51. package/esm/shapes/HTML.js.map +1 -0
  52. package/esm/shapes/Image.d.ts +4 -0
  53. package/esm/shapes/Image.js +2 -0
  54. package/esm/shapes/Image.js.map +1 -0
  55. package/esm/shapes/Line.d.ts +4 -0
  56. package/esm/shapes/Line.js +2 -0
  57. package/esm/shapes/Line.js.map +1 -0
  58. package/esm/shapes/Path.d.ts +4 -0
  59. package/esm/shapes/Path.js +2 -0
  60. package/esm/shapes/Path.js.map +1 -0
  61. package/esm/shapes/Polygon.d.ts +4 -0
  62. package/esm/shapes/Polygon.js +2 -0
  63. package/esm/shapes/Polygon.js.map +1 -0
  64. package/esm/shapes/Polyline.d.ts +4 -0
  65. package/esm/shapes/Polyline.js +2 -0
  66. package/esm/shapes/Polyline.js.map +1 -0
  67. package/esm/shapes/Rect.d.ts +4 -0
  68. package/esm/shapes/Rect.js +2 -0
  69. package/esm/shapes/Rect.js.map +1 -0
  70. package/esm/shapes/Text.d.ts +10 -0
  71. package/esm/shapes/Text.js +27 -0
  72. package/esm/shapes/Text.js.map +1 -0
  73. package/esm/shapes/index.d.ts +13 -0
  74. package/esm/shapes/index.js +14 -0
  75. package/esm/shapes/index.js.map +1 -0
  76. package/esm/shapes/types.d.ts +6 -0
  77. package/esm/shapes/types.js +2 -0
  78. package/esm/shapes/types.js.map +1 -0
  79. package/esm/types/index.d.ts +19 -0
  80. package/esm/types/index.js +3 -0
  81. package/esm/types/index.js.map +1 -0
  82. package/esm/types/prefix.d.ts +3 -0
  83. package/esm/types/prefix.js +2 -0
  84. package/esm/types/prefix.js.map +1 -0
  85. package/esm/types/styles.d.ts +5 -0
  86. package/esm/types/styles.js +2 -0
  87. package/esm/types/styles.js.map +1 -0
  88. package/esm/ui/axis/axis.d.ts +9 -0
  89. package/esm/ui/axis/axis.js +65 -0
  90. package/esm/ui/axis/axis.js.map +1 -0
  91. package/esm/ui/axis/constant.d.ts +81 -0
  92. package/esm/ui/axis/constant.js +91 -0
  93. package/esm/ui/axis/constant.js.map +1 -0
  94. package/esm/ui/axis/guides/grid.d.ts +4 -0
  95. package/esm/ui/axis/guides/grid.js +76 -0
  96. package/esm/ui/axis/guides/grid.js.map +1 -0
  97. package/esm/ui/axis/guides/labels.d.ts +4 -0
  98. package/esm/ui/axis/guides/labels.js +232 -0
  99. package/esm/ui/axis/guides/labels.js.map +1 -0
  100. package/esm/ui/axis/guides/line.d.ts +10 -0
  101. package/esm/ui/axis/guides/line.js +197 -0
  102. package/esm/ui/axis/guides/line.js.map +1 -0
  103. package/esm/ui/axis/guides/ticks.d.ts +7 -0
  104. package/esm/ui/axis/guides/ticks.js +73 -0
  105. package/esm/ui/axis/guides/ticks.js.map +1 -0
  106. package/esm/ui/axis/guides/title.d.ts +5 -0
  107. package/esm/ui/axis/guides/title.js +77 -0
  108. package/esm/ui/axis/guides/title.js.map +1 -0
  109. package/esm/ui/axis/guides/utils.d.ts +14 -0
  110. package/esm/ui/axis/guides/utils.js +42 -0
  111. package/esm/ui/axis/guides/utils.js.map +1 -0
  112. package/esm/ui/axis/index.d.ts +3 -0
  113. package/esm/ui/axis/index.js +2 -0
  114. package/esm/ui/axis/index.js.map +1 -0
  115. package/esm/ui/axis/overlap/autoEllipsis.d.ts +8 -0
  116. package/esm/ui/axis/overlap/autoEllipsis.js +44 -0
  117. package/esm/ui/axis/overlap/autoEllipsis.js.map +1 -0
  118. package/esm/ui/axis/overlap/autoHide.d.ts +10 -0
  119. package/esm/ui/axis/overlap/autoHide.js +55 -0
  120. package/esm/ui/axis/overlap/autoHide.js.map +1 -0
  121. package/esm/ui/axis/overlap/autoRotate.d.ts +6 -0
  122. package/esm/ui/axis/overlap/autoRotate.js +33 -0
  123. package/esm/ui/axis/overlap/autoRotate.js.map +1 -0
  124. package/esm/ui/axis/overlap/autoWrap.d.ts +6 -0
  125. package/esm/ui/axis/overlap/autoWrap.js +34 -0
  126. package/esm/ui/axis/overlap/autoWrap.js.map +1 -0
  127. package/esm/ui/axis/overlap/index.d.ts +12 -0
  128. package/esm/ui/axis/overlap/index.js +34 -0
  129. package/esm/ui/axis/overlap/index.js.map +1 -0
  130. package/esm/ui/axis/types.d.ts +175 -0
  131. package/esm/ui/axis/types.js +2 -0
  132. package/esm/ui/axis/types.js.map +1 -0
  133. package/esm/ui/axis/utils/bounds.d.ts +21 -0
  134. package/esm/ui/axis/utils/bounds.js +134 -0
  135. package/esm/ui/axis/utils/bounds.js.map +1 -0
  136. package/esm/ui/axis/utils/contain.d.ts +10 -0
  137. package/esm/ui/axis/utils/contain.js +66 -0
  138. package/esm/ui/axis/utils/contain.js.map +1 -0
  139. package/esm/ui/axis/utils/index.d.ts +3 -0
  140. package/esm/ui/axis/utils/index.js +10 -0
  141. package/esm/ui/axis/utils/index.js.map +1 -0
  142. package/esm/ui/axis/utils/intersect.d.ts +18 -0
  143. package/esm/ui/axis/utils/intersect.js +69 -0
  144. package/esm/ui/axis/utils/intersect.js.map +1 -0
  145. package/esm/ui/axis/utils/test.d.ts +4 -0
  146. package/esm/ui/axis/utils/test.js +80 -0
  147. package/esm/ui/axis/utils/test.js.map +1 -0
  148. package/esm/ui/breadcrumb/index.d.ts +31 -0
  149. package/esm/ui/breadcrumb/index.js +125 -0
  150. package/esm/ui/breadcrumb/index.js.map +1 -0
  151. package/esm/ui/breadcrumb/type.d.ts +40 -0
  152. package/esm/ui/breadcrumb/type.js +2 -0
  153. package/esm/ui/breadcrumb/type.js.map +1 -0
  154. package/esm/ui/button/constant.d.ts +95 -0
  155. package/esm/ui/button/constant.js +73 -0
  156. package/esm/ui/button/constant.js.map +1 -0
  157. package/esm/ui/button/index.d.ts +36 -0
  158. package/esm/ui/button/index.js +163 -0
  159. package/esm/ui/button/index.js.map +1 -0
  160. package/esm/ui/button/types.d.ts +56 -0
  161. package/esm/ui/button/types.js +2 -0
  162. package/esm/ui/button/types.js.map +1 -0
  163. package/esm/ui/checkbox/constant.d.ts +16 -0
  164. package/esm/ui/checkbox/constant.js +40 -0
  165. package/esm/ui/checkbox/constant.js.map +1 -0
  166. package/esm/ui/checkbox/index.d.ts +16 -0
  167. package/esm/ui/checkbox/index.js +40 -0
  168. package/esm/ui/checkbox/index.js.map +1 -0
  169. package/esm/ui/checkbox/types.d.ts +17 -0
  170. package/esm/ui/checkbox/types.js +2 -0
  171. package/esm/ui/checkbox/types.js.map +1 -0
  172. package/esm/ui/crosshair/base.d.ts +37 -0
  173. package/esm/ui/crosshair/base.js +64 -0
  174. package/esm/ui/crosshair/base.js.map +1 -0
  175. package/esm/ui/crosshair/circle.d.ts +16 -0
  176. package/esm/ui/crosshair/circle.js +43 -0
  177. package/esm/ui/crosshair/circle.js.map +1 -0
  178. package/esm/ui/crosshair/constant.d.ts +5 -0
  179. package/esm/ui/crosshair/constant.js +24 -0
  180. package/esm/ui/crosshair/constant.js.map +1 -0
  181. package/esm/ui/crosshair/index.d.ts +4 -0
  182. package/esm/ui/crosshair/index.js +5 -0
  183. package/esm/ui/crosshair/index.js.map +1 -0
  184. package/esm/ui/crosshair/line.d.ts +34 -0
  185. package/esm/ui/crosshair/line.js +107 -0
  186. package/esm/ui/crosshair/line.js.map +1 -0
  187. package/esm/ui/crosshair/polygon.d.ts +29 -0
  188. package/esm/ui/crosshair/polygon.js +98 -0
  189. package/esm/ui/crosshair/polygon.js.map +1 -0
  190. package/esm/ui/crosshair/types.d.ts +29 -0
  191. package/esm/ui/crosshair/types.js +2 -0
  192. package/esm/ui/crosshair/types.js.map +1 -0
  193. package/esm/ui/grid/index.d.ts +7 -0
  194. package/esm/ui/grid/index.js +157 -0
  195. package/esm/ui/grid/index.js.map +1 -0
  196. package/esm/ui/grid/types.d.ts +21 -0
  197. package/esm/ui/grid/types.js +2 -0
  198. package/esm/ui/grid/types.js.map +1 -0
  199. package/esm/ui/index.d.ts +41 -0
  200. package/esm/ui/index.js +34 -0
  201. package/esm/ui/index.js.map +1 -0
  202. package/esm/ui/indicator/constant.d.ts +2 -0
  203. package/esm/ui/indicator/constant.js +16 -0
  204. package/esm/ui/indicator/constant.js.map +1 -0
  205. package/esm/ui/indicator/index.d.ts +1 -0
  206. package/esm/ui/indicator/index.js +2 -0
  207. package/esm/ui/indicator/index.js.map +1 -0
  208. package/esm/ui/indicator/indicator.d.ts +18 -0
  209. package/esm/ui/indicator/indicator.js +136 -0
  210. package/esm/ui/indicator/indicator.js.map +1 -0
  211. package/esm/ui/indicator/types.d.ts +15 -0
  212. package/esm/ui/indicator/types.js +2 -0
  213. package/esm/ui/indicator/types.js.map +1 -0
  214. package/esm/ui/layout/index.d.ts +2 -0
  215. package/esm/ui/layout/index.js +2 -0
  216. package/esm/ui/layout/index.js.map +1 -0
  217. package/esm/ui/layout/layout.d.ts +22 -0
  218. package/esm/ui/layout/layout.js +92 -0
  219. package/esm/ui/layout/layout.js.map +1 -0
  220. package/esm/ui/layout/types.d.ts +11 -0
  221. package/esm/ui/layout/types.js +2 -0
  222. package/esm/ui/layout/types.js.map +1 -0
  223. package/esm/ui/legend/base.d.ts +10 -0
  224. package/esm/ui/legend/base.js +51 -0
  225. package/esm/ui/legend/base.js.map +1 -0
  226. package/esm/ui/legend/category/item.d.ts +41 -0
  227. package/esm/ui/legend/category/item.js +209 -0
  228. package/esm/ui/legend/category/item.js.map +1 -0
  229. package/esm/ui/legend/category/items.d.ts +49 -0
  230. package/esm/ui/legend/category/items.js +293 -0
  231. package/esm/ui/legend/category/items.js.map +1 -0
  232. package/esm/ui/legend/category.d.ts +17 -0
  233. package/esm/ui/legend/category.js +80 -0
  234. package/esm/ui/legend/category.js.map +1 -0
  235. package/esm/ui/legend/constant.d.ts +78 -0
  236. package/esm/ui/legend/constant.js +64 -0
  237. package/esm/ui/legend/constant.js.map +1 -0
  238. package/esm/ui/legend/continuous/handle.d.ts +24 -0
  239. package/esm/ui/legend/continuous/handle.js +65 -0
  240. package/esm/ui/legend/continuous/handle.js.map +1 -0
  241. package/esm/ui/legend/continuous/ribbon.d.ts +24 -0
  242. package/esm/ui/legend/continuous/ribbon.js +106 -0
  243. package/esm/ui/legend/continuous/ribbon.js.map +1 -0
  244. package/esm/ui/legend/continuous/utils.d.ts +5 -0
  245. package/esm/ui/legend/continuous/utils.js +24 -0
  246. package/esm/ui/legend/continuous/utils.js.map +1 -0
  247. package/esm/ui/legend/continuous.d.ts +81 -0
  248. package/esm/ui/legend/continuous.js +668 -0
  249. package/esm/ui/legend/continuous.js.map +1 -0
  250. package/esm/ui/legend/index.d.ts +6 -0
  251. package/esm/ui/legend/index.js +4 -0
  252. package/esm/ui/legend/index.js.map +1 -0
  253. package/esm/ui/legend/types.d.ts +51 -0
  254. package/esm/ui/legend/types.js +2 -0
  255. package/esm/ui/legend/types.js.map +1 -0
  256. package/esm/ui/legend/utils.d.ts +10 -0
  257. package/esm/ui/legend/utils.js +104 -0
  258. package/esm/ui/legend/utils.js.map +1 -0
  259. package/esm/ui/marker/index.d.ts +22 -0
  260. package/esm/ui/marker/index.js +96 -0
  261. package/esm/ui/marker/index.js.map +1 -0
  262. package/esm/ui/marker/symbol.d.ts +70 -0
  263. package/esm/ui/marker/symbol.js +172 -0
  264. package/esm/ui/marker/symbol.js.map +1 -0
  265. package/esm/ui/marker/types.d.ts +8 -0
  266. package/esm/ui/marker/types.js +2 -0
  267. package/esm/ui/marker/types.js.map +1 -0
  268. package/esm/ui/marker/utils.d.ts +5 -0
  269. package/esm/ui/marker/utils.js +26 -0
  270. package/esm/ui/marker/utils.js.map +1 -0
  271. package/esm/ui/navigator/index.d.ts +35 -0
  272. package/esm/ui/navigator/index.js +286 -0
  273. package/esm/ui/navigator/index.js.map +1 -0
  274. package/esm/ui/navigator/types.d.ts +22 -0
  275. package/esm/ui/navigator/types.js +2 -0
  276. package/esm/ui/navigator/types.js.map +1 -0
  277. package/esm/ui/poptip/constant.d.ts +291 -0
  278. package/esm/ui/poptip/constant.js +161 -0
  279. package/esm/ui/poptip/constant.js.map +1 -0
  280. package/esm/ui/poptip/index.d.ts +76 -0
  281. package/esm/ui/poptip/index.js +241 -0
  282. package/esm/ui/poptip/index.js.map +1 -0
  283. package/esm/ui/poptip/types.d.ts +58 -0
  284. package/esm/ui/poptip/types.js +2 -0
  285. package/esm/ui/poptip/types.js.map +1 -0
  286. package/esm/ui/poptip/utils.d.ts +12 -0
  287. package/esm/ui/poptip/utils.js +66 -0
  288. package/esm/ui/poptip/utils.js.map +1 -0
  289. package/esm/ui/scrollbar/index.d.ts +50 -0
  290. package/esm/ui/scrollbar/index.js +199 -0
  291. package/esm/ui/scrollbar/index.js.map +1 -0
  292. package/esm/ui/scrollbar/types.d.ts +29 -0
  293. package/esm/ui/scrollbar/types.js +2 -0
  294. package/esm/ui/scrollbar/types.js.map +1 -0
  295. package/esm/ui/select/index.d.ts +2 -0
  296. package/esm/ui/select/index.js +2 -0
  297. package/esm/ui/select/index.js.map +1 -0
  298. package/esm/ui/select/option.d.ts +15 -0
  299. package/esm/ui/select/option.js +77 -0
  300. package/esm/ui/select/option.js.map +1 -0
  301. package/esm/ui/select/select.d.ts +18 -0
  302. package/esm/ui/select/select.js +208 -0
  303. package/esm/ui/select/select.js.map +1 -0
  304. package/esm/ui/select/types.d.ts +42 -0
  305. package/esm/ui/select/types.js +2 -0
  306. package/esm/ui/select/types.js.map +1 -0
  307. package/esm/ui/slider/constant.d.ts +59 -0
  308. package/esm/ui/slider/constant.js +33 -0
  309. package/esm/ui/slider/constant.js.map +1 -0
  310. package/esm/ui/slider/handle.d.ts +26 -0
  311. package/esm/ui/slider/handle.js +85 -0
  312. package/esm/ui/slider/handle.js.map +1 -0
  313. package/esm/ui/slider/index.d.ts +84 -0
  314. package/esm/ui/slider/index.js +508 -0
  315. package/esm/ui/slider/index.js.map +1 -0
  316. package/esm/ui/slider/types.d.ts +55 -0
  317. package/esm/ui/slider/types.js +2 -0
  318. package/esm/ui/slider/types.js.map +1 -0
  319. package/esm/ui/sparkline/columns.d.ts +12 -0
  320. package/esm/ui/sparkline/columns.js +44 -0
  321. package/esm/ui/sparkline/columns.js.map +1 -0
  322. package/esm/ui/sparkline/index.d.ts +31 -0
  323. package/esm/ui/sparkline/index.js +242 -0
  324. package/esm/ui/sparkline/index.js.map +1 -0
  325. package/esm/ui/sparkline/lines.d.ts +16 -0
  326. package/esm/ui/sparkline/lines.js +68 -0
  327. package/esm/ui/sparkline/lines.js.map +1 -0
  328. package/esm/ui/sparkline/path.d.ts +32 -0
  329. package/esm/ui/sparkline/path.js +137 -0
  330. package/esm/ui/sparkline/path.js.map +1 -0
  331. package/esm/ui/sparkline/types.d.ts +35 -0
  332. package/esm/ui/sparkline/types.js +2 -0
  333. package/esm/ui/sparkline/types.js.map +1 -0
  334. package/esm/ui/sparkline/utils.d.ts +9 -0
  335. package/esm/ui/sparkline/utils.js +35 -0
  336. package/esm/ui/sparkline/utils.js.map +1 -0
  337. package/esm/ui/switch/constant.d.ts +59 -0
  338. package/esm/ui/switch/constant.js +60 -0
  339. package/esm/ui/switch/constant.js.map +1 -0
  340. package/esm/ui/switch/index.d.ts +16 -0
  341. package/esm/ui/switch/index.js +136 -0
  342. package/esm/ui/switch/index.js.map +1 -0
  343. package/esm/ui/switch/types.d.ts +38 -0
  344. package/esm/ui/switch/types.js +2 -0
  345. package/esm/ui/switch/types.js.map +1 -0
  346. package/esm/ui/tag/index.d.ts +17 -0
  347. package/esm/ui/tag/index.js +85 -0
  348. package/esm/ui/tag/index.js.map +1 -0
  349. package/esm/ui/tag/types.d.ts +20 -0
  350. package/esm/ui/tag/types.js +2 -0
  351. package/esm/ui/tag/types.js.map +1 -0
  352. package/esm/ui/timebar/controller.d.ts +15 -0
  353. package/esm/ui/timebar/controller.js +132 -0
  354. package/esm/ui/timebar/controller.js.map +1 -0
  355. package/esm/ui/timebar/handle.d.ts +35 -0
  356. package/esm/ui/timebar/handle.js +93 -0
  357. package/esm/ui/timebar/handle.js.map +1 -0
  358. package/esm/ui/timebar/icons.d.ts +126 -0
  359. package/esm/ui/timebar/icons.js +708 -0
  360. package/esm/ui/timebar/icons.js.map +1 -0
  361. package/esm/ui/timebar/index.d.ts +2 -0
  362. package/esm/ui/timebar/index.js +2 -0
  363. package/esm/ui/timebar/index.js.map +1 -0
  364. package/esm/ui/timebar/timebar.d.ts +49 -0
  365. package/esm/ui/timebar/timebar.js +507 -0
  366. package/esm/ui/timebar/timebar.js.map +1 -0
  367. package/esm/ui/timebar/types.d.ts +90 -0
  368. package/esm/ui/timebar/types.js +2 -0
  369. package/esm/ui/timebar/types.js.map +1 -0
  370. package/esm/ui/timebar/utils.d.ts +16 -0
  371. package/esm/ui/timebar/utils.js +78 -0
  372. package/esm/ui/timebar/utils.js.map +1 -0
  373. package/esm/ui/timeline/button.js +159 -0
  374. package/esm/ui/timeline/button.js.map +1 -0
  375. package/esm/ui/timeline/cellAxis.js +223 -0
  376. package/esm/ui/timeline/cellAxis.js.map +1 -0
  377. package/esm/ui/timeline/checkbox.js +103 -0
  378. package/esm/ui/timeline/checkbox.js.map +1 -0
  379. package/esm/ui/timeline/constants.js +113 -0
  380. package/esm/ui/timeline/constants.js.map +1 -0
  381. package/esm/ui/timeline/index.d.ts +4 -0
  382. package/esm/ui/timeline/index.js +236 -0
  383. package/esm/ui/timeline/index.js.map +1 -0
  384. package/esm/ui/timeline/playAxis.js +166 -0
  385. package/esm/ui/timeline/playAxis.js.map +1 -0
  386. package/esm/ui/timeline/sliderAxis.js +306 -0
  387. package/esm/ui/timeline/sliderAxis.js.map +1 -0
  388. package/esm/ui/timeline/speedcontrol.js +114 -0
  389. package/esm/ui/timeline/speedcontrol.js.map +1 -0
  390. package/esm/ui/timeline/types.js +103 -0
  391. package/esm/ui/timeline/types.js.map +1 -0
  392. package/esm/ui/title/index.d.ts +24 -0
  393. package/esm/ui/title/index.js +140 -0
  394. package/esm/ui/title/index.js.map +1 -0
  395. package/esm/ui/title/types.d.ts +12 -0
  396. package/esm/ui/title/types.js +2 -0
  397. package/esm/ui/title/types.js.map +1 -0
  398. package/esm/ui/tooltip/constant.d.ts +264 -0
  399. package/esm/ui/tooltip/constant.js +89 -0
  400. package/esm/ui/tooltip/constant.js.map +1 -0
  401. package/esm/ui/tooltip/index.d.ts +50 -0
  402. package/esm/ui/tooltip/index.js +252 -0
  403. package/esm/ui/tooltip/index.js.map +1 -0
  404. package/esm/ui/tooltip/types.d.ts +50 -0
  405. package/esm/ui/tooltip/types.js +2 -0
  406. package/esm/ui/tooltip/types.js.map +1 -0
  407. package/esm/util/angle-converter.d.ts +2 -0
  408. package/esm/util/angle-converter.js +7 -0
  409. package/esm/util/angle-converter.js.map +1 -0
  410. package/esm/util/bbox.d.ts +24 -0
  411. package/esm/util/bbox.js +69 -0
  412. package/esm/util/bbox.js.map +1 -0
  413. package/esm/util/callback.d.ts +1 -0
  414. package/esm/util/callback.js +6 -0
  415. package/esm/util/callback.js.map +1 -0
  416. package/esm/util/classnames.d.ts +7 -0
  417. package/esm/util/classnames.js +22 -0
  418. package/esm/util/classnames.js.map +1 -0
  419. package/esm/util/deep-assign.d.ts +1 -0
  420. package/esm/util/deep-assign.js +47 -0
  421. package/esm/util/deep-assign.js.map +1 -0
  422. package/esm/util/defined.d.ts +1 -0
  423. package/esm/util/defined.js +2 -0
  424. package/esm/util/defined.js.map +1 -0
  425. package/esm/util/ellipsis.d.ts +2 -0
  426. package/esm/util/ellipsis.js +6 -0
  427. package/esm/util/ellipsis.js.map +1 -0
  428. package/esm/util/event.d.ts +2 -15
  429. package/esm/util/event.js +13 -28
  430. package/esm/util/event.js.map +1 -1
  431. package/esm/util/extend-display-object.d.ts +3 -0
  432. package/esm/util/extend-display-object.js +8 -0
  433. package/esm/util/extend-display-object.js.map +1 -0
  434. package/esm/util/geometry/index.d.ts +2 -0
  435. package/esm/util/geometry/index.js +3 -0
  436. package/esm/util/geometry/index.js.map +1 -0
  437. package/esm/util/geometry/line-length.d.ts +5 -0
  438. package/esm/util/geometry/line-length.js +10 -0
  439. package/esm/util/geometry/line-length.js.map +1 -0
  440. package/esm/util/geometry/lines-intersection.d.ts +6 -0
  441. package/esm/util/geometry/lines-intersection.js +56 -0
  442. package/esm/util/geometry/lines-intersection.js.map +1 -0
  443. package/esm/util/group-by.d.ts +3 -0
  444. package/esm/util/group-by.js +7 -0
  445. package/esm/util/group-by.js.map +1 -0
  446. package/esm/util/group.d.ts +1 -0
  447. package/esm/util/group.js +12 -0
  448. package/esm/util/group.js.map +1 -0
  449. package/esm/util/html.d.ts +2 -0
  450. package/esm/util/html.js +12 -0
  451. package/esm/util/html.js.map +1 -0
  452. package/esm/util/if-show.d.ts +2 -0
  453. package/esm/util/if-show.js +13 -0
  454. package/esm/util/if-show.js.map +1 -0
  455. package/esm/util/in-range.d.ts +1 -0
  456. package/esm/util/in-range.js +8 -0
  457. package/esm/util/in-range.js.map +1 -0
  458. package/esm/util/index.d.ts +40 -0
  459. package/esm/util/index.js +41 -0
  460. package/esm/util/index.js.map +1 -0
  461. package/esm/util/interpolate.d.ts +17 -0
  462. package/esm/util/interpolate.js +58 -0
  463. package/esm/util/interpolate.js.map +1 -0
  464. package/esm/util/keyframe-interpolate.d.ts +4 -0
  465. package/esm/util/keyframe-interpolate.js +17 -0
  466. package/esm/util/keyframe-interpolate.js.map +1 -0
  467. package/esm/util/layout/executer.d.ts +3 -0
  468. package/esm/util/layout/executer.js +11 -0
  469. package/esm/util/layout/executer.js.map +1 -0
  470. package/esm/util/layout/flex/index.d.ts +3 -0
  471. package/esm/util/layout/flex/index.js +73 -0
  472. package/esm/util/layout/flex/index.js.map +1 -0
  473. package/esm/util/layout/flex/types.d.ts +28 -0
  474. package/esm/util/layout/flex/types.js +2 -0
  475. package/esm/util/layout/flex/types.js.map +1 -0
  476. package/esm/util/layout/grid/index.d.ts +3 -0
  477. package/esm/util/layout/grid/index.js +5 -0
  478. package/esm/util/layout/grid/index.js.map +1 -0
  479. package/esm/util/layout/grid/types.d.ts +9 -0
  480. package/esm/util/layout/grid/types.js +2 -0
  481. package/esm/util/layout/grid/types.js.map +1 -0
  482. package/esm/util/layout/index.d.ts +4 -0
  483. package/esm/util/layout/index.js +5 -0
  484. package/esm/util/layout/index.js.map +1 -0
  485. package/esm/util/layout/types.d.ts +8 -0
  486. package/esm/util/layout/types.js +2 -0
  487. package/esm/util/layout/types.js.map +1 -0
  488. package/esm/util/layout/utils/helper.d.ts +3 -0
  489. package/esm/util/layout/utils/helper.js +22 -0
  490. package/esm/util/layout/utils/helper.js.map +1 -0
  491. package/esm/util/layout/utils/index.d.ts +1 -0
  492. package/esm/util/layout/utils/index.js +2 -0
  493. package/esm/util/layout/utils/index.js.map +1 -0
  494. package/esm/util/matrix.d.ts +20 -17
  495. package/esm/util/matrix.js +40 -58
  496. package/esm/util/matrix.js.map +1 -1
  497. package/esm/util/number.d.ts +24 -0
  498. package/esm/util/number.js +40 -0
  499. package/esm/util/number.js.map +1 -0
  500. package/esm/util/offscreen.d.ts +8 -0
  501. package/esm/util/offscreen.js +37 -0
  502. package/esm/util/offscreen.js.map +1 -0
  503. package/esm/util/omit.d.ts +1 -0
  504. package/esm/util/omit.js +11 -0
  505. package/esm/util/omit.js.map +1 -0
  506. package/esm/util/path.d.ts +23 -0
  507. package/esm/util/path.js +118 -0
  508. package/esm/util/path.js.map +1 -0
  509. package/esm/util/primitive.d.ts +3 -0
  510. package/esm/util/primitive.js +91 -0
  511. package/esm/util/primitive.js.map +1 -0
  512. package/esm/util/sampling.d.ts +1 -0
  513. package/esm/util/sampling.js +11 -0
  514. package/esm/util/sampling.js.map +1 -0
  515. package/esm/util/scale-to-pixel.d.ts +5 -0
  516. package/esm/util/scale-to-pixel.js +12 -0
  517. package/esm/util/scale-to-pixel.js.map +1 -0
  518. package/esm/util/selection.d.ts +77 -0
  519. package/esm/util/selection.js +370 -0
  520. package/esm/util/selection.js.map +1 -0
  521. package/esm/util/series.d.ts +6 -0
  522. package/esm/util/series.js +26 -0
  523. package/esm/util/series.js.map +1 -0
  524. package/esm/util/shape.d.ts +23 -0
  525. package/esm/util/shape.js +58 -0
  526. package/esm/util/shape.js.map +1 -0
  527. package/esm/util/string.d.ts +4 -0
  528. package/esm/util/string.js +17 -0
  529. package/esm/util/string.js.map +1 -0
  530. package/esm/util/style.d.ts +29 -0
  531. package/esm/util/style.js +113 -0
  532. package/esm/util/style.js.map +1 -0
  533. package/esm/util/svg2marker.d.ts +14 -0
  534. package/esm/util/svg2marker.js +64 -0
  535. package/esm/util/svg2marker.js.map +1 -0
  536. package/esm/util/text.d.ts +18 -6
  537. package/esm/util/text.js +40 -73
  538. package/esm/util/text.js.map +1 -1
  539. package/esm/util/throttle.d.ts +5 -0
  540. package/esm/util/throttle.js +31 -0
  541. package/esm/util/throttle.js.map +1 -0
  542. package/esm/util/time.d.ts +26 -0
  543. package/esm/util/time.js +94 -0
  544. package/esm/util/time.js.map +1 -0
  545. package/esm/util/timer.d.ts +4 -0
  546. package/esm/util/timer.js +23 -0
  547. package/esm/util/timer.js.map +1 -0
  548. package/esm/util/transform.d.ts +6 -0
  549. package/esm/util/transform.js +27 -0
  550. package/esm/util/transform.js.map +1 -0
  551. package/esm/util/transpose.d.ts +1 -0
  552. package/esm/util/transpose.js +5 -0
  553. package/esm/util/transpose.js.map +1 -0
  554. package/esm/util/traverse.d.ts +2 -0
  555. package/esm/util/traverse.js +10 -0
  556. package/esm/util/traverse.js.map +1 -0
  557. package/esm/util/visibility.d.ts +4 -0
  558. package/esm/util/visibility.js +14 -0
  559. package/esm/util/visibility.js.map +1 -0
  560. package/esm/util/wrap.d.ts +2 -0
  561. package/esm/util/wrap.js +7 -0
  562. package/esm/util/wrap.js.map +1 -0
  563. package/lib/animation/fadeIn.d.ts +3 -0
  564. package/lib/animation/fadeIn.js +10 -0
  565. package/lib/animation/fadeIn.js.map +1 -0
  566. package/lib/animation/fadeOut.d.ts +3 -0
  567. package/lib/animation/fadeOut.js +10 -0
  568. package/lib/animation/fadeOut.js.map +1 -0
  569. package/lib/animation/index.d.ts +4 -0
  570. package/lib/animation/index.js +10 -0
  571. package/lib/animation/index.js.map +1 -0
  572. package/lib/animation/types.d.ts +9 -0
  573. package/lib/animation/types.js +4 -0
  574. package/lib/animation/types.js.map +1 -0
  575. package/lib/animation/utils.d.ts +26 -0
  576. package/lib/animation/utils.js +160 -0
  577. package/lib/animation/utils.js.map +1 -0
  578. package/lib/constant.d.ts +1 -0
  579. package/lib/constant.js +6 -0
  580. package/lib/constant.js.map +1 -0
  581. package/lib/core/component.d.ts +18 -0
  582. package/lib/core/component.js +61 -0
  583. package/lib/core/component.js.map +1 -0
  584. package/lib/core/index.d.ts +2 -0
  585. package/lib/core/index.js +8 -0
  586. package/lib/core/index.js.map +1 -0
  587. package/lib/core/types.d.ts +27 -0
  588. package/lib/core/types.js.map +1 -0
  589. package/lib/index.d.ts +2 -17
  590. package/lib/index.js +6 -29
  591. package/lib/index.js.map +1 -1
  592. package/lib/shapes/Circle.d.ts +4 -0
  593. package/lib/shapes/Circle.js +6 -0
  594. package/lib/shapes/Circle.js.map +1 -0
  595. package/lib/shapes/CustomElement.d.ts +4 -0
  596. package/lib/shapes/CustomElement.js +6 -0
  597. package/lib/shapes/CustomElement.js.map +1 -0
  598. package/lib/shapes/DisplayObject.d.ts +2 -0
  599. package/lib/shapes/DisplayObject.js +6 -0
  600. package/lib/shapes/DisplayObject.js.map +1 -0
  601. package/lib/shapes/Ellipse.d.ts +4 -0
  602. package/lib/shapes/Ellipse.js +6 -0
  603. package/lib/shapes/Ellipse.js.map +1 -0
  604. package/lib/shapes/Group.d.ts +4 -0
  605. package/lib/shapes/Group.js +6 -0
  606. package/lib/shapes/Group.js.map +1 -0
  607. package/lib/shapes/HTML.d.ts +4 -0
  608. package/lib/shapes/HTML.js +6 -0
  609. package/lib/shapes/HTML.js.map +1 -0
  610. package/lib/shapes/Image.d.ts +4 -0
  611. package/lib/shapes/Image.js +6 -0
  612. package/lib/shapes/Image.js.map +1 -0
  613. package/lib/shapes/Line.d.ts +4 -0
  614. package/lib/shapes/Line.js +6 -0
  615. package/lib/shapes/Line.js.map +1 -0
  616. package/lib/shapes/Path.d.ts +4 -0
  617. package/lib/shapes/Path.js +6 -0
  618. package/lib/shapes/Path.js.map +1 -0
  619. package/lib/shapes/Polygon.d.ts +4 -0
  620. package/lib/shapes/Polygon.js +6 -0
  621. package/lib/shapes/Polygon.js.map +1 -0
  622. package/lib/shapes/Polyline.d.ts +4 -0
  623. package/lib/shapes/Polyline.js +6 -0
  624. package/lib/shapes/Polyline.js.map +1 -0
  625. package/lib/shapes/Rect.d.ts +4 -0
  626. package/lib/shapes/Rect.js +6 -0
  627. package/lib/shapes/Rect.js.map +1 -0
  628. package/lib/shapes/Text.d.ts +10 -0
  629. package/lib/shapes/Text.js +30 -0
  630. package/lib/shapes/Text.js.map +1 -0
  631. package/lib/shapes/index.d.ts +13 -0
  632. package/lib/shapes/index.js +17 -0
  633. package/lib/shapes/index.js.map +1 -0
  634. package/lib/shapes/types.d.ts +6 -0
  635. package/lib/shapes/types.js +3 -0
  636. package/lib/shapes/types.js.map +1 -0
  637. package/lib/types/index.d.ts +19 -0
  638. package/lib/types/index.js +6 -0
  639. package/lib/types/index.js.map +1 -0
  640. package/lib/types/prefix.d.ts +3 -0
  641. package/lib/types/prefix.js +3 -0
  642. package/lib/types/prefix.js.map +1 -0
  643. package/lib/types/styles.d.ts +5 -0
  644. package/lib/types/styles.js +3 -0
  645. package/lib/types/styles.js.map +1 -0
  646. package/lib/ui/axis/axis.d.ts +9 -0
  647. package/lib/ui/axis/axis.js +68 -0
  648. package/lib/ui/axis/axis.js.map +1 -0
  649. package/lib/ui/axis/constant.d.ts +81 -0
  650. package/lib/ui/axis/constant.js +94 -0
  651. package/lib/ui/axis/constant.js.map +1 -0
  652. package/lib/ui/axis/guides/grid.d.ts +4 -0
  653. package/lib/ui/axis/guides/grid.js +80 -0
  654. package/lib/ui/axis/guides/grid.js.map +1 -0
  655. package/lib/ui/axis/guides/labels.d.ts +4 -0
  656. package/lib/ui/axis/guides/labels.js +236 -0
  657. package/lib/ui/axis/guides/labels.js.map +1 -0
  658. package/lib/ui/axis/guides/line.d.ts +10 -0
  659. package/lib/ui/axis/guides/line.js +206 -0
  660. package/lib/ui/axis/guides/line.js.map +1 -0
  661. package/lib/ui/axis/guides/ticks.d.ts +7 -0
  662. package/lib/ui/axis/guides/ticks.js +79 -0
  663. package/lib/ui/axis/guides/ticks.js.map +1 -0
  664. package/lib/ui/axis/guides/title.d.ts +5 -0
  665. package/lib/ui/axis/guides/title.js +81 -0
  666. package/lib/ui/axis/guides/title.js.map +1 -0
  667. package/lib/ui/axis/guides/utils.d.ts +14 -0
  668. package/lib/ui/axis/guides/utils.js +52 -0
  669. package/lib/ui/axis/guides/utils.js.map +1 -0
  670. package/lib/ui/axis/index.d.ts +3 -0
  671. package/lib/ui/axis/index.js +6 -0
  672. package/lib/ui/axis/index.js.map +1 -0
  673. package/lib/ui/axis/overlap/autoEllipsis.d.ts +8 -0
  674. package/lib/ui/axis/overlap/autoEllipsis.js +47 -0
  675. package/lib/ui/axis/overlap/autoEllipsis.js.map +1 -0
  676. package/lib/ui/axis/overlap/autoHide.d.ts +10 -0
  677. package/lib/ui/axis/overlap/autoHide.js +58 -0
  678. package/lib/ui/axis/overlap/autoHide.js.map +1 -0
  679. package/lib/ui/axis/overlap/autoRotate.d.ts +6 -0
  680. package/lib/ui/axis/overlap/autoRotate.js +36 -0
  681. package/lib/ui/axis/overlap/autoRotate.js.map +1 -0
  682. package/lib/ui/axis/overlap/autoWrap.d.ts +6 -0
  683. package/lib/ui/axis/overlap/autoWrap.js +37 -0
  684. package/lib/ui/axis/overlap/autoWrap.js.map +1 -0
  685. package/lib/ui/axis/overlap/index.d.ts +12 -0
  686. package/lib/ui/axis/overlap/index.js +40 -0
  687. package/lib/ui/axis/overlap/index.js.map +1 -0
  688. package/lib/ui/axis/types.d.ts +175 -0
  689. package/lib/ui/axis/types.js +3 -0
  690. package/lib/ui/axis/types.js.map +1 -0
  691. package/lib/ui/axis/utils/bounds.d.ts +21 -0
  692. package/lib/ui/axis/utils/bounds.js +139 -0
  693. package/lib/ui/axis/utils/bounds.js.map +1 -0
  694. package/lib/ui/axis/utils/contain.d.ts +10 -0
  695. package/lib/ui/axis/utils/contain.js +72 -0
  696. package/lib/ui/axis/utils/contain.js.map +1 -0
  697. package/lib/ui/axis/utils/index.d.ts +3 -0
  698. package/lib/ui/axis/utils/index.js +15 -0
  699. package/lib/ui/axis/utils/index.js.map +1 -0
  700. package/lib/ui/axis/utils/intersect.d.ts +18 -0
  701. package/lib/ui/axis/utils/intersect.js +73 -0
  702. package/lib/ui/axis/utils/intersect.js.map +1 -0
  703. package/lib/ui/axis/utils/test.d.ts +4 -0
  704. package/lib/ui/axis/utils/test.js +84 -0
  705. package/lib/ui/axis/utils/test.js.map +1 -0
  706. package/lib/ui/breadcrumb/index.d.ts +31 -0
  707. package/lib/ui/breadcrumb/index.js +128 -0
  708. package/lib/ui/breadcrumb/index.js.map +1 -0
  709. package/lib/ui/breadcrumb/type.d.ts +40 -0
  710. package/lib/ui/breadcrumb/type.js +3 -0
  711. package/lib/ui/breadcrumb/type.js.map +1 -0
  712. package/lib/ui/button/constant.d.ts +95 -0
  713. package/lib/ui/button/constant.js +76 -0
  714. package/lib/ui/button/constant.js.map +1 -0
  715. package/lib/ui/button/index.d.ts +36 -0
  716. package/lib/ui/button/index.js +166 -0
  717. package/lib/ui/button/index.js.map +1 -0
  718. package/lib/ui/button/types.d.ts +56 -0
  719. package/lib/ui/button/types.js +3 -0
  720. package/lib/ui/button/types.js.map +1 -0
  721. package/lib/ui/checkbox/constant.d.ts +16 -0
  722. package/lib/ui/checkbox/constant.js +43 -0
  723. package/lib/ui/checkbox/constant.js.map +1 -0
  724. package/lib/ui/checkbox/index.d.ts +16 -0
  725. package/lib/ui/checkbox/index.js +43 -0
  726. package/lib/ui/checkbox/index.js.map +1 -0
  727. package/lib/ui/checkbox/types.d.ts +17 -0
  728. package/lib/ui/checkbox/types.js +3 -0
  729. package/lib/ui/checkbox/types.js.map +1 -0
  730. package/lib/ui/crosshair/base.d.ts +37 -0
  731. package/lib/ui/crosshair/base.js +67 -0
  732. package/lib/ui/crosshair/base.js.map +1 -0
  733. package/lib/ui/crosshair/circle.d.ts +16 -0
  734. package/lib/ui/crosshair/circle.js +46 -0
  735. package/lib/ui/crosshair/circle.js.map +1 -0
  736. package/lib/ui/crosshair/constant.d.ts +5 -0
  737. package/lib/ui/crosshair/constant.js +27 -0
  738. package/lib/ui/crosshair/constant.js.map +1 -0
  739. package/lib/ui/crosshair/index.d.ts +4 -0
  740. package/lib/ui/crosshair/index.js +8 -0
  741. package/lib/ui/crosshair/index.js.map +1 -0
  742. package/lib/ui/crosshair/line.d.ts +34 -0
  743. package/lib/ui/crosshair/line.js +110 -0
  744. package/lib/ui/crosshair/line.js.map +1 -0
  745. package/lib/ui/crosshair/polygon.d.ts +29 -0
  746. package/lib/ui/crosshair/polygon.js +101 -0
  747. package/lib/ui/crosshair/polygon.js.map +1 -0
  748. package/lib/ui/crosshair/types.d.ts +29 -0
  749. package/lib/ui/crosshair/types.js +3 -0
  750. package/lib/ui/crosshair/types.js.map +1 -0
  751. package/lib/ui/grid/index.d.ts +7 -0
  752. package/lib/ui/grid/index.js +160 -0
  753. package/lib/ui/grid/index.js.map +1 -0
  754. package/lib/ui/grid/types.d.ts +21 -0
  755. package/lib/ui/grid/types.js +3 -0
  756. package/lib/ui/grid/types.js.map +1 -0
  757. package/lib/ui/index.d.ts +41 -0
  758. package/lib/ui/index.js +59 -0
  759. package/lib/ui/index.js.map +1 -0
  760. package/lib/ui/indicator/constant.d.ts +2 -0
  761. package/lib/ui/indicator/constant.js +19 -0
  762. package/lib/ui/indicator/constant.js.map +1 -0
  763. package/lib/ui/indicator/index.d.ts +1 -0
  764. package/lib/ui/indicator/index.js +5 -0
  765. package/lib/ui/indicator/index.js.map +1 -0
  766. package/lib/ui/indicator/indicator.d.ts +18 -0
  767. package/lib/ui/indicator/indicator.js +139 -0
  768. package/lib/ui/indicator/indicator.js.map +1 -0
  769. package/lib/ui/indicator/types.d.ts +15 -0
  770. package/lib/ui/indicator/types.js +3 -0
  771. package/lib/ui/indicator/types.js.map +1 -0
  772. package/lib/ui/layout/index.d.ts +2 -0
  773. package/lib/ui/layout/index.js +6 -0
  774. package/lib/ui/layout/index.js.map +1 -0
  775. package/lib/ui/layout/layout.d.ts +22 -0
  776. package/lib/ui/layout/layout.js +95 -0
  777. package/lib/ui/layout/layout.js.map +1 -0
  778. package/lib/ui/layout/types.d.ts +11 -0
  779. package/lib/ui/layout/types.js +3 -0
  780. package/lib/ui/layout/types.js.map +1 -0
  781. package/lib/ui/legend/base.d.ts +10 -0
  782. package/lib/ui/legend/base.js +58 -0
  783. package/lib/ui/legend/base.js.map +1 -0
  784. package/lib/ui/legend/category/item.d.ts +41 -0
  785. package/lib/ui/legend/category/item.js +212 -0
  786. package/lib/ui/legend/category/item.js.map +1 -0
  787. package/lib/ui/legend/category/items.d.ts +49 -0
  788. package/lib/ui/legend/category/items.js +296 -0
  789. package/lib/ui/legend/category/items.js.map +1 -0
  790. package/lib/ui/legend/category.d.ts +17 -0
  791. package/lib/ui/legend/category.js +83 -0
  792. package/lib/ui/legend/category.js.map +1 -0
  793. package/lib/ui/legend/constant.d.ts +78 -0
  794. package/lib/ui/legend/constant.js +67 -0
  795. package/lib/ui/legend/constant.js.map +1 -0
  796. package/lib/ui/legend/continuous/handle.d.ts +24 -0
  797. package/lib/ui/legend/continuous/handle.js +68 -0
  798. package/lib/ui/legend/continuous/handle.js.map +1 -0
  799. package/lib/ui/legend/continuous/ribbon.d.ts +24 -0
  800. package/lib/ui/legend/continuous/ribbon.js +109 -0
  801. package/lib/ui/legend/continuous/ribbon.js.map +1 -0
  802. package/lib/ui/legend/continuous/utils.d.ts +5 -0
  803. package/lib/ui/legend/continuous/utils.js +29 -0
  804. package/lib/ui/legend/continuous/utils.js.map +1 -0
  805. package/lib/ui/legend/continuous.d.ts +81 -0
  806. package/lib/ui/legend/continuous.js +671 -0
  807. package/lib/ui/legend/continuous.js.map +1 -0
  808. package/lib/ui/legend/index.d.ts +6 -0
  809. package/lib/ui/legend/index.js +8 -0
  810. package/lib/ui/legend/index.js.map +1 -0
  811. package/lib/ui/legend/types.d.ts +51 -0
  812. package/lib/ui/legend/types.js +3 -0
  813. package/lib/ui/legend/types.js.map +1 -0
  814. package/lib/ui/legend/utils.d.ts +10 -0
  815. package/lib/ui/legend/utils.js +114 -0
  816. package/lib/ui/legend/utils.js.map +1 -0
  817. package/lib/ui/marker/index.d.ts +22 -0
  818. package/lib/ui/marker/index.js +99 -0
  819. package/lib/ui/marker/index.js.map +1 -0
  820. package/lib/ui/marker/symbol.d.ts +70 -0
  821. package/lib/ui/marker/symbol.js +194 -0
  822. package/lib/ui/marker/symbol.js.map +1 -0
  823. package/lib/ui/marker/types.d.ts +8 -0
  824. package/lib/ui/marker/types.js +3 -0
  825. package/lib/ui/marker/types.js.map +1 -0
  826. package/lib/ui/marker/utils.d.ts +5 -0
  827. package/lib/ui/marker/utils.js +30 -0
  828. package/lib/ui/marker/utils.js.map +1 -0
  829. package/lib/ui/navigator/index.d.ts +35 -0
  830. package/lib/ui/navigator/index.js +289 -0
  831. package/lib/ui/navigator/index.js.map +1 -0
  832. package/lib/ui/navigator/types.d.ts +22 -0
  833. package/lib/ui/navigator/types.js +3 -0
  834. package/lib/ui/navigator/types.js.map +1 -0
  835. package/lib/ui/poptip/constant.d.ts +291 -0
  836. package/lib/ui/poptip/constant.js +164 -0
  837. package/lib/ui/poptip/constant.js.map +1 -0
  838. package/lib/ui/poptip/index.d.ts +76 -0
  839. package/lib/ui/poptip/index.js +245 -0
  840. package/lib/ui/poptip/index.js.map +1 -0
  841. package/lib/ui/poptip/types.d.ts +58 -0
  842. package/lib/ui/poptip/types.js +3 -0
  843. package/lib/ui/poptip/types.js.map +1 -0
  844. package/lib/ui/poptip/utils.d.ts +12 -0
  845. package/lib/ui/poptip/utils.js +71 -0
  846. package/lib/ui/poptip/utils.js.map +1 -0
  847. package/lib/ui/scrollbar/index.d.ts +50 -0
  848. package/lib/ui/scrollbar/index.js +202 -0
  849. package/lib/ui/scrollbar/index.js.map +1 -0
  850. package/lib/ui/scrollbar/types.d.ts +29 -0
  851. package/lib/ui/scrollbar/types.js +3 -0
  852. package/lib/ui/scrollbar/types.js.map +1 -0
  853. package/lib/ui/select/index.d.ts +2 -0
  854. package/lib/ui/select/index.js +6 -0
  855. package/lib/ui/select/index.js.map +1 -0
  856. package/lib/ui/select/option.d.ts +15 -0
  857. package/lib/ui/select/option.js +80 -0
  858. package/lib/ui/select/option.js.map +1 -0
  859. package/lib/ui/select/select.d.ts +18 -0
  860. package/lib/ui/select/select.js +211 -0
  861. package/lib/ui/select/select.js.map +1 -0
  862. package/lib/ui/select/types.d.ts +42 -0
  863. package/lib/ui/select/types.js +3 -0
  864. package/lib/ui/select/types.js.map +1 -0
  865. package/lib/ui/slider/constant.d.ts +59 -0
  866. package/lib/ui/slider/constant.js +36 -0
  867. package/lib/ui/slider/constant.js.map +1 -0
  868. package/lib/ui/slider/handle.d.ts +26 -0
  869. package/lib/ui/slider/handle.js +88 -0
  870. package/lib/ui/slider/handle.js.map +1 -0
  871. package/lib/ui/slider/index.d.ts +84 -0
  872. package/lib/ui/slider/index.js +511 -0
  873. package/lib/ui/slider/index.js.map +1 -0
  874. package/lib/ui/slider/types.d.ts +55 -0
  875. package/lib/ui/slider/types.js +3 -0
  876. package/lib/ui/slider/types.js.map +1 -0
  877. package/lib/ui/sparkline/columns.d.ts +12 -0
  878. package/lib/ui/sparkline/columns.js +47 -0
  879. package/lib/ui/sparkline/columns.js.map +1 -0
  880. package/lib/ui/sparkline/index.d.ts +31 -0
  881. package/lib/ui/sparkline/index.js +245 -0
  882. package/lib/ui/sparkline/index.js.map +1 -0
  883. package/lib/ui/sparkline/lines.d.ts +16 -0
  884. package/lib/ui/sparkline/lines.js +71 -0
  885. package/lib/ui/sparkline/lines.js.map +1 -0
  886. package/lib/ui/sparkline/path.d.ts +32 -0
  887. package/lib/ui/sparkline/path.js +147 -0
  888. package/lib/ui/sparkline/path.js.map +1 -0
  889. package/lib/ui/sparkline/types.d.ts +35 -0
  890. package/lib/ui/sparkline/types.js +3 -0
  891. package/lib/ui/sparkline/types.js.map +1 -0
  892. package/lib/ui/sparkline/utils.d.ts +9 -0
  893. package/lib/ui/sparkline/utils.js +40 -0
  894. package/lib/ui/sparkline/utils.js.map +1 -0
  895. package/lib/ui/switch/constant.d.ts +59 -0
  896. package/lib/ui/switch/constant.js +63 -0
  897. package/lib/ui/switch/constant.js.map +1 -0
  898. package/lib/ui/switch/index.d.ts +16 -0
  899. package/lib/ui/switch/index.js +139 -0
  900. package/lib/ui/switch/index.js.map +1 -0
  901. package/lib/ui/switch/types.d.ts +38 -0
  902. package/lib/ui/switch/types.js +3 -0
  903. package/lib/ui/switch/types.js.map +1 -0
  904. package/lib/ui/tag/index.d.ts +17 -0
  905. package/lib/ui/tag/index.js +88 -0
  906. package/lib/ui/tag/index.js.map +1 -0
  907. package/lib/ui/tag/types.d.ts +20 -0
  908. package/lib/ui/tag/types.js +3 -0
  909. package/lib/ui/tag/types.js.map +1 -0
  910. package/lib/ui/timebar/controller.d.ts +15 -0
  911. package/lib/ui/timebar/controller.js +135 -0
  912. package/lib/ui/timebar/controller.js.map +1 -0
  913. package/lib/ui/timebar/handle.d.ts +35 -0
  914. package/lib/ui/timebar/handle.js +96 -0
  915. package/lib/ui/timebar/handle.js.map +1 -0
  916. package/lib/ui/timebar/icons.d.ts +126 -0
  917. package/lib/ui/timebar/icons.js +711 -0
  918. package/lib/ui/timebar/icons.js.map +1 -0
  919. package/lib/ui/timebar/index.d.ts +2 -0
  920. package/lib/ui/timebar/index.js +6 -0
  921. package/lib/ui/timebar/index.js.map +1 -0
  922. package/lib/ui/timebar/timebar.d.ts +49 -0
  923. package/lib/ui/timebar/timebar.js +510 -0
  924. package/lib/ui/timebar/timebar.js.map +1 -0
  925. package/lib/ui/timebar/types.d.ts +90 -0
  926. package/lib/ui/timebar/types.js +3 -0
  927. package/lib/ui/timebar/types.js.map +1 -0
  928. package/lib/ui/timebar/utils.d.ts +16 -0
  929. package/lib/ui/timebar/utils.js +84 -0
  930. package/lib/ui/timebar/utils.js.map +1 -0
  931. package/lib/ui/timeline/button.js +159 -0
  932. package/lib/ui/timeline/button.js.map +1 -0
  933. package/lib/ui/timeline/cellAxis.js +223 -0
  934. package/lib/ui/timeline/cellAxis.js.map +1 -0
  935. package/lib/ui/timeline/checkbox.js +103 -0
  936. package/lib/ui/timeline/checkbox.js.map +1 -0
  937. package/lib/ui/timeline/constants.js +113 -0
  938. package/lib/ui/timeline/constants.js.map +1 -0
  939. package/lib/ui/timeline/index.d.ts +4 -0
  940. package/lib/ui/timeline/index.js +239 -0
  941. package/lib/ui/timeline/index.js.map +1 -0
  942. package/lib/ui/timeline/playAxis.d.ts +0 -0
  943. package/lib/ui/timeline/playAxis.js +166 -0
  944. package/lib/ui/timeline/playAxis.js.map +1 -0
  945. package/lib/ui/timeline/sliderAxis.d.ts +0 -0
  946. package/lib/ui/timeline/sliderAxis.js +306 -0
  947. package/lib/ui/timeline/sliderAxis.js.map +1 -0
  948. package/lib/ui/timeline/speedcontrol.d.ts +0 -0
  949. package/lib/ui/timeline/speedcontrol.js +114 -0
  950. package/lib/ui/timeline/speedcontrol.js.map +1 -0
  951. package/lib/ui/timeline/types.d.ts +0 -0
  952. package/lib/ui/timeline/types.js +103 -0
  953. package/lib/ui/timeline/types.js.map +1 -0
  954. package/lib/ui/title/index.d.ts +24 -0
  955. package/lib/ui/title/index.js +145 -0
  956. package/lib/ui/title/index.js.map +1 -0
  957. package/lib/ui/title/types.d.ts +12 -0
  958. package/lib/ui/title/types.js +3 -0
  959. package/lib/ui/title/types.js.map +1 -0
  960. package/lib/ui/tooltip/constant.d.ts +264 -0
  961. package/lib/ui/tooltip/constant.js +94 -0
  962. package/lib/ui/tooltip/constant.js.map +1 -0
  963. package/lib/ui/tooltip/index.d.ts +50 -0
  964. package/lib/ui/tooltip/index.js +255 -0
  965. package/lib/ui/tooltip/index.js.map +1 -0
  966. package/lib/ui/tooltip/types.d.ts +50 -0
  967. package/lib/ui/tooltip/types.js +3 -0
  968. package/lib/ui/tooltip/types.js.map +1 -0
  969. package/lib/util/angle-converter.d.ts +2 -0
  970. package/lib/util/angle-converter.js +12 -0
  971. package/lib/util/angle-converter.js.map +1 -0
  972. package/lib/util/bbox.d.ts +24 -0
  973. package/lib/util/bbox.js +73 -0
  974. package/lib/util/bbox.js.map +1 -0
  975. package/lib/util/callback.d.ts +1 -0
  976. package/lib/util/callback.js +10 -0
  977. package/lib/util/callback.js.map +1 -0
  978. package/lib/util/classnames.d.ts +7 -0
  979. package/lib/util/classnames.js +26 -0
  980. package/lib/util/classnames.js.map +1 -0
  981. package/lib/util/deep-assign.d.ts +1 -0
  982. package/lib/util/deep-assign.js +51 -0
  983. package/lib/util/deep-assign.js.map +1 -0
  984. package/lib/util/defined.d.ts +1 -0
  985. package/lib/util/defined.js +6 -0
  986. package/lib/util/defined.js.map +1 -0
  987. package/lib/util/ellipsis.d.ts +2 -0
  988. package/lib/util/ellipsis.js +10 -0
  989. package/lib/util/ellipsis.js.map +1 -0
  990. package/lib/util/event.d.ts +2 -15
  991. package/lib/util/event.js +15 -31
  992. package/lib/util/event.js.map +1 -1
  993. package/lib/util/extend-display-object.d.ts +3 -0
  994. package/lib/util/extend-display-object.js +12 -0
  995. package/lib/util/extend-display-object.js.map +1 -0
  996. package/lib/util/geometry/index.d.ts +2 -0
  997. package/lib/util/geometry/index.js +6 -0
  998. package/lib/util/geometry/index.js.map +1 -0
  999. package/lib/util/geometry/line-length.d.ts +5 -0
  1000. package/lib/util/geometry/line-length.js +14 -0
  1001. package/lib/util/geometry/line-length.js.map +1 -0
  1002. package/lib/util/geometry/lines-intersection.d.ts +6 -0
  1003. package/lib/util/geometry/lines-intersection.js +60 -0
  1004. package/lib/util/geometry/lines-intersection.js.map +1 -0
  1005. package/lib/util/group-by.d.ts +3 -0
  1006. package/lib/util/group-by.js +11 -0
  1007. package/lib/util/group-by.js.map +1 -0
  1008. package/lib/util/group.d.ts +1 -0
  1009. package/lib/util/group.js +16 -0
  1010. package/lib/util/group.js.map +1 -0
  1011. package/lib/util/html.d.ts +2 -0
  1012. package/lib/util/html.js +17 -0
  1013. package/lib/util/html.js.map +1 -0
  1014. package/lib/util/if-show.d.ts +2 -0
  1015. package/lib/util/if-show.js +17 -0
  1016. package/lib/util/if-show.js.map +1 -0
  1017. package/lib/util/in-range.d.ts +1 -0
  1018. package/lib/util/in-range.js +12 -0
  1019. package/lib/util/in-range.js.map +1 -0
  1020. package/lib/util/index.d.ts +40 -0
  1021. package/lib/util/index.js +44 -0
  1022. package/lib/util/index.js.map +1 -0
  1023. package/lib/util/interpolate.d.ts +17 -0
  1024. package/lib/util/interpolate.js +65 -0
  1025. package/lib/util/interpolate.js.map +1 -0
  1026. package/lib/util/keyframe-interpolate.d.ts +4 -0
  1027. package/lib/util/keyframe-interpolate.js +21 -0
  1028. package/lib/util/keyframe-interpolate.js.map +1 -0
  1029. package/lib/util/layout/executer.d.ts +3 -0
  1030. package/lib/util/layout/executer.js +13 -0
  1031. package/lib/util/layout/executer.js.map +1 -0
  1032. package/lib/util/layout/flex/index.d.ts +3 -0
  1033. package/lib/util/layout/flex/index.js +77 -0
  1034. package/lib/util/layout/flex/index.js.map +1 -0
  1035. package/lib/util/layout/flex/types.d.ts +28 -0
  1036. package/lib/util/layout/flex/types.js +3 -0
  1037. package/lib/util/layout/flex/types.js.map +1 -0
  1038. package/lib/util/layout/grid/index.d.ts +3 -0
  1039. package/lib/util/layout/grid/index.js +9 -0
  1040. package/lib/util/layout/grid/index.js.map +1 -0
  1041. package/lib/util/layout/grid/types.d.ts +9 -0
  1042. package/lib/util/layout/grid/types.js +3 -0
  1043. package/lib/util/layout/grid/types.js.map +1 -0
  1044. package/lib/util/layout/index.d.ts +4 -0
  1045. package/lib/util/layout/index.js +10 -0
  1046. package/lib/util/layout/index.js.map +1 -0
  1047. package/lib/util/layout/types.d.ts +8 -0
  1048. package/lib/util/layout/types.js +3 -0
  1049. package/lib/util/layout/types.js.map +1 -0
  1050. package/lib/util/layout/utils/helper.d.ts +3 -0
  1051. package/lib/util/layout/utils/helper.js +26 -0
  1052. package/lib/util/layout/utils/helper.js.map +1 -0
  1053. package/lib/util/layout/utils/index.d.ts +1 -0
  1054. package/lib/util/layout/utils/index.js +6 -0
  1055. package/lib/util/layout/utils/index.js.map +1 -0
  1056. package/lib/util/matrix.d.ts +20 -17
  1057. package/lib/util/matrix.js +50 -65
  1058. package/lib/util/matrix.js.map +1 -1
  1059. package/lib/util/number.d.ts +24 -0
  1060. package/lib/util/number.js +51 -0
  1061. package/lib/util/number.js.map +1 -0
  1062. package/lib/util/offscreen.d.ts +8 -0
  1063. package/lib/util/offscreen.js +42 -0
  1064. package/lib/util/offscreen.js.map +1 -0
  1065. package/lib/util/omit.d.ts +1 -0
  1066. package/lib/util/omit.js +15 -0
  1067. package/lib/util/omit.js.map +1 -0
  1068. package/lib/util/path.d.ts +23 -0
  1069. package/lib/util/path.js +122 -0
  1070. package/lib/util/path.js.map +1 -0
  1071. package/lib/util/primitive.d.ts +3 -0
  1072. package/lib/util/primitive.js +96 -0
  1073. package/lib/util/primitive.js.map +1 -0
  1074. package/lib/util/sampling.d.ts +1 -0
  1075. package/lib/util/sampling.js +15 -0
  1076. package/lib/util/sampling.js.map +1 -0
  1077. package/lib/util/scale-to-pixel.d.ts +5 -0
  1078. package/lib/util/scale-to-pixel.js +16 -0
  1079. package/lib/util/scale-to-pixel.js.map +1 -0
  1080. package/lib/util/selection.d.ts +77 -0
  1081. package/lib/util/selection.js +375 -0
  1082. package/lib/util/selection.js.map +1 -0
  1083. package/lib/util/series.d.ts +6 -0
  1084. package/lib/util/series.js +30 -0
  1085. package/lib/util/series.js.map +1 -0
  1086. package/lib/util/shape.d.ts +23 -0
  1087. package/lib/util/shape.js +67 -0
  1088. package/lib/util/shape.js.map +1 -0
  1089. package/lib/util/string.d.ts +4 -0
  1090. package/lib/util/string.js +24 -0
  1091. package/lib/util/string.js.map +1 -0
  1092. package/lib/util/style.d.ts +29 -0
  1093. package/lib/util/style.js +120 -0
  1094. package/lib/util/style.js.map +1 -0
  1095. package/lib/util/svg2marker.d.ts +14 -0
  1096. package/lib/util/svg2marker.js +69 -0
  1097. package/lib/util/svg2marker.js.map +1 -0
  1098. package/lib/util/text.d.ts +18 -6
  1099. package/lib/util/text.js +45 -77
  1100. package/lib/util/text.js.map +1 -1
  1101. package/lib/util/throttle.d.ts +5 -0
  1102. package/lib/util/throttle.js +35 -0
  1103. package/lib/util/throttle.js.map +1 -0
  1104. package/lib/util/time.d.ts +26 -0
  1105. package/lib/util/time.js +103 -0
  1106. package/lib/util/time.js.map +1 -0
  1107. package/lib/util/timer.d.ts +4 -0
  1108. package/lib/util/timer.js +27 -0
  1109. package/lib/util/timer.js.map +1 -0
  1110. package/lib/util/transform.d.ts +6 -0
  1111. package/lib/util/transform.js +32 -0
  1112. package/lib/util/transform.js.map +1 -0
  1113. package/lib/util/transpose.d.ts +1 -0
  1114. package/lib/util/transpose.js +9 -0
  1115. package/lib/util/transpose.js.map +1 -0
  1116. package/lib/util/traverse.d.ts +2 -0
  1117. package/lib/util/traverse.js +14 -0
  1118. package/lib/util/traverse.js.map +1 -0
  1119. package/lib/util/visibility.d.ts +4 -0
  1120. package/lib/util/visibility.js +20 -0
  1121. package/lib/util/visibility.js.map +1 -0
  1122. package/lib/util/wrap.d.ts +2 -0
  1123. package/lib/util/wrap.js +11 -0
  1124. package/lib/util/wrap.js.map +1 -0
  1125. package/package.json +125 -59
  1126. package/src/animation/fadeIn.ts +8 -0
  1127. package/src/animation/fadeOut.ts +8 -0
  1128. package/src/animation/index.ts +4 -0
  1129. package/src/animation/types.ts +15 -0
  1130. package/src/animation/utils.ts +177 -0
  1131. package/src/constant.ts +2 -0
  1132. package/src/core/component.ts +63 -0
  1133. package/src/core/index.ts +2 -0
  1134. package/src/core/types.ts +28 -0
  1135. package/src/index.ts +6 -19
  1136. package/src/shapes/Circle.ts +5 -0
  1137. package/src/shapes/CustomElement.ts +5 -0
  1138. package/src/shapes/DisplayObject.ts +2 -0
  1139. package/src/shapes/Ellipse.ts +5 -0
  1140. package/src/shapes/Group.ts +5 -0
  1141. package/src/shapes/HTML.ts +5 -0
  1142. package/src/shapes/Image.ts +5 -0
  1143. package/src/shapes/Line.ts +5 -0
  1144. package/src/shapes/Path.ts +5 -0
  1145. package/src/shapes/Polygon.ts +5 -0
  1146. package/src/shapes/Polyline.ts +5 -0
  1147. package/src/shapes/Rect.ts +5 -0
  1148. package/src/shapes/Text.ts +38 -0
  1149. package/src/shapes/index.ts +13 -0
  1150. package/src/shapes/types.ts +7 -0
  1151. package/src/types/index.ts +25 -0
  1152. package/src/types/prefix.ts +3 -0
  1153. package/src/types/styles.ts +7 -0
  1154. package/src/ui/axis/axis.ts +90 -0
  1155. package/src/ui/axis/constant.ts +97 -0
  1156. package/src/ui/axis/guides/grid.ts +94 -0
  1157. package/src/ui/axis/guides/labels.ts +257 -0
  1158. package/src/ui/axis/guides/line.ts +266 -0
  1159. package/src/ui/axis/guides/ticks.ts +115 -0
  1160. package/src/ui/axis/guides/title.ts +126 -0
  1161. package/src/ui/axis/guides/utils.ts +63 -0
  1162. package/src/ui/axis/index.ts +3 -0
  1163. package/src/ui/axis/overlap/autoEllipsis.ts +58 -0
  1164. package/src/ui/axis/overlap/autoHide.ts +72 -0
  1165. package/src/ui/axis/overlap/autoRotate.ts +37 -0
  1166. package/src/ui/axis/overlap/autoWrap.ts +47 -0
  1167. package/src/ui/axis/overlap/index.ts +45 -0
  1168. package/src/ui/axis/types.ts +199 -0
  1169. package/src/ui/axis/utils/bounds.ts +132 -0
  1170. package/src/ui/axis/utils/contain.ts +76 -0
  1171. package/src/ui/axis/utils/index.ts +8 -0
  1172. package/src/ui/axis/utils/intersect.ts +65 -0
  1173. package/src/ui/axis/utils/test.ts +76 -0
  1174. package/src/ui/breadcrumb/index.ts +146 -0
  1175. package/src/ui/breadcrumb/type.ts +45 -0
  1176. package/src/ui/button/constant.ts +74 -0
  1177. package/src/ui/button/index.ts +200 -0
  1178. package/src/ui/button/types.ts +63 -0
  1179. package/src/ui/checkbox/constant.ts +48 -0
  1180. package/src/ui/checkbox/index.ts +78 -0
  1181. package/src/ui/checkbox/types.ts +22 -0
  1182. package/src/ui/crosshair/base.ts +83 -0
  1183. package/src/ui/crosshair/circle.ts +51 -0
  1184. package/src/ui/crosshair/constant.ts +45 -0
  1185. package/src/ui/crosshair/index.ts +4 -0
  1186. package/src/ui/crosshair/line.ts +121 -0
  1187. package/src/ui/crosshair/polygon.ts +99 -0
  1188. package/src/ui/crosshair/types.ts +34 -0
  1189. package/src/ui/grid/index.ts +188 -0
  1190. package/src/ui/grid/types.ts +23 -0
  1191. package/src/ui/index.ts +55 -0
  1192. package/src/ui/indicator/constant.ts +17 -0
  1193. package/src/ui/indicator/index.ts +1 -0
  1194. package/src/ui/indicator/indicator.ts +170 -0
  1195. package/src/ui/indicator/types.ts +20 -0
  1196. package/src/ui/layout/index.ts +2 -0
  1197. package/src/ui/layout/layout.ts +103 -0
  1198. package/src/ui/layout/types.ts +14 -0
  1199. package/src/ui/legend/base.ts +60 -0
  1200. package/src/ui/legend/category/item.ts +252 -0
  1201. package/src/ui/legend/category/items.ts +350 -0
  1202. package/src/ui/legend/category.ts +96 -0
  1203. package/src/ui/legend/constant.ts +78 -0
  1204. package/src/ui/legend/continuous/handle.ts +98 -0
  1205. package/src/ui/legend/continuous/ribbon.ts +140 -0
  1206. package/src/ui/legend/continuous/utils.ts +28 -0
  1207. package/src/ui/legend/continuous.ts +740 -0
  1208. package/src/ui/legend/index.ts +7 -0
  1209. package/src/ui/legend/types.ts +70 -0
  1210. package/src/ui/legend/utils.ts +112 -0
  1211. package/src/ui/marker/index.ts +122 -0
  1212. package/src/ui/marker/symbol.ts +197 -0
  1213. package/src/ui/marker/types.ts +11 -0
  1214. package/src/ui/marker/utils.ts +22 -0
  1215. package/src/ui/navigator/index.ts +340 -0
  1216. package/src/ui/navigator/types.ts +24 -0
  1217. package/src/ui/poptip/constant.ts +161 -0
  1218. package/src/ui/poptip/index.ts +279 -0
  1219. package/src/ui/poptip/types.ts +76 -0
  1220. package/src/ui/poptip/utils.ts +69 -0
  1221. package/src/ui/scrollbar/index.ts +207 -0
  1222. package/src/ui/scrollbar/types.ts +42 -0
  1223. package/src/ui/select/index.ts +2 -0
  1224. package/src/ui/select/option.ts +83 -0
  1225. package/src/ui/select/select.ts +245 -0
  1226. package/src/ui/select/types.ts +61 -0
  1227. package/src/ui/slider/constant.ts +39 -0
  1228. package/src/ui/slider/handle.ts +131 -0
  1229. package/src/ui/slider/index.ts +616 -0
  1230. package/src/ui/slider/types.ts +76 -0
  1231. package/src/ui/sparkline/columns.ts +51 -0
  1232. package/src/ui/sparkline/index.ts +246 -0
  1233. package/src/ui/sparkline/lines.ts +76 -0
  1234. package/src/ui/sparkline/path.ts +142 -0
  1235. package/src/ui/sparkline/types.ts +45 -0
  1236. package/src/ui/sparkline/utils.ts +34 -0
  1237. package/src/ui/switch/constant.ts +59 -0
  1238. package/src/ui/switch/index.ts +195 -0
  1239. package/src/ui/switch/types.ts +40 -0
  1240. package/src/ui/tag/index.ts +107 -0
  1241. package/src/ui/tag/types.ts +24 -0
  1242. package/src/ui/timebar/controller.ts +139 -0
  1243. package/src/ui/timebar/handle.ts +113 -0
  1244. package/src/ui/timebar/icons.ts +673 -0
  1245. package/src/ui/timebar/index.ts +2 -0
  1246. package/src/ui/timebar/timebar.ts +547 -0
  1247. package/src/ui/timebar/types.ts +116 -0
  1248. package/src/ui/timebar/utils.ts +90 -0
  1249. package/src/ui/timeline/button.ts +177 -0
  1250. package/src/ui/timeline/cellAxis.ts +247 -0
  1251. package/src/ui/timeline/checkbox.ts +113 -0
  1252. package/src/ui/timeline/constants.ts +113 -0
  1253. package/src/ui/timeline/index.ts +385 -0
  1254. package/src/ui/timeline/playAxis.ts +183 -0
  1255. package/src/ui/timeline/sliderAxis.ts +334 -0
  1256. package/src/ui/timeline/speedcontrol.ts +130 -0
  1257. package/src/ui/timeline/types.ts +112 -0
  1258. package/src/ui/title/index.ts +176 -0
  1259. package/src/ui/title/types.ts +30 -0
  1260. package/src/ui/tooltip/constant.ts +99 -0
  1261. package/src/ui/tooltip/index.ts +244 -0
  1262. package/src/ui/tooltip/types.ts +72 -0
  1263. package/src/util/angle-converter.ts +7 -0
  1264. package/src/util/bbox.ts +61 -0
  1265. package/src/util/callback.ts +5 -0
  1266. package/src/util/classnames.ts +27 -0
  1267. package/src/util/deep-assign.ts +42 -0
  1268. package/src/util/defined.ts +1 -0
  1269. package/src/util/ellipsis.ts +6 -0
  1270. package/src/util/event.ts +12 -32
  1271. package/src/util/extend-display-object.ts +9 -0
  1272. package/src/util/geometry/index.ts +2 -0
  1273. package/src/util/geometry/line-length.ts +8 -0
  1274. package/src/util/geometry/lines-intersection.ts +56 -0
  1275. package/src/util/group-by.ts +9 -0
  1276. package/src/util/group.ts +13 -0
  1277. package/src/util/html.ts +12 -0
  1278. package/src/util/if-show.ts +17 -0
  1279. package/src/util/in-range.ts +10 -0
  1280. package/src/util/index.ts +40 -0
  1281. package/src/util/interpolate.ts +67 -0
  1282. package/src/util/keyframe-interpolate.ts +24 -0
  1283. package/src/util/layout/executer.ts +11 -0
  1284. package/src/util/layout/flex/index.ts +89 -0
  1285. package/src/util/layout/flex/types.ts +31 -0
  1286. package/src/util/layout/grid/index.ts +7 -0
  1287. package/src/util/layout/grid/types.ts +8 -0
  1288. package/src/util/layout/index.ts +4 -0
  1289. package/src/util/layout/types.ts +13 -0
  1290. package/src/util/layout/utils/helper.ts +19 -0
  1291. package/src/util/layout/utils/index.ts +1 -0
  1292. package/src/util/matrix.ts +42 -63
  1293. package/src/util/number.ts +41 -0
  1294. package/src/util/offscreen.ts +34 -0
  1295. package/src/util/omit.ts +10 -0
  1296. package/src/util/path.ts +155 -0
  1297. package/src/util/primitive.ts +91 -0
  1298. package/src/util/sampling.ts +9 -0
  1299. package/src/util/scale-to-pixel.ts +11 -0
  1300. package/src/util/selection.ts +408 -0
  1301. package/src/util/series.ts +31 -0
  1302. package/src/util/shape.ts +53 -0
  1303. package/src/util/string.ts +17 -0
  1304. package/src/util/style.ts +111 -0
  1305. package/src/util/svg2marker.ts +83 -0
  1306. package/src/util/text.ts +50 -70
  1307. package/src/util/throttle.ts +22 -0
  1308. package/src/util/time.ts +95 -0
  1309. package/src/util/timer.ts +19 -0
  1310. package/src/util/transform.ts +26 -0
  1311. package/src/util/transpose.ts +3 -0
  1312. package/src/util/traverse.ts +10 -0
  1313. package/src/util/visibility.ts +17 -0
  1314. package/src/util/wrap.ts +6 -0
  1315. package/esm/abstract/component.d.ts +0 -83
  1316. package/esm/abstract/component.js +0 -161
  1317. package/esm/abstract/component.js.map +0 -1
  1318. package/esm/abstract/group-component.d.ts +0 -158
  1319. package/esm/abstract/group-component.js +0 -501
  1320. package/esm/abstract/group-component.js.map +0 -1
  1321. package/esm/abstract/html-component.d.ts +0 -88
  1322. package/esm/abstract/html-component.js +0 -190
  1323. package/esm/abstract/html-component.js.map +0 -1
  1324. package/esm/annotation/arc.d.ts +0 -58
  1325. package/esm/annotation/arc.js +0 -56
  1326. package/esm/annotation/arc.js.map +0 -1
  1327. package/esm/annotation/data-marker.d.ts +0 -90
  1328. package/esm/annotation/data-marker.js +0 -174
  1329. package/esm/annotation/data-marker.js.map +0 -1
  1330. package/esm/annotation/data-region.d.ts +0 -69
  1331. package/esm/annotation/data-region.js +0 -67
  1332. package/esm/annotation/data-region.js.map +0 -1
  1333. package/esm/annotation/html.d.ts +0 -46
  1334. package/esm/annotation/html.js +0 -72
  1335. package/esm/annotation/html.js.map +0 -1
  1336. package/esm/annotation/image.d.ts +0 -54
  1337. package/esm/annotation/image.js +0 -41
  1338. package/esm/annotation/image.js.map +0 -1
  1339. package/esm/annotation/index.d.ts +0 -10
  1340. package/esm/annotation/index.js +0 -11
  1341. package/esm/annotation/index.js.map +0 -1
  1342. package/esm/annotation/line.d.ts +0 -74
  1343. package/esm/annotation/line.js +0 -116
  1344. package/esm/annotation/line.js.map +0 -1
  1345. package/esm/annotation/region-filter.d.ts +0 -52
  1346. package/esm/annotation/region-filter.js +0 -61
  1347. package/esm/annotation/region-filter.js.map +0 -1
  1348. package/esm/annotation/region.d.ts +0 -58
  1349. package/esm/annotation/region.js +0 -43
  1350. package/esm/annotation/region.js.map +0 -1
  1351. package/esm/annotation/shape.d.ts +0 -42
  1352. package/esm/annotation/shape.js +0 -22
  1353. package/esm/annotation/shape.js.map +0 -1
  1354. package/esm/annotation/text.d.ts +0 -68
  1355. package/esm/annotation/text.js +0 -74
  1356. package/esm/annotation/text.js.map +0 -1
  1357. package/esm/axis/base.d.ts +0 -229
  1358. package/esm/axis/base.js +0 -621
  1359. package/esm/axis/base.js.map +0 -1
  1360. package/esm/axis/circle.d.ts +0 -142
  1361. package/esm/axis/circle.js +0 -171
  1362. package/esm/axis/circle.js.map +0 -1
  1363. package/esm/axis/group.js +0 -1
  1364. package/esm/axis/group.js.map +0 -1
  1365. package/esm/axis/index.d.ts +0 -3
  1366. package/esm/axis/index.js +0 -4
  1367. package/esm/axis/index.js.map +0 -1
  1368. package/esm/axis/line.d.ts +0 -152
  1369. package/esm/axis/line.js +0 -196
  1370. package/esm/axis/line.js.map +0 -1
  1371. package/esm/axis/overlap/auto-ellipsis-time.d.ts +0 -2
  1372. package/esm/axis/overlap/auto-ellipsis-time.js +0 -157
  1373. package/esm/axis/overlap/auto-ellipsis-time.js.map +0 -1
  1374. package/esm/axis/overlap/auto-ellipsis.d.ts +0 -5
  1375. package/esm/axis/overlap/auto-ellipsis.js +0 -24
  1376. package/esm/axis/overlap/auto-ellipsis.js.map +0 -1
  1377. package/esm/axis/overlap/auto-format.d.ts +0 -2
  1378. package/esm/axis/overlap/auto-format.js +0 -61
  1379. package/esm/axis/overlap/auto-format.js.map +0 -1
  1380. package/esm/axis/overlap/auto-hide.d.ts +0 -43
  1381. package/esm/axis/overlap/auto-hide.js +0 -255
  1382. package/esm/axis/overlap/auto-hide.js.map +0 -1
  1383. package/esm/axis/overlap/auto-rotate.d.ts +0 -19
  1384. package/esm/axis/overlap/auto-rotate.js +0 -94
  1385. package/esm/axis/overlap/auto-rotate.js.map +0 -1
  1386. package/esm/axis/overlap/auto-wrap.d.ts +0 -2
  1387. package/esm/axis/overlap/auto-wrap.js +0 -45
  1388. package/esm/axis/overlap/auto-wrap.js.map +0 -1
  1389. package/esm/axis/overlap/index.d.ts +0 -4
  1390. package/esm/axis/overlap/index.js +0 -5
  1391. package/esm/axis/overlap/index.js.map +0 -1
  1392. package/esm/axis/radius.js +0 -1
  1393. package/esm/axis/radius.js.map +0 -1
  1394. package/esm/crosshair/base.d.ts +0 -81
  1395. package/esm/crosshair/base.js +0 -100
  1396. package/esm/crosshair/base.js.map +0 -1
  1397. package/esm/crosshair/circle.d.ts +0 -76
  1398. package/esm/crosshair/circle.js +0 -64
  1399. package/esm/crosshair/circle.js.map +0 -1
  1400. package/esm/crosshair/css-const.d.ts +0 -3
  1401. package/esm/crosshair/css-const.js +0 -4
  1402. package/esm/crosshair/css-const.js.map +0 -1
  1403. package/esm/crosshair/html-theme.d.ts +0 -19
  1404. package/esm/crosshair/html-theme.js +0 -20
  1405. package/esm/crosshair/html-theme.js.map +0 -1
  1406. package/esm/crosshair/html.d.ts +0 -83
  1407. package/esm/crosshair/html.js +0 -127
  1408. package/esm/crosshair/html.js.map +0 -1
  1409. package/esm/crosshair/index.d.ts +0 -4
  1410. package/esm/crosshair/index.js +0 -5
  1411. package/esm/crosshair/index.js.map +0 -1
  1412. package/esm/crosshair/line.d.ts +0 -74
  1413. package/esm/crosshair/line.js +0 -36
  1414. package/esm/crosshair/line.js.map +0 -1
  1415. package/esm/grid/base.d.ts +0 -75
  1416. package/esm/grid/base.js +0 -111
  1417. package/esm/grid/base.js.map +0 -1
  1418. package/esm/grid/circle.d.ts +0 -65
  1419. package/esm/grid/circle.js +0 -76
  1420. package/esm/grid/circle.js.map +0 -1
  1421. package/esm/grid/index.d.ts +0 -3
  1422. package/esm/grid/index.js +0 -4
  1423. package/esm/grid/index.js.map +0 -1
  1424. package/esm/grid/line.d.ts +0 -53
  1425. package/esm/grid/line.js +0 -28
  1426. package/esm/grid/line.js.map +0 -1
  1427. package/esm/interfaces.d.ts +0 -149
  1428. package/esm/interfaces.js +0 -1
  1429. package/esm/interfaces.js.map +0 -1
  1430. package/esm/legend/base.d.ts +0 -62
  1431. package/esm/legend/base.js +0 -113
  1432. package/esm/legend/base.js.map +0 -1
  1433. package/esm/legend/category.d.ts +0 -233
  1434. package/esm/legend/category.js +0 -762
  1435. package/esm/legend/category.js.map +0 -1
  1436. package/esm/legend/continuous.d.ts +0 -138
  1437. package/esm/legend/continuous.js +0 -677
  1438. package/esm/legend/continuous.js.map +0 -1
  1439. package/esm/legend/index.d.ts +0 -3
  1440. package/esm/legend/index.js +0 -4
  1441. package/esm/legend/index.js.map +0 -1
  1442. package/esm/legend/size.js +0 -1
  1443. package/esm/legend/size.js.map +0 -1
  1444. package/esm/legend/table.js +0 -1
  1445. package/esm/legend/table.js.map +0 -1
  1446. package/esm/scrollbar/index.d.ts +0 -1
  1447. package/esm/scrollbar/index.js +0 -2
  1448. package/esm/scrollbar/index.js.map +0 -1
  1449. package/esm/scrollbar/scrollbar.d.ts +0 -95
  1450. package/esm/scrollbar/scrollbar.js +0 -280
  1451. package/esm/scrollbar/scrollbar.js.map +0 -1
  1452. package/esm/slider/constant.d.ts +0 -70
  1453. package/esm/slider/constant.js +0 -72
  1454. package/esm/slider/constant.js.map +0 -1
  1455. package/esm/slider/foreground.d.ts +0 -82
  1456. package/esm/slider/foreground.js +0 -112
  1457. package/esm/slider/foreground.js.map +0 -1
  1458. package/esm/slider/handler.d.ts +0 -78
  1459. package/esm/slider/handler.js +0 -104
  1460. package/esm/slider/handler.js.map +0 -1
  1461. package/esm/slider/index.d.ts +0 -1
  1462. package/esm/slider/index.js +0 -2
  1463. package/esm/slider/index.js.map +0 -1
  1464. package/esm/slider/slider.d.ts +0 -168
  1465. package/esm/slider/slider.js +0 -598
  1466. package/esm/slider/slider.js.map +0 -1
  1467. package/esm/tooltip/css-const.d.ts +0 -9
  1468. package/esm/tooltip/css-const.js +0 -10
  1469. package/esm/tooltip/css-const.js.map +0 -1
  1470. package/esm/tooltip/html-theme.d.ts +0 -180
  1471. package/esm/tooltip/html-theme.js +0 -60
  1472. package/esm/tooltip/html-theme.js.map +0 -1
  1473. package/esm/tooltip/html.d.ts +0 -264
  1474. package/esm/tooltip/html.js +0 -323
  1475. package/esm/tooltip/html.js.map +0 -1
  1476. package/esm/tooltip/index.d.ts +0 -1
  1477. package/esm/tooltip/index.js +0 -2
  1478. package/esm/tooltip/index.js.map +0 -1
  1479. package/esm/trend/constant.d.ts +0 -11
  1480. package/esm/trend/constant.js +0 -13
  1481. package/esm/trend/constant.js.map +0 -1
  1482. package/esm/trend/path.d.ts +0 -34
  1483. package/esm/trend/path.js +0 -97
  1484. package/esm/trend/path.js.map +0 -1
  1485. package/esm/trend/trend.d.ts +0 -73
  1486. package/esm/trend/trend.js +0 -53
  1487. package/esm/trend/trend.js.map +0 -1
  1488. package/esm/types.d.ts +0 -1327
  1489. package/esm/types.js +0 -1
  1490. package/esm/types.js.map +0 -1
  1491. package/esm/util/align.d.ts +0 -11
  1492. package/esm/util/align.js +0 -91
  1493. package/esm/util/align.js.map +0 -1
  1494. package/esm/util/graphic.d.ts +0 -17
  1495. package/esm/util/graphic.js +0 -44
  1496. package/esm/util/graphic.js.map +0 -1
  1497. package/esm/util/label.d.ts +0 -8
  1498. package/esm/util/label.js +0 -105
  1499. package/esm/util/label.js.map +0 -1
  1500. package/esm/util/mask.d.ts +0 -9
  1501. package/esm/util/mask.js +0 -26
  1502. package/esm/util/mask.js.map +0 -1
  1503. package/esm/util/state.d.ts +0 -2
  1504. package/esm/util/state.js +0 -16
  1505. package/esm/util/state.js.map +0 -1
  1506. package/esm/util/theme.d.ts +0 -13
  1507. package/esm/util/theme.js +0 -14
  1508. package/esm/util/theme.js.map +0 -1
  1509. package/esm/util/util.d.ts +0 -36
  1510. package/esm/util/util.js +0 -280
  1511. package/esm/util/util.js.map +0 -1
  1512. package/lib/abstract/component.d.ts +0 -83
  1513. package/lib/abstract/component.js +0 -163
  1514. package/lib/abstract/component.js.map +0 -1
  1515. package/lib/abstract/group-component.d.ts +0 -158
  1516. package/lib/abstract/group-component.js +0 -503
  1517. package/lib/abstract/group-component.js.map +0 -1
  1518. package/lib/abstract/html-component.d.ts +0 -88
  1519. package/lib/abstract/html-component.js +0 -192
  1520. package/lib/abstract/html-component.js.map +0 -1
  1521. package/lib/annotation/arc.d.ts +0 -58
  1522. package/lib/annotation/arc.js +0 -58
  1523. package/lib/annotation/arc.js.map +0 -1
  1524. package/lib/annotation/data-marker.d.ts +0 -90
  1525. package/lib/annotation/data-marker.js +0 -176
  1526. package/lib/annotation/data-marker.js.map +0 -1
  1527. package/lib/annotation/data-region.d.ts +0 -69
  1528. package/lib/annotation/data-region.js +0 -69
  1529. package/lib/annotation/data-region.js.map +0 -1
  1530. package/lib/annotation/html.d.ts +0 -46
  1531. package/lib/annotation/html.js +0 -74
  1532. package/lib/annotation/html.js.map +0 -1
  1533. package/lib/annotation/image.d.ts +0 -54
  1534. package/lib/annotation/image.js +0 -43
  1535. package/lib/annotation/image.js.map +0 -1
  1536. package/lib/annotation/index.d.ts +0 -10
  1537. package/lib/annotation/index.js +0 -23
  1538. package/lib/annotation/index.js.map +0 -1
  1539. package/lib/annotation/line.d.ts +0 -74
  1540. package/lib/annotation/line.js +0 -118
  1541. package/lib/annotation/line.js.map +0 -1
  1542. package/lib/annotation/region-filter.d.ts +0 -52
  1543. package/lib/annotation/region-filter.js +0 -63
  1544. package/lib/annotation/region-filter.js.map +0 -1
  1545. package/lib/annotation/region.d.ts +0 -58
  1546. package/lib/annotation/region.js +0 -45
  1547. package/lib/annotation/region.js.map +0 -1
  1548. package/lib/annotation/shape.d.ts +0 -42
  1549. package/lib/annotation/shape.js +0 -24
  1550. package/lib/annotation/shape.js.map +0 -1
  1551. package/lib/annotation/text.d.ts +0 -68
  1552. package/lib/annotation/text.js +0 -76
  1553. package/lib/annotation/text.js.map +0 -1
  1554. package/lib/axis/base.d.ts +0 -229
  1555. package/lib/axis/base.js +0 -623
  1556. package/lib/axis/base.js.map +0 -1
  1557. package/lib/axis/circle.d.ts +0 -142
  1558. package/lib/axis/circle.js +0 -173
  1559. package/lib/axis/circle.js.map +0 -1
  1560. package/lib/axis/group.js +0 -1
  1561. package/lib/axis/group.js.map +0 -1
  1562. package/lib/axis/index.d.ts +0 -3
  1563. package/lib/axis/index.js +0 -9
  1564. package/lib/axis/index.js.map +0 -1
  1565. package/lib/axis/line.d.ts +0 -152
  1566. package/lib/axis/line.js +0 -198
  1567. package/lib/axis/line.js.map +0 -1
  1568. package/lib/axis/overlap/auto-ellipsis-time.d.ts +0 -2
  1569. package/lib/axis/overlap/auto-ellipsis-time.js +0 -161
  1570. package/lib/axis/overlap/auto-ellipsis-time.js.map +0 -1
  1571. package/lib/axis/overlap/auto-ellipsis.d.ts +0 -5
  1572. package/lib/axis/overlap/auto-ellipsis.js +0 -31
  1573. package/lib/axis/overlap/auto-ellipsis.js.map +0 -1
  1574. package/lib/axis/overlap/auto-format.d.ts +0 -2
  1575. package/lib/axis/overlap/auto-format.js +0 -65
  1576. package/lib/axis/overlap/auto-format.js.map +0 -1
  1577. package/lib/axis/overlap/auto-hide.d.ts +0 -43
  1578. package/lib/axis/overlap/auto-hide.js +0 -264
  1579. package/lib/axis/overlap/auto-hide.js.map +0 -1
  1580. package/lib/axis/overlap/auto-rotate.d.ts +0 -19
  1581. package/lib/axis/overlap/auto-rotate.js +0 -100
  1582. package/lib/axis/overlap/auto-rotate.js.map +0 -1
  1583. package/lib/axis/overlap/auto-wrap.d.ts +0 -2
  1584. package/lib/axis/overlap/auto-wrap.js +0 -49
  1585. package/lib/axis/overlap/auto-wrap.js.map +0 -1
  1586. package/lib/axis/overlap/index.d.ts +0 -4
  1587. package/lib/axis/overlap/index.js +0 -10
  1588. package/lib/axis/overlap/index.js.map +0 -1
  1589. package/lib/axis/radius.js +0 -1
  1590. package/lib/axis/radius.js.map +0 -1
  1591. package/lib/crosshair/base.d.ts +0 -81
  1592. package/lib/crosshair/base.js +0 -102
  1593. package/lib/crosshair/base.js.map +0 -1
  1594. package/lib/crosshair/circle.d.ts +0 -76
  1595. package/lib/crosshair/circle.js +0 -66
  1596. package/lib/crosshair/circle.js.map +0 -1
  1597. package/lib/crosshair/css-const.d.ts +0 -3
  1598. package/lib/crosshair/css-const.js +0 -7
  1599. package/lib/crosshair/css-const.js.map +0 -1
  1600. package/lib/crosshair/html-theme.d.ts +0 -19
  1601. package/lib/crosshair/html-theme.js +0 -22
  1602. package/lib/crosshair/html-theme.js.map +0 -1
  1603. package/lib/crosshair/html.d.ts +0 -83
  1604. package/lib/crosshair/html.js +0 -129
  1605. package/lib/crosshair/html.js.map +0 -1
  1606. package/lib/crosshair/index.d.ts +0 -4
  1607. package/lib/crosshair/index.js +0 -11
  1608. package/lib/crosshair/index.js.map +0 -1
  1609. package/lib/crosshair/line.d.ts +0 -74
  1610. package/lib/crosshair/line.js +0 -38
  1611. package/lib/crosshair/line.js.map +0 -1
  1612. package/lib/grid/base.d.ts +0 -75
  1613. package/lib/grid/base.js +0 -113
  1614. package/lib/grid/base.js.map +0 -1
  1615. package/lib/grid/circle.d.ts +0 -65
  1616. package/lib/grid/circle.js +0 -78
  1617. package/lib/grid/circle.js.map +0 -1
  1618. package/lib/grid/index.d.ts +0 -3
  1619. package/lib/grid/index.js +0 -9
  1620. package/lib/grid/index.js.map +0 -1
  1621. package/lib/grid/line.d.ts +0 -53
  1622. package/lib/grid/line.js +0 -30
  1623. package/lib/grid/line.js.map +0 -1
  1624. package/lib/interfaces.d.ts +0 -149
  1625. package/lib/interfaces.js +0 -3
  1626. package/lib/interfaces.js.map +0 -1
  1627. package/lib/legend/base.d.ts +0 -62
  1628. package/lib/legend/base.js +0 -115
  1629. package/lib/legend/base.js.map +0 -1
  1630. package/lib/legend/category.d.ts +0 -233
  1631. package/lib/legend/category.js +0 -764
  1632. package/lib/legend/category.js.map +0 -1
  1633. package/lib/legend/continuous.d.ts +0 -138
  1634. package/lib/legend/continuous.js +0 -679
  1635. package/lib/legend/continuous.js.map +0 -1
  1636. package/lib/legend/index.d.ts +0 -3
  1637. package/lib/legend/index.js +0 -9
  1638. package/lib/legend/index.js.map +0 -1
  1639. package/lib/legend/size.js +0 -1
  1640. package/lib/legend/size.js.map +0 -1
  1641. package/lib/legend/table.js +0 -1
  1642. package/lib/legend/table.js.map +0 -1
  1643. package/lib/scrollbar/index.d.ts +0 -1
  1644. package/lib/scrollbar/index.js +0 -5
  1645. package/lib/scrollbar/index.js.map +0 -1
  1646. package/lib/scrollbar/scrollbar.d.ts +0 -95
  1647. package/lib/scrollbar/scrollbar.js +0 -283
  1648. package/lib/scrollbar/scrollbar.js.map +0 -1
  1649. package/lib/slider/constant.d.ts +0 -70
  1650. package/lib/slider/constant.js +0 -75
  1651. package/lib/slider/constant.js.map +0 -1
  1652. package/lib/slider/foreground.d.ts +0 -82
  1653. package/lib/slider/foreground.js +0 -115
  1654. package/lib/slider/foreground.js.map +0 -1
  1655. package/lib/slider/handler.d.ts +0 -78
  1656. package/lib/slider/handler.js +0 -107
  1657. package/lib/slider/handler.js.map +0 -1
  1658. package/lib/slider/index.d.ts +0 -1
  1659. package/lib/slider/index.js +0 -5
  1660. package/lib/slider/index.js.map +0 -1
  1661. package/lib/slider/slider.d.ts +0 -168
  1662. package/lib/slider/slider.js +0 -601
  1663. package/lib/slider/slider.js.map +0 -1
  1664. package/lib/tooltip/css-const.d.ts +0 -9
  1665. package/lib/tooltip/css-const.js +0 -13
  1666. package/lib/tooltip/css-const.js.map +0 -1
  1667. package/lib/tooltip/html-theme.d.ts +0 -180
  1668. package/lib/tooltip/html-theme.js +0 -62
  1669. package/lib/tooltip/html-theme.js.map +0 -1
  1670. package/lib/tooltip/html.d.ts +0 -264
  1671. package/lib/tooltip/html.js +0 -325
  1672. package/lib/tooltip/html.js.map +0 -1
  1673. package/lib/tooltip/index.d.ts +0 -1
  1674. package/lib/tooltip/index.js +0 -5
  1675. package/lib/tooltip/index.js.map +0 -1
  1676. package/lib/trend/constant.d.ts +0 -11
  1677. package/lib/trend/constant.js +0 -16
  1678. package/lib/trend/constant.js.map +0 -1
  1679. package/lib/trend/path.d.ts +0 -34
  1680. package/lib/trend/path.js +0 -105
  1681. package/lib/trend/path.js.map +0 -1
  1682. package/lib/trend/trend.d.ts +0 -73
  1683. package/lib/trend/trend.js +0 -56
  1684. package/lib/trend/trend.js.map +0 -1
  1685. package/lib/types.d.ts +0 -1327
  1686. package/lib/types.js.map +0 -1
  1687. package/lib/util/align.d.ts +0 -11
  1688. package/lib/util/align.js +0 -97
  1689. package/lib/util/align.js.map +0 -1
  1690. package/lib/util/graphic.d.ts +0 -17
  1691. package/lib/util/graphic.js +0 -48
  1692. package/lib/util/graphic.js.map +0 -1
  1693. package/lib/util/label.d.ts +0 -8
  1694. package/lib/util/label.js +0 -112
  1695. package/lib/util/label.js.map +0 -1
  1696. package/lib/util/mask.d.ts +0 -9
  1697. package/lib/util/mask.js +0 -32
  1698. package/lib/util/mask.js.map +0 -1
  1699. package/lib/util/state.d.ts +0 -2
  1700. package/lib/util/state.js +0 -20
  1701. package/lib/util/state.js.map +0 -1
  1702. package/lib/util/theme.d.ts +0 -13
  1703. package/lib/util/theme.js +0 -16
  1704. package/lib/util/theme.js.map +0 -1
  1705. package/lib/util/util.d.ts +0 -36
  1706. package/lib/util/util.js +0 -300
  1707. package/lib/util/util.js.map +0 -1
  1708. package/src/abstract/component.ts +0 -189
  1709. package/src/abstract/group-component.ts +0 -574
  1710. package/src/abstract/html-component.ts +0 -205
  1711. package/src/annotation/arc.ts +0 -70
  1712. package/src/annotation/data-marker.ts +0 -216
  1713. package/src/annotation/data-region.ts +0 -89
  1714. package/src/annotation/html.ts +0 -85
  1715. package/src/annotation/image.ts +0 -58
  1716. package/src/annotation/index.ts +0 -10
  1717. package/src/annotation/line.ts +0 -136
  1718. package/src/annotation/region-filter.ts +0 -72
  1719. package/src/annotation/region.ts +0 -58
  1720. package/src/annotation/shape.ts +0 -24
  1721. package/src/annotation/text.ts +0 -94
  1722. package/src/axis/base.ts +0 -706
  1723. package/src/axis/circle.ts +0 -181
  1724. package/src/axis/index.ts +0 -3
  1725. package/src/axis/line.ts +0 -205
  1726. package/src/axis/overlap/auto-ellipsis-time.ts +0 -167
  1727. package/src/axis/overlap/auto-ellipsis.ts +0 -29
  1728. package/src/axis/overlap/auto-format.ts +0 -66
  1729. package/src/axis/overlap/auto-hide.ts +0 -294
  1730. package/src/axis/overlap/auto-rotate.ts +0 -110
  1731. package/src/axis/overlap/auto-wrap.ts +0 -48
  1732. package/src/axis/overlap/index.ts +0 -5
  1733. package/src/crosshair/base.ts +0 -137
  1734. package/src/crosshair/circle.ts +0 -71
  1735. package/src/crosshair/css-const.ts +0 -3
  1736. package/src/crosshair/html-theme.ts +0 -20
  1737. package/src/crosshair/html.ts +0 -142
  1738. package/src/crosshair/index.ts +0 -4
  1739. package/src/crosshair/line.ts +0 -42
  1740. package/src/grid/base.ts +0 -131
  1741. package/src/grid/circle.ts +0 -73
  1742. package/src/grid/index.ts +0 -3
  1743. package/src/grid/line.ts +0 -27
  1744. package/src/interfaces.ts +0 -153
  1745. package/src/legend/base.ts +0 -145
  1746. package/src/legend/category.ts +0 -906
  1747. package/src/legend/continuous.ts +0 -722
  1748. package/src/legend/index.ts +0 -3
  1749. package/src/scrollbar/index.ts +0 -1
  1750. package/src/scrollbar/scrollbar.ts +0 -356
  1751. package/src/slider/constant.ts +0 -80
  1752. package/src/slider/foreground.ts +0 -170
  1753. package/src/slider/handler.ts +0 -144
  1754. package/src/slider/index.ts +0 -1
  1755. package/src/slider/slider.ts +0 -801
  1756. package/src/tooltip/css-const.ts +0 -9
  1757. package/src/tooltip/html-theme.ts +0 -61
  1758. package/src/tooltip/html.ts +0 -358
  1759. package/src/tooltip/index.ts +0 -1
  1760. package/src/trend/constant.ts +0 -14
  1761. package/src/trend/path.ts +0 -112
  1762. package/src/trend/trend.ts +0 -95
  1763. package/src/types.ts +0 -1395
  1764. package/src/util/align.ts +0 -115
  1765. package/src/util/graphic.ts +0 -76
  1766. package/src/util/label.ts +0 -112
  1767. package/src/util/mask.ts +0 -32
  1768. package/src/util/state.ts +0 -17
  1769. package/src/util/theme.ts +0 -17
  1770. package/src/util/util.ts +0 -302
  1771. /package/esm/{axis/group.d.ts → ui/timeline/button.d.ts} +0 -0
  1772. /package/esm/{axis/radius.d.ts → ui/timeline/cellAxis.d.ts} +0 -0
  1773. /package/esm/{legend/size.d.ts → ui/timeline/checkbox.d.ts} +0 -0
  1774. /package/esm/{legend/table.d.ts → ui/timeline/constants.d.ts} +0 -0
  1775. /package/{lib/axis/group.d.ts → esm/ui/timeline/playAxis.d.ts} +0 -0
  1776. /package/{lib/axis/radius.d.ts → esm/ui/timeline/sliderAxis.d.ts} +0 -0
  1777. /package/{lib/legend/size.d.ts → esm/ui/timeline/speedcontrol.d.ts} +0 -0
  1778. /package/{lib/legend/table.d.ts → esm/ui/timeline/types.d.ts} +0 -0
  1779. /package/lib/{types.js → core/types.js} +0 -0
  1780. /package/{src/axis/group.ts → lib/ui/timeline/button.d.ts} +0 -0
  1781. /package/{src/axis/radius.ts → lib/ui/timeline/cellAxis.d.ts} +0 -0
  1782. /package/{src/legend/size.ts → lib/ui/timeline/checkbox.d.ts} +0 -0
  1783. /package/{src/legend/table.ts → lib/ui/timeline/constants.d.ts} +0 -0
package/lib/types.d.ts DELETED
@@ -1,1327 +0,0 @@
1
- import { AnimateCfg, BBox, IGroup, IShape, Point, ShapeAttrs } from '@antv/g-base';
2
- export declare type LocationType = 'point' | 'Region' | 'points' | 'circle' | 'none';
3
- export { Point, BBox };
4
- /** 用于返回样式 ShapeAttrs 的 Callback 函数定义 */
5
- declare type ShapeAttrsCallback = (item: any, index: number, items: any[]) => ShapeAttrs;
6
- /** 对象 */
7
- export interface LooseObject {
8
- [key: string]: any;
9
- }
10
- export interface OffsetPoint {
11
- offsetX: number;
12
- offsetY: number;
13
- }
14
- export interface Region {
15
- /**
16
- * 起始点
17
- * @type {Point}
18
- */
19
- start: Point;
20
- /**
21
- * 结束点
22
- * @type {Point}
23
- */
24
- end: Point;
25
- }
26
- export interface Range {
27
- /**
28
- * 开始值
29
- * @type {number}
30
- */
31
- min: number;
32
- /**
33
- * 结束值
34
- * @type {number}
35
- */
36
- max: number;
37
- }
38
- /** 文本背景框配置 */
39
- export interface EnhancedTextBackgroundCfg {
40
- /** 文字内边距,同 css 盒模型 */
41
- padding?: number | number[];
42
- /** 文字包围盒样式 */
43
- style?: ShapeAttrs;
44
- }
45
- /**
46
- * 增强型文本配置:
47
- * 1. 可自动缩略
48
- * 2. 可绘制背景框
49
- */
50
- export interface EnhancedTextCfg {
51
- /** 文本标注内容 */
52
- content: string | number;
53
- /** 旋转,弧度制 */
54
- rotate?: number;
55
- /** 文本标注样式 */
56
- style?: ShapeAttrs;
57
- /** 文字包围盒样式设置 */
58
- background?: EnhancedTextBackgroundCfg;
59
- /** 文本的最大长度 */
60
- maxLength?: number;
61
- /** 超出 maxLength 是否自动省略 */
62
- autoEllipsis?: boolean;
63
- /** 文本在二维坐标系的显示位置,是沿着 x 轴显示 还是沿着 y 轴显示 */
64
- isVertical?: boolean;
65
- /** 文本截断的位置 */
66
- ellipsisPosition?: 'head' | 'middle' | 'tail';
67
- }
68
- /**
69
- * @interface
70
- * 列表选项接口
71
- */
72
- export interface ListItem {
73
- /**
74
- * 唯一值,用于动画或者查找
75
- * @type {string}
76
- */
77
- id?: string;
78
- /**
79
- * 名称
80
- * @type {string}
81
- */
82
- name: string;
83
- /**
84
- * 值
85
- * @type {any}
86
- */
87
- value: any;
88
- /**
89
- * 图形标记
90
- * @type {object|string}
91
- */
92
- marker?: object | string;
93
- [key: string]: any;
94
- }
95
- /**
96
- * @interface
97
- * 栅格项的定义
98
- */
99
- export interface GridItem {
100
- /**
101
- * 唯一值,用于动画或者查找
102
- * @type {string}
103
- */
104
- id?: string;
105
- /**
106
- * 栅格线的点集合
107
- * @type {Point[]}
108
- */
109
- points: Point[];
110
- [key: string]: any;
111
- }
112
- /**
113
- * @interface
114
- * 坐标轴线定义
115
- */
116
- export interface AxisLineCfg {
117
- /**
118
- * 坐标轴线的配置项
119
- * @type {ShapeAttrs}
120
- */
121
- style?: ShapeAttrs;
122
- }
123
- /**
124
- * @interface
125
- * 坐标轴刻度定义
126
- */
127
- export interface AxisTickLineCfg {
128
- /**
129
- * 坐标轴刻度线的配置项
130
- * @type {ShapeAttrs}
131
- */
132
- style?: ShapeAttrs | ShapeAttrsCallback;
133
- /**
134
- * 是否同 tick 对齐
135
- * @type {boolean}
136
- */
137
- alignTick?: boolean;
138
- /**
139
- * 长度
140
- * @type {number}
141
- */
142
- length?: number;
143
- }
144
- declare type avoidCallback = (isVertical: boolean, labelGroup: IGroup, limitLength?: number) => boolean;
145
- /** 坐标轴自动隐藏的配置 */
146
- export interface AxisLabelAutoHideCfg {
147
- /** 最小间距配置 */
148
- minGap?: number;
149
- }
150
- /**
151
- * @interface
152
- * 坐标轴文本定义
153
- */
154
- export interface AxisLabelCfg {
155
- /**
156
- * 坐标轴文本的样式
157
- * @type {ShapeAttrs}
158
- */
159
- style?: ShapeAttrs | ShapeAttrsCallback;
160
- /**
161
- * label 的偏移量
162
- * @type {number}
163
- */
164
- offset?: number;
165
- /**
166
- * label 在X方向的额外偏移量
167
- * @type {number}
168
- */
169
- offsetX?: number;
170
- /**
171
- * label 在Y方向的额外偏移量
172
- * @type {number}
173
- */
174
- offsetY?: number;
175
- /**
176
- * 文本旋转角度
177
- * @type {number}
178
- */
179
- rotate?: number;
180
- /**
181
- * 格式化函数
182
- * @type {formatterCallback}
183
- */
184
- formatter?: formatterCallback;
185
- /**
186
- * 是否自动旋转,默认 true
187
- * @type {boolean|avoidCallback|string}
188
- */
189
- autoRotate?: boolean | avoidCallback | string;
190
- /**
191
- * 是否自动隐藏,默认 false
192
- * @type {boolean|avoidCallback|string|{type:string,cfg?:AxisLabelAutoHideCfg}}
193
- */
194
- autoHide?: boolean | avoidCallback | string | {
195
- type: string;
196
- cfg?: AxisLabelAutoHideCfg;
197
- };
198
- /**
199
- * 是否自动省略,默认 false
200
- * @type {boolean|avoidCallback|string}
201
- */
202
- autoEllipsis?: boolean | avoidCallback | string;
203
- }
204
- /**
205
- * @interface
206
- * 坐标轴子刻度定义
207
- */
208
- export interface AxisSubTickLineCfg {
209
- /**
210
- * 坐标轴刻度线的配置项
211
- * @type {ShapeAttrs}
212
- */
213
- style?: ShapeAttrs | ShapeAttrsCallback;
214
- /**
215
- * 子刻度个数
216
- * @type {number}
217
- */
218
- count?: number;
219
- /**
220
- * 子刻度线长度
221
- * @type {number}
222
- */
223
- length?: number;
224
- }
225
- /**
226
- * @interface
227
- * 坐标轴标题定义
228
- */
229
- export interface AxisTitleCfg {
230
- /**
231
- * 标题距离坐标轴的距离
232
- * @type {number}
233
- */
234
- offset?: number;
235
- /**
236
- * 标题距离坐标轴文本的距离
237
- */
238
- spacing?: number;
239
- /**
240
- * 标题文本配置项
241
- * @type {ShapeAttrs}
242
- */
243
- style?: ShapeAttrs;
244
- /**
245
- * 是否自动旋转
246
- * @type {boolean}
247
- */
248
- autoRotate?: boolean;
249
- /**
250
- * 设置文本
251
- * @type {string}
252
- */
253
- text?: string;
254
- /**
255
- * 文本对齐方式
256
- * @type {string} start, center, end
257
- */
258
- position?: string;
259
- /**
260
- * 坐标轴标题详细信息
261
- */
262
- description?: string;
263
- /**
264
- * 坐标轴标题详情icon
265
- */
266
- iconStyle?: AxisIconStyle;
267
- }
268
- export interface AxisIconStyle {
269
- stroke?: string;
270
- strokeOpacity?: number;
271
- fill?: string;
272
- fillOpacity?: number;
273
- opacity?: number;
274
- }
275
- export interface BaseCfg {
276
- [key: string]: any;
277
- }
278
- export interface ComponentCfg extends BaseCfg {
279
- /**
280
- * 唯一标定组件的 id
281
- * @type {string}
282
- */
283
- id?: string;
284
- /**
285
- * 定位的方式
286
- * @type {string}
287
- */
288
- LocationType?: string;
289
- /**
290
- * 偏移位置 x
291
- * @type {number}
292
- */
293
- offsetX?: number;
294
- /**
295
- * 偏移位置 y
296
- * @type {number}
297
- */
298
- offsetY?: number;
299
- /**
300
- * 组件名称, axis, legend, tooltip
301
- * @type {string}
302
- */
303
- name?: string;
304
- /**
305
- * 组件的类型,同 name 配合使用可以确定具体组件的类型,例如:
306
- * name: 'axis',
307
- * type: 'line'
308
- */
309
- type?: string;
310
- /**
311
- * 是否会捕捉事件
312
- */
313
- capture?: boolean;
314
- /**
315
- * 是否允许动画,不同组件允许动画的内容不同
316
- * @type {boolean}
317
- */
318
- animate?: boolean;
319
- /**
320
- * 更新时自动渲染, 所有 html 的组件 update 时自动调用渲染,group 的组件默认 false
321
- */
322
- updateAutoRender?: boolean;
323
- /**
324
- * 动画的配置项
325
- * @type {AnimateCfg}
326
- */
327
- animateOption?: AnimateOption;
328
- /**
329
- * 事件对象,可以在配置项中传入事件
330
- * @example
331
- * events: {
332
- * itemclick: ev => {
333
- *
334
- * }
335
- * }
336
- * // 等效于
337
- * component.on('itemclick', ev => {
338
- *
339
- * });
340
- * @type {object}
341
- */
342
- events?: object;
343
- /**
344
- * @protected
345
- * 配置项生效时的默认值,一些配置项是对象时,防止将一些内置的配置项清空,减少判空判断
346
- * @example
347
- * new Axis({
348
- * tickLine: {
349
- * length: 10 // 此时没有设置 style,内部调用 tickLine.style 时会出问题
350
- * }
351
- * })
352
- * @type {object}
353
- */
354
- defaultCfg?: object;
355
- }
356
- export interface AnimateOption {
357
- /** 初始化渲染时的入场动画,false/null 表示关闭入场动画 */
358
- appear?: AnimateCfg | false | null;
359
- /** 发生更新时,新增元素的入场动画,false/null 表示关闭入场动画 */
360
- enter?: AnimateCfg | false | null;
361
- /** 更新动画配置,false/null 表示关闭更新动画 */
362
- update?: AnimateCfg | false | null;
363
- /** 销毁动画配置,false/null 表示关闭销毁动画 */
364
- leave?: AnimateCfg | false | null;
365
- }
366
- export interface GroupComponentCfg extends ComponentCfg {
367
- /**
368
- * 组件的容器
369
- * @type {IGroup}
370
- */
371
- container: IGroup;
372
- /**
373
- * 当前组件对应的 group,一个 container 中可能会有多个组件,但是一个组件都有一个自己的 Group
374
- * @type {IGroup}
375
- */
376
- group?: IGroup;
377
- /**
378
- * 组件是否可以被拾取
379
- * @type {boolean}
380
- */
381
- capture?: boolean;
382
- }
383
- export interface HtmlComponentCfg extends ComponentCfg {
384
- /**
385
- * 组件的 DOM 容器
386
- * @type {HTMLElement|string}
387
- */
388
- container?: HTMLElement | string;
389
- /**
390
- * 组件的父容器
391
- */
392
- parent?: HTMLElement | string;
393
- /**
394
- * 内部 DOM 的样式
395
- */
396
- domStyles?: LooseObject;
397
- }
398
- export interface OptimizeCfg {
399
- /** 是否启动大数据量优化 */
400
- enable: boolean;
401
- /** 大数据数据量配置,达到 threshold 后启动优化,默认 400 */
402
- threshold?: number;
403
- }
404
- export interface AxisBaseCfg extends GroupComponentCfg {
405
- /**
406
- * 坐标轴刻度的集合
407
- * @type {ListItem[]}
408
- */
409
- ticks: ListItem[];
410
- /**
411
- * 坐标轴线的配置项
412
- * @type {AxisLineCfg}
413
- */
414
- line?: AxisLineCfg;
415
- /**
416
- * 坐标轴刻度线线的配置项
417
- * @type {AxisTickLineCfg}
418
- */
419
- tickLine?: AxisTickLineCfg;
420
- /**
421
- * 坐标轴子刻度线的配置项
422
- * @type {AxisSubTickLineCfg}
423
- */
424
- subTickLine?: AxisSubTickLineCfg;
425
- /**
426
- * 标题的配置项
427
- * @type {AxisTitleCfg}
428
- */
429
- title?: AxisTitleCfg;
430
- /**
431
- * 文本标签的配置项
432
- */
433
- label?: AxisLabelCfg;
434
- /**
435
- * 垂直于坐标轴方向的因子,决定文本、title、tickLine 在坐标轴的哪一侧,默认是 1,在坐标轴逆时针方向
436
- */
437
- verticalFactor?: number;
438
- /**
439
- * 垂直于坐标轴方向的限制长度,防止文本超出
440
- * @type {number}
441
- */
442
- verticalLimitLength?: number;
443
- /**
444
- * 处理遮挡时的顺序,默认 ['autoRotate', 'autoHide']
445
- */
446
- overlapOrder?: string[];
447
- /**
448
- * 针对大数据量进行优化配置
449
- */
450
- optimize?: OptimizeCfg;
451
- }
452
- export interface LineAxisCfg extends AxisBaseCfg {
453
- /**
454
- * 坐标轴的起始点
455
- * @type {Point}
456
- */
457
- start: Point;
458
- /**
459
- * 坐标轴的结束点
460
- * @type {Point}
461
- */
462
- end: Point;
463
- }
464
- export interface CircleAxisCfg extends AxisBaseCfg {
465
- /**
466
- * 中心点, x, y
467
- * @type {Point}
468
- */
469
- center: Point;
470
- /**
471
- * 半径
472
- * @type {number}
473
- */
474
- radius: number;
475
- /**
476
- * 开始弧度
477
- * @type {number}
478
- */
479
- startAngle?: number;
480
- /**
481
- * 结束弧度
482
- * @type {number}
483
- */
484
- endAngle?: number;
485
- }
486
- export interface GridLineCfg {
487
- /**
488
- * 栅格线的类型
489
- * @type {string}
490
- */
491
- type?: string;
492
- /**
493
- * 栅格线的配置项
494
- * @type {ShapeAttrs}
495
- */
496
- style?: ShapeAttrs | ShapeAttrsCallback;
497
- }
498
- export interface GridBaseCfg extends GroupComponentCfg {
499
- /**
500
- * 线的样式
501
- * @type {object}
502
- */
503
- line?: GridLineCfg;
504
- /**
505
- * 两个栅格线间的填充色,必须是一个数组
506
- * @type {string|string[]}
507
- */
508
- alternateColor?: string | string[];
509
- /**
510
- * 绘制 grid 需要的点的集合
511
- * @type {GridItem[]}
512
- */
513
- items: GridItem[];
514
- /**
515
- * 栅格线是否封闭
516
- * @type {boolean}
517
- */
518
- closed?: boolean;
519
- }
520
- export interface CircleGridCfg extends GridBaseCfg {
521
- /**
522
- * 中心点
523
- * @type {Point}
524
- */
525
- center: Point;
526
- }
527
- export interface LegendBaseCfg extends GroupComponentCfg {
528
- /**
529
- * 布局方式: horizontal,vertical
530
- * @type {String}
531
- */
532
- layout?: string;
533
- /**
534
- * 位置 x
535
- * @type {number}
536
- */
537
- x?: number;
538
- /**
539
- * 位置 y
540
- * @type {number}
541
- */
542
- y?: number;
543
- /**
544
- * 标题
545
- * @type {LegendTitleCfg}
546
- */
547
- title?: LegendTitleCfg;
548
- /**
549
- * 背景框配置项
550
- * @type {LegendBackgroundCfg}
551
- */
552
- background?: LegendBackgroundCfg;
553
- }
554
- export interface CategoryLegendCfg extends LegendBaseCfg {
555
- /**
556
- * 图例项水平方向的间距
557
- * @type {number}
558
- */
559
- itemSpacing?: number;
560
- /**
561
- * 图例项的最大宽度,默认为 null,由上层传入
562
- */
563
- maxItemWidth?: number;
564
- /**
565
- * 图例项的宽度, 默认为 null,自动计算
566
- * @type {number}
567
- */
568
- itemWidth?: number;
569
- /**
570
- * 图例的高度,默认为 null
571
- * @type {[type]}
572
- */
573
- itemHeight?: number;
574
- /**
575
- * 图例项 name 文本的配置
576
- * @type {LegendItemNameCfg}
577
- */
578
- itemName?: LegendItemNameCfg;
579
- /**
580
- * 图例项 value 附加值的配置项
581
- * @type {LegendItemValueCfg}
582
- */
583
- itemValue?: LegendItemValueCfg;
584
- /**
585
- *
586
- * @type {LegendRadio}
587
- */
588
- radio?: LegendRadio;
589
- /**
590
- * 最大宽度
591
- * @type {number}
592
- */
593
- maxWidth?: number;
594
- /**
595
- * 最大高度
596
- * @type {number}
597
- */
598
- maxHeight?: number;
599
- /**
600
- * 图例项的 marker 图标的配置
601
- * @type {LegendMarkerCfg}
602
- */
603
- marker?: LegendMarkerCfg;
604
- /**
605
- * 图例项集合
606
- * @type {ListItem[]}
607
- */
608
- items: ListItem[];
609
- /**
610
- * 是否翻页
611
- */
612
- flipPage?: boolean;
613
- /**
614
- * 翻页行数(只适用于横向)
615
- */
616
- maxRow?: number;
617
- /**
618
- * 分页器配置
619
- * @type {LegendPageNavigatorCfg}
620
- */
621
- flipNavigation?: LegendPageNavigatorCfg;
622
- }
623
- export interface ContinueLegendCfg extends LegendBaseCfg {
624
- /**
625
- * 选择范围的最小值
626
- * @type {number}
627
- */
628
- min: number;
629
- /**
630
- * 选择范围的最大值
631
- * @type {number}
632
- */
633
- max: number;
634
- /**
635
- * 选择的值
636
- * @type {number[]}
637
- */
638
- value: number[];
639
- /**
640
- * 图例的颜色,可以写多个颜色
641
- * @type {number[]}
642
- */
643
- colors: number[];
644
- /**
645
- * 选择范围的色块配置项
646
- * @type {ContinueLegendTrackCfg}
647
- */
648
- track: ContinueLegendTrackCfg;
649
- /**
650
- * 图例滑轨(背景)的配置项
651
- * @type {ContinueLegendRailCfg}
652
- */
653
- rail: ContinueLegendRailCfg;
654
- /**
655
- * 文本的配置项
656
- * @type {ContinueLegendLabelCfg}
657
- */
658
- label: ContinueLegendLabelCfg;
659
- /**
660
- * 滑块的配置项
661
- * @type {ContinueLegendHandlerCfg}
662
- */
663
- handler: ContinueLegendHandlerCfg;
664
- /**
665
- * 是否可以滑动
666
- * @type {boolean}
667
- */
668
- slidable: boolean;
669
- }
670
- export interface ContinueLegendTrackCfg {
671
- /**
672
- * 选定范围的样式
673
- * @type {ShapeAttrs}
674
- */
675
- style?: ShapeAttrs;
676
- }
677
- export interface ContinueLegendHandlerCfg {
678
- /**
679
- * 滑块大小
680
- * @type {number}
681
- */
682
- size?: number;
683
- /**
684
- * 滑块样式
685
- * @type {ShapeAttrs}
686
- */
687
- style?: ShapeAttrs;
688
- }
689
- export interface ContinueLegendRailCfg {
690
- /**
691
- * rail 的类型,color, size
692
- * @type {string}
693
- */
694
- type?: string;
695
- /**
696
- * 滑轨的宽度
697
- * @type {number}
698
- */
699
- size?: number;
700
- /**
701
- * 滑轨的默认长度,,当限制了 maxWidth,maxHeight 时,不会使用这个属性会自动计算长度
702
- * @type {number}
703
- */
704
- defaultLength?: number;
705
- /**
706
- * 滑轨的样式
707
- * @type {ShapeAttrs}
708
- */
709
- style?: ShapeAttrs;
710
- }
711
- export interface ContinueLegendLabelCfg {
712
- /**
713
- * 文本同滑轨的对齐方式,有五种类型
714
- * - rail : 同滑轨对齐,在滑轨的两端
715
- * - top, bottom: 图例水平布局时有效
716
- * - left, right: 图例垂直布局时有效
717
- * @type {string}
718
- */
719
- align?: string;
720
- /**
721
- * 文本格式化
722
- * @type {string}
723
- */
724
- formatter?: (text: string | number | null) => string;
725
- /**
726
- * 文本同滑轨的距离
727
- * @type {number}
728
- */
729
- spacing?: number;
730
- /**
731
- * 文本样式
732
- * @type {ShapeAttrs}
733
- */
734
- style?: ShapeAttrs;
735
- }
736
- export interface LegendTitleCfg {
737
- /**
738
- * 标题同图例项的间距
739
- * @type {number}
740
- */
741
- spacing?: number;
742
- /**
743
- * 文本配置项
744
- * @type {ShapeAttrs}
745
- */
746
- style?: ShapeAttrs;
747
- }
748
- export interface LegendBackgroundCfg {
749
- /**
750
- * @type {number|number[]}
751
- * 背景的留白
752
- */
753
- padding?: number | number[];
754
- /**
755
- * @type {ShapeAttrs}
756
- * 背景配置项
757
- */
758
- style?: ShapeAttrs;
759
- }
760
- export interface LegendItemNameCfg {
761
- /**
762
- * 图例项 name 同后面 value 的间距
763
- * @type {number}
764
- */
765
- spacing?: number;
766
- /**
767
- * 格式化文本函数
768
- * @type {formatterCallback}
769
- */
770
- formatter?: formatterCallback;
771
- /**
772
- * 文本配置项
773
- * @type {ShapeAttrs}
774
- */
775
- style?: ShapeAttrs | ShapeAttrsCallback;
776
- }
777
- declare type formatterCallback = (text: string, item: ListItem, index: number, items?: ListItem[], cfg?: BaseCfg) => any;
778
- export interface LegendItemValueCfg {
779
- /**
780
- * 是否右对齐,默认为 false,仅当设置图例项宽度时生效
781
- * @type {boolean}
782
- */
783
- alignRight?: boolean;
784
- /**
785
- * 格式化文本函数
786
- * @type {formatterCallback}
787
- */
788
- formatter?: formatterCallback;
789
- /**
790
- * 图例项附加值的配置
791
- * @type {ShapeAttrs}
792
- */
793
- style?: ShapeAttrs | ShapeAttrsCallback;
794
- /**
795
- * 图例值和后面的间隔,可以控制和 RadioIcon 的间距
796
- * @type {number}
797
- */
798
- spacing?: number;
799
- }
800
- /**
801
- * radio 的配置项
802
- */
803
- export interface LegendRadio {
804
- /**
805
- * radio 样式
806
- * @type {ShapeAttrs}
807
- */
808
- style?: ShapeAttrs;
809
- /**
810
- * radio 的提示信息
811
- */
812
- tip?: string;
813
- }
814
- export interface LegendMarkerCfg {
815
- /**
816
- * 图例项 marker 同后面 name 的间距
817
- * @type {number}
818
- */
819
- spacing?: number;
820
- /**
821
- * 图例 marker 形状
822
- */
823
- symbol?: string | ((x: number, y: number, r: number) => any);
824
- /**
825
- * 图例项 marker 的配置项
826
- * @type {ShapeAttrs}
827
- */
828
- style?: ShapeAttrs;
829
- }
830
- /**
831
- * 图例导航器,代指分页器
832
- */
833
- export interface LegendPageNavigatorCfg {
834
- marker?: {
835
- style?: {
836
- /** 分页导航器 icon 填充色, 默认 #000 */
837
- fill?: string;
838
- /** 分页导航器 icon 填充色 透明度, 默认 1 */
839
- opacity?: number;
840
- /** 分页导航器 icon 非激活时的填充色 */
841
- inactiveFill?: string;
842
- /** 分页导航器 icon 非激活时的填充色 透明度, 默认 0.45 */
843
- inactiveOpacity?: number;
844
- /** 分页器的大小 */
845
- size?: number;
846
- };
847
- };
848
- text?: {
849
- style?: {
850
- /** 分页导航器 文本 填充色,默认 #ccc */
851
- fill?: string;
852
- /** 字体大小, 默认 12px */
853
- fontSize?: number;
854
- };
855
- };
856
- }
857
- export declare type TooltipPosition = 'top' | 'left' | 'right' | 'bottom' | 'auto';
858
- export interface TooltipCfg extends HtmlComponentCfg {
859
- /**
860
- * DOM 节点的 id
861
- * @type {string}
862
- */
863
- containerId?: string;
864
- /**
865
- * 位置 x
866
- * @type {number}
867
- */
868
- x?: number;
869
- /**
870
- * 位置 y
871
- * @type {number}
872
- */
873
- y?: number;
874
- /**
875
- * 列表项集合
876
- * @type {ListItem[]}
877
- */
878
- items: ListItem[];
879
- /**
880
- * 容器的模板
881
- * @type {string}
882
- */
883
- containerTpl?: string;
884
- /**
885
- * 列表项的模板
886
- * @type {[type]}
887
- */
888
- itemTpl?: string;
889
- /**
890
- * 根据 x 定位的 crosshair 的模板
891
- * @type {string}
892
- */
893
- xCrosshairTpl?: string;
894
- /**
895
- * 根据 y 定位的 crosshair 的模板
896
- * @type {[type]}
897
- */
898
- yCrosshairTpl?: string;
899
- /**
900
- * tooltip 限制的区域
901
- * @type {Region}
902
- */
903
- region?: Region;
904
- /**
905
- * crosshairs 限制的区域
906
- * @type {Region}
907
- */
908
- crosshairsRegion?: Region;
909
- /**
910
- * crosshairs 的类型, x,y,xy
911
- * @type {string}
912
- */
913
- crosshairs?: string;
914
- /**
915
- * 是否跟随鼠标移动,会影响 x,y的定位
916
- * @type {boolean}
917
- */
918
- follow?: boolean;
919
- /**
920
- * 偏移量,同 position 相关
921
- * @type {number}
922
- */
923
- offset?: number;
924
- /**
925
- * 位置,top, bottom, left, right
926
- * @type {string}
927
- */
928
- position?: TooltipPosition;
929
- /**
930
- * 传入各个 dom 的样式
931
- * @type {object}
932
- */
933
- domStyles?: object;
934
- /**
935
- * 默认的各个 dom 的样式
936
- * @type {object}
937
- */
938
- defaultStyles?: object;
939
- }
940
- export interface LocationCfg {
941
- [key: string]: any;
942
- }
943
- export interface PointLocationCfg extends LocationCfg {
944
- /**
945
- * 位置 x
946
- * @type {number}
947
- */
948
- x?: number;
949
- /**
950
- * 位置 y
951
- * @type {number}
952
- */
953
- y?: number;
954
- }
955
- export interface RegionLocationCfg extends LocationCfg {
956
- /**
957
- * 起始点
958
- * @type {Point}
959
- */
960
- start?: Point;
961
- /**
962
- * 结束点
963
- * @type {Point}
964
- */
965
- end?: Point;
966
- }
967
- export interface PointsLocationCfg extends LocationCfg {
968
- /**
969
- * 定位点的集合
970
- * @type {Point[]}
971
- */
972
- points?: Point[];
973
- }
974
- export interface CircleLocationCfg extends LocationCfg {
975
- /**
976
- * 圆心
977
- * @type {Point}
978
- */
979
- center?: Point;
980
- /**
981
- * 半径
982
- * @type {number}
983
- */
984
- radius?: number;
985
- /**
986
- * 起始角度
987
- * @type {number}
988
- */
989
- startAngle?: number;
990
- /**
991
- * 结束角度
992
- * @type {number}
993
- */
994
- endAngle?: number;
995
- }
996
- /**
997
- * 自定义 Shape annotation 组件配置
998
- */
999
- export interface ShapeAnnotationCfg extends GroupComponentCfg {
1000
- /** 自定义 render 函数,注意绘制的 shape/group 需要设置 id */
1001
- render: (container: IGroup) => void;
1002
- }
1003
- /**
1004
- * Html Annotation 组件配置
1005
- */
1006
- export interface HtmlAnnotationCfg extends HtmlComponentCfg {
1007
- /** X 方向对齐,默认 left */
1008
- alignX?: 'left' | 'middle' | 'right';
1009
- /** Y 方向对齐,默认 top */
1010
- alignY?: 'top' | 'middle' | 'bottom';
1011
- /** 自定义 html */
1012
- html: string | number | HTMLElement | ((container: HTMLElement) => void | string | number | HTMLElement);
1013
- /** zIndex 设置 */
1014
- zIndex?: number;
1015
- }
1016
- export interface TextAnnotationCfg extends GroupComponentCfg, EnhancedTextCfg {
1017
- /**
1018
- * 文本标注位置 x
1019
- * @type {number}
1020
- */
1021
- x: number;
1022
- /**
1023
- * 文本标注位置 y
1024
- * @type {number}
1025
- */
1026
- y: number;
1027
- }
1028
- export interface LineAnnotationCfg extends GroupComponentCfg {
1029
- /**
1030
- * 起始点
1031
- * @type {Point}
1032
- */
1033
- start?: Point;
1034
- /**
1035
- * 结束点
1036
- * @type {Point}
1037
- */
1038
- end?: Point;
1039
- /**
1040
- * 线上的文本配置
1041
- * @type {LineAnnotationTextCfg}
1042
- */
1043
- text?: LineAnnotationTextCfg;
1044
- /**
1045
- * 线的样式
1046
- * @type {ShapeAttrs}
1047
- */
1048
- style?: ShapeAttrs;
1049
- }
1050
- export interface LineAnnotationTextCfg extends EnhancedTextCfg {
1051
- /**
1052
- * 位置,可以选择: start, end, center 和 '50%' 这类的百分比写法,默认 'center'
1053
- * @type {string}
1054
- */
1055
- position?: string;
1056
- /**
1057
- * 自动旋转,沿着线的方向,默认 true
1058
- * @type {boolean}
1059
- */
1060
- autoRotate?: boolean;
1061
- /**
1062
- * 文本的偏移 x
1063
- * @type {number}
1064
- */
1065
- offsetX?: number;
1066
- /**
1067
- * 文本的偏移 y
1068
- * @type {number}
1069
- */
1070
- offsetY?: number;
1071
- }
1072
- export interface RegionAnnotationCfg extends GroupComponentCfg {
1073
- /**
1074
- * 起始点
1075
- * @type {Point}
1076
- */
1077
- start?: Point;
1078
- /**
1079
- * 结束点
1080
- * @type {Point}
1081
- */
1082
- end?: Point;
1083
- /**
1084
- * 区域的样式
1085
- * @type {ShapeAttrs}
1086
- */
1087
- style?: ShapeAttrs;
1088
- }
1089
- export interface ImageAnnotationCfg extends GroupComponentCfg {
1090
- /**
1091
- * 起始点
1092
- * @type {Point}
1093
- */
1094
- start?: Point;
1095
- /**
1096
- * 结束点
1097
- * @type {Point}
1098
- */
1099
- end?: Point;
1100
- /**
1101
- * 图片地址
1102
- * @type {string}
1103
- */
1104
- src?: string;
1105
- /**
1106
- * 区域的样式
1107
- * @type {ShapeAttrs}
1108
- */
1109
- style?: ShapeAttrs;
1110
- }
1111
- export interface ArcAnnotationCfg extends GroupComponentCfg {
1112
- /**
1113
- * 圆心
1114
- * @type {Point}
1115
- */
1116
- center?: Point;
1117
- /**
1118
- * 半径
1119
- * @type {number}
1120
- */
1121
- radius?: number;
1122
- /**
1123
- * 其实角度
1124
- * @type {number}
1125
- */
1126
- startAngle?: number;
1127
- /**
1128
- * 结束角度
1129
- * @type {number}
1130
- */
1131
- endAngle?: number;
1132
- /**
1133
- * 区域的样式
1134
- * @type {ShapeAttrs}
1135
- */
1136
- style?: ShapeAttrs;
1137
- }
1138
- export interface DataMarkerTextCfg extends EnhancedTextCfg {
1139
- display?: boolean;
1140
- }
1141
- export interface DataMarkerAnnotationCfg extends GroupComponentCfg {
1142
- /**
1143
- * 标注位置 x
1144
- * @type {number}
1145
- */
1146
- x: number;
1147
- /**
1148
- * 标注位置 y
1149
- * @type {number}
1150
- */
1151
- y: number;
1152
- point?: {
1153
- display?: boolean;
1154
- style?: ShapeAttrs;
1155
- };
1156
- line?: {
1157
- display?: boolean;
1158
- length?: number;
1159
- style?: ShapeAttrs;
1160
- };
1161
- text: DataMarkerTextCfg;
1162
- /**
1163
- * 方向
1164
- */
1165
- direction?: 'upward' | 'downward';
1166
- /**
1167
- * 是否自动调整
1168
- */
1169
- autoAdjust?: boolean;
1170
- /**
1171
- * Coord 的 BBox,用于 autoAdjust
1172
- */
1173
- coordBBox?: BBox;
1174
- }
1175
- export interface DataRegionAnnotationCfg extends GroupComponentCfg {
1176
- /**
1177
- * 位置点信息
1178
- * @type {Point}
1179
- */
1180
- points: Point[];
1181
- region?: {
1182
- style?: ShapeAttrs;
1183
- };
1184
- text: EnhancedTextCfg;
1185
- }
1186
- export interface RegionFilterAnnotationCfg extends GroupComponentCfg {
1187
- /**
1188
- * 起始点
1189
- * @type {Point}
1190
- */
1191
- start: Point;
1192
- /**
1193
- * 结束点
1194
- * @type {Point}
1195
- */
1196
- end: Point;
1197
- /**
1198
- * 染色色值
1199
- */
1200
- color: string;
1201
- /**
1202
- * 图形上的 Shapes
1203
- */
1204
- shapes: IShape[];
1205
- }
1206
- export interface CrosshairBaseCfg extends GroupComponentCfg {
1207
- /**
1208
- * 线的样式
1209
- * @type {CrosshairLineCfg}
1210
- */
1211
- line?: CrosshairLineCfg;
1212
- /**
1213
- * 附加文本的样式
1214
- * @type {CrosshairTextCfg}
1215
- */
1216
- text?: CrosshairTextCfg;
1217
- /**
1218
- * 文本背景的配置项
1219
- * @type {CrosshairTextBackgroundCfg}
1220
- */
1221
- textBackground?: CrosshairTextBackgroundCfg;
1222
- }
1223
- export interface LineCrosshairCfg extends CrosshairBaseCfg {
1224
- /**
1225
- * 起始点
1226
- * @type {Point}
1227
- */
1228
- start: Point;
1229
- /**
1230
- * 结束点
1231
- * @type {Point}
1232
- */
1233
- end: Point;
1234
- }
1235
- export interface CircleCrosshairCfg extends CrosshairBaseCfg {
1236
- /**
1237
- * 圆心
1238
- * @type {Point}
1239
- */
1240
- center: Point;
1241
- /**
1242
- * 半径
1243
- * @type {number}
1244
- */
1245
- radius: number;
1246
- /**
1247
- * 开始角度
1248
- * @type {number}
1249
- */
1250
- startAngle: number;
1251
- /**
1252
- * 结束角度
1253
- * @type {number}
1254
- */
1255
- endAngle: number;
1256
- }
1257
- export interface CrosshairTextBaseCfg {
1258
- /**
1259
- * 文本位置,只支持 start, end
1260
- * @type {string}
1261
- */
1262
- position?: string;
1263
- /**
1264
- * 文本内容
1265
- */
1266
- content?: string;
1267
- /**
1268
- * 距离线的距离
1269
- * @type {number}
1270
- */
1271
- offset?: number;
1272
- }
1273
- export interface CrosshairTextCfg extends CrosshairTextBaseCfg {
1274
- /**
1275
- * 是否自动旋转
1276
- * @type {boolean}
1277
- */
1278
- autoRotate?: boolean;
1279
- /**
1280
- * 文本的配置项
1281
- * @type {ShapeAttrs}
1282
- */
1283
- style?: ShapeAttrs;
1284
- }
1285
- export interface HtmlCrossHairCfg extends HtmlComponentCfg {
1286
- /**
1287
- * 起始位置
1288
- */
1289
- start: Point;
1290
- /**
1291
- * 结束位置
1292
- */
1293
- end: Point;
1294
- /**
1295
- * crosshair 的模板
1296
- */
1297
- crossHairTpl: string;
1298
- /**
1299
- * 文本的模板
1300
- */
1301
- textTpl: string;
1302
- /**
1303
- * 文本
1304
- */
1305
- text: CrosshairTextBaseCfg;
1306
- }
1307
- export interface CrosshairLineCfg {
1308
- /**
1309
- * 线的配置项
1310
- * @type {ShapeAttrs}
1311
- */
1312
- style?: ShapeAttrs;
1313
- }
1314
- export interface CrosshairTextBackgroundCfg {
1315
- /**
1316
- * 文本背景周围的留白
1317
- * @type {number|number[]}
1318
- */
1319
- padding?: number | number[];
1320
- /**
1321
- * 文本背景的样式
1322
- * @type {ShapeAttrs}
1323
- */
1324
- style?: ShapeAttrs;
1325
- }
1326
- export { SliderCfg, TrendCfg } from './slider';
1327
- export { ScrollbarCfg, ScrollbarTheme } from './scrollbar';