@visactor/vchart 1.12.0-alpha.4 → 1.12.0-alpha.6

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 (319) hide show
  1. package/build/es5/index.js +1 -1
  2. package/build/index.js +9969 -9903
  3. package/build/index.min.js +1 -1
  4. package/build/tsconfig.tsbuildinfo +1 -1
  5. package/cjs/animation/utils.d.ts +2 -2
  6. package/cjs/chart/area/area.d.ts +0 -1
  7. package/cjs/chart/area/area.js +4 -3
  8. package/cjs/chart/area/area.js.map +1 -1
  9. package/cjs/chart/bar/bar.d.ts +0 -1
  10. package/cjs/chart/bar/bar.js +4 -3
  11. package/cjs/chart/bar/bar.js.map +1 -1
  12. package/cjs/chart/base/base-chart.d.ts +0 -4
  13. package/cjs/chart/base/base-chart.js +8 -8
  14. package/cjs/chart/base/base-chart.js.map +1 -1
  15. package/cjs/chart/common/common.d.ts +0 -1
  16. package/cjs/chart/common/common.js +4 -3
  17. package/cjs/chart/common/common.js.map +1 -1
  18. package/cjs/chart/histogram/base/base.d.ts +0 -1
  19. package/cjs/chart/histogram/base/base.js +4 -4
  20. package/cjs/chart/histogram/base/base.js.map +1 -1
  21. package/cjs/chart/line/line.d.ts +0 -1
  22. package/cjs/chart/line/line.js +4 -3
  23. package/cjs/chart/line/line.js.map +1 -1
  24. package/cjs/chart/mosaic/mosaic.d.ts +3 -1
  25. package/cjs/chart/mosaic/mosaic.js +5 -3
  26. package/cjs/chart/mosaic/mosaic.js.map +1 -1
  27. package/cjs/chart/pie/base/pie-transformer.js +4 -1
  28. package/cjs/chart/pie/base/pie-transformer.js.map +1 -1
  29. package/cjs/chart/progress/circular/circular.d.ts +0 -1
  30. package/cjs/chart/progress/circular/circular.js +4 -4
  31. package/cjs/chart/progress/circular/circular.js.map +1 -1
  32. package/cjs/chart/progress/linear/linear.d.ts +0 -1
  33. package/cjs/chart/progress/linear/linear.js +4 -4
  34. package/cjs/chart/progress/linear/linear.js.map +1 -1
  35. package/cjs/chart/radar/radar.d.ts +0 -1
  36. package/cjs/chart/radar/radar.js +4 -3
  37. package/cjs/chart/radar/radar.js.map +1 -1
  38. package/cjs/chart/rose/rose.d.ts +0 -1
  39. package/cjs/chart/rose/rose.js +4 -3
  40. package/cjs/chart/rose/rose.js.map +1 -1
  41. package/cjs/chart/scatter/scatter.d.ts +0 -1
  42. package/cjs/chart/scatter/scatter.js +4 -3
  43. package/cjs/chart/scatter/scatter.js.map +1 -1
  44. package/cjs/chart/sequence/sequence-transformer.d.ts +3 -0
  45. package/cjs/chart/sequence/sequence-transformer.js +37 -26
  46. package/cjs/chart/sequence/sequence-transformer.js.map +1 -1
  47. package/cjs/chart/stack.d.ts +7 -0
  48. package/cjs/chart/stack.js +13 -3
  49. package/cjs/chart/stack.js.map +1 -1
  50. package/cjs/chart/util.js +2 -1
  51. package/cjs/chart/util.js.map +1 -1
  52. package/cjs/chart/word-cloud/word-cloud-transformer.js +2 -1
  53. package/cjs/chart/word-cloud/word-cloud-transformer.js.map +1 -1
  54. package/cjs/compile/compiler.d.ts +1 -1
  55. package/cjs/compile/compiler.js +11 -11
  56. package/cjs/compile/compiler.js.map +1 -1
  57. package/cjs/compile/mark/compilable-mark.js.map +1 -1
  58. package/cjs/component/label/label.js.map +1 -1
  59. package/cjs/component/tooltip/interface/spec.d.ts +1 -1
  60. package/cjs/component/tooltip/interface/spec.js.map +1 -1
  61. package/cjs/component/tooltip/interface/theme.d.ts +1 -0
  62. package/cjs/component/tooltip/interface/theme.js.map +1 -1
  63. package/cjs/component/tooltip/tooltip-transformer.js +3 -0
  64. package/cjs/component/tooltip/tooltip-transformer.js.map +1 -1
  65. package/cjs/component/util.js +2 -1
  66. package/cjs/core/index.d.ts +1 -1
  67. package/cjs/core/index.js +1 -1
  68. package/cjs/core/index.js.map +1 -1
  69. package/cjs/core/vchart.d.ts +1 -0
  70. package/cjs/core/vchart.js +35 -30
  71. package/cjs/core/vchart.js.map +1 -1
  72. package/cjs/index.d.ts +3 -1
  73. package/cjs/index.js +2 -1
  74. package/cjs/index.js.map +1 -1
  75. package/cjs/interaction/zoom/zoomable.js +1 -1
  76. package/cjs/interaction/zoom/zoomable.js.map +1 -1
  77. package/cjs/layout/layout-item.d.ts +1 -1
  78. package/cjs/model/base-model.d.ts +0 -1
  79. package/cjs/model/base-model.js +0 -6
  80. package/cjs/model/base-model.js.map +1 -1
  81. package/cjs/model/interface.d.ts +1 -1
  82. package/cjs/model/interface.js.map +1 -1
  83. package/cjs/series/base/base-series-transformer.js +3 -3
  84. package/cjs/series/base/base-series-transformer.js.map +1 -1
  85. package/cjs/series/base/base-series.d.ts +0 -1
  86. package/cjs/series/base/base-series.js +14 -18
  87. package/cjs/series/base/base-series.js.map +1 -1
  88. package/cjs/series/interface/theme.d.ts +1 -3
  89. package/cjs/series/interface/theme.js +4 -45
  90. package/cjs/series/interface/theme.js.map +1 -1
  91. package/cjs/series/interface/type.d.ts +1 -0
  92. package/cjs/series/interface/type.js +7 -6
  93. package/cjs/series/interface/type.js.map +1 -1
  94. package/cjs/series/pie/animation/animation.d.ts +1 -0
  95. package/cjs/series/pie/animation/animation.js +9 -1
  96. package/cjs/series/pie/animation/animation.js.map +1 -1
  97. package/cjs/series/pie/interface.d.ts +5 -0
  98. package/cjs/series/pie/interface.js.map +1 -1
  99. package/cjs/series/pie/pie.d.ts +2 -0
  100. package/cjs/series/pie/pie.js +24 -8
  101. package/cjs/series/pie/pie.js.map +1 -1
  102. package/cjs/series/polar/animation.js +6 -6
  103. package/cjs/series/polar/animation.js.map +1 -1
  104. package/cjs/series/waterfall/waterfall-transformer.js +1 -1
  105. package/cjs/series/waterfall/waterfall-transformer.js.map +1 -1
  106. package/cjs/series/waterfall/waterfall.d.ts +1 -0
  107. package/cjs/series/waterfall/waterfall.js +13 -13
  108. package/cjs/series/waterfall/waterfall.js.map +1 -1
  109. package/cjs/series/word-cloud/base.d.ts +11 -12
  110. package/cjs/series/word-cloud/base.js +92 -117
  111. package/cjs/series/word-cloud/base.js.map +1 -1
  112. package/cjs/series/word-cloud/constant.js +4 -0
  113. package/cjs/series/word-cloud/constant.js.map +1 -1
  114. package/cjs/series/word-cloud/interface.d.ts +22 -2
  115. package/cjs/series/word-cloud/interface.js.map +1 -1
  116. package/cjs/theme/builtin/common/component/axis/cartesian-axis.js +19 -1
  117. package/cjs/theme/builtin/common/component/axis/cartesian-axis.js.map +1 -1
  118. package/cjs/theme/builtin/common/component/data-zoom.js +58 -75
  119. package/cjs/theme/builtin/common/component/data-zoom.js.map +1 -1
  120. package/cjs/theme/builtin/common/component/indicator.js +20 -29
  121. package/cjs/theme/builtin/common/component/indicator.js.map +1 -1
  122. package/cjs/theme/builtin/common/component/legend/color-legend.js +33 -41
  123. package/cjs/theme/builtin/common/component/legend/color-legend.js.map +1 -1
  124. package/cjs/theme/builtin/common/component/legend/continuous.js +23 -1
  125. package/cjs/theme/builtin/common/component/legend/continuous.js.map +1 -1
  126. package/cjs/theme/builtin/common/component/legend/size-legend.js +28 -53
  127. package/cjs/theme/builtin/common/component/legend/size-legend.js.map +1 -1
  128. package/cjs/theme/builtin/common/component/map-label.js +16 -1
  129. package/cjs/theme/builtin/common/component/map-label.js.map +1 -1
  130. package/cjs/theme/builtin/common/component/mark-line.js +19 -27
  131. package/cjs/theme/builtin/common/component/mark-line.js.map +1 -1
  132. package/cjs/theme/builtin/common/component/player.js +36 -6
  133. package/cjs/theme/builtin/common/component/player.js.map +1 -1
  134. package/cjs/theme/builtin/common/component/scroll-bar.js +12 -1
  135. package/cjs/theme/builtin/common/component/scroll-bar.js.map +1 -1
  136. package/cjs/theme/builtin/common/component/tooltip.js +21 -1
  137. package/cjs/theme/builtin/common/component/tooltip.js.map +1 -1
  138. package/cjs/theme/builtin/common/series/funnel.d.ts +2 -1
  139. package/cjs/theme/builtin/common/series/funnel.js +43 -37
  140. package/cjs/theme/builtin/common/series/funnel.js.map +1 -1
  141. package/cjs/theme/builtin/common/series/index.js +3 -3
  142. package/cjs/theme/builtin/common/series/index.js.map +1 -1
  143. package/cjs/theme/builtin/common/series/pie.js +9 -0
  144. package/cjs/theme/builtin/common/series/pie.js.map +1 -1
  145. package/cjs/theme/builtin/common/series/word-cloud.d.ts +2 -1
  146. package/cjs/theme/builtin/common/series/word-cloud.js +21 -1
  147. package/cjs/theme/builtin/common/series/word-cloud.js.map +1 -1
  148. package/cjs/theme/builtin/dark/color-scheme.js +2 -1
  149. package/cjs/theme/builtin/dark/color-scheme.js.map +1 -1
  150. package/cjs/theme/builtin/light/color-scheme.js +2 -1
  151. package/cjs/theme/builtin/light/color-scheme.js.map +1 -1
  152. package/cjs/util/theme/merge-theme.js +7 -12
  153. package/cjs/util/theme/merge-theme.js.map +1 -1
  154. package/cjs/vchart-simple.js +2 -2
  155. package/cjs/vchart-simple.js.map +1 -1
  156. package/esm/animation/utils.d.ts +2 -2
  157. package/esm/chart/area/area.d.ts +0 -1
  158. package/esm/chart/area/area.js +7 -2
  159. package/esm/chart/area/area.js.map +1 -1
  160. package/esm/chart/bar/bar.d.ts +0 -1
  161. package/esm/chart/bar/bar.js +7 -2
  162. package/esm/chart/bar/bar.js.map +1 -1
  163. package/esm/chart/base/base-chart.d.ts +0 -4
  164. package/esm/chart/base/base-chart.js +7 -9
  165. package/esm/chart/base/base-chart.js.map +1 -1
  166. package/esm/chart/common/common.d.ts +0 -1
  167. package/esm/chart/common/common.js +7 -3
  168. package/esm/chart/common/common.js.map +1 -1
  169. package/esm/chart/histogram/base/base.d.ts +0 -1
  170. package/esm/chart/histogram/base/base.js +6 -3
  171. package/esm/chart/histogram/base/base.js.map +1 -1
  172. package/esm/chart/line/line.d.ts +0 -1
  173. package/esm/chart/line/line.js +7 -2
  174. package/esm/chart/line/line.js.map +1 -1
  175. package/esm/chart/mosaic/mosaic.d.ts +3 -1
  176. package/esm/chart/mosaic/mosaic.js +8 -1
  177. package/esm/chart/mosaic/mosaic.js.map +1 -1
  178. package/esm/chart/pie/base/pie-transformer.js +4 -1
  179. package/esm/chart/pie/base/pie-transformer.js.map +1 -1
  180. package/esm/chart/progress/circular/circular.d.ts +0 -1
  181. package/esm/chart/progress/circular/circular.js +7 -3
  182. package/esm/chart/progress/circular/circular.js.map +1 -1
  183. package/esm/chart/progress/linear/linear.d.ts +0 -1
  184. package/esm/chart/progress/linear/linear.js +7 -2
  185. package/esm/chart/progress/linear/linear.js.map +1 -1
  186. package/esm/chart/radar/radar.d.ts +0 -1
  187. package/esm/chart/radar/radar.js +7 -2
  188. package/esm/chart/radar/radar.js.map +1 -1
  189. package/esm/chart/rose/rose.d.ts +0 -1
  190. package/esm/chart/rose/rose.js +7 -2
  191. package/esm/chart/rose/rose.js.map +1 -1
  192. package/esm/chart/scatter/scatter.d.ts +0 -1
  193. package/esm/chart/scatter/scatter.js +6 -2
  194. package/esm/chart/scatter/scatter.js.map +1 -1
  195. package/esm/chart/sequence/sequence-transformer.d.ts +3 -0
  196. package/esm/chart/sequence/sequence-transformer.js +37 -26
  197. package/esm/chart/sequence/sequence-transformer.js.map +1 -1
  198. package/esm/chart/stack.d.ts +7 -0
  199. package/esm/chart/stack.js +13 -1
  200. package/esm/chart/stack.js.map +1 -1
  201. package/esm/chart/util.js +2 -1
  202. package/esm/chart/util.js.map +1 -1
  203. package/esm/chart/word-cloud/word-cloud-transformer.js +2 -1
  204. package/esm/chart/word-cloud/word-cloud-transformer.js.map +1 -1
  205. package/esm/compile/compiler.d.ts +1 -1
  206. package/esm/compile/compiler.js +11 -11
  207. package/esm/compile/compiler.js.map +1 -1
  208. package/esm/compile/mark/compilable-mark.js.map +1 -1
  209. package/esm/component/label/label.js.map +1 -1
  210. package/esm/component/tooltip/interface/spec.d.ts +1 -1
  211. package/esm/component/tooltip/interface/spec.js.map +1 -1
  212. package/esm/component/tooltip/interface/theme.d.ts +1 -0
  213. package/esm/component/tooltip/interface/theme.js.map +1 -1
  214. package/esm/component/tooltip/tooltip-transformer.js +4 -1
  215. package/esm/component/tooltip/tooltip-transformer.js.map +1 -1
  216. package/esm/component/util.js +2 -1
  217. package/esm/core/index.d.ts +1 -1
  218. package/esm/core/index.js +1 -1
  219. package/esm/core/index.js.map +1 -1
  220. package/esm/core/vchart.d.ts +1 -0
  221. package/esm/core/vchart.js +35 -32
  222. package/esm/core/vchart.js.map +1 -1
  223. package/esm/index.d.ts +3 -1
  224. package/esm/index.js +5 -1
  225. package/esm/index.js.map +1 -1
  226. package/esm/interaction/zoom/zoomable.js +1 -1
  227. package/esm/interaction/zoom/zoomable.js.map +1 -1
  228. package/esm/layout/layout-item.d.ts +1 -1
  229. package/esm/model/base-model.d.ts +0 -1
  230. package/esm/model/base-model.js +0 -6
  231. package/esm/model/base-model.js.map +1 -1
  232. package/esm/model/interface.d.ts +1 -1
  233. package/esm/model/interface.js.map +1 -1
  234. package/esm/series/base/base-series-transformer.js +3 -1
  235. package/esm/series/base/base-series-transformer.js.map +1 -1
  236. package/esm/series/base/base-series.d.ts +0 -1
  237. package/esm/series/base/base-series.js +12 -18
  238. package/esm/series/base/base-series.js.map +1 -1
  239. package/esm/series/interface/theme.d.ts +1 -3
  240. package/esm/series/interface/theme.js +0 -96
  241. package/esm/series/interface/theme.js.map +1 -1
  242. package/esm/series/interface/type.d.ts +1 -0
  243. package/esm/series/interface/type.js +7 -6
  244. package/esm/series/interface/type.js.map +1 -1
  245. package/esm/series/pie/animation/animation.d.ts +1 -0
  246. package/esm/series/pie/animation/animation.js +6 -0
  247. package/esm/series/pie/animation/animation.js.map +1 -1
  248. package/esm/series/pie/interface.d.ts +5 -0
  249. package/esm/series/pie/interface.js.map +1 -1
  250. package/esm/series/pie/pie.d.ts +2 -0
  251. package/esm/series/pie/pie.js +25 -9
  252. package/esm/series/pie/pie.js.map +1 -1
  253. package/esm/series/polar/animation.js +5 -6
  254. package/esm/series/polar/animation.js.map +1 -1
  255. package/esm/series/waterfall/waterfall-transformer.js +1 -1
  256. package/esm/series/waterfall/waterfall-transformer.js.map +1 -1
  257. package/esm/series/waterfall/waterfall.d.ts +1 -0
  258. package/esm/series/waterfall/waterfall.js +12 -12
  259. package/esm/series/waterfall/waterfall.js.map +1 -1
  260. package/esm/series/word-cloud/base.d.ts +11 -12
  261. package/esm/series/word-cloud/base.js +93 -122
  262. package/esm/series/word-cloud/base.js.map +1 -1
  263. package/esm/series/word-cloud/constant.js +4 -0
  264. package/esm/series/word-cloud/constant.js.map +1 -1
  265. package/esm/series/word-cloud/interface.d.ts +22 -2
  266. package/esm/series/word-cloud/interface.js.map +1 -1
  267. package/esm/theme/builtin/common/component/axis/cartesian-axis.js +16 -0
  268. package/esm/theme/builtin/common/component/axis/cartesian-axis.js.map +1 -1
  269. package/esm/theme/builtin/common/component/data-zoom.js +58 -75
  270. package/esm/theme/builtin/common/component/data-zoom.js.map +1 -1
  271. package/esm/theme/builtin/common/component/indicator.js +17 -28
  272. package/esm/theme/builtin/common/component/indicator.js.map +1 -1
  273. package/esm/theme/builtin/common/component/legend/color-legend.js +33 -41
  274. package/esm/theme/builtin/common/component/legend/color-legend.js.map +1 -1
  275. package/esm/theme/builtin/common/component/legend/continuous.js +20 -0
  276. package/esm/theme/builtin/common/component/legend/continuous.js.map +1 -1
  277. package/esm/theme/builtin/common/component/legend/size-legend.js +28 -53
  278. package/esm/theme/builtin/common/component/legend/size-legend.js.map +1 -1
  279. package/esm/theme/builtin/common/component/map-label.js +13 -0
  280. package/esm/theme/builtin/common/component/map-label.js.map +1 -1
  281. package/esm/theme/builtin/common/component/mark-line.js +16 -26
  282. package/esm/theme/builtin/common/component/mark-line.js.map +1 -1
  283. package/esm/theme/builtin/common/component/player.js +33 -5
  284. package/esm/theme/builtin/common/component/player.js.map +1 -1
  285. package/esm/theme/builtin/common/component/scroll-bar.js +9 -0
  286. package/esm/theme/builtin/common/component/scroll-bar.js.map +1 -1
  287. package/esm/theme/builtin/common/component/tooltip.js +18 -0
  288. package/esm/theme/builtin/common/component/tooltip.js.map +1 -1
  289. package/esm/theme/builtin/common/series/funnel.d.ts +2 -1
  290. package/esm/theme/builtin/common/series/funnel.js +43 -37
  291. package/esm/theme/builtin/common/series/funnel.js.map +1 -1
  292. package/esm/theme/builtin/common/series/index.js +2 -6
  293. package/esm/theme/builtin/common/series/index.js.map +1 -1
  294. package/esm/theme/builtin/common/series/pie.js +9 -0
  295. package/esm/theme/builtin/common/series/pie.js.map +1 -1
  296. package/esm/theme/builtin/common/series/word-cloud.d.ts +2 -1
  297. package/esm/theme/builtin/common/series/word-cloud.js +20 -0
  298. package/esm/theme/builtin/common/series/word-cloud.js.map +1 -1
  299. package/esm/theme/builtin/dark/color-scheme.js +2 -1
  300. package/esm/theme/builtin/dark/color-scheme.js.map +1 -1
  301. package/esm/theme/builtin/light/color-scheme.js +2 -1
  302. package/esm/theme/builtin/light/color-scheme.js.map +1 -1
  303. package/esm/util/theme/merge-theme.js +8 -13
  304. package/esm/util/theme/merge-theme.js.map +1 -1
  305. package/esm/vchart-simple.js +1 -1
  306. package/esm/vchart-simple.js.map +1 -1
  307. package/package.json +15 -15
  308. package/cjs/theme/builtin/common/series/funnel3d.d.ts +0 -2
  309. package/cjs/theme/builtin/common/series/funnel3d.js +0 -46
  310. package/cjs/theme/builtin/common/series/funnel3d.js.map +0 -1
  311. package/cjs/theme/builtin/common/series/word-cloud3d.d.ts +0 -2
  312. package/cjs/theme/builtin/common/series/word-cloud3d.js +0 -14
  313. package/cjs/theme/builtin/common/series/word-cloud3d.js.map +0 -1
  314. package/esm/theme/builtin/common/series/funnel3d.d.ts +0 -2
  315. package/esm/theme/builtin/common/series/funnel3d.js +0 -42
  316. package/esm/theme/builtin/common/series/funnel3d.js.map +0 -1
  317. package/esm/theme/builtin/common/series/word-cloud3d.d.ts +0 -2
  318. package/esm/theme/builtin/common/series/word-cloud3d.js +0 -10
  319. package/esm/theme/builtin/common/series/word-cloud3d.js.map +0 -1
@@ -4,51 +4,43 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
5
  }), exports.colorLegend = void 0;
6
6
 
7
- const continuous_1 = require("./continuous"), handlerTheme = {
8
- style: {
9
- symbolType: "circle",
10
- lineWidth: 0,
11
- outerBorder: {
12
- lineWidth: 2,
13
- distance: .8,
14
- stroke: "#ffffff"
15
- },
16
- shadowBlur: 12,
17
- shadowOffsetX: 0,
18
- shadowOffsetY: 4,
19
- shadowColor: {
20
- type: "palette",
21
- key: "shadowColor"
22
- }
23
- }
24
- };
25
-
26
- exports.colorLegend = {
27
- horizontal: Object.assign(Object.assign({}, continuous_1.DEFAULT_CONTINUOUS_LEGEND_THEME), {
28
- rail: {
29
- width: 200,
30
- height: 8,
31
- style: {
32
- fill: {
33
- type: "palette",
34
- key: "sliderRailColor"
35
- }
7
+ const continuous_1 = require("./continuous"), getColorLegendTheme = horizontal => {
8
+ const rail = {
9
+ width: 200,
10
+ height: 8,
11
+ style: {
12
+ fill: {
13
+ type: "palette",
14
+ key: "sliderRailColor"
36
15
  }
37
- },
38
- handler: handlerTheme
39
- }),
40
- vertical: Object.assign(Object.assign({}, continuous_1.DEFAULT_CONTINUOUS_LEGEND_THEME), {
41
- rail: {
42
- width: 8,
43
- height: 200,
16
+ }
17
+ };
18
+ return horizontal ? (rail.width = 200, rail.height = 8) : (rail.width = 8, rail.height = 200),
19
+ Object.assign(Object.assign({}, continuous_1.DEFAULT_CONTINUOUS_LEGEND_THEME), {
20
+ rail: rail,
21
+ handler: {
44
22
  style: {
45
- fill: {
23
+ symbolType: "circle",
24
+ lineWidth: 0,
25
+ outerBorder: {
26
+ lineWidth: 2,
27
+ distance: .8,
28
+ stroke: "#ffffff"
29
+ },
30
+ shadowBlur: 12,
31
+ shadowOffsetX: 0,
32
+ shadowOffsetY: 4,
33
+ shadowColor: {
46
34
  type: "palette",
47
- key: "sliderRailColor"
35
+ key: "shadowColor"
48
36
  }
49
37
  }
50
- },
51
- handler: handlerTheme
52
- })
38
+ }
39
+ });
40
+ };
41
+
42
+ exports.colorLegend = {
43
+ horizontal: getColorLegendTheme(!0),
44
+ vertical: getColorLegendTheme(!1)
53
45
  };
54
46
  //# sourceMappingURL=color-legend.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/legend/color-legend.ts"],"names":[],"mappings":";;;AACA,6CAA+D;AAE/D,MAAM,YAAY,GAAsC;IACtD,KAAK,EAAE;QACL,UAAU,EAAE,QAAQ;QACpB,SAAS,EAAE,CAAC;QACZ,WAAW,EAAE;YACX,SAAS,EAAE,CAAC;YACZ,QAAQ,EAAE,GAAG;YACb,MAAM,EAAE,SAAS;SAClB;QACD,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,CAAC;QAChB,aAAa,EAAE,CAAC;QAChB,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE;KACrD;CACF,CAAC;AAEW,QAAA,WAAW,GAAsB;IAC5C,UAAU,kCACL,4CAA+B,KAClC,IAAI,EAAE;YACJ,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,CAAC;YACT,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;aAClD;SACF,EACD,OAAO,EAAE,YAAY,GACtB;IACD,QAAQ,kCACH,4CAA+B,KAClC,IAAI,EAAE;YACJ,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,GAAG;YACX,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;aAClD;SACF,EACD,OAAO,EAAE,YAAY,GACtB;CACF,CAAC","file":"color-legend.js","sourcesContent":["import type { IColorLegendTheme, IContinuousLegendTheme } from '../../../../../component/legend';\nimport { DEFAULT_CONTINUOUS_LEGEND_THEME } from './continuous';\n\nconst handlerTheme: IContinuousLegendTheme['handler'] = {\n style: {\n symbolType: 'circle',\n lineWidth: 0,\n outerBorder: {\n lineWidth: 2,\n distance: 0.8,\n stroke: '#ffffff'\n },\n shadowBlur: 12,\n shadowOffsetX: 0,\n shadowOffsetY: 4,\n shadowColor: { type: 'palette', key: 'shadowColor' }\n }\n};\n\nexport const colorLegend: IColorLegendTheme = {\n horizontal: {\n ...DEFAULT_CONTINUOUS_LEGEND_THEME,\n rail: {\n width: 200,\n height: 8,\n style: {\n fill: { type: 'palette', key: 'sliderRailColor' }\n }\n },\n handler: handlerTheme\n },\n vertical: {\n ...DEFAULT_CONTINUOUS_LEGEND_THEME,\n rail: {\n width: 8,\n height: 200,\n style: {\n fill: { type: 'palette', key: 'sliderRailColor' }\n }\n },\n handler: handlerTheme\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/legend/color-legend.ts"],"names":[],"mappings":";;;AACA,6CAA+D;AAE/D,MAAM,mBAAmB,GAAG,CAAC,UAAoB,EAA0B,EAAE;IAC3E,MAAM,IAAI,GAAmC;QAC3C,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,CAAC;QACT,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;SAClD;KACF,CAAC;IAEF,IAAI,UAAU,EAAE;QACd,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;KACjB;SAAM;QACL,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QACf,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC;KACnB;IAED,uCACK,4CAA+B,KAClC,IAAI,EACJ,OAAO,EAAE;YACP,KAAK,EAAE;gBACL,UAAU,EAAE,QAAQ;gBACpB,SAAS,EAAE,CAAC;gBACZ,WAAW,EAAE;oBACX,SAAS,EAAE,CAAC;oBACZ,QAAQ,EAAE,GAAG;oBACb,MAAM,EAAE,SAAS;iBAClB;gBACD,UAAU,EAAE,EAAE;gBACd,aAAa,EAAE,CAAC;gBAChB,aAAa,EAAE,CAAC;gBAChB,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE;aACrD;SACF,IACD;AACJ,CAAC,CAAC;AAEW,QAAA,WAAW,GAAsB;IAC5C,UAAU,EAAE,mBAAmB,CAAC,IAAI,CAAC;IACrC,QAAQ,EAAE,mBAAmB,CAAC,KAAK,CAAC;CACrC,CAAC","file":"color-legend.js","sourcesContent":["import type { IColorLegendTheme, IContinuousLegendTheme } from '../../../../../component/legend';\nimport { DEFAULT_CONTINUOUS_LEGEND_THEME } from './continuous';\n\nconst getColorLegendTheme = (horizontal?: boolean): IContinuousLegendTheme => {\n const rail: IContinuousLegendTheme['rail'] = {\n width: 200,\n height: 8,\n style: {\n fill: { type: 'palette', key: 'sliderRailColor' }\n }\n };\n\n if (horizontal) {\n rail.width = 200;\n rail.height = 8;\n } else {\n rail.width = 8;\n rail.height = 200;\n }\n\n return {\n ...DEFAULT_CONTINUOUS_LEGEND_THEME,\n rail,\n handler: {\n style: {\n symbolType: 'circle',\n lineWidth: 0,\n outerBorder: {\n lineWidth: 2,\n distance: 0.8,\n stroke: '#ffffff'\n },\n shadowBlur: 12,\n shadowOffsetX: 0,\n shadowOffsetY: 4,\n shadowColor: { type: 'palette', key: 'shadowColor' }\n }\n }\n };\n};\n\nexport const colorLegend: IColorLegendTheme = {\n horizontal: getColorLegendTheme(true),\n vertical: getColorLegendTheme(false)\n};\n"]}
@@ -2,7 +2,29 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
- }), exports.DEFAULT_CONTINUOUS_LEGEND_THEME = void 0, exports.DEFAULT_CONTINUOUS_LEGEND_THEME = {
5
+ }), exports.DEFAULT_CONTINUOUS_LEGEND_THEME = void 0;
6
+
7
+ const getTextTheme = () => ({
8
+ style: {
9
+ fontSize: {
10
+ type: "token",
11
+ key: "l5FontSize"
12
+ },
13
+ lineHeight: {
14
+ type: "token",
15
+ key: "l5LineHeight"
16
+ },
17
+ fontWeight: "normal",
18
+ fill: {
19
+ type: "palette",
20
+ key: "secondaryFontColor",
21
+ default: "#89909d"
22
+ }
23
+ },
24
+ space: 6
25
+ });
26
+
27
+ exports.DEFAULT_CONTINUOUS_LEGEND_THEME = {
6
28
  orient: "right",
7
29
  position: "middle",
8
30
  padding: [ 16, 24 ],
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/legend/continuous.ts"],"names":[],"mappings":";;;AAEa,QAAA,+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,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;YAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;YAElD,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,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;YAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;YAElD,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,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;YAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;YAElD,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,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;YAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;YAElD,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';\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: { type: 'token', key: 'l5FontSize' },\n lineHeight: { type: 'token', key: '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: { type: 'token', key: 'l5FontSize' },\n lineHeight: { type: 'token', key: 'l5LineHeight' },\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n },\n endText: {\n style: {\n fontSize: { type: 'token', key: 'l5FontSize' },\n lineHeight: { type: 'token', key: 'l5LineHeight' },\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n },\n handlerText: {\n style: {\n fontSize: { type: 'token', key: 'l5FontSize' },\n lineHeight: { type: 'token', key: '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":";;;AAEA,MAAM,YAAY,GAAG,GAAkB,EAAE;IACvC,OAAO;QACL,KAAK,EAAE;YACL,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;YAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;YAElD,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,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,+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,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;YAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;YAElD,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,YAAY,EAAE;IACzB,OAAO,EAAE,YAAY,EAAE;IACvB,WAAW,EAAE,YAAY,EAAE;CAC5B,CAAC","file":"continuous.js","sourcesContent":["import type { IContinuousLegendTheme, TextAttribute } from '../../../../../component/legend';\n\nconst getTextTheme = (): TextAttribute => {\n return {\n style: {\n fontSize: { type: 'token', key: 'l5FontSize' },\n lineHeight: { type: 'token', key: 'l5LineHeight' },\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n };\n};\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: { type: 'token', key: 'l5FontSize' },\n lineHeight: { type: 'token', key: 'l5LineHeight' },\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'primaryFontColor' }\n },\n space: 12\n },\n handler: {\n visible: true\n },\n startText: getTextTheme(),\n endText: getTextTheme(),\n handlerText: getTextTheme()\n};\n"]}
@@ -4,55 +4,17 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
5
  }), exports.sizeLegend = void 0;
6
6
 
7
- const continuous_1 = require("./continuous"), handlerTheme = {
8
- style: {
9
- symbolType: "circle",
10
- lineWidth: 0,
11
- outerBorder: {
12
- lineWidth: 2,
13
- distance: .8,
14
- stroke: {
15
- type: "palette",
16
- key: "sliderTrackColor"
17
- }
18
- },
19
- fill: {
20
- type: "palette",
21
- key: "sliderHandleColor"
22
- }
23
- }
24
- };
25
-
26
- exports.sizeLegend = {
27
- horizontal: Object.assign(Object.assign({}, continuous_1.DEFAULT_CONTINUOUS_LEGEND_THEME), {
28
- sizeBackground: {
7
+ const continuous_1 = require("./continuous"), getSizeLegendTheme = horizontal => {
8
+ const rail = {
9
+ style: {
29
10
  fill: {
30
11
  type: "palette",
31
- key: "dataZoomChartColor"
12
+ key: "sliderRailColor"
32
13
  }
33
- },
34
- track: {
35
- style: {
36
- fill: {
37
- type: "palette",
38
- key: "sliderTrackColor",
39
- a: .8
40
- }
41
- }
42
- },
43
- rail: {
44
- width: 200,
45
- height: 4,
46
- style: {
47
- fill: {
48
- type: "palette",
49
- key: "sliderRailColor"
50
- }
51
- }
52
- },
53
- handler: handlerTheme
54
- }),
55
- vertical: Object.assign(Object.assign({}, continuous_1.DEFAULT_CONTINUOUS_LEGEND_THEME), {
14
+ }
15
+ };
16
+ return horizontal ? (rail.width = 200, rail.height = 4) : (rail.height = 200, rail.width = 4),
17
+ Object.assign(Object.assign({}, continuous_1.DEFAULT_CONTINUOUS_LEGEND_THEME), {
56
18
  sizeBackground: {
57
19
  fill: {
58
20
  type: "palette",
@@ -68,17 +30,30 @@ exports.sizeLegend = {
68
30
  }
69
31
  }
70
32
  },
71
- rail: {
72
- width: 4,
73
- height: 200,
33
+ rail: rail,
34
+ handler: {
74
35
  style: {
36
+ symbolType: "circle",
37
+ lineWidth: 0,
38
+ outerBorder: {
39
+ lineWidth: 2,
40
+ distance: .8,
41
+ stroke: {
42
+ type: "palette",
43
+ key: "sliderTrackColor"
44
+ }
45
+ },
75
46
  fill: {
76
47
  type: "palette",
77
- key: "sliderRailColor"
48
+ key: "sliderHandleColor"
78
49
  }
79
50
  }
80
- },
81
- handler: handlerTheme
82
- })
51
+ }
52
+ });
53
+ };
54
+
55
+ exports.sizeLegend = {
56
+ horizontal: getSizeLegendTheme(!0),
57
+ vertical: getSizeLegendTheme(!1)
83
58
  };
84
59
  //# sourceMappingURL=size-legend.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/legend/size-legend.ts"],"names":[],"mappings":";;;AACA,6CAA+D;AAE/D,MAAM,YAAY,GAAsC;IACtD,KAAK,EAAE;QACL,UAAU,EAAE,QAAQ;QACpB,SAAS,EAAE,CAAC;QACZ,WAAW,EAAE;YACX,SAAS,EAAE,CAAC;YACZ,QAAQ,EAAE,GAAG;YACb,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACrD;QACD,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,mBAAmB,EAAE;KAOpD;CACF,CAAC;AAEW,QAAA,UAAU,GAAqB;IAC1C,UAAU,kCACL,4CAA+B,KAClC,cAAc,EAAE;YACd,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;SACrD,EACD,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE,CAAC,EAAE,GAAG,EAAE;aAC3D;SACF,EACD,IAAI,EAAE;YACJ,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,CAAC;YACT,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;aAClD;SACF,EACD,OAAO,EAAE,YAAY,GACtB;IACD,QAAQ,kCACH,4CAA+B,KAClC,cAAc,EAAE;YACd,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;SACrD,EACD,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE,CAAC,EAAE,GAAG,EAAE;aAC3D;SACF,EACD,IAAI,EAAE;YACJ,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,GAAG;YACX,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;aAClD;SACF,EACD,OAAO,EAAE,YAAY,GACtB;CACF,CAAC","file":"size-legend.js","sourcesContent":["import type { IContinuousLegendTheme, ISizeLegendTheme } from '../../../../../component/legend';\nimport { DEFAULT_CONTINUOUS_LEGEND_THEME } from './continuous';\n\nconst handlerTheme: IContinuousLegendTheme['handler'] = {\n style: {\n symbolType: 'circle',\n lineWidth: 0,\n outerBorder: {\n lineWidth: 2,\n distance: 0.8,\n stroke: { type: 'palette', key: 'sliderTrackColor' }\n },\n fill: { type: 'palette', key: 'sliderHandleColor' }\n /*\n shadowBlur: 12,\n shadowOffsetX: 0,\n shadowOffsetY: 4,\n shadowColor: { type: 'palette', key: 'shadowColor' }\n */\n }\n};\n\nexport const sizeLegend: ISizeLegendTheme = {\n horizontal: {\n ...DEFAULT_CONTINUOUS_LEGEND_THEME,\n sizeBackground: {\n fill: { type: 'palette', key: 'dataZoomChartColor' }\n },\n track: {\n style: {\n fill: { type: 'palette', key: 'sliderTrackColor', a: 0.8 }\n }\n },\n rail: {\n width: 200,\n height: 4,\n style: {\n fill: { type: 'palette', key: 'sliderRailColor' }\n }\n },\n handler: handlerTheme\n },\n vertical: {\n ...DEFAULT_CONTINUOUS_LEGEND_THEME,\n sizeBackground: {\n fill: { type: 'palette', key: 'dataZoomChartColor' }\n },\n track: {\n style: {\n fill: { type: 'palette', key: 'sliderTrackColor', a: 0.8 }\n }\n },\n rail: {\n width: 4,\n height: 200,\n style: {\n fill: { type: 'palette', key: 'sliderRailColor' }\n }\n },\n handler: handlerTheme\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/legend/size-legend.ts"],"names":[],"mappings":";;;AACA,6CAA+D;AAE/D,MAAM,kBAAkB,GAAG,CAAC,UAAoB,EAA0B,EAAE;IAC1E,MAAM,IAAI,GAAkC;QAC1C,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;SAClD;KACF,CAAC;IACF,IAAI,UAAU,EAAE;QACd,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;KACjB;SAAM;QACL,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC;QAClB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;KAChB;IAED,uCACK,4CAA+B,KAClC,cAAc,EAAE;YACd,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;SACrD,EACD,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE,CAAC,EAAE,GAAG,EAAE;aAC3D;SACF,EACD,IAAI,EACJ,OAAO,EAAE;YACP,KAAK,EAAE;gBACL,UAAU,EAAE,QAAQ;gBACpB,SAAS,EAAE,CAAC;gBACZ,WAAW,EAAE;oBACX,SAAS,EAAE,CAAC;oBACZ,QAAQ,EAAE,GAAG;oBACb,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;iBACrD;gBACD,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,mBAAmB,EAAE;aAOpD;SACF,IACD;AACJ,CAAC,CAAC;AAEW,QAAA,UAAU,GAAqB;IAC1C,UAAU,EAAE,kBAAkB,CAAC,IAAI,CAAC;IACpC,QAAQ,EAAE,kBAAkB,CAAC,KAAK,CAAC;CACpC,CAAC","file":"size-legend.js","sourcesContent":["import type { IContinuousLegendSpec, ISizeLegendCommonTheme, ISizeLegendTheme } from '../../../../../component/legend';\nimport { DEFAULT_CONTINUOUS_LEGEND_THEME } from './continuous';\n\nconst getSizeLegendTheme = (horizontal?: boolean): ISizeLegendCommonTheme => {\n const rail: IContinuousLegendSpec['rail'] = {\n style: {\n fill: { type: 'palette', key: 'sliderRailColor' }\n }\n };\n if (horizontal) {\n rail.width = 200;\n rail.height = 4;\n } else {\n rail.height = 200;\n rail.width = 4;\n }\n\n return {\n ...DEFAULT_CONTINUOUS_LEGEND_THEME,\n sizeBackground: {\n fill: { type: 'palette', key: 'dataZoomChartColor' }\n },\n track: {\n style: {\n fill: { type: 'palette', key: 'sliderTrackColor', a: 0.8 }\n }\n },\n rail,\n handler: {\n style: {\n symbolType: 'circle',\n lineWidth: 0,\n outerBorder: {\n lineWidth: 2,\n distance: 0.8,\n stroke: { type: 'palette', key: 'sliderTrackColor' }\n },\n fill: { type: 'palette', key: 'sliderHandleColor' }\n /*\n shadowBlur: 12,\n shadowOffsetX: 0,\n shadowOffsetY: 4,\n shadowColor: { type: 'palette', key: 'shadowColor' }\n */\n }\n }\n };\n};\n\nexport const sizeLegend: ISizeLegendTheme = {\n horizontal: getSizeLegendTheme(true),\n vertical: getSizeLegendTheme(false)\n};\n"]}
@@ -2,7 +2,22 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
- }), exports.mapLabel = void 0, exports.mapLabel = {
5
+ }), exports.mapLabel = void 0;
6
+
7
+ const getLabelTheme = () => ({
8
+ visible: !0,
9
+ style: {
10
+ textBaseline: "middle",
11
+ textAlign: "left",
12
+ fill: "black",
13
+ fontSize: {
14
+ type: "token",
15
+ key: "l6FontSize"
16
+ }
17
+ }
18
+ });
19
+
20
+ exports.mapLabel = {
6
21
  visible: !0,
7
22
  offset: 12,
8
23
  position: "top",
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/map-label.ts"],"names":[],"mappings":";;;AAEa,QAAA,QAAQ,GAAmB;IACtC,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,KAAK;IACf,KAAK,EAAE,EAAE;IACT,SAAS,EAAE;QACT,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,MAAM;YACjB,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;SAC/C;KACF;IACD,UAAU,EAAE;QACV,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,MAAM;YACjB,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;SAC/C;KACF;IACD,UAAU,EAAE;QACV,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;QACjD,KAAK,EAAE;YACL,YAAY,EAAE,CAAC;YACf,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,MAAM;SACf;KACF;IACD,MAAM,EAAE;QACN,OAAO,EAAE,KAAK;QACd,KAAK,EAAE;YACL,SAAS,EAAE,CAAC;YACZ,MAAM,EAAE,KAAK;SACd;KACF;CACF,CAAC","file":"map-label.js","sourcesContent":["import type { IMapLabelTheme } from '../../../../component/map-label';\n\nexport const mapLabel: IMapLabelTheme = {\n visible: true,\n offset: 12,\n position: 'top',\n space: 10,\n nameLabel: {\n visible: true,\n style: {\n textBaseline: 'middle',\n textAlign: 'left',\n fill: 'black',\n fontSize: { type: 'token', key: 'l6FontSize' }\n }\n },\n valueLabel: {\n visible: true,\n style: {\n textBaseline: 'middle',\n textAlign: 'left',\n fill: 'black',\n fontSize: { type: 'token', key: 'l6FontSize' }\n }\n },\n background: {\n visible: true,\n padding: { top: 4, bottom: 4, left: 6, right: 6 },\n style: {\n cornerRadius: 2,\n lineWidth: 1,\n fill: 'white',\n stroke: 'grey'\n }\n },\n leader: {\n visible: false,\n style: {\n lineWidth: 1,\n stroke: 'red'\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/map-label.ts"],"names":[],"mappings":";;;AAGA,MAAM,aAAa,GAAG,GAGpB,EAAE;IACF,OAAO;QACL,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,MAAM;YACjB,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;SAC/C;KACF,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,QAAQ,GAAmB;IACtC,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,KAAK;IACf,KAAK,EAAE,EAAE;IACT,SAAS,EAAE,aAAa,EAAE;IAC1B,UAAU,EAAE,aAAa,EAAE;IAC3B,UAAU,EAAE;QACV,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;QACjD,KAAK,EAAE;YACL,YAAY,EAAE,CAAC;YACf,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,MAAM;SACf;KACF;IACD,MAAM,EAAE;QACN,OAAO,EAAE,KAAK;QACd,KAAK,EAAE;YACL,SAAS,EAAE,CAAC;YACZ,MAAM,EAAE,KAAK;SACd;KACF;CACF,CAAC","file":"map-label.js","sourcesContent":["import type { IMapLabelTheme } from '../../../../component/map-label';\nimport type { ITextMarkSpec } from '../../../../typings/visual';\n\nconst getLabelTheme = (): {\n visible?: boolean;\n style?: ITextMarkSpec;\n} => {\n return {\n visible: true,\n style: {\n textBaseline: 'middle',\n textAlign: 'left',\n fill: 'black',\n fontSize: { type: 'token', key: 'l6FontSize' }\n }\n };\n};\n\nexport const mapLabel: IMapLabelTheme = {\n visible: true,\n offset: 12,\n position: 'top',\n space: 10,\n nameLabel: getLabelTheme(),\n valueLabel: getLabelTheme(),\n background: {\n visible: true,\n padding: { top: 4, bottom: 4, left: 6, right: 6 },\n style: {\n cornerRadius: 2,\n lineWidth: 1,\n fill: 'white',\n stroke: 'grey'\n }\n },\n leader: {\n visible: false,\n style: {\n lineWidth: 1,\n stroke: 'red'\n }\n }\n};\n"]}
@@ -2,7 +2,23 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
- }), exports.markLine = void 0, exports.markLine = {
5
+ }), exports.markLine = void 0;
6
+
7
+ const getSymbolTheme = visible => ({
8
+ visible: visible,
9
+ symbolType: "triangle",
10
+ size: 10,
11
+ style: {
12
+ fill: {
13
+ type: "palette",
14
+ key: "markLineStrokeColor"
15
+ },
16
+ stroke: null,
17
+ lineWidth: 0
18
+ }
19
+ });
20
+
21
+ exports.markLine = {
6
22
  line: {
7
23
  style: {
8
24
  lineDash: [ 3, 3 ],
@@ -12,32 +28,8 @@ Object.defineProperty(exports, "__esModule", {
12
28
  }
13
29
  }
14
30
  },
15
- startSymbol: {
16
- visible: !1,
17
- symbolType: "triangle",
18
- size: 10,
19
- style: {
20
- fill: {
21
- type: "palette",
22
- key: "markLineStrokeColor"
23
- },
24
- stroke: null,
25
- lineWidth: 0
26
- }
27
- },
28
- endSymbol: {
29
- visible: !0,
30
- symbolType: "triangle",
31
- size: 10,
32
- style: {
33
- fill: {
34
- type: "palette",
35
- key: "markLineStrokeColor"
36
- },
37
- stroke: null,
38
- lineWidth: 0
39
- }
40
- },
31
+ startSymbol: getSymbolTheme(!1),
32
+ endSymbol: getSymbolTheme(!0),
41
33
  label: {
42
34
  refY: 5,
43
35
  style: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/mark-line.ts"],"names":[],"mappings":";;;AAEa,QAAA,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,qBAAqB,EAAE;SACxD;KACF;IACD,WAAW,EAAE;QACX,OAAO,EAAE,KAAK;QACd,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,EAAE;QACR,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,qBAAqB,EAAE;YACrD,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,CAAC;SACb;KACF;IACD,SAAS,EAAE;QACT,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,EAAE;QACR,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,qBAAqB,EAAE;YACrD,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,CAAC;SACb;KACF;IACD,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;QACP,KAAK,EAAE;YACL,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;YAC9C,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';\n\nexport const markLine: IMarkLineTheme = {\n line: {\n style: {\n lineDash: [3, 3],\n stroke: { type: 'palette', key: 'markLineStrokeColor' }\n }\n },\n startSymbol: {\n visible: false,\n symbolType: 'triangle',\n size: 10,\n style: {\n fill: { type: 'palette', key: 'markLineStrokeColor' },\n stroke: null,\n lineWidth: 0\n }\n },\n endSymbol: {\n visible: true,\n symbolType: 'triangle',\n size: 10,\n style: {\n fill: { type: 'palette', key: 'markLineStrokeColor' },\n stroke: null,\n lineWidth: 0\n }\n },\n label: {\n refY: 5,\n style: {\n fontSize: { type: 'token', key: 'l4FontSize' },\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"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/mark-line.ts"],"names":[],"mappings":";;;AAGA,MAAM,cAAc,GAAG,CAAC,OAAiB,EAAiB,EAAE;IAC1D,OAAO;QACL,OAAO;QACP,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,EAAE;QACR,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,qBAAqB,EAAE;YACrD,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,CAAC;SACb;KACF,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,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,qBAAqB,EAAE;SACxD;KACF;IACD,WAAW,EAAE,cAAc,CAAC,KAAK,CAAC;IAClC,SAAS,EAAE,cAAc,CAAC,IAAI,CAAC;IAC/B,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;QACP,KAAK,EAAE;YACL,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;YAC9C,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 { IMarkerSymbol } from '../../../../component/marker/interface';\nimport type { IMarkLineTheme } from '../../../../component/marker/mark-line/interface';\n\nconst getSymbolTheme = (visible?: boolean): IMarkerSymbol => {\n return {\n visible,\n symbolType: 'triangle',\n size: 10,\n style: {\n fill: { type: 'palette', key: 'markLineStrokeColor' },\n stroke: null,\n lineWidth: 0\n }\n };\n};\n\nexport const markLine: IMarkLineTheme = {\n line: {\n style: {\n lineDash: [3, 3],\n stroke: { type: 'palette', key: 'markLineStrokeColor' }\n }\n },\n startSymbol: getSymbolTheme(false),\n endSymbol: getSymbolTheme(true),\n label: {\n refY: 5,\n style: {\n fontSize: { type: 'token', key: 'l4FontSize' },\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"]}
@@ -2,7 +2,35 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
- }), exports.player = void 0, exports.player = {
5
+ }), exports.player = void 0;
6
+
7
+ const getDirectionTheme = position => ({
8
+ order: 0,
9
+ space: 10,
10
+ position: "start",
11
+ style: {
12
+ size: 12,
13
+ fill: {
14
+ type: "palette",
15
+ key: "playerControllerColor"
16
+ },
17
+ fillOpacity: .8
18
+ }
19
+ }), getPlayTheme = () => ({
20
+ order: 0,
21
+ space: 10,
22
+ position: "start",
23
+ style: {
24
+ size: 12,
25
+ fill: {
26
+ type: "palette",
27
+ key: "playerControllerColor"
28
+ },
29
+ fillOpacity: .8
30
+ }
31
+ });
32
+
33
+ exports.player = {
6
34
  visible: !0,
7
35
  position: "start",
8
36
  padding: {
@@ -40,9 +68,10 @@ Object.defineProperty(exports, "__esModule", {
40
68
  controller: {
41
69
  start: {
42
70
  order: 0,
43
- space: 0,
71
+ space: 10,
72
+ position: "start",
44
73
  style: {
45
- size: 25,
74
+ size: 12,
46
75
  fill: {
47
76
  type: "palette",
48
77
  key: "playerControllerColor"
@@ -52,9 +81,10 @@ Object.defineProperty(exports, "__esModule", {
52
81
  },
53
82
  pause: {
54
83
  order: 0,
55
- space: 0,
84
+ space: 10,
85
+ position: "start",
56
86
  style: {
57
- size: 25,
87
+ size: 12,
58
88
  fill: {
59
89
  type: "palette",
60
90
  key: "playerControllerColor"
@@ -78,7 +108,7 @@ Object.defineProperty(exports, "__esModule", {
78
108
  forward: {
79
109
  order: 0,
80
110
  space: 10,
81
- position: "end",
111
+ position: "start",
82
112
  style: {
83
113
  size: 12,
84
114
  fill: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/player.ts"],"names":[],"mappings":";;;AAEa,QAAA,MAAM,GAAiB;IAClC,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,OAAO;IACjB,OAAO,EAAE;QACP,GAAG,EAAE,EAAE;QACP,MAAM,EAAE,EAAE;KACX;IACD,MAAM,EAAE;QACN,KAAK,EAAE,EAAE;QACT,UAAU,EAAE;YACV,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;YAClD,WAAW,EAAE,GAAG;SACjB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;SAClD;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,EAAE;YACR,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;YACnD,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;SACxD;KACF;IACD,UAAU,EAAE;QACV,KAAK,EAAE;YACL,KAAK,EAAE,CAAC;YACR,KAAK,EAAE,CAAC;YACR,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;gBACvD,WAAW,EAAE,GAAG;aACjB;SACF;QACD,KAAK,EAAE;YACL,KAAK,EAAE,CAAC;YACR,KAAK,EAAE,CAAC;YACR,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;gBACvD,WAAW,EAAE,GAAG;aACjB;SACF;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,CAAC;YACR,KAAK,EAAE,EAAE;YACT,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;gBACvD,WAAW,EAAE,GAAG;aACjB;SACF;QACD,OAAO,EAAE;YACP,KAAK,EAAE,CAAC;YACR,KAAK,EAAE,EAAE;YACT,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;gBACvD,WAAW,EAAE,GAAG;aACjB;SACF;KACF;CACF,CAAC","file":"player.js","sourcesContent":["import type { IPlayerTheme } from '../../../../component/player';\n\nexport const player: IPlayerTheme = {\n visible: true,\n position: 'start',\n padding: {\n top: 20,\n bottom: 20\n },\n slider: {\n space: 10,\n trackStyle: {\n fill: { type: 'palette', key: 'sliderTrackColor' },\n fillOpacity: 0.8\n },\n railStyle: {\n fill: { type: 'palette', key: 'sliderRailColor' }\n },\n handlerStyle: {\n size: 15,\n stroke: { type: 'palette', key: 'backgroundColor' },\n lineWidth: 2,\n fill: { type: 'palette', key: 'playerControllerColor' }\n }\n },\n controller: {\n start: {\n order: 0,\n space: 0,\n style: {\n size: 25,\n fill: { type: 'palette', key: 'playerControllerColor' },\n fillOpacity: 0.8\n }\n },\n pause: {\n order: 0,\n space: 0,\n style: {\n size: 25,\n fill: { type: 'palette', key: 'playerControllerColor' },\n fillOpacity: 0.8\n }\n },\n backward: {\n order: 0,\n space: 10,\n position: 'start',\n style: {\n size: 12,\n fill: { type: 'palette', key: 'playerControllerColor' },\n fillOpacity: 0.8\n }\n },\n forward: {\n order: 0,\n space: 10,\n position: 'end',\n style: {\n size: 12,\n fill: { type: 'palette', key: 'playerControllerColor' },\n fillOpacity: 0.8\n }\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/player.ts"],"names":[],"mappings":";;;AAEA,MAAM,iBAAiB,GAAG,CAAC,QAAyB,EAAyC,EAAE;IAC7F,OAAO;QACL,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,EAAE;QACT,QAAQ,EAAE,OAAO;QACjB,KAAK,EAAE;YACL,IAAI,EAAE,EAAE;YACR,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;YACvD,WAAW,EAAE,GAAG;SACjB;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,GAAwC,EAAE;IAC7D,OAAO;QACL,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,EAAE;QACT,QAAQ,EAAE,OAAO;QACjB,KAAK,EAAE;YACL,IAAI,EAAE,EAAE;YACR,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;YACvD,WAAW,EAAE,GAAG;SACjB;KACF,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,MAAM,GAAiB;IAClC,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,OAAO;IACjB,OAAO,EAAE;QACP,GAAG,EAAE,EAAE;QACP,MAAM,EAAE,EAAE;KACX;IACD,MAAM,EAAE;QACN,KAAK,EAAE,EAAE;QACT,UAAU,EAAE;YACV,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;YAClD,WAAW,EAAE,GAAG;SACjB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;SAClD;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,EAAE;YACR,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;YACnD,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;SACxD;KACF;IACD,UAAU,EAAE;QACV,KAAK,EAAE,YAAY,EAAE;QACrB,KAAK,EAAE,YAAY,EAAE;QACrB,QAAQ,EAAE,iBAAiB,CAAC,OAAO,CAAC;QACpC,OAAO,EAAE,iBAAiB,CAAC,KAAK,CAAC;KAClC;CACF,CAAC","file":"player.js","sourcesContent":["import type { IPlayerTheme } from '../../../../component/player';\n\nconst getDirectionTheme = (position: 'start' | 'end'): IPlayerTheme['controller']['forward'] => {\n return {\n order: 0,\n space: 10,\n position: 'start',\n style: {\n size: 12,\n fill: { type: 'palette', key: 'playerControllerColor' },\n fillOpacity: 0.8\n }\n };\n};\n\nconst getPlayTheme = (): IPlayerTheme['controller']['pause'] => {\n return {\n order: 0,\n space: 10,\n position: 'start',\n style: {\n size: 12,\n fill: { type: 'palette', key: 'playerControllerColor' },\n fillOpacity: 0.8\n }\n };\n};\n\nexport const player: IPlayerTheme = {\n visible: true,\n position: 'start',\n padding: {\n top: 20,\n bottom: 20\n },\n slider: {\n space: 10,\n trackStyle: {\n fill: { type: 'palette', key: 'sliderTrackColor' },\n fillOpacity: 0.8\n },\n railStyle: {\n fill: { type: 'palette', key: 'sliderRailColor' }\n },\n handlerStyle: {\n size: 15,\n stroke: { type: 'palette', key: 'backgroundColor' },\n lineWidth: 2,\n fill: { type: 'palette', key: 'playerControllerColor' }\n }\n },\n controller: {\n start: getPlayTheme(),\n pause: getPlayTheme(),\n backward: getDirectionTheme('start'),\n forward: getDirectionTheme('end')\n }\n};\n"]}
@@ -2,7 +2,18 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
- }), exports.scrollBar = void 0, exports.scrollBar = {
5
+ }), exports.scrollBar = void 0;
6
+
7
+ const getSlider = () => ({
8
+ style: {
9
+ fill: {
10
+ type: "palette",
11
+ key: "scrollBarSliderColor"
12
+ }
13
+ }
14
+ });
15
+
16
+ exports.scrollBar = {
6
17
  horizontal: {
7
18
  height: 10,
8
19
  slider: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/scroll-bar.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAoB;IACxC,UAAU,EAAE;QACV,MAAM,EAAE,EAAE;QACV,MAAM,EAAE;YACN,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,sBAAsB,EAAE;aACvD;SACF;KACF;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,EAAE;QACT,MAAM,EAAE;YACN,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,sBAAsB,EAAE;aACvD;SACF;KACF;CACF,CAAC","file":"scroll-bar.js","sourcesContent":["import type { IScrollBarTheme } from '../../../../component/data-zoom';\n\nexport const scrollBar: IScrollBarTheme = {\n horizontal: {\n height: 10,\n slider: {\n style: {\n fill: { type: 'palette', key: 'scrollBarSliderColor' }\n }\n }\n },\n vertical: {\n width: 10,\n slider: {\n style: {\n fill: { type: 'palette', key: 'scrollBarSliderColor' }\n }\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/scroll-bar.ts"],"names":[],"mappings":";;;AAEA,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO;QACL,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,sBAAsB,EAAE;SACvD;KACF,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,SAAS,GAAoB;IACxC,UAAU,EAAE;QACV,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,SAAS,EAAE;KACpB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,SAAS,EAAE;KACpB;CACF,CAAC","file":"scroll-bar.js","sourcesContent":["import type { IScrollBarTheme } from '../../../../component/data-zoom';\n\nconst getSlider = () => {\n return {\n style: {\n fill: { type: 'palette', key: 'scrollBarSliderColor' }\n }\n };\n};\n\nexport const scrollBar: IScrollBarTheme = {\n horizontal: {\n height: 10,\n slider: getSlider()\n },\n vertical: {\n width: 10,\n slider: getSlider()\n }\n};\n"]}
@@ -2,7 +2,27 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
- }), exports.tooltip = void 0, exports.tooltip = {
5
+ }), exports.tooltip = void 0;
6
+
7
+ const getTitleLabelTheme = () => ({
8
+ fontSize: {
9
+ type: "token",
10
+ key: "l4FontSize"
11
+ },
12
+ lineHeight: {
13
+ type: "token",
14
+ key: "l4LineHeight"
15
+ },
16
+ fontColor: {
17
+ type: "palette",
18
+ key: "primaryFontColor"
19
+ },
20
+ fontWeight: "bold",
21
+ textBaseline: "middle",
22
+ spacing: 0
23
+ });
24
+
25
+ exports.tooltip = {
6
26
  offset: {
7
27
  x: 10,
8
28
  y: 10
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/tooltip.ts"],"names":[],"mappings":";;;AAGa,QAAA,OAAO,GAAsC;IACxD,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,sBAAsB,EAAE;QACjE,MAAM,EAAE;YACN,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,sBAAsB,EAAE;YACvD,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;SAC/C;KACF;IACD,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;QAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;QAElD,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;QACvD,UAAU,EAAE,MAAM;QAClB,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,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;QAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;QAElD,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;QACzD,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,EAAE;KACZ;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;QAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;QAElD,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 type { IColorKey } from '../../../color-scheme';\n\nexport const tooltip: ITooltipTheme<string | IColorKey> = {\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: 'popupBackgroundColor' },\n border: {\n color: { type: 'palette', key: 'popupBackgroundColor' },\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' }\n }\n },\n spaceRow: 6,\n titleLabel: {\n fontSize: { type: 'token', key: 'l4FontSize' },\n lineHeight: { type: 'token', key: 'l4LineHeight' },\n\n fontColor: { type: 'palette', key: 'primaryFontColor' },\n fontWeight: 'bold',\n textBaseline: 'middle',\n spacing: 0\n },\n shape: {\n size: 8,\n spacing: 6\n },\n keyLabel: {\n fontSize: { type: 'token', key: 'l4FontSize' },\n lineHeight: { type: 'token', key: 'l4LineHeight' },\n\n fontColor: { type: 'palette', key: 'secondaryFontColor' },\n textBaseline: 'middle',\n spacing: 26\n },\n valueLabel: {\n fontSize: { type: 'token', key: 'l4FontSize' },\n lineHeight: { type: 'token', key: 'l4LineHeight' },\n\n fontColor: { type: 'palette', key: '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":";;;AAGA,MAAM,kBAAkB,GAAG,GAA0C,EAAE;IACrE,OAAO;QACL,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;QAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;QAElD,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;QACvD,UAAU,EAAE,MAAM;QAClB,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,CAAC;KACX,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,OAAO,GAAsC;IACxD,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,sBAAsB,EAAE;QACjE,MAAM,EAAE;YACN,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,sBAAsB,EAAE;YACvD,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;SAC/C;KACF;IACD,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE,kBAAkB,EAAE;IAChC,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;QACP,OAAO,EAAE,CAAC;KACX;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;QAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;QAElD,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;QACzD,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,EAAE;KACZ;IACD,UAAU,EAAE,kBAAkB,EAAE;CACjC,CAAC","file":"tooltip.js","sourcesContent":["import type { ITooltipTextTheme, ITooltipTheme } from '../../../../component/tooltip/interface';\nimport type { IColorKey } from '../../../color-scheme';\n\nconst getTitleLabelTheme = (): ITooltipTextTheme<string | IColorKey> => {\n return {\n fontSize: { type: 'token', key: 'l4FontSize' },\n lineHeight: { type: 'token', key: 'l4LineHeight' },\n\n fontColor: { type: 'palette', key: 'primaryFontColor' },\n fontWeight: 'bold',\n textBaseline: 'middle',\n spacing: 0\n };\n};\n\nexport const tooltip: ITooltipTheme<string | IColorKey> = {\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: 'popupBackgroundColor' },\n border: {\n color: { type: 'palette', key: 'popupBackgroundColor' },\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' }\n }\n },\n spaceRow: 6,\n titleLabel: getTitleLabelTheme(),\n shape: {\n size: 8,\n spacing: 6\n },\n keyLabel: {\n fontSize: { type: 'token', key: 'l4FontSize' },\n lineHeight: { type: 'token', key: 'l4LineHeight' },\n\n fontColor: { type: 'palette', key: 'secondaryFontColor' },\n textBaseline: 'middle',\n spacing: 26\n },\n valueLabel: getTitleLabelTheme()\n};\n"]}
@@ -1,2 +1,3 @@
1
- import type { IFunnelSeriesTheme } from '../../../../series/funnel/interface';
1
+ import type { IFunnel3dSeriesTheme, IFunnelSeriesTheme } from '../../../../series/funnel/interface';
2
2
  export declare const funnel: IFunnelSeriesTheme;
3
+ export declare const funnel3d: IFunnel3dSeriesTheme;