@visactor/vchart 1.5.1-alpha.6 → 1.5.1

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 (607) hide show
  1. package/build/es5/index.js +1 -1
  2. package/build/index.js +1349 -417
  3. package/build/index.min.js +1 -1
  4. package/build/tsconfig.tsbuildinfo +1 -1
  5. package/cjs/chart/base-chart.js +4 -1
  6. package/cjs/chart/base-chart.js.map +1 -1
  7. package/cjs/chart/common/interface.d.ts +2 -1
  8. package/cjs/chart/common/interface.js.map +1 -1
  9. package/cjs/chart/correlation/correlation.d.ts +11 -0
  10. package/cjs/chart/correlation/correlation.js +53 -0
  11. package/cjs/chart/correlation/correlation.js.map +1 -0
  12. package/cjs/chart/correlation/index.d.ts +2 -0
  13. package/cjs/chart/correlation/index.js +21 -0
  14. package/cjs/chart/correlation/index.js.map +1 -0
  15. package/cjs/chart/correlation/interface.d.ts +6 -0
  16. package/cjs/chart/correlation/interface.js +6 -0
  17. package/cjs/chart/correlation/interface.js.map +1 -0
  18. package/cjs/chart/index.d.ts +5 -3
  19. package/cjs/chart/index.js +16 -2
  20. package/cjs/chart/index.js.map +1 -1
  21. package/cjs/chart/interface/type.d.ts +2 -1
  22. package/cjs/chart/interface/type.js +2 -1
  23. package/cjs/chart/interface/type.js.map +1 -1
  24. package/cjs/chart/sequence/sequence.js +0 -1
  25. package/cjs/chart/sequence/sequence.js.map +1 -1
  26. package/cjs/chart/waterfall/waterfall.js.map +1 -1
  27. package/cjs/component/axis/base-axis.d.ts +2 -2
  28. package/cjs/component/axis/base-axis.js.map +1 -1
  29. package/cjs/component/axis/cartesian/axis.d.ts +4 -0
  30. package/cjs/component/axis/cartesian/axis.js +51 -9
  31. package/cjs/component/axis/cartesian/axis.js.map +1 -1
  32. package/cjs/component/axis/cartesian/interface/common.d.ts +6 -1
  33. package/cjs/component/axis/cartesian/interface/common.js.map +1 -1
  34. package/cjs/component/axis/cartesian/interface/spec.d.ts +2 -1
  35. package/cjs/component/axis/cartesian/interface/spec.js.map +1 -1
  36. package/cjs/component/axis/cartesian/interface/theme.d.ts +2 -1
  37. package/cjs/component/axis/cartesian/interface/theme.js.map +1 -1
  38. package/cjs/component/base/base-component.d.ts +1 -1
  39. package/cjs/component/base/base-component.js.map +1 -1
  40. package/cjs/component/brush/brush.d.ts +2 -2
  41. package/cjs/component/brush/brush.js.map +1 -1
  42. package/cjs/component/brush/interface.d.ts +1 -1
  43. package/cjs/component/brush/interface.js.map +1 -1
  44. package/cjs/component/common/trigger/desktop.d.ts +1 -0
  45. package/cjs/component/common/trigger/desktop.js +1 -0
  46. package/cjs/component/common/trigger/desktop.js.map +1 -1
  47. package/cjs/component/common/trigger/mobile.d.ts +1 -0
  48. package/cjs/component/common/trigger/mobile.js +1 -0
  49. package/cjs/component/common/trigger/mobile.js.map +1 -1
  50. package/cjs/component/crosshair/cartesian.d.ts +2 -2
  51. package/cjs/component/crosshair/cartesian.js.map +1 -1
  52. package/cjs/component/crosshair/polar.d.ts +2 -2
  53. package/cjs/component/crosshair/polar.js.map +1 -1
  54. package/cjs/component/custom-mark/custom-mark.d.ts +2 -2
  55. package/cjs/component/custom-mark/custom-mark.js.map +1 -1
  56. package/cjs/component/data-zoom/data-filter-base-component.d.ts +26 -9
  57. package/cjs/component/data-zoom/data-filter-base-component.js +92 -20
  58. package/cjs/component/data-zoom/data-filter-base-component.js.map +1 -1
  59. package/cjs/component/data-zoom/data-zoom/data-zoom.d.ts +2 -3
  60. package/cjs/component/data-zoom/data-zoom/data-zoom.js +16 -8
  61. package/cjs/component/data-zoom/data-zoom/data-zoom.js.map +1 -1
  62. package/cjs/component/data-zoom/interface.d.ts +36 -2
  63. package/cjs/component/data-zoom/interface.js.map +1 -1
  64. package/cjs/component/data-zoom/scroll-bar/scroll-bar.d.ts +3 -3
  65. package/cjs/component/data-zoom/scroll-bar/scroll-bar.js +17 -9
  66. package/cjs/component/data-zoom/scroll-bar/scroll-bar.js.map +1 -1
  67. package/cjs/component/geo/geo-coordinate.d.ts +2 -2
  68. package/cjs/component/geo/geo-coordinate.js.map +1 -1
  69. package/cjs/component/indicator/indicator.d.ts +2 -2
  70. package/cjs/component/indicator/indicator.js.map +1 -1
  71. package/cjs/component/interface/common.d.ts +2 -2
  72. package/cjs/component/interface/common.js.map +1 -1
  73. package/cjs/component/label/base-label.d.ts +2 -2
  74. package/cjs/component/label/base-label.js.map +1 -1
  75. package/cjs/component/legend/base-legend.d.ts +2 -2
  76. package/cjs/component/legend/base-legend.js.map +1 -1
  77. package/cjs/component/legend/continuous/legend.d.ts +1 -1
  78. package/cjs/component/legend/discrete/legend.d.ts +1 -1
  79. package/cjs/component/legend/interface.d.ts +3 -0
  80. package/cjs/component/legend/interface.js.map +1 -1
  81. package/cjs/component/map-label/component.d.ts +3 -3
  82. package/cjs/component/map-label/component.js.map +1 -1
  83. package/cjs/component/marker/base-marker.d.ts +2 -2
  84. package/cjs/component/marker/base-marker.js.map +1 -1
  85. package/cjs/component/marker/mark-line/mark-line.js.map +1 -1
  86. package/cjs/component/marker/mark-point/mark-point.js.map +1 -1
  87. package/cjs/component/player/player.d.ts +2 -2
  88. package/cjs/component/player/player.js.map +1 -1
  89. package/cjs/component/title/title.d.ts +2 -2
  90. package/cjs/component/title/title.js.map +1 -1
  91. package/cjs/component/tooltip/handler/base.d.ts +1 -1
  92. package/cjs/component/tooltip/handler/dom/util.js.map +1 -1
  93. package/cjs/component/tooltip/handler/utils/common.js.map +1 -1
  94. package/cjs/component/tooltip/handler/utils/compose.js +2 -1
  95. package/cjs/component/tooltip/handler/utils/compose.js.map +1 -1
  96. package/cjs/component/tooltip/tooltip.d.ts +2 -2
  97. package/cjs/component/tooltip/tooltip.js.map +1 -1
  98. package/cjs/constant/correlation.d.ts +3 -0
  99. package/cjs/constant/correlation.js +11 -0
  100. package/cjs/constant/correlation.js.map +1 -0
  101. package/cjs/constant/index.d.ts +1 -0
  102. package/cjs/constant/index.js +2 -1
  103. package/cjs/constant/index.js.map +1 -1
  104. package/cjs/constant/word-cloud.js +1 -2
  105. package/cjs/core/factory.js +2 -1
  106. package/cjs/core/index.d.ts +1 -1
  107. package/cjs/core/index.js +1 -1
  108. package/cjs/core/index.js.map +1 -1
  109. package/cjs/data/transforms/correlation-center.d.ts +4 -0
  110. package/cjs/data/transforms/correlation-center.js +18 -0
  111. package/cjs/data/transforms/correlation-center.js.map +1 -0
  112. package/cjs/data/transforms/correlation.d.ts +17 -0
  113. package/cjs/data/transforms/correlation.js +58 -0
  114. package/cjs/data/transforms/correlation.js.map +1 -0
  115. package/cjs/interaction/dimension-trigger.js +1 -2
  116. package/cjs/interaction/interaction.js +2 -1
  117. package/cjs/interaction/zoom/zoomable.d.ts +20 -12
  118. package/cjs/interaction/zoom/zoomable.js +94 -74
  119. package/cjs/interaction/zoom/zoomable.js.map +1 -1
  120. package/cjs/layout/base-layout.d.ts +7 -1
  121. package/cjs/layout/base-layout.js +24 -10
  122. package/cjs/layout/base-layout.js.map +1 -1
  123. package/cjs/layout/layout3d/index.d.ts +6 -0
  124. package/cjs/layout/layout3d/index.js +14 -0
  125. package/cjs/layout/layout3d/index.js.map +1 -1
  126. package/cjs/mark/arc-3d.js +1 -1
  127. package/cjs/mark/index.d.ts +3 -2
  128. package/cjs/mark/index.js +10 -1
  129. package/cjs/mark/index.js.map +1 -1
  130. package/cjs/mark/interface/type.d.ts +1 -0
  131. package/cjs/mark/interface/type.js +1 -1
  132. package/cjs/mark/interface/type.js.map +1 -1
  133. package/cjs/mark/ripple.d.ts +12 -0
  134. package/cjs/mark/ripple.js +29 -0
  135. package/cjs/mark/ripple.js.map +1 -0
  136. package/cjs/model/base-model.d.ts +0 -3
  137. package/cjs/model/base-model.js +0 -3
  138. package/cjs/model/base-model.js.map +1 -1
  139. package/cjs/model/interface.d.ts +0 -2
  140. package/cjs/model/interface.js.map +1 -1
  141. package/cjs/series/area/area.js +4 -2
  142. package/cjs/series/area/area.js.map +1 -1
  143. package/cjs/series/bar/bar.d.ts +1 -0
  144. package/cjs/series/bar/bar.js +4 -3
  145. package/cjs/series/bar/bar.js.map +1 -1
  146. package/cjs/series/base/base-series.js +6 -9
  147. package/cjs/series/base/base-series.js.map +1 -1
  148. package/cjs/series/box-plot/box-plot.js +9 -9
  149. package/cjs/series/box-plot/box-plot.js.map +1 -1
  150. package/cjs/series/circle-packing/circle-packing.js +7 -6
  151. package/cjs/series/circle-packing/circle-packing.js.map +1 -1
  152. package/cjs/series/correlation/animation.d.ts +8 -0
  153. package/cjs/series/correlation/animation.js +22 -0
  154. package/cjs/series/correlation/animation.js.map +1 -0
  155. package/cjs/series/correlation/constant.d.ts +2 -0
  156. package/cjs/series/correlation/constant.js +27 -0
  157. package/cjs/series/correlation/constant.js.map +1 -0
  158. package/cjs/series/correlation/correlation.d.ts +57 -0
  159. package/cjs/series/correlation/correlation.js +215 -0
  160. package/cjs/series/correlation/correlation.js.map +1 -0
  161. package/cjs/series/correlation/interface.d.ts +37 -0
  162. package/cjs/series/correlation/interface.js +6 -0
  163. package/cjs/series/correlation/interface.js.map +1 -0
  164. package/cjs/series/dot/dot.js +2 -4
  165. package/cjs/series/dot/dot.js.map +1 -1
  166. package/cjs/series/funnel/funnel.js +4 -6
  167. package/cjs/series/funnel/funnel.js.map +1 -1
  168. package/cjs/series/gauge/gauge-pointer.d.ts +1 -0
  169. package/cjs/series/gauge/gauge-pointer.js +4 -2
  170. package/cjs/series/gauge/gauge-pointer.js.map +1 -1
  171. package/cjs/series/gauge/gauge.d.ts +1 -0
  172. package/cjs/series/gauge/gauge.js +5 -3
  173. package/cjs/series/gauge/gauge.js.map +1 -1
  174. package/cjs/series/heatmap/heatmap.js +2 -4
  175. package/cjs/series/heatmap/heatmap.js.map +1 -1
  176. package/cjs/series/index.d.ts +4 -2
  177. package/cjs/series/index.js +11 -2
  178. package/cjs/series/index.js.map +1 -1
  179. package/cjs/series/interface/series.d.ts +1 -1
  180. package/cjs/series/interface/series.js.map +1 -1
  181. package/cjs/series/interface/theme.d.ts +2 -0
  182. package/cjs/series/interface/theme.js +3 -2
  183. package/cjs/series/interface/theme.js.map +1 -1
  184. package/cjs/series/interface/type.d.ts +7 -2
  185. package/cjs/series/interface/type.js +4 -2
  186. package/cjs/series/interface/type.js.map +1 -1
  187. package/cjs/series/line/line.d.ts +1 -0
  188. package/cjs/series/line/line.js +4 -0
  189. package/cjs/series/line/line.js.map +1 -1
  190. package/cjs/series/link/link.js +6 -7
  191. package/cjs/series/link/link.js.map +1 -1
  192. package/cjs/series/map/map.js +2 -4
  193. package/cjs/series/map/map.js.map +1 -1
  194. package/cjs/series/mixin/line-mixin.js +2 -5
  195. package/cjs/series/mixin/line-mixin.js.map +1 -1
  196. package/cjs/series/pie/interface.d.ts +2 -0
  197. package/cjs/series/pie/interface.js.map +1 -1
  198. package/cjs/series/pie/pie-3d.js +6 -6
  199. package/cjs/series/pie/pie-3d.js.map +1 -1
  200. package/cjs/series/pie/pie.d.ts +2 -0
  201. package/cjs/series/pie/pie.js +18 -3
  202. package/cjs/series/pie/pie.js.map +1 -1
  203. package/cjs/series/progress/circular/circular.d.ts +1 -0
  204. package/cjs/series/progress/circular/circular.js +5 -3
  205. package/cjs/series/progress/circular/circular.js.map +1 -1
  206. package/cjs/series/progress/linear/linear.js +6 -6
  207. package/cjs/series/progress/linear/linear.js.map +1 -1
  208. package/cjs/series/radar/animation.js.map +1 -1
  209. package/cjs/series/radar/radar.d.ts +1 -0
  210. package/cjs/series/radar/radar.js +6 -2
  211. package/cjs/series/radar/radar.js.map +1 -1
  212. package/cjs/series/range-area/range-area.js +2 -3
  213. package/cjs/series/range-area/range-area.js.map +1 -1
  214. package/cjs/series/range-column/range-column.d.ts +1 -0
  215. package/cjs/series/range-column/range-column.js +11 -11
  216. package/cjs/series/range-column/range-column.js.map +1 -1
  217. package/cjs/series/rose/rose.d.ts +1 -0
  218. package/cjs/series/rose/rose.js +4 -2
  219. package/cjs/series/rose/rose.js.map +1 -1
  220. package/cjs/series/sankey/sankey.js +7 -9
  221. package/cjs/series/sankey/sankey.js.map +1 -1
  222. package/cjs/series/scatter/scatter.d.ts +1 -0
  223. package/cjs/series/scatter/scatter.js +4 -3
  224. package/cjs/series/scatter/scatter.js.map +1 -1
  225. package/cjs/series/sunburst/sunburst.js +4 -6
  226. package/cjs/series/sunburst/sunburst.js.map +1 -1
  227. package/cjs/series/treemap/treemap.js +10 -9
  228. package/cjs/series/treemap/treemap.js.map +1 -1
  229. package/cjs/series/word-cloud/base.d.ts +1 -0
  230. package/cjs/series/word-cloud/base.js +6 -3
  231. package/cjs/series/word-cloud/base.js.map +1 -1
  232. package/cjs/series/word-cloud/word-cloud-3d.js +2 -3
  233. package/cjs/series/word-cloud/word-cloud-3d.js.map +1 -1
  234. package/cjs/theme/builtin/common/component/axis/cartesian-axis.js +31 -3
  235. package/cjs/theme/builtin/common/component/axis/cartesian-axis.js.map +1 -1
  236. package/cjs/theme/builtin/common/component/indicator.js +1 -1
  237. package/cjs/theme/builtin/common/component/indicator.js.map +1 -1
  238. package/cjs/theme/builtin/common/component/legend/continuous.js +1 -1
  239. package/cjs/theme/builtin/common/component/legend/continuous.js.map +1 -1
  240. package/cjs/theme/builtin/common/component/legend/discrete-legend.js +1 -1
  241. package/cjs/theme/builtin/common/component/legend/discrete-legend.js.map +1 -1
  242. package/cjs/theme/builtin/common/component/mark-area.js +12 -10
  243. package/cjs/theme/builtin/common/component/mark-area.js.map +1 -1
  244. package/cjs/theme/builtin/common/component/mark-line.js +19 -12
  245. package/cjs/theme/builtin/common/component/mark-line.js.map +1 -1
  246. package/cjs/theme/builtin/common/component/mark-point.js +8 -2
  247. package/cjs/theme/builtin/common/component/mark-point.js.map +1 -1
  248. package/cjs/theme/builtin/common/component/poptip.js +1 -1
  249. package/cjs/theme/builtin/common/component/poptip.js.map +1 -1
  250. package/cjs/theme/builtin/common/component/title.js +1 -1
  251. package/cjs/theme/builtin/common/component/title.js.map +1 -1
  252. package/cjs/theme/builtin/common/component/tooltip.js +2 -2
  253. package/cjs/theme/builtin/common/component/tooltip.js.map +1 -1
  254. package/cjs/theme/builtin/common/component/total-label.js +1 -1
  255. package/cjs/theme/builtin/common/component/total-label.js.map +1 -1
  256. package/cjs/theme/builtin/common/series/area.js +4 -1
  257. package/cjs/theme/builtin/common/series/area.js.map +1 -1
  258. package/cjs/theme/builtin/common/series/bar.js +4 -1
  259. package/cjs/theme/builtin/common/series/bar.js.map +1 -1
  260. package/cjs/theme/builtin/common/series/circle-packing.js +4 -1
  261. package/cjs/theme/builtin/common/series/circle-packing.js.map +1 -1
  262. package/cjs/theme/builtin/common/series/correlation.d.ts +2 -0
  263. package/cjs/theme/builtin/common/series/correlation.js +22 -0
  264. package/cjs/theme/builtin/common/series/correlation.js.map +1 -0
  265. package/cjs/theme/builtin/common/series/funnel.js +12 -3
  266. package/cjs/theme/builtin/common/series/funnel.js.map +1 -1
  267. package/cjs/theme/builtin/common/series/index.js +3 -2
  268. package/cjs/theme/builtin/common/series/index.js.map +1 -1
  269. package/cjs/theme/builtin/common/series/line.js +4 -1
  270. package/cjs/theme/builtin/common/series/line.js.map +1 -1
  271. package/cjs/theme/builtin/common/series/map.js +4 -1
  272. package/cjs/theme/builtin/common/series/map.js.map +1 -1
  273. package/cjs/theme/builtin/common/series/pie.js +9 -1
  274. package/cjs/theme/builtin/common/series/pie.js.map +1 -1
  275. package/cjs/theme/builtin/common/series/radar.js +4 -1
  276. package/cjs/theme/builtin/common/series/radar.js.map +1 -1
  277. package/cjs/theme/builtin/common/series/rose.js +5 -1
  278. package/cjs/theme/builtin/common/series/rose.js.map +1 -1
  279. package/cjs/theme/builtin/common/series/scatter.js +4 -1
  280. package/cjs/theme/builtin/common/series/scatter.js.map +1 -1
  281. package/cjs/theme/builtin/common/series/treemap.js +4 -1
  282. package/cjs/theme/builtin/common/series/treemap.js.map +1 -1
  283. package/cjs/theme/builtin/dark/color-scheme.js +1 -1
  284. package/cjs/theme/builtin/dark/color-scheme.js.map +1 -1
  285. package/cjs/theme/builtin/light/color-scheme.js +3 -3
  286. package/cjs/theme/builtin/light/color-scheme.js.map +1 -1
  287. package/cjs/theme/color-scheme/builtin/interface.d.ts +1 -1
  288. package/cjs/theme/color-scheme/builtin/interface.js.map +1 -1
  289. package/cjs/theme/color-scheme/interface.d.ts +1 -1
  290. package/cjs/theme/color-scheme/interface.js.map +1 -1
  291. package/cjs/theme/color-scheme/util.js +3 -7
  292. package/cjs/theme/color-scheme/util.js.map +1 -1
  293. package/cjs/typings/event.d.ts +1 -0
  294. package/cjs/typings/event.js +6 -0
  295. package/cjs/typings/event.js.map +1 -0
  296. package/cjs/typings/spec/chart.d.ts +2 -0
  297. package/cjs/typings/spec/chart.js.map +1 -1
  298. package/cjs/typings/spec/common.d.ts +8 -6
  299. package/cjs/typings/spec/common.js.map +1 -1
  300. package/cjs/typings/tooltip/line.d.ts +1 -0
  301. package/cjs/typings/tooltip/line.js.map +1 -1
  302. package/cjs/typings/visual.d.ts +4 -0
  303. package/cjs/typings/visual.js.map +1 -1
  304. package/cjs/vchart-all.js +2 -2
  305. package/cjs/vchart-all.js.map +1 -1
  306. package/esm/chart/base-chart.js +4 -1
  307. package/esm/chart/base-chart.js.map +1 -1
  308. package/esm/chart/common/interface.d.ts +2 -1
  309. package/esm/chart/common/interface.js.map +1 -1
  310. package/esm/chart/correlation/correlation.d.ts +11 -0
  311. package/esm/chart/correlation/correlation.js +52 -0
  312. package/esm/chart/correlation/correlation.js.map +1 -0
  313. package/esm/chart/correlation/index.d.ts +2 -0
  314. package/esm/chart/correlation/index.js +4 -0
  315. package/esm/chart/correlation/index.js.map +1 -0
  316. package/esm/chart/correlation/interface.d.ts +6 -0
  317. package/esm/chart/correlation/interface.js +2 -0
  318. package/esm/chart/correlation/interface.js.map +1 -0
  319. package/esm/chart/index.d.ts +5 -3
  320. package/esm/chart/index.js +4 -2
  321. package/esm/chart/index.js.map +1 -1
  322. package/esm/chart/interface/type.d.ts +2 -1
  323. package/esm/chart/interface/type.js +2 -1
  324. package/esm/chart/interface/type.js.map +1 -1
  325. package/esm/chart/sequence/sequence.js +0 -1
  326. package/esm/chart/sequence/sequence.js.map +1 -1
  327. package/esm/chart/waterfall/waterfall.js.map +1 -1
  328. package/esm/component/axis/base-axis.d.ts +2 -2
  329. package/esm/component/axis/base-axis.js.map +1 -1
  330. package/esm/component/axis/cartesian/axis.d.ts +4 -0
  331. package/esm/component/axis/cartesian/axis.js +52 -8
  332. package/esm/component/axis/cartesian/axis.js.map +1 -1
  333. package/esm/component/axis/cartesian/interface/common.d.ts +6 -1
  334. package/esm/component/axis/cartesian/interface/common.js.map +1 -1
  335. package/esm/component/axis/cartesian/interface/spec.d.ts +2 -1
  336. package/esm/component/axis/cartesian/interface/spec.js.map +1 -1
  337. package/esm/component/axis/cartesian/interface/theme.d.ts +2 -1
  338. package/esm/component/axis/cartesian/interface/theme.js.map +1 -1
  339. package/esm/component/base/base-component.d.ts +1 -1
  340. package/esm/component/base/base-component.js.map +1 -1
  341. package/esm/component/brush/brush.d.ts +2 -2
  342. package/esm/component/brush/brush.js.map +1 -1
  343. package/esm/component/brush/interface.d.ts +1 -1
  344. package/esm/component/brush/interface.js.map +1 -1
  345. package/esm/component/common/trigger/desktop.d.ts +1 -0
  346. package/esm/component/common/trigger/desktop.js +1 -0
  347. package/esm/component/common/trigger/desktop.js.map +1 -1
  348. package/esm/component/common/trigger/mobile.d.ts +1 -0
  349. package/esm/component/common/trigger/mobile.js +1 -0
  350. package/esm/component/common/trigger/mobile.js.map +1 -1
  351. package/esm/component/crosshair/cartesian.d.ts +2 -2
  352. package/esm/component/crosshair/cartesian.js.map +1 -1
  353. package/esm/component/crosshair/polar.d.ts +2 -2
  354. package/esm/component/crosshair/polar.js.map +1 -1
  355. package/esm/component/custom-mark/custom-mark.d.ts +2 -2
  356. package/esm/component/custom-mark/custom-mark.js.map +1 -1
  357. package/esm/component/data-zoom/data-filter-base-component.d.ts +26 -9
  358. package/esm/component/data-zoom/data-filter-base-component.js +91 -20
  359. package/esm/component/data-zoom/data-filter-base-component.js.map +1 -1
  360. package/esm/component/data-zoom/data-zoom/data-zoom.d.ts +2 -3
  361. package/esm/component/data-zoom/data-zoom/data-zoom.js +17 -9
  362. package/esm/component/data-zoom/data-zoom/data-zoom.js.map +1 -1
  363. package/esm/component/data-zoom/interface.d.ts +36 -2
  364. package/esm/component/data-zoom/interface.js.map +1 -1
  365. package/esm/component/data-zoom/scroll-bar/scroll-bar.d.ts +3 -3
  366. package/esm/component/data-zoom/scroll-bar/scroll-bar.js +18 -10
  367. package/esm/component/data-zoom/scroll-bar/scroll-bar.js.map +1 -1
  368. package/esm/component/geo/geo-coordinate.d.ts +2 -2
  369. package/esm/component/geo/geo-coordinate.js.map +1 -1
  370. package/esm/component/indicator/indicator.d.ts +2 -2
  371. package/esm/component/indicator/indicator.js.map +1 -1
  372. package/esm/component/interface/common.d.ts +2 -2
  373. package/esm/component/interface/common.js.map +1 -1
  374. package/esm/component/label/base-label.d.ts +2 -2
  375. package/esm/component/label/base-label.js.map +1 -1
  376. package/esm/component/legend/base-legend.d.ts +2 -2
  377. package/esm/component/legend/base-legend.js.map +1 -1
  378. package/esm/component/legend/continuous/legend.d.ts +1 -1
  379. package/esm/component/legend/discrete/legend.d.ts +1 -1
  380. package/esm/component/legend/interface.d.ts +3 -0
  381. package/esm/component/legend/interface.js.map +1 -1
  382. package/esm/component/map-label/component.d.ts +3 -3
  383. package/esm/component/map-label/component.js.map +1 -1
  384. package/esm/component/marker/base-marker.d.ts +2 -2
  385. package/esm/component/marker/base-marker.js.map +1 -1
  386. package/esm/component/marker/mark-line/mark-line.js.map +1 -1
  387. package/esm/component/marker/mark-point/mark-point.js.map +1 -1
  388. package/esm/component/player/player.d.ts +2 -2
  389. package/esm/component/player/player.js.map +1 -1
  390. package/esm/component/title/title.d.ts +2 -2
  391. package/esm/component/title/title.js.map +1 -1
  392. package/esm/component/tooltip/handler/base.d.ts +1 -1
  393. package/esm/component/tooltip/handler/dom/util.js.map +1 -1
  394. package/esm/component/tooltip/handler/utils/common.js.map +1 -1
  395. package/esm/component/tooltip/handler/utils/compose.js +2 -1
  396. package/esm/component/tooltip/handler/utils/compose.js.map +1 -1
  397. package/esm/component/tooltip/tooltip.d.ts +2 -2
  398. package/esm/component/tooltip/tooltip.js.map +1 -1
  399. package/esm/constant/correlation.d.ts +3 -0
  400. package/esm/constant/correlation.js +8 -0
  401. package/esm/constant/correlation.js.map +1 -0
  402. package/esm/constant/index.d.ts +1 -0
  403. package/esm/constant/index.js +2 -0
  404. package/esm/constant/index.js.map +1 -1
  405. package/esm/constant/word-cloud.js +1 -2
  406. package/esm/core/factory.js +2 -1
  407. package/esm/core/index.d.ts +1 -1
  408. package/esm/core/index.js +1 -1
  409. package/esm/core/index.js.map +1 -1
  410. package/esm/data/transforms/correlation-center.d.ts +4 -0
  411. package/esm/data/transforms/correlation-center.js +14 -0
  412. package/esm/data/transforms/correlation-center.js.map +1 -0
  413. package/esm/data/transforms/correlation.d.ts +17 -0
  414. package/esm/data/transforms/correlation.js +49 -0
  415. package/esm/data/transforms/correlation.js.map +1 -0
  416. package/esm/interaction/dimension-trigger.js +1 -2
  417. package/esm/interaction/interaction.js +2 -1
  418. package/esm/interaction/zoom/zoomable.d.ts +20 -12
  419. package/esm/interaction/zoom/zoomable.js +96 -74
  420. package/esm/interaction/zoom/zoomable.js.map +1 -1
  421. package/esm/layout/base-layout.d.ts +7 -1
  422. package/esm/layout/base-layout.js +24 -10
  423. package/esm/layout/base-layout.js.map +1 -1
  424. package/esm/layout/layout3d/index.d.ts +6 -0
  425. package/esm/layout/layout3d/index.js +14 -0
  426. package/esm/layout/layout3d/index.js.map +1 -1
  427. package/esm/mark/arc-3d.js +1 -1
  428. package/esm/mark/index.d.ts +3 -2
  429. package/esm/mark/index.js +3 -1
  430. package/esm/mark/index.js.map +1 -1
  431. package/esm/mark/interface/type.d.ts +1 -0
  432. package/esm/mark/interface/type.js +1 -1
  433. package/esm/mark/interface/type.js.map +1 -1
  434. package/esm/mark/ripple.d.ts +12 -0
  435. package/esm/mark/ripple.js +27 -0
  436. package/esm/mark/ripple.js.map +1 -0
  437. package/esm/model/base-model.d.ts +0 -3
  438. package/esm/model/base-model.js +0 -3
  439. package/esm/model/base-model.js.map +1 -1
  440. package/esm/model/interface.d.ts +0 -2
  441. package/esm/model/interface.js.map +1 -1
  442. package/esm/series/area/area.js +4 -3
  443. package/esm/series/area/area.js.map +1 -1
  444. package/esm/series/bar/bar.d.ts +1 -0
  445. package/esm/series/bar/bar.js +4 -2
  446. package/esm/series/bar/bar.js.map +1 -1
  447. package/esm/series/base/base-series.js +5 -7
  448. package/esm/series/base/base-series.js.map +1 -1
  449. package/esm/series/box-plot/box-plot.js +10 -8
  450. package/esm/series/box-plot/box-plot.js.map +1 -1
  451. package/esm/series/circle-packing/circle-packing.js +7 -6
  452. package/esm/series/circle-packing/circle-packing.js.map +1 -1
  453. package/esm/series/correlation/animation.d.ts +8 -0
  454. package/esm/series/correlation/animation.js +16 -0
  455. package/esm/series/correlation/animation.js.map +1 -0
  456. package/esm/series/correlation/constant.d.ts +2 -0
  457. package/esm/series/correlation/constant.js +25 -0
  458. package/esm/series/correlation/constant.js.map +1 -0
  459. package/esm/series/correlation/correlation.d.ts +57 -0
  460. package/esm/series/correlation/correlation.js +237 -0
  461. package/esm/series/correlation/correlation.js.map +1 -0
  462. package/esm/series/correlation/interface.d.ts +37 -0
  463. package/esm/series/correlation/interface.js +2 -0
  464. package/esm/series/correlation/interface.js.map +1 -0
  465. package/esm/series/dot/dot.js +2 -3
  466. package/esm/series/dot/dot.js.map +1 -1
  467. package/esm/series/funnel/funnel.js +4 -5
  468. package/esm/series/funnel/funnel.js.map +1 -1
  469. package/esm/series/gauge/gauge-pointer.d.ts +1 -0
  470. package/esm/series/gauge/gauge-pointer.js +4 -2
  471. package/esm/series/gauge/gauge-pointer.js.map +1 -1
  472. package/esm/series/gauge/gauge.d.ts +1 -0
  473. package/esm/series/gauge/gauge.js +5 -3
  474. package/esm/series/gauge/gauge.js.map +1 -1
  475. package/esm/series/heatmap/heatmap.js +2 -4
  476. package/esm/series/heatmap/heatmap.js.map +1 -1
  477. package/esm/series/index.d.ts +4 -2
  478. package/esm/series/index.js +3 -1
  479. package/esm/series/index.js.map +1 -1
  480. package/esm/series/interface/series.d.ts +1 -1
  481. package/esm/series/interface/series.js.map +1 -1
  482. package/esm/series/interface/theme.d.ts +2 -0
  483. package/esm/series/interface/theme.js +4 -1
  484. package/esm/series/interface/theme.js.map +1 -1
  485. package/esm/series/interface/type.d.ts +7 -2
  486. package/esm/series/interface/type.js +4 -2
  487. package/esm/series/interface/type.js.map +1 -1
  488. package/esm/series/line/line.d.ts +1 -0
  489. package/esm/series/line/line.js +4 -0
  490. package/esm/series/line/line.js.map +1 -1
  491. package/esm/series/link/link.js +6 -5
  492. package/esm/series/link/link.js.map +1 -1
  493. package/esm/series/map/map.js +2 -3
  494. package/esm/series/map/map.js.map +1 -1
  495. package/esm/series/mixin/line-mixin.js +3 -5
  496. package/esm/series/mixin/line-mixin.js.map +1 -1
  497. package/esm/series/pie/interface.d.ts +2 -0
  498. package/esm/series/pie/interface.js.map +1 -1
  499. package/esm/series/pie/pie-3d.js +6 -6
  500. package/esm/series/pie/pie-3d.js.map +1 -1
  501. package/esm/series/pie/pie.d.ts +2 -0
  502. package/esm/series/pie/pie.js +16 -2
  503. package/esm/series/pie/pie.js.map +1 -1
  504. package/esm/series/progress/circular/circular.d.ts +1 -0
  505. package/esm/series/progress/circular/circular.js +5 -2
  506. package/esm/series/progress/circular/circular.js.map +1 -1
  507. package/esm/series/progress/linear/linear.js +5 -5
  508. package/esm/series/progress/linear/linear.js.map +1 -1
  509. package/esm/series/radar/animation.js.map +1 -1
  510. package/esm/series/radar/radar.d.ts +1 -0
  511. package/esm/series/radar/radar.js +6 -2
  512. package/esm/series/radar/radar.js.map +1 -1
  513. package/esm/series/range-area/range-area.js +2 -2
  514. package/esm/series/range-area/range-area.js.map +1 -1
  515. package/esm/series/range-column/range-column.d.ts +1 -0
  516. package/esm/series/range-column/range-column.js +10 -11
  517. package/esm/series/range-column/range-column.js.map +1 -1
  518. package/esm/series/rose/rose.d.ts +1 -0
  519. package/esm/series/rose/rose.js +4 -2
  520. package/esm/series/rose/rose.js.map +1 -1
  521. package/esm/series/sankey/sankey.js +7 -9
  522. package/esm/series/sankey/sankey.js.map +1 -1
  523. package/esm/series/scatter/scatter.d.ts +1 -0
  524. package/esm/series/scatter/scatter.js +4 -3
  525. package/esm/series/scatter/scatter.js.map +1 -1
  526. package/esm/series/sunburst/sunburst.js +4 -6
  527. package/esm/series/sunburst/sunburst.js.map +1 -1
  528. package/esm/series/treemap/treemap.js +10 -9
  529. package/esm/series/treemap/treemap.js.map +1 -1
  530. package/esm/series/word-cloud/base.d.ts +1 -0
  531. package/esm/series/word-cloud/base.js +6 -3
  532. package/esm/series/word-cloud/base.js.map +1 -1
  533. package/esm/series/word-cloud/word-cloud-3d.js +2 -3
  534. package/esm/series/word-cloud/word-cloud-3d.js.map +1 -1
  535. package/esm/theme/builtin/common/component/axis/cartesian-axis.js +28 -2
  536. package/esm/theme/builtin/common/component/axis/cartesian-axis.js.map +1 -1
  537. package/esm/theme/builtin/common/component/indicator.js +1 -1
  538. package/esm/theme/builtin/common/component/indicator.js.map +1 -1
  539. package/esm/theme/builtin/common/component/legend/continuous.js +1 -1
  540. package/esm/theme/builtin/common/component/legend/continuous.js.map +1 -1
  541. package/esm/theme/builtin/common/component/legend/discrete-legend.js +1 -1
  542. package/esm/theme/builtin/common/component/legend/discrete-legend.js.map +1 -1
  543. package/esm/theme/builtin/common/component/mark-area.js +12 -10
  544. package/esm/theme/builtin/common/component/mark-area.js.map +1 -1
  545. package/esm/theme/builtin/common/component/mark-line.js +19 -12
  546. package/esm/theme/builtin/common/component/mark-line.js.map +1 -1
  547. package/esm/theme/builtin/common/component/mark-point.js +8 -2
  548. package/esm/theme/builtin/common/component/mark-point.js.map +1 -1
  549. package/esm/theme/builtin/common/component/poptip.js +1 -1
  550. package/esm/theme/builtin/common/component/poptip.js.map +1 -1
  551. package/esm/theme/builtin/common/component/title.js +1 -1
  552. package/esm/theme/builtin/common/component/title.js.map +1 -1
  553. package/esm/theme/builtin/common/component/tooltip.js +2 -2
  554. package/esm/theme/builtin/common/component/tooltip.js.map +1 -1
  555. package/esm/theme/builtin/common/component/total-label.js +1 -1
  556. package/esm/theme/builtin/common/component/total-label.js.map +1 -1
  557. package/esm/theme/builtin/common/series/area.js +4 -1
  558. package/esm/theme/builtin/common/series/area.js.map +1 -1
  559. package/esm/theme/builtin/common/series/bar.js +4 -1
  560. package/esm/theme/builtin/common/series/bar.js.map +1 -1
  561. package/esm/theme/builtin/common/series/circle-packing.js +4 -1
  562. package/esm/theme/builtin/common/series/circle-packing.js.map +1 -1
  563. package/esm/theme/builtin/common/series/correlation.d.ts +2 -0
  564. package/esm/theme/builtin/common/series/correlation.js +18 -0
  565. package/esm/theme/builtin/common/series/correlation.js.map +1 -0
  566. package/esm/theme/builtin/common/series/funnel.js +12 -3
  567. package/esm/theme/builtin/common/series/funnel.js.map +1 -1
  568. package/esm/theme/builtin/common/series/index.js +4 -1
  569. package/esm/theme/builtin/common/series/index.js.map +1 -1
  570. package/esm/theme/builtin/common/series/line.js +4 -1
  571. package/esm/theme/builtin/common/series/line.js.map +1 -1
  572. package/esm/theme/builtin/common/series/map.js +4 -1
  573. package/esm/theme/builtin/common/series/map.js.map +1 -1
  574. package/esm/theme/builtin/common/series/pie.js +9 -1
  575. package/esm/theme/builtin/common/series/pie.js.map +1 -1
  576. package/esm/theme/builtin/common/series/radar.js +4 -1
  577. package/esm/theme/builtin/common/series/radar.js.map +1 -1
  578. package/esm/theme/builtin/common/series/rose.js +5 -1
  579. package/esm/theme/builtin/common/series/rose.js.map +1 -1
  580. package/esm/theme/builtin/common/series/scatter.js +4 -1
  581. package/esm/theme/builtin/common/series/scatter.js.map +1 -1
  582. package/esm/theme/builtin/common/series/treemap.js +4 -1
  583. package/esm/theme/builtin/common/series/treemap.js.map +1 -1
  584. package/esm/theme/builtin/dark/color-scheme.js +1 -1
  585. package/esm/theme/builtin/dark/color-scheme.js.map +1 -1
  586. package/esm/theme/builtin/light/color-scheme.js +3 -3
  587. package/esm/theme/builtin/light/color-scheme.js.map +1 -1
  588. package/esm/theme/color-scheme/builtin/interface.d.ts +1 -1
  589. package/esm/theme/color-scheme/builtin/interface.js.map +1 -1
  590. package/esm/theme/color-scheme/interface.d.ts +1 -1
  591. package/esm/theme/color-scheme/interface.js.map +1 -1
  592. package/esm/theme/color-scheme/util.js +4 -7
  593. package/esm/theme/color-scheme/util.js.map +1 -1
  594. package/esm/typings/event.d.ts +1 -0
  595. package/esm/typings/event.js +2 -0
  596. package/esm/typings/event.js.map +1 -0
  597. package/esm/typings/spec/chart.d.ts +2 -0
  598. package/esm/typings/spec/chart.js.map +1 -1
  599. package/esm/typings/spec/common.d.ts +8 -6
  600. package/esm/typings/spec/common.js.map +1 -1
  601. package/esm/typings/tooltip/line.d.ts +1 -0
  602. package/esm/typings/tooltip/line.js.map +1 -1
  603. package/esm/typings/visual.d.ts +4 -0
  604. package/esm/typings/visual.js.map +1 -1
  605. package/esm/vchart-all.js +4 -2
  606. package/esm/vchart-all.js.map +1 -1
  607. package/package.json +11 -8
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/series/word-cloud/word-cloud-3d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAkB,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGvE,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACx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A,IAAI,CAAC,QAAQ,0CAAE,MAAM,CAAA,IAAI,CAAC,CAAC;gBACtF,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;gBACtC,OAAO;oBACL,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,mCAAI,CAAC,EAAE;oBACnD,CAAC;iBACF,CAAC;YACJ,CAAC,CAAC,EACF,mBAAmB,CAAC,kBAAkB,CAAC,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,CAChE,CACF,CAAC;SACH;IACH,CAAC;;AApQe,sBAAI,GAAW,cAAc,CAAC,WAAW,CAAC;AAuQ5D,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC5C,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC9C,OAAO,CAAC,cAAc,CAAC,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;IAClE,4BAA4B,EAAE,CAAC;AACjC,CAAC,CAAC","file":"word-cloud-3d.js","sourcesContent":["import { AttributeLevel, DEFAULT_DATA_KEY } from '../../constant';\nimport { TextMark, type ITextMark } from '../../mark/text';\nimport { SeriesMarkNameEnum, SeriesTypeEnum } from '../interface/type';\nimport type { IWordCloud3dSeriesSpec } from './interface';\nimport type { Datum } from '../../typings';\nimport { animationConfig, userAnimationConfig } from '../../animation/utils';\nimport { LinearScale } from '@visactor/vscale';\nimport { extent } from '@visactor/vgrammar-util';\nimport {\n WORD_CLOUD_ANGLE,\n WORD_CLOUD_FILLING_ANGLE,\n WORD_CLOUD_TEXT,\n WORD_CLOUD_WEIGHT\n} from '../../constant/word-cloud';\nimport type { ICompilableMark } from '../../compile/mark';\nimport { BaseWordCloudSeries } from './base';\nimport { Factory } from '../../core/factory';\nimport { registerWordCloud3dAnimation } from './animation';\n\nexport class WordCloud3dSeries<\n T extends IWordCloud3dSeriesSpec = IWordCloud3dSeriesSpec\n> extends BaseWordCloudSeries<T> {\n static readonly type: string = SeriesTypeEnum.wordCloud3d;\n type = SeriesTypeEnum.wordCloud3d;\n\n compile(): void {\n super.compile();\n\n const wordCloudTransforms: any[] = [];\n const valueField = this._valueField;\n const valueScale = new LinearScale();\n const fontWeightRange = this._fontWeightRange;\n const rotateAngles = this._rotateAngles;\n const fontWeightField = this._fontWeightField;\n const fillingRotateAngles = this._wordCloudShapeConfig.fillingRotateAngles;\n\n // fontWeight处理\n if (valueField) {\n const [minValue, maxValue] = extent(this.getViewData()?.latestData.map((datum: any) => +datum[valueField]));\n valueScale.domain([minValue, maxValue], true).range(fontWeightRange);\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_WEIGHT,\n callback: (datum: any) => {\n if (minValue === maxValue) {\n return valueScale.scale(maxValue);\n }\n return valueScale.scale(datum[valueField]);\n }\n });\n }\n\n // rotateAngles处理\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_ANGLE,\n callback: () => {\n return rotateAngles[Math.floor(Math.random() * rotateAngles.length)];\n }\n });\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_FILLING_ANGLE,\n callback: () => {\n return fillingRotateAngles[Math.floor(Math.random() * fillingRotateAngles.length)];\n }\n });\n\n // text fromat method 处理\n if (this._spec.word?.formatMethod) {\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_TEXT,\n callback: this._spec.word.formatMethod\n });\n }\n\n const textField = this._spec.word?.formatMethod ? WORD_CLOUD_TEXT : this._nameField;\n\n // 词云 transform\n if (!this._isWordCloudShape) {\n wordCloudTransforms.push({\n type: 'wordcloud',\n layoutType: this._wordCloudConfig.layoutMode,\n size: [this._region.getLayoutRect().width, this._region.getLayoutRect().height],\n shape: this._maskShape,\n postProjection: this._spec.postProjection ?? 'StereographicProjection',\n dataIndexKey: DEFAULT_DATA_KEY,\n text: { field: textField },\n fontSize: valueField ? { field: valueField } : this._fontSizeRange[0],\n fontSizeRange: this._fontSizeRange,\n padding: this._fontPadding,\n rotate: { field: WORD_CLOUD_ANGLE },\n fontFamily: this._fontFamilyField ?? this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily,\n fontWeight: fontWeightField ? { field: fontWeightField } : valueField ? { field: WORD_CLOUD_WEIGHT } : null,\n fontStyle: this._fontStyleField ?? this._spec.word?.style?.fontStyle,\n depth_3d: this._spec.depth_3d,\n\n randomVisible: this._random,\n clip: this._wordCloudConfig.drawOutOfBound === 'clip',\n shrink: this._wordCloudConfig.zoomToFit.shrink,\n enlarge: this._wordCloudConfig.zoomToFit.enlarge,\n minFontSize: this._wordCloudConfig.zoomToFit.fontSizeLimitMin,\n progressiveTime: this._wordCloudConfig.progressiveTime,\n progressiveStep: this._wordCloudConfig.progressiveStep\n });\n // 挂到mark的trnsform上,注册的时候决定transform的执行时机\n (this._wordMark as ICompilableMark).getProduct().transform(wordCloudTransforms);\n }\n // 形状词云 transform\n else {\n wordCloudTransforms.push({\n type: 'wordcloudShape',\n size: [this._region.getLayoutRect().width, this._region.getLayoutRect().height],\n shape: this._maskShape,\n postProjection: this._spec.postProjection ?? 'StereographicProjection',\n dataIndexKey: DEFAULT_DATA_KEY,\n text: { field: textField },\n fontSize: valueField ? { field: valueField } : this._fontSizeRange[0],\n fontSizeRange: this._fontSizeRange,\n padding: this._fontPadding,\n rotateList: rotateAngles,\n fontFamily: this._fontFamilyField ?? this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily,\n fontWeight: fontWeightField ? { field: fontWeightField } : valueField ? { field: WORD_CLOUD_WEIGHT } : null,\n fontStyle: this._fontStyleField ?? this._spec.word?.style?.fontStyle,\n depth_3d: this._spec.depth_3d,\n\n fillingFontFamily:\n this._wordCloudShapeConfig?.fillingFontFamilyField ??\n this._spec.word?.style?.fontFamily ??\n this._option?.getTheme()?.fontFamily,\n fillingPadding: this._fillingFontPadding,\n fillingFontStyle: this._wordCloudShapeConfig?.fillingFontStyleField ?? this._spec.word?.style?.fontStyle,\n fillingFontWeight: this._wordCloudShapeConfig?.fillingFontWeightField ?? this._spec.word?.style?.fontWeight, // 填充词fontWeight默认不跟随valueField\n fillingRotateList: fillingRotateAngles,\n\n fillingTimes: this._wordCloudShapeConfig?.fillingTimes,\n fillingXStep: this._wordCloudShapeConfig?.fillingXStep,\n fillingYStep: this._wordCloudShapeConfig?.fillingYStep,\n fillingXRatioStep: this._wordCloudShapeConfig?.fillingXRatioStep,\n fillingYRatioStep: this._wordCloudShapeConfig?.fillingYRatioStep,\n fillingInitialOpacity: this._wordCloudShapeConfig?.fillingInitialOpacity,\n fillingDeltaOpacity: this._wordCloudShapeConfig?.fillingDeltaOpacity,\n fillingInitialFontSize: this._wordCloudShapeConfig?.fillingInitialFontSize,\n fillingDeltaFontSize: this._wordCloudShapeConfig?.fillingDeltaFontSize,\n\n ratio: this._wordCloudShapeConfig?.ratio,\n fillingRatio: this._wordCloudShapeConfig?.fillingRatio,\n removeWhiteBorder: this._wordCloudShapeConfig?.removeWhiteBorder,\n textLayoutTimes: this._wordCloudShapeConfig?.textLayoutTimes,\n fontSizeShrinkFactor: this._wordCloudShapeConfig?.fontSizeShrinkFactor,\n stepFactor: this._wordCloudShapeConfig?.stepFactor,\n layoutMode: this._wordCloudShapeConfig?.layoutMode,\n importantWordCount: this._wordCloudShapeConfig?.importantWordCount,\n globalShinkLimit: this._wordCloudShapeConfig?.globalShinkLimit,\n fontSizeEnlargeFactor: this._wordCloudShapeConfig?.fontSizeEnlargeFactor,\n fillingDeltaFontSizeFactor: this._wordCloudShapeConfig?.fillingDeltaFontSizeFactor\n });\n }\n // 把transform挂载到data的product上\n this._data.getProduct().transform(wordCloudTransforms);\n }\n\n initMark(): void {\n this._wordMark = this._createMark(BaseWordCloudSeries.mark.word, {\n groupKey: this._seriesField,\n support3d: true,\n isSeriesMark: true\n }) as ITextMark;\n if (this._isWordCloudShape) {\n this._fillingWordMark = this._createMark(BaseWordCloudSeries.mark.fillingWord, {\n groupKey: this._seriesField,\n support3d: true,\n isSeriesMark: true\n }) as ITextMark;\n }\n }\n\n initMarkStyle() {\n const wordMark = this._wordMark;\n const fillingWordMark = this._fillingWordMark;\n if (wordMark) {\n this.setMarkStyle(\n wordMark,\n {\n fill: this._colorHexField\n ? (datum: Datum) => datum[this._colorHexField]\n : this.getWordColorAttribute(this._seriesField, false),\n text: (datum: Datum) => datum[this._nameField],\n x: (datum: Datum) => datum.x,\n y: (datum: Datum) => datum.y,\n z: (datum: Datum) => datum.z ?? 0,\n fontFamily: (datum: Datum) => datum.fontFamily,\n fontSize: (datum: Datum) => datum.fontSize,\n fontStyle: (datum: Datum) => datum.fontStyle,\n fontWeight: (datum: Datum) => datum.fontWeight,\n angle: (datum: Datum) => datum.angle,\n visible: (datum: Datum) => !datum.isFillingWord\n },\n 'normal',\n AttributeLevel.Series\n );\n this.setMarkStyle(\n wordMark,\n {\n fontFamily: this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily\n },\n 'normal',\n AttributeLevel.User_Mark\n );\n }\n if (fillingWordMark) {\n this.setMarkStyle(\n fillingWordMark,\n {\n fill: this._wordCloudShapeConfig.fillingColorHexField\n ? (datum: Datum) => datum[this._wordCloudShapeConfig.fillingColorHexField]\n : this.getWordColorAttribute(this._wordCloudShapeConfig.fillingSeriesField, true),\n text: (datum: Datum) => datum[this._nameField],\n x: (datum: Datum) => datum.x,\n y: (datum: Datum) => datum.y,\n z: (datum: Datum) => datum.z ?? 0,\n fontFamily: (datum: Datum) => datum.fontFamily,\n fontSize: (datum: Datum) => datum.fontSize,\n fontStyle: (datum: Datum) => datum.fontStyle,\n fontWeight: (datum: Datum) => datum.fontWeight,\n angle: (datum: Datum) => datum.angle,\n visible: (datum: Datum) => datum.isFillingWord\n },\n 'normal',\n AttributeLevel.Series\n );\n this.setMarkStyle(\n fillingWordMark,\n {\n fontFamily: this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily\n },\n 'normal',\n AttributeLevel.User_Mark\n );\n }\n this._trigger.registerMark(wordMark);\n this._tooltipHelper?.activeTriggerSet.mark.add(wordMark);\n this._trigger.registerMark(fillingWordMark);\n this._tooltipHelper?.activeTriggerSet.mark.add(fillingWordMark);\n }\n\n initAnimation() {\n if (this._wordMark) {\n this._wordMark.setAnimationConfig(\n animationConfig(\n Factory.getAnimationInKey('wordCloud3d')?.(() => {\n const srView = this.getCompiler().getVGrammarView();\n const width = srView.width() - this._padding?.left || 0 - this._padding?.right || 0;\n const height = srView.height() - this._padding?.top || 0 - this._padding?.bottom || 0;\n const r = Math.max(width, height) / 2;\n return {\n center: { x: r, y: r, z: this._spec.depth_3d ?? r },\n r\n };\n }),\n userAnimationConfig(SeriesMarkNameEnum.word, this._spec)\n )\n );\n }\n if (this._fillingWordMark) {\n this._fillingWordMark.setAnimationConfig(\n animationConfig(\n Factory.getAnimationInKey('wordCloud3d')?.(() => {\n const srView = this.getCompiler().getVGrammarView();\n const width = srView.width() - this._padding?.left || 0 - this._padding?.right || 0;\n const height = srView.height() - this._padding?.top || 0 - this._padding?.bottom || 0;\n const r = Math.max(width, height) / 2;\n return {\n center: { x: r, y: r, z: this._spec.depth_3d ?? r },\n r\n };\n }),\n userAnimationConfig(SeriesMarkNameEnum.fillingWord, this._spec)\n )\n );\n }\n }\n}\n\nexport const registerWordCloud3dSeries = () => {\n Factory.registerMark(TextMark.type, TextMark);\n Factory.registerSeries(WordCloud3dSeries.type, WordCloud3dSeries);\n registerWordCloud3dAnimation();\n};\n"]}
1
+ {"version":3,"sources":["../src/series/word-cloud/word-cloud-3d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAkB,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,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AAE,GAAG,CAAA,IAAI,CAAC,IAAG,MAAA,IAAI,CAAC,QAAQ,0CAAE,MAAM,CAAA,IAAI,CAAC,CAAC;gBACtF,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;gBACtC,OAAO;oBACL,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,mCAAI,CAAC,EAAE;oBACnD,CAAC;iBACF,CAAC;YACJ,CAAC,CAAC,EACF,mBAAmB,CAAC,kBAAkB,CAAC,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,CAChE,CACF,CAAC;SACH;IACH,CAAC;;AAlQe,sBAAI,GAAW,cAAc,CAAC,WAAW,CAAC;AAqQ5D,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC5C,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC9C,OAAO,CAAC,cAAc,CAAC,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;IAClE,4BAA4B,EAAE,CAAC;AACjC,CAAC,CAAC","file":"word-cloud-3d.js","sourcesContent":["import { AttributeLevel, DEFAULT_DATA_KEY } from '../../constant';\nimport { TextMark, type ITextMark } from '../../mark/text';\nimport { SeriesMarkNameEnum, SeriesTypeEnum } from '../interface/type';\nimport type { IWordCloud3dSeriesSpec } from './interface';\nimport type { Datum } from '../../typings';\nimport { animationConfig, userAnimationConfig } from '../../animation/utils';\nimport { LinearScale } from '@visactor/vscale';\nimport { extent } from '@visactor/vgrammar-util';\nimport {\n WORD_CLOUD_ANGLE,\n WORD_CLOUD_FILLING_ANGLE,\n WORD_CLOUD_TEXT,\n WORD_CLOUD_WEIGHT\n} from '../../constant/word-cloud';\nimport type { ICompilableMark } from '../../compile/mark';\nimport { BaseWordCloudSeries } from './base';\nimport { Factory } from '../../core/factory';\nimport { registerWordCloud3dAnimation } from './animation';\n\nexport class WordCloud3dSeries<\n T extends IWordCloud3dSeriesSpec = IWordCloud3dSeriesSpec\n> extends BaseWordCloudSeries<T> {\n static readonly type: string = SeriesTypeEnum.wordCloud3d;\n type = SeriesTypeEnum.wordCloud3d;\n\n compile(): void {\n super.compile();\n\n const wordCloudTransforms: any[] = [];\n const valueField = this._valueField;\n const valueScale = new LinearScale();\n const fontWeightRange = this._fontWeightRange;\n const rotateAngles = this._rotateAngles;\n const fontWeightField = this._fontWeightField;\n const fillingRotateAngles = this._wordCloudShapeConfig.fillingRotateAngles;\n\n // fontWeight处理\n if (valueField) {\n const [minValue, maxValue] = extent(this.getViewData()?.latestData.map((datum: any) => +datum[valueField]));\n valueScale.domain([minValue, maxValue], true).range(fontWeightRange);\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_WEIGHT,\n callback: (datum: any) => {\n if (minValue === maxValue) {\n return valueScale.scale(maxValue);\n }\n return valueScale.scale(datum[valueField]);\n }\n });\n }\n\n // rotateAngles处理\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_ANGLE,\n callback: () => {\n return rotateAngles[Math.floor(Math.random() * rotateAngles.length)];\n }\n });\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_FILLING_ANGLE,\n callback: () => {\n return fillingRotateAngles[Math.floor(Math.random() * fillingRotateAngles.length)];\n }\n });\n\n // text fromat method 处理\n if (this._spec.word?.formatMethod) {\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_TEXT,\n callback: this._spec.word.formatMethod\n });\n }\n\n const textField = this._spec.word?.formatMethod ? WORD_CLOUD_TEXT : this._nameField;\n\n // 词云 transform\n if (!this._isWordCloudShape) {\n wordCloudTransforms.push({\n type: 'wordcloud',\n layoutType: this._wordCloudConfig.layoutMode,\n size: [this._region.getLayoutRect().width, this._region.getLayoutRect().height],\n shape: this._maskShape,\n postProjection: this._spec.postProjection ?? 'StereographicProjection',\n dataIndexKey: DEFAULT_DATA_KEY,\n text: { field: textField },\n fontSize: valueField ? { field: valueField } : this._fontSizeRange[0],\n fontSizeRange: this._fontSizeRange,\n padding: this._fontPadding,\n rotate: { field: WORD_CLOUD_ANGLE },\n fontFamily: this._fontFamilyField ?? this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily,\n fontWeight: fontWeightField ? { field: fontWeightField } : valueField ? { field: WORD_CLOUD_WEIGHT } : null,\n fontStyle: this._fontStyleField ?? this._spec.word?.style?.fontStyle,\n depth_3d: this._spec.depth_3d,\n\n randomVisible: this._random,\n clip: this._wordCloudConfig.drawOutOfBound === 'clip',\n shrink: this._wordCloudConfig.zoomToFit.shrink,\n enlarge: this._wordCloudConfig.zoomToFit.enlarge,\n minFontSize: this._wordCloudConfig.zoomToFit.fontSizeLimitMin,\n progressiveTime: this._wordCloudConfig.progressiveTime,\n progressiveStep: this._wordCloudConfig.progressiveStep\n });\n // 挂到mark的trnsform上,注册的时候决定transform的执行时机\n (this._wordMark as ICompilableMark).getProduct().transform(wordCloudTransforms);\n }\n // 形状词云 transform\n else {\n wordCloudTransforms.push({\n type: 'wordcloudShape',\n size: [this._region.getLayoutRect().width, this._region.getLayoutRect().height],\n shape: this._maskShape,\n postProjection: this._spec.postProjection ?? 'StereographicProjection',\n dataIndexKey: DEFAULT_DATA_KEY,\n text: { field: textField },\n fontSize: valueField ? { field: valueField } : this._fontSizeRange[0],\n fontSizeRange: this._fontSizeRange,\n padding: this._fontPadding,\n rotateList: rotateAngles,\n fontFamily: this._fontFamilyField ?? this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily,\n fontWeight: fontWeightField ? { field: fontWeightField } : valueField ? { field: WORD_CLOUD_WEIGHT } : null,\n fontStyle: this._fontStyleField ?? this._spec.word?.style?.fontStyle,\n depth_3d: this._spec.depth_3d,\n\n fillingFontFamily:\n this._wordCloudShapeConfig?.fillingFontFamilyField ??\n this._spec.word?.style?.fontFamily ??\n this._option?.getTheme()?.fontFamily,\n fillingPadding: this._fillingFontPadding,\n fillingFontStyle: this._wordCloudShapeConfig?.fillingFontStyleField ?? this._spec.word?.style?.fontStyle,\n fillingFontWeight: this._wordCloudShapeConfig?.fillingFontWeightField ?? this._spec.word?.style?.fontWeight, // 填充词fontWeight默认不跟随valueField\n fillingRotateList: fillingRotateAngles,\n\n fillingTimes: this._wordCloudShapeConfig?.fillingTimes,\n fillingXStep: this._wordCloudShapeConfig?.fillingXStep,\n fillingYStep: this._wordCloudShapeConfig?.fillingYStep,\n fillingXRatioStep: this._wordCloudShapeConfig?.fillingXRatioStep,\n fillingYRatioStep: this._wordCloudShapeConfig?.fillingYRatioStep,\n fillingInitialOpacity: this._wordCloudShapeConfig?.fillingInitialOpacity,\n fillingDeltaOpacity: this._wordCloudShapeConfig?.fillingDeltaOpacity,\n fillingInitialFontSize: this._wordCloudShapeConfig?.fillingInitialFontSize,\n fillingDeltaFontSize: this._wordCloudShapeConfig?.fillingDeltaFontSize,\n\n ratio: this._wordCloudShapeConfig?.ratio,\n fillingRatio: this._wordCloudShapeConfig?.fillingRatio,\n removeWhiteBorder: this._wordCloudShapeConfig?.removeWhiteBorder,\n textLayoutTimes: this._wordCloudShapeConfig?.textLayoutTimes,\n fontSizeShrinkFactor: this._wordCloudShapeConfig?.fontSizeShrinkFactor,\n stepFactor: this._wordCloudShapeConfig?.stepFactor,\n layoutMode: this._wordCloudShapeConfig?.layoutMode,\n importantWordCount: this._wordCloudShapeConfig?.importantWordCount,\n globalShinkLimit: this._wordCloudShapeConfig?.globalShinkLimit,\n fontSizeEnlargeFactor: this._wordCloudShapeConfig?.fontSizeEnlargeFactor,\n fillingDeltaFontSizeFactor: this._wordCloudShapeConfig?.fillingDeltaFontSizeFactor\n });\n }\n // 把transform挂载到data的product上\n this._data.getProduct().transform(wordCloudTransforms);\n }\n\n initMark(): void {\n this._wordMark = this._createMark(BaseWordCloudSeries.mark.word, {\n groupKey: this._seriesField,\n support3d: true,\n isSeriesMark: true\n }) as ITextMark;\n if (this._isWordCloudShape) {\n this._fillingWordMark = this._createMark(BaseWordCloudSeries.mark.fillingWord, {\n groupKey: this._seriesField,\n support3d: true,\n isSeriesMark: true\n }) as ITextMark;\n }\n }\n\n initMarkStyle() {\n const wordMark = this._wordMark;\n const fillingWordMark = this._fillingWordMark;\n if (wordMark) {\n this.setMarkStyle(\n wordMark,\n {\n fill: this._colorHexField\n ? (datum: Datum) => datum[this._colorHexField]\n : this.getWordColorAttribute(this._seriesField, false),\n text: (datum: Datum) => datum[this._nameField],\n x: (datum: Datum) => datum.x,\n y: (datum: Datum) => datum.y,\n z: (datum: Datum) => datum.z ?? 0,\n fontFamily: (datum: Datum) => datum.fontFamily,\n fontSize: (datum: Datum) => datum.fontSize,\n fontStyle: (datum: Datum) => datum.fontStyle,\n fontWeight: (datum: Datum) => datum.fontWeight,\n angle: (datum: Datum) => datum.angle,\n visible: (datum: Datum) => !datum.isFillingWord\n },\n 'normal',\n AttributeLevel.Series\n );\n this.setMarkStyle(\n wordMark,\n {\n fontFamily: this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily\n },\n 'normal',\n AttributeLevel.User_Mark\n );\n }\n if (fillingWordMark) {\n this.setMarkStyle(\n fillingWordMark,\n {\n fill: this._wordCloudShapeConfig.fillingColorHexField\n ? (datum: Datum) => datum[this._wordCloudShapeConfig.fillingColorHexField]\n : this.getWordColorAttribute(this._wordCloudShapeConfig.fillingSeriesField, true),\n text: (datum: Datum) => datum[this._nameField],\n x: (datum: Datum) => datum.x,\n y: (datum: Datum) => datum.y,\n z: (datum: Datum) => datum.z ?? 0,\n fontFamily: (datum: Datum) => datum.fontFamily,\n fontSize: (datum: Datum) => datum.fontSize,\n fontStyle: (datum: Datum) => datum.fontStyle,\n fontWeight: (datum: Datum) => datum.fontWeight,\n angle: (datum: Datum) => datum.angle,\n visible: (datum: Datum) => datum.isFillingWord\n },\n 'normal',\n AttributeLevel.Series\n );\n this.setMarkStyle(\n fillingWordMark,\n {\n fontFamily: this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily\n },\n 'normal',\n AttributeLevel.User_Mark\n );\n }\n this._trigger.registerMark(wordMark);\n this._trigger.registerMark(fillingWordMark);\n }\n\n initAnimation() {\n if (this._wordMark) {\n this._wordMark.setAnimationConfig(\n animationConfig(\n Factory.getAnimationInKey('wordCloud3d')?.(() => {\n const srView = this.getCompiler().getVGrammarView();\n const width = srView.width() - this._padding?.left || 0 - this._padding?.right || 0;\n const height = srView.height() - this._padding?.top || 0 - this._padding?.bottom || 0;\n const r = Math.max(width, height) / 2;\n return {\n center: { x: r, y: r, z: this._spec.depth_3d ?? r },\n r\n };\n }),\n userAnimationConfig(SeriesMarkNameEnum.word, this._spec)\n )\n );\n }\n if (this._fillingWordMark) {\n this._fillingWordMark.setAnimationConfig(\n animationConfig(\n Factory.getAnimationInKey('wordCloud3d')?.(() => {\n const srView = this.getCompiler().getVGrammarView();\n const width = srView.width() - this._padding?.left || 0 - this._padding?.right || 0;\n const height = srView.height() - this._padding?.top || 0 - this._padding?.bottom || 0;\n const r = Math.max(width, height) / 2;\n return {\n center: { x: r, y: r, z: this._spec.depth_3d ?? r },\n r\n };\n }),\n userAnimationConfig(SeriesMarkNameEnum.fillingWord, this._spec)\n )\n );\n }\n }\n}\n\nexport const registerWordCloud3dSeries = () => {\n Factory.registerMark(TextMark.type, TextMark);\n Factory.registerSeries(WordCloud3dSeries.type, WordCloud3dSeries);\n registerWordCloud3dAnimation();\n};\n"]}
@@ -1,3 +1,5 @@
1
+ import { THEME_CONSTANTS } from "../../constants";
2
+
1
3
  export const axisX = {
2
4
  label: {
3
5
  space: 8
@@ -5,7 +7,19 @@ export const axisX = {
5
7
  title: {
6
8
  space: 8
7
9
  },
8
- maxHeight: "30%"
10
+ maxHeight: "30%",
11
+ unit: {
12
+ visible: !1,
13
+ style: {
14
+ fontSize: THEME_CONSTANTS.l5FontSize,
15
+ fill: {
16
+ type: "palette",
17
+ key: "axisFontColor"
18
+ },
19
+ fontWeight: "normal",
20
+ fillOpacity: 1
21
+ }
22
+ }
9
23
  };
10
24
 
11
25
  export const axisY = {
@@ -17,6 +31,18 @@ export const axisY = {
17
31
  space: 12,
18
32
  autoRotate: !0
19
33
  },
20
- maxWidth: "30%"
34
+ maxWidth: "30%",
35
+ unit: {
36
+ visible: !1,
37
+ style: {
38
+ fontSize: THEME_CONSTANTS.l5FontSize,
39
+ fill: {
40
+ type: "palette",
41
+ key: "axisFontColor"
42
+ },
43
+ fontWeight: "normal",
44
+ fillOpacity: 1
45
+ }
46
+ }
21
47
  };
22
48
  //# sourceMappingURL=cartesian-axis.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/axis/cartesian-axis.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,KAAK,GAA8B;IAC9C,KAAK,EAAE;QACL,KAAK,EAAE,CAAC;KACT;IACD,KAAK,EAAE;QACL,KAAK,EAAE,CAAC;KACT;IACD,SAAS,EAAE,KAAK;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA8B;IAC9C,KAAK,EAAE;QACL,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,IAAI;KAChB;IACD,KAAK,EAAE;QACL,KAAK,EAAE,EAAE;QACT,UAAU,EAAE,IAAI;KACjB;IACD,QAAQ,EAAE,KAAK;CAChB,CAAC","file":"cartesian-axis.js","sourcesContent":["import type { ICartesianAxisCommonTheme } from '../../../../../component/axis/cartesian/interface';\n\nexport const axisX: ICartesianAxisCommonTheme = {\n label: {\n space: 8\n },\n title: {\n space: 8\n },\n maxHeight: '30%'\n};\n\nexport const axisY: ICartesianAxisCommonTheme = {\n label: {\n space: 12,\n autoLimit: true\n },\n title: {\n space: 12,\n autoRotate: true\n },\n maxWidth: '30%'\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/axis/cartesian-axis.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,CAAC,MAAM,KAAK,GAA8B;IAC9C,KAAK,EAAE;QACL,KAAK,EAAE,CAAC;KACT;IACD,KAAK,EAAE;QACL,KAAK,EAAE,CAAC;KACT;IACD,SAAS,EAAE,KAAK;IAChB,IAAI,EAAE;QACJ,OAAO,EAAE,KAAK;QACd,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YACpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,eAAe,EAAE;YAC/C,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,CAAC;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA8B;IAC9C,KAAK,EAAE;QACL,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,IAAI;KAChB;IACD,KAAK,EAAE;QACL,KAAK,EAAE,EAAE;QACT,UAAU,EAAE,IAAI;KACjB;IACD,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACJ,OAAO,EAAE,KAAK;QACd,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YACpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,eAAe,EAAE;YAC/C,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,CAAC;SACf;KACF;CACF,CAAC","file":"cartesian-axis.js","sourcesContent":["import type { ICartesianAxisCommonTheme } from '../../../../../component/axis/cartesian/interface';\nimport { THEME_CONSTANTS } from '../../constants';\n\nexport const axisX: ICartesianAxisCommonTheme = {\n label: {\n space: 8\n },\n title: {\n space: 8\n },\n maxHeight: '30%',\n unit: {\n visible: false,\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n fill: { type: 'palette', key: 'axisFontColor' },\n fontWeight: 'normal',\n fillOpacity: 1\n }\n }\n};\n\nexport const axisY: ICartesianAxisCommonTheme = {\n label: {\n space: 12,\n autoLimit: true\n },\n title: {\n space: 12,\n autoRotate: true\n },\n maxWidth: '30%',\n unit: {\n visible: false,\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n fill: { type: 'palette', key: 'axisFontColor' },\n fontWeight: 'normal',\n fillOpacity: 1\n }\n }\n};\n"]}
@@ -9,7 +9,7 @@ export const indicator = {
9
9
  fontSize: THEME_CONSTANTS.l1FontSize,
10
10
  fill: {
11
11
  type: "palette",
12
- key: [ "titleFontColor", "primaryFontColor" ]
12
+ key: "primaryFontColor"
13
13
  },
14
14
  fontWeight: "normal",
15
15
  fillOpacity: 1,
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/indicator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,SAAS,GAAoB;IACxC,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,SAAS,EAAE,KAAK;QAChB,OAAO,EAAE,KAAK;QACd,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,CAAC;YACd,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,QAAQ;SACpB;KACF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;YACpD,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,CAAC;YACd,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,QAAQ;SACpB;KACF;CACF,CAAC","file":"indicator.js","sourcesContent":["import type { IIndicatorTheme } from '../../../../component/indicator/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const indicator: IIndicatorTheme = {\n title: {\n visible: true,\n autoLimit: false,\n autoFit: false,\n style: {\n fontSize: THEME_CONSTANTS.l1FontSize,\n // lineHeight: THEME_CONSTANTS.l1LineHeight,\n\n fill: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] },\n fontWeight: 'normal',\n fillOpacity: 1,\n textBaseline: 'top',\n textAlign: 'center'\n }\n },\n content: {\n visible: true,\n style: {\n fontSize: THEME_CONSTANTS.l2FontSize,\n // lineHeight: THEME_CONSTANTS.l2LineHeight,\n\n fill: { type: 'palette', key: 'secondaryFontColor' },\n fontWeight: 'normal',\n fillOpacity: 1,\n textBaseline: 'top',\n textAlign: 'center'\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/indicator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,SAAS,GAAoB;IACxC,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,SAAS,EAAE,KAAK;QAChB,OAAO,EAAE,KAAK;QACd,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;YAClD,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,CAAC;YACd,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,QAAQ;SACpB;KACF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;YACpD,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,CAAC;YACd,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,QAAQ;SACpB;KACF;CACF,CAAC","file":"indicator.js","sourcesContent":["import type { IIndicatorTheme } from '../../../../component/indicator/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const indicator: IIndicatorTheme = {\n title: {\n visible: true,\n autoLimit: false,\n autoFit: false,\n style: {\n fontSize: THEME_CONSTANTS.l1FontSize,\n // lineHeight: THEME_CONSTANTS.l1LineHeight,\n\n fill: { type: 'palette', key: 'primaryFontColor' },\n fontWeight: 'normal',\n fillOpacity: 1,\n textBaseline: 'top',\n textAlign: 'center'\n }\n },\n content: {\n visible: true,\n style: {\n fontSize: THEME_CONSTANTS.l2FontSize,\n // lineHeight: THEME_CONSTANTS.l2LineHeight,\n\n fill: { type: 'palette', key: 'secondaryFontColor' },\n fontWeight: 'normal',\n fillOpacity: 1,\n textBaseline: 'top',\n textAlign: 'center'\n }\n }\n};\n"]}
@@ -13,7 +13,7 @@ export const DEFAULT_CONTINUOUS_LEGEND_THEME = {
13
13
  fontWeight: "normal",
14
14
  fill: {
15
15
  type: "palette",
16
- key: [ "titleFontColor", "primaryFontColor" ]
16
+ key: "primaryFontColor"
17
17
  }
18
18
  },
19
19
  space: 12
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/legend/continuous.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,CAAC,MAAM,+BAA+B,GAA2B;IACrE,MAAM,EAAE,OAAO;IACf,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACjB,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,CAAC;QACV,SAAS,EAAE;YACT,QAAQ,EAAE,eAAe,CAAC,UAAU;YACpC,UAAU,EAAE,eAAe,CAAC,YAAY;YAExC,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;SACvE;QACD,KAAK,EAAE,EAAE;KACV;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;KACd;IACD,SAAS,EAAE;QACT,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YACpC,UAAU,EAAE,eAAe,CAAC,YAAY;YAExC,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,SAAS,EAAE;SACzE;QACD,KAAK,EAAE,CAAC;KACT;IACD,OAAO,EAAE;QACP,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YACpC,UAAU,EAAE,eAAe,CAAC,YAAY;YAExC,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,SAAS,EAAE;SACzE;QACD,KAAK,EAAE,CAAC;KACT;IACD,WAAW,EAAE;QACX,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YACpC,UAAU,EAAE,eAAe,CAAC,YAAY;YAExC,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,SAAS,EAAE;SACzE;QACD,KAAK,EAAE,CAAC;KACT;CACF,CAAC","file":"continuous.js","sourcesContent":["import type { IContinuousLegendTheme } from '../../../../../component/legend';\nimport { THEME_CONSTANTS } from '../../constants';\n\nexport const DEFAULT_CONTINUOUS_LEGEND_THEME: IContinuousLegendTheme = {\n orient: 'right',\n position: 'middle',\n padding: [16, 24],\n title: {\n visible: false,\n padding: 0,\n textStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] }\n },\n space: 12\n },\n handler: {\n visible: true\n },\n startText: {\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n },\n endText: {\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n },\n handlerText: {\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/legend/continuous.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,CAAC,MAAM,+BAA+B,GAA2B;IACrE,MAAM,EAAE,OAAO;IACf,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACjB,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,CAAC;QACV,SAAS,EAAE;YACT,QAAQ,EAAE,eAAe,CAAC,UAAU;YACpC,UAAU,EAAE,eAAe,CAAC,YAAY;YAExC,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACnD;QACD,KAAK,EAAE,EAAE;KACV;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;KACd;IACD,SAAS,EAAE;QACT,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YACpC,UAAU,EAAE,eAAe,CAAC,YAAY;YAExC,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,SAAS,EAAE;SACzE;QACD,KAAK,EAAE,CAAC;KACT;IACD,OAAO,EAAE;QACP,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YACpC,UAAU,EAAE,eAAe,CAAC,YAAY;YAExC,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,SAAS,EAAE;SACzE;QACD,KAAK,EAAE,CAAC;KACT;IACD,WAAW,EAAE;QACX,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YACpC,UAAU,EAAE,eAAe,CAAC,YAAY;YAExC,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,SAAS,EAAE;SACzE;QACD,KAAK,EAAE,CAAC;KACT;CACF,CAAC","file":"continuous.js","sourcesContent":["import type { IContinuousLegendTheme } from '../../../../../component/legend';\nimport { THEME_CONSTANTS } from '../../constants';\n\nexport const DEFAULT_CONTINUOUS_LEGEND_THEME: IContinuousLegendTheme = {\n orient: 'right',\n position: 'middle',\n padding: [16, 24],\n title: {\n visible: false,\n padding: 0,\n textStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'primaryFontColor' }\n },\n space: 12\n },\n handler: {\n visible: true\n },\n startText: {\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n },\n endText: {\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n },\n handlerText: {\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n }\n};\n"]}
@@ -12,7 +12,7 @@ export const discreteLegend = {
12
12
  lineHeight: THEME_CONSTANTS.l5LineHeight,
13
13
  fill: {
14
14
  type: "palette",
15
- key: [ "titleFontColor", "primaryFontColor" ]
15
+ key: "primaryFontColor"
16
16
  },
17
17
  fontWeight: "normal"
18
18
  },
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/legend/discrete-legend.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,CAAC,MAAM,cAAc,GAAyB;IAClD,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACjB,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,CAAC;QACV,SAAS,EAAE;YACT,QAAQ,EAAE,eAAe,CAAC,UAAU;YACpC,UAAU,EAAE,eAAe,CAAC,YAAY;YAExC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;YACtE,UAAU,EAAE,QAAQ;SACrB;QACD,KAAK,EAAE,EAAE;KACV;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;QACV,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,aAAa,EAAE;oBACb,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,eAAe,EAAE;iBAChD;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,eAAe,EAAE;iBAChD;aACF;SACF;QACD,KAAK,EAAE;YACL,KAAK,EAAE,CAAC;YACR,KAAK,EAAE;gBACL,SAAS,EAAE,CAAC;gBACZ,WAAW,EAAE,CAAC;gBACd,OAAO,EAAE,CAAC;aACX;YACD,KAAK,EAAE;gBACL,UAAU,EAAE;oBACV,WAAW,EAAE,GAAG;oBAChB,OAAO,EAAE,CAAC;iBACX;aACF;SACF;QACD,KAAK,EAAE;YACL,KAAK,EAAE,CAAC;YACR,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,SAAS,EAAE;gBACxE,QAAQ,EAAE,eAAe,CAAC,UAAU;gBACpC,UAAU,EAAE,eAAe,CAAC,YAAY;gBAExC,OAAO,EAAE,CAAC;aACX;YACD,KAAK,EAAE;gBACL,UAAU,EAAE;oBACV,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;oBAClD,OAAO,EAAE,CAAC;iBACX;aACF;SACF;KACF;IACD,gBAAgB,EAAE,KAAK;CACxB,CAAC","file":"discrete-legend.js","sourcesContent":["import type { IDiscreteLegendTheme } from '../../../../../component/legend';\nimport { THEME_CONSTANTS } from '../../constants';\n\nexport const discreteLegend: IDiscreteLegendTheme = {\n orient: 'bottom',\n position: 'middle',\n padding: [16, 24],\n title: {\n visible: false,\n padding: 0,\n textStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fill: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] },\n fontWeight: 'normal'\n },\n space: 12\n },\n item: {\n visible: true,\n spaceCol: 10,\n spaceRow: 6,\n padding: 2,\n background: {\n state: {\n selectedHover: {\n fill: { type: 'palette', key: 'axisGridColor' }\n },\n unSelectedHover: {\n fill: { type: 'palette', key: 'axisGridColor' }\n }\n }\n },\n shape: {\n space: 6,\n style: {\n lineWidth: 0,\n fillOpacity: 1,\n opacity: 1 // 覆盖 vrender-components 里的默认值\n },\n state: {\n unSelected: {\n fillOpacity: 0.2,\n opacity: 1 // 覆盖 vrender-components 里的默认值\n }\n }\n },\n label: {\n space: 6,\n style: {\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' },\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n opacity: 1 // 覆盖 vrender-components 里的默认值\n },\n state: {\n unSelected: {\n fill: { type: 'palette', key: 'disableFontColor' },\n opacity: 1 // 覆盖 vrender-components 里的默认值\n }\n }\n }\n },\n allowAllCanceled: false\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/legend/discrete-legend.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,CAAC,MAAM,cAAc,GAAyB;IAClD,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACjB,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,CAAC;QACV,SAAS,EAAE;YACT,QAAQ,EAAE,eAAe,CAAC,UAAU;YACpC,UAAU,EAAE,eAAe,CAAC,YAAY;YAExC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;YAClD,UAAU,EAAE,QAAQ;SACrB;QACD,KAAK,EAAE,EAAE;KACV;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;QACV,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,aAAa,EAAE;oBACb,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,eAAe,EAAE;iBAChD;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,eAAe,EAAE;iBAChD;aACF;SACF;QACD,KAAK,EAAE;YACL,KAAK,EAAE,CAAC;YACR,KAAK,EAAE;gBACL,SAAS,EAAE,CAAC;gBACZ,WAAW,EAAE,CAAC;gBACd,OAAO,EAAE,CAAC;aACX;YACD,KAAK,EAAE;gBACL,UAAU,EAAE;oBACV,WAAW,EAAE,GAAG;oBAChB,OAAO,EAAE,CAAC;iBACX;aACF;SACF;QACD,KAAK,EAAE;YACL,KAAK,EAAE,CAAC;YACR,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,SAAS,EAAE;gBACxE,QAAQ,EAAE,eAAe,CAAC,UAAU;gBACpC,UAAU,EAAE,eAAe,CAAC,YAAY;gBAExC,OAAO,EAAE,CAAC;aACX;YACD,KAAK,EAAE;gBACL,UAAU,EAAE;oBACV,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;oBAClD,OAAO,EAAE,CAAC;iBACX;aACF;SACF;KACF;IACD,gBAAgB,EAAE,KAAK;CACxB,CAAC","file":"discrete-legend.js","sourcesContent":["import type { IDiscreteLegendTheme } from '../../../../../component/legend';\nimport { THEME_CONSTANTS } from '../../constants';\n\nexport const discreteLegend: IDiscreteLegendTheme = {\n orient: 'bottom',\n position: 'middle',\n padding: [16, 24],\n title: {\n visible: false,\n padding: 0,\n textStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fill: { type: 'palette', key: 'primaryFontColor' },\n fontWeight: 'normal'\n },\n space: 12\n },\n item: {\n visible: true,\n spaceCol: 10,\n spaceRow: 6,\n padding: 2,\n background: {\n state: {\n selectedHover: {\n fill: { type: 'palette', key: 'axisGridColor' }\n },\n unSelectedHover: {\n fill: { type: 'palette', key: 'axisGridColor' }\n }\n }\n },\n shape: {\n space: 6,\n style: {\n lineWidth: 0,\n fillOpacity: 1,\n opacity: 1 // 覆盖 vrender-components 里的默认值\n },\n state: {\n unSelected: {\n fillOpacity: 0.2,\n opacity: 1 // 覆盖 vrender-components 里的默认值\n }\n }\n },\n label: {\n space: 6,\n style: {\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' },\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n opacity: 1 // 覆盖 vrender-components 里的默认值\n },\n state: {\n unSelected: {\n fill: { type: 'palette', key: 'disableFontColor' },\n opacity: 1 // 覆盖 vrender-components 里的默认值\n }\n }\n }\n },\n allowAllCanceled: false\n};\n"]}
@@ -3,7 +3,11 @@ import { THEME_CONSTANTS } from "../constants";
3
3
  export const markArea = {
4
4
  area: {
5
5
  style: {
6
- fill: "rgba(46, 47, 50, 0.1)"
6
+ fill: {
7
+ type: "palette",
8
+ key: "axisDomainColor",
9
+ a: .25
10
+ }
7
11
  }
8
12
  },
9
13
  label: {
@@ -13,13 +17,8 @@ export const markArea = {
13
17
  fontStyle: "normal",
14
18
  fill: {
15
19
  type: "palette",
16
- key: "labelReverseFontColor"
17
- },
18
- stroke: {
19
- type: "palette",
20
- key: "labelReverseFontColor"
21
- },
22
- lineWidth: 0
20
+ key: "primaryFontColor"
21
+ }
23
22
  },
24
23
  labelBackground: {
25
24
  padding: {
@@ -29,8 +28,11 @@ export const markArea = {
29
28
  left: 4
30
29
  },
31
30
  style: {
32
- cornerRadius: 0,
33
- fill: "#F68484"
31
+ cornerRadius: 3,
32
+ fill: {
33
+ type: "palette",
34
+ key: "markLabelBackgroundColor"
35
+ }
34
36
  }
35
37
  }
36
38
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/mark-area.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,QAAQ,GAAmB;IACtC,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,IAAI,EAAE,uBAAuB;SAC9B;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YAGpC,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;YACvD,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;YACzD,SAAS,EAAE,CAAC;SACb;QACD,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;aACR;YACD,KAAK,EAAE;gBACL,YAAY,EAAE,CAAC;gBACf,IAAI,EAAE,SAAS;aAChB;SACF;KACF;CACF,CAAC","file":"mark-area.js","sourcesContent":["import type { IMarkAreaTheme } from '../../../../component/marker/mark-area/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const markArea: IMarkAreaTheme = {\n area: {\n style: {\n fill: 'rgba(46, 47, 50, 0.1)'\n }\n },\n label: {\n style: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n // lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontWeight: 'normal',\n fontStyle: 'normal',\n fill: { type: 'palette', key: 'labelReverseFontColor' },\n stroke: { type: 'palette', key: 'labelReverseFontColor' },\n lineWidth: 0\n },\n labelBackground: {\n padding: {\n top: 2,\n bottom: 2,\n right: 4,\n left: 4\n },\n style: {\n cornerRadius: 0,\n fill: '#F68484'\n }\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/mark-area.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,QAAQ,GAAmB;IACtC,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE;SAC3D;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YAGpC,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACnD;QACD,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;aACR;YACD,KAAK,EAAE;gBACL,YAAY,EAAE,CAAC;gBACf,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,0BAA0B,EAAE;aAC3D;SACF;KACF;CACF,CAAC","file":"mark-area.js","sourcesContent":["import type { IMarkAreaTheme } from '../../../../component/marker/mark-area/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const markArea: IMarkAreaTheme = {\n area: {\n style: {\n fill: { type: 'palette', key: 'axisDomainColor', a: 0.25 }\n }\n },\n label: {\n style: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n // lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontWeight: 'normal',\n fontStyle: 'normal',\n fill: { type: 'palette', key: 'primaryFontColor' }\n },\n labelBackground: {\n padding: {\n top: 2,\n bottom: 2,\n right: 4,\n left: 4\n },\n style: {\n cornerRadius: 3,\n fill: { type: 'palette', key: 'markLabelBackgroundColor' }\n }\n }\n }\n};\n"]}
@@ -4,7 +4,10 @@ export const markLine = {
4
4
  line: {
5
5
  style: {
6
6
  lineDash: [ 3, 3 ],
7
- stroke: "rgba(46, 47, 50)"
7
+ stroke: {
8
+ type: "palette",
9
+ key: "primaryFontColor"
10
+ }
8
11
  }
9
12
  },
10
13
  startSymbol: {
@@ -14,7 +17,10 @@ export const markLine = {
14
17
  style: {
15
18
  stroke: null,
16
19
  lineWidth: 0,
17
- fill: "rgba(46, 47, 50)"
20
+ fill: {
21
+ type: "palette",
22
+ key: "primaryFontColor"
23
+ }
18
24
  }
19
25
  },
20
26
  endSymbol: {
@@ -24,7 +30,10 @@ export const markLine = {
24
30
  style: {
25
31
  stroke: null,
26
32
  lineWidth: 0,
27
- fill: "rgba(46, 47, 50)"
33
+ fill: {
34
+ type: "palette",
35
+ key: "primaryFontColor"
36
+ }
28
37
  }
29
38
  },
30
39
  label: {
@@ -35,13 +44,8 @@ export const markLine = {
35
44
  fontStyle: "normal",
36
45
  fill: {
37
46
  type: "palette",
38
- key: "labelReverseFontColor"
39
- },
40
- stroke: {
41
- type: "palette",
42
- key: "labelReverseFontColor"
43
- },
44
- lineWidth: 0
47
+ key: "primaryFontColor"
48
+ }
45
49
  },
46
50
  labelBackground: {
47
51
  padding: {
@@ -51,8 +55,11 @@ export const markLine = {
51
55
  left: 4
52
56
  },
53
57
  style: {
54
- cornerRadius: 0,
55
- fill: "rgb(48, 115, 242)"
58
+ cornerRadius: 3,
59
+ fill: {
60
+ type: "palette",
61
+ key: "markLabelBackgroundColor"
62
+ }
56
63
  }
57
64
  }
58
65
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/mark-line.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,QAAQ,GAAmB;IACtC,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YAChB,MAAM,EAAE,kBAAkB;SAC3B;KACF;IACD,WAAW,EAAE;QACX,OAAO,EAAE,KAAK;QACd,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,EAAE;QACR,KAAK,EAAE;YACL,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,kBAAkB;SACzB;KACF;IACD,SAAS,EAAE;QACT,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,EAAE;QACR,KAAK,EAAE;YACL,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,kBAAkB;SACzB;KACF;IACD,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;QACP,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YAGpC,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;YACvD,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;YACzD,SAAS,EAAE,CAAC;SACb;QACD,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;aACR;YACD,KAAK,EAAE;gBACL,YAAY,EAAE,CAAC;gBACf,IAAI,EAAE,mBAAmB;aAC1B;SACF;KACF;CACF,CAAC","file":"mark-line.js","sourcesContent":["import type { IMarkLineTheme } from '../../../../component/marker/mark-line/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const markLine: IMarkLineTheme = {\n line: {\n style: {\n lineDash: [3, 3],\n stroke: 'rgba(46, 47, 50)'\n }\n },\n startSymbol: {\n visible: false,\n symbolType: 'triangle',\n size: 10,\n style: {\n stroke: null,\n lineWidth: 0,\n fill: 'rgba(46, 47, 50)'\n }\n },\n endSymbol: {\n visible: true,\n symbolType: 'triangle',\n size: 10,\n style: {\n stroke: null,\n lineWidth: 0,\n fill: 'rgba(46, 47, 50)'\n }\n },\n label: {\n refY: 5,\n style: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n // lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontWeight: 'normal',\n fontStyle: 'normal',\n fill: { type: 'palette', key: 'labelReverseFontColor' },\n stroke: { type: 'palette', key: 'labelReverseFontColor' },\n lineWidth: 0\n },\n labelBackground: {\n padding: {\n top: 2,\n bottom: 2,\n right: 4,\n left: 4\n },\n style: {\n cornerRadius: 0,\n fill: 'rgb(48, 115, 242)'\n }\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/mark-line.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,QAAQ,GAAmB;IACtC,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YAChB,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACrD;KACF;IACD,WAAW,EAAE;QACX,OAAO,EAAE,KAAK;QACd,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,EAAE;QACR,KAAK,EAAE;YACL,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACnD;KACF;IACD,SAAS,EAAE;QACT,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,EAAE;QACR,KAAK,EAAE;YACL,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACnD;KACF;IACD,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;QACP,KAAK,EAAE;YACL,QAAQ,EAAE,eAAe,CAAC,UAAU;YAEpC,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACnD;QACD,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;aACR;YACD,KAAK,EAAE;gBACL,YAAY,EAAE,CAAC;gBACf,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,0BAA0B,EAAE;aAC3D;SACF;KACF;CACF,CAAC","file":"mark-line.js","sourcesContent":["import type { IMarkLineTheme } from '../../../../component/marker/mark-line/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const markLine: IMarkLineTheme = {\n line: {\n style: {\n lineDash: [3, 3],\n stroke: { type: 'palette', key: 'primaryFontColor' }\n }\n },\n startSymbol: {\n visible: false,\n symbolType: 'triangle',\n size: 10,\n style: {\n stroke: null,\n lineWidth: 0,\n fill: { type: 'palette', key: 'primaryFontColor' }\n }\n },\n endSymbol: {\n visible: true,\n symbolType: 'triangle',\n size: 10,\n style: {\n stroke: null,\n lineWidth: 0,\n fill: { type: 'palette', key: 'primaryFontColor' }\n }\n },\n label: {\n refY: 5,\n style: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n // lineHeight: THEME_CONSTANTS.l4LineHeight,\n fontWeight: 'normal',\n fontStyle: 'normal',\n fill: { type: 'palette', key: 'primaryFontColor' }\n },\n labelBackground: {\n padding: {\n top: 2,\n bottom: 2,\n right: 4,\n left: 4\n },\n style: {\n cornerRadius: 3,\n fill: { type: 'palette', key: 'markLabelBackgroundColor' }\n }\n }\n }\n};\n"]}
@@ -7,12 +7,18 @@ export const markPoint = {
7
7
  size: 5,
8
8
  visible: !0,
9
9
  style: {
10
- fill: "#eee"
10
+ fill: {
11
+ type: "palette",
12
+ key: "primaryFontColor"
13
+ }
11
14
  }
12
15
  },
13
16
  line: {
14
17
  style: {
15
- stroke: "#eee"
18
+ stroke: {
19
+ type: "palette",
20
+ key: "primaryFontColor"
21
+ }
16
22
  }
17
23
  }
18
24
  },
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/mark-point.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAoB;IACxC,QAAQ,EAAE;QACR,cAAc,EAAE;YACd,OAAO,EAAE,KAAK;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC;YACP,OAAO,EAAE,IAAI;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,MAAM;aACb;SACF;QACD,IAAI,EAAE;YACJ,KAAK,EAAE;gBACL,MAAM,EAAE,MAAM;aACf;SACF;KACF;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,EAAE;KACb;CACF,CAAC","file":"mark-point.js","sourcesContent":["import type { IMarkPointTheme } from '../../../../component/marker/mark-point/interface';\n\nexport const markPoint: IMarkPointTheme = {\n itemLine: {\n decorativeLine: {\n visible: false\n },\n startSymbol: {\n size: 5,\n visible: true,\n style: {\n fill: '#eee'\n }\n },\n line: {\n style: {\n stroke: '#eee'\n }\n }\n },\n itemContent: {\n offsetY: -50\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/mark-point.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAoB;IACxC,QAAQ,EAAE;QACR,cAAc,EAAE;YACd,OAAO,EAAE,KAAK;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC;YACP,OAAO,EAAE,IAAI;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;aACnD;SACF;QACD,IAAI,EAAE;YACJ,KAAK,EAAE;gBACL,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;aACrD;SACF;KACF;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,EAAE;KACb;CACF,CAAC","file":"mark-point.js","sourcesContent":["import type { IMarkPointTheme } from '../../../../component/marker/mark-point/interface';\n\nexport const markPoint: IMarkPointTheme = {\n itemLine: {\n decorativeLine: {\n visible: false\n },\n startSymbol: {\n size: 5,\n visible: true,\n style: {\n fill: { type: 'palette', key: 'primaryFontColor' }\n }\n },\n line: {\n style: {\n stroke: { type: 'palette', key: 'primaryFontColor' }\n }\n }\n },\n itemContent: {\n offsetY: -50\n }\n};\n"]}
@@ -9,7 +9,7 @@ export const poptip = {
9
9
  fontWeight: "bold",
10
10
  fill: {
11
11
  type: "palette",
12
- key: [ "titleFontColor", "primaryFontColor" ]
12
+ key: "primaryFontColor"
13
13
  }
14
14
  },
15
15
  contentStyle: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/poptip.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,MAAM,GAAiB;IAClC,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,CAAC;IACV,UAAU,EAAE;QACV,QAAQ,EAAE,eAAe,CAAC,UAAU;QAGpC,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;KACvE;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,eAAe,CAAC,UAAU;QAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;KACrD;IACD,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,wBAAwB,EAAE;QACxD,YAAY,EAAE,CAAC;QACf,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,CAAC;QAChB,aAAa,EAAE,CAAC;QAChB,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE,GAAG,EAAE;QAC5D,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,EAAE;KACV;CACF,CAAC","file":"poptip.js","sourcesContent":["import type { IPoptipTheme } from '../../../../component/poptip/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const poptip: IPoptipTheme = {\n visible: true,\n position: 'auto',\n padding: 8,\n titleStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n // lineHeight: THEME_CONSTANTS.l5LineHeight, // FIXME: vrender 支持行高字符串后取消注释\n\n fontWeight: 'bold',\n fill: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] }\n },\n contentStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n // lineHeight: THEME_CONSTANTS.l5LineHeight, // FIXME: vrender 支持行高字符串后取消注释\n\n fill: { type: 'palette', key: 'secondaryFontColor' }\n },\n panel: {\n visible: true,\n fill: { type: 'palette', key: 'tooltipBackgroundColor' },\n cornerRadius: 3,\n lineWidth: 0,\n shadowBlur: 12,\n shadowOffsetX: 0,\n shadowOffsetY: 4,\n shadowColor: { type: 'palette', key: 'shadowColor', a: 0.1 },\n size: 0,\n space: 12\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/poptip.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,MAAM,GAAiB;IAClC,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,CAAC;IACV,UAAU,EAAE;QACV,QAAQ,EAAE,eAAe,CAAC,UAAU;QAGpC,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;KACnD;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,eAAe,CAAC,UAAU;QAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;KACrD;IACD,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,wBAAwB,EAAE;QACxD,YAAY,EAAE,CAAC;QACf,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,CAAC;QAChB,aAAa,EAAE,CAAC;QAChB,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE,GAAG,EAAE;QAC5D,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,EAAE;KACV;CACF,CAAC","file":"poptip.js","sourcesContent":["import type { IPoptipTheme } from '../../../../component/poptip/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const poptip: IPoptipTheme = {\n visible: true,\n position: 'auto',\n padding: 8,\n titleStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n // lineHeight: THEME_CONSTANTS.l5LineHeight, // FIXME: vrender 支持行高字符串后取消注释\n\n fontWeight: 'bold',\n fill: { type: 'palette', key: 'primaryFontColor' }\n },\n contentStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n // lineHeight: THEME_CONSTANTS.l5LineHeight, // FIXME: vrender 支持行高字符串后取消注释\n\n fill: { type: 'palette', key: 'secondaryFontColor' }\n },\n panel: {\n visible: true,\n fill: { type: 'palette', key: 'tooltipBackgroundColor' },\n cornerRadius: 3,\n lineWidth: 0,\n shadowBlur: 12,\n shadowOffsetX: 0,\n shadowOffsetY: 4,\n shadowColor: { type: 'palette', key: 'shadowColor', a: 0.1 },\n size: 0,\n space: 12\n }\n};\n"]}
@@ -10,7 +10,7 @@ export const title = {
10
10
  lineHeight: THEME_CONSTANTS.l3LineHeight,
11
11
  fill: {
12
12
  type: "palette",
13
- key: [ "titleFontColor", "primaryFontColor" ]
13
+ key: "primaryFontColor"
14
14
  }
15
15
  },
16
16
  subtextStyle: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/title.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,KAAK,GAAgB;IAChC,OAAO,EAAE;QACP,GAAG,EAAE,CAAC;QACN,MAAM,EAAE,EAAE;KACX;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,eAAe,CAAC,UAAU;QACpC,UAAU,EAAE,eAAe,CAAC,YAAmB;QAE/C,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;KACvE;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,eAAe,CAAC,UAAU;QACpC,UAAU,EAAE,eAAe,CAAC,YAAmB;QAE/C,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;KACrD;CACF,CAAC","file":"title.js","sourcesContent":["import type { ITitleTheme } from '../../../../component/title/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const title: ITitleTheme = {\n padding: {\n top: 4,\n bottom: 20\n },\n textStyle: {\n fontSize: THEME_CONSTANTS.l3FontSize,\n lineHeight: THEME_CONSTANTS.l3LineHeight as any, // FIXME: vrender 支持行高字符串后删除 any\n\n fill: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] }\n },\n subtextStyle: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight as any, // FIXME: vrender 支持行高字符串后删除 any\n\n fill: { type: 'palette', key: 'secondaryFontColor' }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/title.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,KAAK,GAAgB;IAChC,OAAO,EAAE;QACP,GAAG,EAAE,CAAC;QACN,MAAM,EAAE,EAAE;KACX;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,eAAe,CAAC,UAAU;QACpC,UAAU,EAAE,eAAe,CAAC,YAAmB;QAE/C,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;KACnD;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,eAAe,CAAC,UAAU;QACpC,UAAU,EAAE,eAAe,CAAC,YAAmB;QAE/C,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;KACrD;CACF,CAAC","file":"title.js","sourcesContent":["import type { ITitleTheme } from '../../../../component/title/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const title: ITitleTheme = {\n padding: {\n top: 4,\n bottom: 20\n },\n textStyle: {\n fontSize: THEME_CONSTANTS.l3FontSize,\n lineHeight: THEME_CONSTANTS.l3LineHeight as any, // FIXME: vrender 支持行高字符串后删除 any\n\n fill: { type: 'palette', key: 'primaryFontColor' }\n },\n subtextStyle: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight as any, // FIXME: vrender 支持行高字符串后删除 any\n\n fill: { type: 'palette', key: 'secondaryFontColor' }\n }\n};\n"]}
@@ -42,7 +42,7 @@ export const tooltip = {
42
42
  lineHeight: THEME_CONSTANTS.l4LineHeight,
43
43
  fontColor: {
44
44
  type: "palette",
45
- key: [ "titleFontColor", "primaryFontColor" ]
45
+ key: "primaryFontColor"
46
46
  },
47
47
  fontWeight: "bold",
48
48
  textAlign: "left",
@@ -69,7 +69,7 @@ export const tooltip = {
69
69
  lineHeight: THEME_CONSTANTS.l4LineHeight,
70
70
  fontColor: {
71
71
  type: "palette",
72
- key: [ "titleFontColor", "primaryFontColor" ]
72
+ key: "primaryFontColor"
73
73
  },
74
74
  fontWeight: "bold",
75
75
  textBaseline: "middle",
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/tooltip.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,OAAO,GAAkB;IACpC,MAAM,EAAE;QACN,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,EAAE;KACN;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,GAAG,EAAE,EAAE;YACP,IAAI,EAAE,EAAE;YACR,KAAK,EAAE,EAAE;YACT,MAAM,EAAE,EAAE;SACX;QACD,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,wBAAwB,EAAE;QACnE,MAAM,EAAE;YACN,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,wBAAwB,EAAE;YACzD,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,CAAC;SACV;QACD,MAAM,EAAE;YACN,CAAC,EAAE,CAAC;YACJ,CAAC,EAAE,CAAC;YACJ,IAAI,EAAE,EAAE;YACR,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE,GAAG,EAAE;SACvD;KACF;IACD,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE;QACV,QAAQ,EAAE,eAAe,CAAC,UAAU;QACpC,UAAU,EAAE,eAAe,CAAC,YAAY;QAExC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;QAC3E,UAAU,EAAE,MAAM;QAClB,SAAS,EAAE,MAAM;QACjB,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,CAAC;KACX;IACD,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;QACP,OAAO,EAAE,CAAC;KACX;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,eAAe,CAAC,UAAU;QACpC,UAAU,EAAE,eAAe,CAAC,YAAY;QAExC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;QACzD,SAAS,EAAE,MAAM;QACjB,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,EAAE;KACZ;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,eAAe,CAAC,UAAU;QACpC,UAAU,EAAE,eAAe,CAAC,YAAY;QAExC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;QAC3E,UAAU,EAAE,MAAM;QAClB,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,CAAC;KACX;CACF,CAAC","file":"tooltip.js","sourcesContent":["import type { ITooltipTheme } from '../../../../component/tooltip/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const tooltip: ITooltipTheme = {\n offset: {\n x: 10,\n y: 10\n },\n panel: {\n padding: {\n top: 10,\n left: 10,\n right: 10,\n bottom: 10\n },\n backgroundColor: { type: 'palette', key: 'tooltipBackgroundColor' },\n border: {\n color: { type: 'palette', key: 'tooltipBackgroundColor' },\n width: 0,\n radius: 3\n },\n shadow: {\n x: 0,\n y: 4,\n blur: 12,\n spread: 0,\n color: { type: 'palette', key: 'shadowColor', a: 0.1 }\n }\n },\n spaceRow: 6,\n titleLabel: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontColor: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] },\n fontWeight: 'bold',\n textAlign: 'left',\n textBaseline: 'middle',\n spacing: 0\n },\n shape: {\n size: 8,\n spacing: 6\n },\n keyLabel: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontColor: { type: 'palette', key: 'secondaryFontColor' },\n textAlign: 'left',\n textBaseline: 'middle',\n spacing: 26\n },\n valueLabel: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontColor: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] },\n fontWeight: 'bold',\n textBaseline: 'middle',\n spacing: 0\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/tooltip.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,OAAO,GAAkB;IACpC,MAAM,EAAE;QACN,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,EAAE;KACN;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,GAAG,EAAE,EAAE;YACP,IAAI,EAAE,EAAE;YACR,KAAK,EAAE,EAAE;YACT,MAAM,EAAE,EAAE;SACX;QACD,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,wBAAwB,EAAE;QACnE,MAAM,EAAE;YACN,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,wBAAwB,EAAE;YACzD,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,CAAC;SACV;QACD,MAAM,EAAE;YACN,CAAC,EAAE,CAAC;YACJ,CAAC,EAAE,CAAC;YACJ,IAAI,EAAE,EAAE;YACR,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE,GAAG,EAAE;SACvD;KACF;IACD,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE;QACV,QAAQ,EAAE,eAAe,CAAC,UAAU;QACpC,UAAU,EAAE,eAAe,CAAC,YAAY;QAExC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;QACvD,UAAU,EAAE,MAAM;QAClB,SAAS,EAAE,MAAM;QACjB,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,CAAC;KACX;IACD,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;QACP,OAAO,EAAE,CAAC;KACX;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,eAAe,CAAC,UAAU;QACpC,UAAU,EAAE,eAAe,CAAC,YAAY;QAExC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;QACzD,SAAS,EAAE,MAAM;QACjB,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,EAAE;KACZ;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,eAAe,CAAC,UAAU;QACpC,UAAU,EAAE,eAAe,CAAC,YAAY;QAExC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;QACvD,UAAU,EAAE,MAAM;QAClB,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,CAAC;KACX;CACF,CAAC","file":"tooltip.js","sourcesContent":["import type { ITooltipTheme } from '../../../../component/tooltip/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const tooltip: ITooltipTheme = {\n offset: {\n x: 10,\n y: 10\n },\n panel: {\n padding: {\n top: 10,\n left: 10,\n right: 10,\n bottom: 10\n },\n backgroundColor: { type: 'palette', key: 'tooltipBackgroundColor' },\n border: {\n color: { type: 'palette', key: 'tooltipBackgroundColor' },\n width: 0,\n radius: 3\n },\n shadow: {\n x: 0,\n y: 4,\n blur: 12,\n spread: 0,\n color: { type: 'palette', key: 'shadowColor', a: 0.1 }\n }\n },\n spaceRow: 6,\n titleLabel: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontColor: { type: 'palette', key: 'primaryFontColor' },\n fontWeight: 'bold',\n textAlign: 'left',\n textBaseline: 'middle',\n spacing: 0\n },\n shape: {\n size: 8,\n spacing: 6\n },\n keyLabel: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontColor: { type: 'palette', key: 'secondaryFontColor' },\n textAlign: 'left',\n textBaseline: 'middle',\n spacing: 26\n },\n valueLabel: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontColor: { type: 'palette', key: 'primaryFontColor' },\n fontWeight: 'bold',\n textBaseline: 'middle',\n spacing: 0\n }\n};\n"]}
@@ -13,7 +13,7 @@ export const totalLabel = {
13
13
  fontSize: THEME_CONSTANTS.l4FontSize,
14
14
  fill: {
15
15
  type: "palette",
16
- key: [ "titleFontColor", "primaryFontColor" ]
16
+ key: "primaryFontColor"
17
17
  }
18
18
  }
19
19
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/total-label.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,UAAU,GAAqB;IAC1C,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,CAAC;IACT,OAAO,EAAE;QACP,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE,KAAK;IAClB,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE;QACL,QAAQ,EAAE,eAAe,CAAC,UAAU;QAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;KACvE;CACF,CAAC","file":"total-label.js","sourcesContent":["import type { ITotalLabelTheme } from '../../../../component/label';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const totalLabel: ITotalLabelTheme = {\n visible: false,\n offset: 5,\n overlap: {\n clampForce: true,\n strategy: []\n },\n smartInvert: false,\n animation: false,\n style: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n // lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fill: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/total-label.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,UAAU,GAAqB;IAC1C,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,CAAC;IACT,OAAO,EAAE;QACP,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE,KAAK;IAClB,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE;QACL,QAAQ,EAAE,eAAe,CAAC,UAAU;QAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;KACnD;CACF,CAAC","file":"total-label.js","sourcesContent":["import type { ITotalLabelTheme } from '../../../../component/label';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const totalLabel: ITotalLabelTheme = {\n visible: false,\n offset: 5,\n overlap: {\n clampForce: true,\n strategy: []\n },\n smartInvert: false,\n animation: false,\n style: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n // lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fill: { type: 'palette', key: 'primaryFontColor' }\n }\n};\n"]}
@@ -4,7 +4,10 @@ export const area = {
4
4
  offset: 5,
5
5
  position: "top",
6
6
  style: {
7
- stroke: "white",
7
+ stroke: {
8
+ type: "palette",
9
+ key: "backgroundColor"
10
+ },
8
11
  lineWidth: 2
9
12
  }
10
13
  },
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/series/area.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,IAAI,GAAqB;IACpC,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,CAAC;QACT,QAAQ,EAAE,KAAK;QACf,KAAK,EAAE;YACL,MAAM,EAAE,OAAO;YACf,SAAS,EAAE,CAAC;SACb;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,UAAU,EAAE,QAAQ;SACrB;KACF;CACF,CAAC","file":"area.js","sourcesContent":["import type { IAreaSeriesTheme } from '../../../../series/area/interface';\n\nexport const area: IAreaSeriesTheme = {\n label: {\n visible: false,\n offset: 5,\n position: 'top',\n style: {\n stroke: 'white',\n lineWidth: 2\n }\n },\n point: {\n style: {\n symbolType: 'circle'\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/series/area.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,IAAI,GAAqB;IACpC,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,CAAC;QACT,QAAQ,EAAE,KAAK;QACf,KAAK,EAAE;YACL,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;YACnD,SAAS,EAAE,CAAC;SACb;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,UAAU,EAAE,QAAQ;SACrB;KACF;CACF,CAAC","file":"area.js","sourcesContent":["import type { IAreaSeriesTheme } from '../../../../series/area/interface';\n\nexport const area: IAreaSeriesTheme = {\n label: {\n visible: false,\n offset: 5,\n position: 'top',\n style: {\n stroke: { type: 'palette', key: 'backgroundColor' },\n lineWidth: 2\n }\n },\n point: {\n style: {\n symbolType: 'circle'\n }\n }\n};\n"]}
@@ -5,7 +5,10 @@ export const bar = {
5
5
  offset: 5,
6
6
  style: {
7
7
  lineWidth: 2,
8
- stroke: "white"
8
+ stroke: {
9
+ type: "palette",
10
+ key: "backgroundColor"
11
+ }
9
12
  }
10
13
  }
11
14
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/series/bar.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,GAAG,GAAoB;IAClC,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,CAAC;QACT,KAAK,EAAE;YACL,SAAS,EAAE,CAAC;YACZ,MAAM,EAAE,OAAO;SAChB;KACF;CACF,CAAC","file":"bar.js","sourcesContent":["import type { IBarSeriesTheme } from '../../../../series/bar/interface';\n\nexport const bar: IBarSeriesTheme = {\n label: {\n visible: false,\n position: 'outside',\n offset: 5,\n style: {\n lineWidth: 2,\n stroke: 'white'\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/series/bar.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,GAAG,GAAoB;IAClC,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,CAAC;QACT,KAAK,EAAE;YACL,SAAS,EAAE,CAAC;YACZ,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;SACpD;KACF;CACF,CAAC","file":"bar.js","sourcesContent":["import type { IBarSeriesTheme } from '../../../../series/bar/interface';\n\nexport const bar: IBarSeriesTheme = {\n label: {\n visible: false,\n position: 'outside',\n offset: 5,\n style: {\n lineWidth: 2,\n stroke: { type: 'palette', key: 'backgroundColor' }\n }\n }\n};\n"]}
@@ -17,7 +17,10 @@ export const circlePacking = {
17
17
  style: {
18
18
  cursor: "pointer",
19
19
  fill: "black",
20
- stroke: "white",
20
+ stroke: {
21
+ type: "palette",
22
+ key: "backgroundColor"
23
+ },
21
24
  lineWidth: 2,
22
25
  fontSize: THEME_CONSTANTS.l5FontSize,
23
26
  lineHeight: THEME_CONSTANTS.l5LineHeight
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/series/circle-packing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,aAAa,GAA8B;IACtD,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE;QACb,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,MAAM,EAAE,SAAS;YACjB,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;SACpD;KACF;IACD,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,MAAM,EAAE,SAAS;YACjB,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,OAAO;YACf,SAAS,EAAE,CAAC;YACZ,QAAQ,EAAE,eAAe,CAAC,UAAU;YACpC,UAAU,EAAE,eAAe,CAAC,YAAY;SACzC;KACF;CACF,CAAC","file":"circle-packing.js","sourcesContent":["import type { ICirclePackingSeriesTheme } from '../../../../series/circle-packing/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const circlePacking: ICirclePackingSeriesTheme = {\n layoutPadding: 5,\n circlePacking: {\n visible: true,\n style: {\n cursor: 'pointer',\n stroke: { type: 'palette', key: 'backgroundColor' }\n }\n },\n label: {\n visible: true,\n style: {\n cursor: 'pointer',\n fill: 'black',\n stroke: 'white',\n lineWidth: 2,\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/series/circle-packing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,CAAC,MAAM,aAAa,GAA8B;IACtD,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE;QACb,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,MAAM,EAAE,SAAS;YACjB,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;SACpD;KACF;IACD,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,MAAM,EAAE,SAAS;YACjB,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;YACnD,SAAS,EAAE,CAAC;YACZ,QAAQ,EAAE,eAAe,CAAC,UAAU;YACpC,UAAU,EAAE,eAAe,CAAC,YAAY;SACzC;KACF;CACF,CAAC","file":"circle-packing.js","sourcesContent":["import type { ICirclePackingSeriesTheme } from '../../../../series/circle-packing/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const circlePacking: ICirclePackingSeriesTheme = {\n layoutPadding: 5,\n circlePacking: {\n visible: true,\n style: {\n cursor: 'pointer',\n stroke: { type: 'palette', key: 'backgroundColor' }\n }\n },\n label: {\n visible: true,\n style: {\n cursor: 'pointer',\n fill: 'black',\n stroke: { type: 'palette', key: 'backgroundColor' },\n lineWidth: 2,\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight\n }\n }\n};\n"]}
@@ -0,0 +1,2 @@
1
+ import type { ICorrelationSeriesTheme } from '../../../../series/correlation/interface';
2
+ export declare const correlation: ICorrelationSeriesTheme;
@@ -0,0 +1,18 @@
1
+ export const correlation = {
2
+ centerLabel: {
3
+ visible: !0,
4
+ position: "center",
5
+ style: {
6
+ fill: "#fff",
7
+ text: ""
8
+ }
9
+ },
10
+ label: {
11
+ visible: !0,
12
+ position: "bottom",
13
+ style: {
14
+ fill: "#000"
15
+ }
16
+ }
17
+ };
18
+ //# sourceMappingURL=correlation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/theme/builtin/common/series/correlation.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAA4B;IAClD,WAAW,EAAE;QACX,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,QAAQ;QAClB,KAAK,EAAE;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,EAAE;SACT;KACF;IACD,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,QAAQ;QAClB,KAAK,EAAE;YACL,IAAI,EAAE,MAAM;SACb;KACF;CACF,CAAC","file":"correlation.js","sourcesContent":["import type { ICorrelationSeriesTheme } from '../../../../series/correlation/interface';\n\nexport const correlation: ICorrelationSeriesTheme = {\n centerLabel: {\n visible: true,\n position: 'center',\n style: {\n fill: '#fff',\n text: ''\n }\n },\n label: {\n visible: true,\n position: 'bottom',\n style: {\n fill: '#000'\n }\n }\n};\n"]}