@visactor/vseed 0.3.14 → 0.4.0

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 (506) hide show
  1. package/dist/cjs/index.cjs +1 -1
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/esm/builder/builder/builder.d.ts +3551 -25203
  4. package/dist/esm/builder/register/all.js +7 -1
  5. package/dist/esm/builder/register/all.js.map +1 -1
  6. package/dist/esm/builder/register/chartType/circlePacking.d.ts +5 -0
  7. package/dist/esm/builder/register/chartType/circlePacking.js +9 -0
  8. package/dist/esm/builder/register/chartType/circlePacking.js.map +1 -0
  9. package/dist/esm/builder/register/chartType/index.d.ts +6 -0
  10. package/dist/esm/builder/register/chartType/index.js +7 -1
  11. package/dist/esm/builder/register/chartType/raceBar.d.ts +5 -0
  12. package/dist/esm/builder/register/chartType/raceBar.js +9 -0
  13. package/dist/esm/builder/register/chartType/raceBar.js.map +1 -0
  14. package/dist/esm/builder/register/chartType/raceColumn.d.ts +5 -0
  15. package/dist/esm/builder/register/chartType/raceColumn.js +9 -0
  16. package/dist/esm/builder/register/chartType/raceColumn.js.map +1 -0
  17. package/dist/esm/builder/register/chartType/raceScatter.d.ts +5 -0
  18. package/dist/esm/builder/register/chartType/raceScatter.js +9 -0
  19. package/dist/esm/builder/register/chartType/raceScatter.js.map +1 -0
  20. package/dist/esm/builder/register/chartType/sunburst.d.ts +5 -0
  21. package/dist/esm/builder/register/chartType/sunburst.js +9 -0
  22. package/dist/esm/builder/register/chartType/sunburst.js.map +1 -0
  23. package/dist/esm/builder/register/chartType/treeMap.d.ts +5 -0
  24. package/dist/esm/builder/register/chartType/treeMap.js +9 -0
  25. package/dist/esm/builder/register/chartType/treeMap.js.map +1 -0
  26. package/dist/esm/dataReshape/constant.d.ts +2 -0
  27. package/dist/esm/dataReshape/constant.js +3 -1
  28. package/dist/esm/dataReshape/constant.js.map +1 -1
  29. package/dist/esm/dataReshape/unfoldDimensions.js +8 -2
  30. package/dist/esm/dataReshape/unfoldDimensions.js.map +1 -1
  31. package/dist/esm/pipeline/advanced/chart/pipeline/circlePacking.d.ts +2 -0
  32. package/dist/esm/pipeline/advanced/chart/pipeline/circlePacking.js +33 -0
  33. package/dist/esm/pipeline/advanced/chart/pipeline/circlePacking.js.map +1 -0
  34. package/dist/esm/pipeline/advanced/chart/pipeline/index.d.ts +6 -0
  35. package/dist/esm/pipeline/advanced/chart/pipeline/index.js +7 -1
  36. package/dist/esm/pipeline/advanced/chart/pipeline/raceBar.d.ts +2 -0
  37. package/dist/esm/pipeline/advanced/chart/pipeline/raceBar.js +36 -0
  38. package/dist/esm/pipeline/advanced/chart/pipeline/raceBar.js.map +1 -0
  39. package/dist/esm/pipeline/advanced/chart/pipeline/raceColumn.d.ts +2 -0
  40. package/dist/esm/pipeline/advanced/chart/pipeline/raceColumn.js +37 -0
  41. package/dist/esm/pipeline/advanced/chart/pipeline/raceColumn.js.map +1 -0
  42. package/dist/esm/pipeline/advanced/chart/pipeline/raceScatter.d.ts +2 -0
  43. package/dist/esm/pipeline/advanced/chart/pipeline/raceScatter.js +31 -0
  44. package/dist/esm/pipeline/advanced/chart/pipeline/raceScatter.js.map +1 -0
  45. package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js +1 -3
  46. package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js.map +1 -1
  47. package/dist/esm/pipeline/advanced/chart/pipeline/sunburst.d.ts +2 -0
  48. package/dist/esm/pipeline/advanced/chart/pipeline/sunburst.js +33 -0
  49. package/dist/esm/pipeline/advanced/chart/pipeline/sunburst.js.map +1 -0
  50. package/dist/esm/pipeline/advanced/chart/pipeline/treeMap.d.ts +2 -0
  51. package/dist/esm/pipeline/advanced/chart/pipeline/treeMap.js +33 -0
  52. package/dist/esm/pipeline/advanced/chart/pipeline/treeMap.js.map +1 -0
  53. package/dist/esm/pipeline/advanced/chart/pipes/config/circlePacking.d.ts +2 -0
  54. package/dist/esm/pipeline/advanced/chart/pipes/config/circlePacking.js +27 -0
  55. package/dist/esm/pipeline/advanced/chart/pipes/config/circlePacking.js.map +1 -0
  56. package/dist/esm/pipeline/advanced/chart/pipes/config/index.d.ts +3 -0
  57. package/dist/esm/pipeline/advanced/chart/pipes/config/index.js +4 -1
  58. package/dist/esm/pipeline/advanced/chart/pipes/config/index.js.map +1 -1
  59. package/dist/esm/pipeline/advanced/chart/pipes/config/sunburst.d.ts +2 -0
  60. package/dist/esm/pipeline/advanced/chart/pipes/config/sunburst.js +27 -0
  61. package/dist/esm/pipeline/advanced/chart/pipes/config/sunburst.js.map +1 -0
  62. package/dist/esm/pipeline/advanced/chart/pipes/config/treeMap.d.ts +2 -0
  63. package/dist/esm/pipeline/advanced/chart/pipes/config/treeMap.js +27 -0
  64. package/dist/esm/pipeline/advanced/chart/pipes/config/treeMap.js.map +1 -0
  65. package/dist/esm/pipeline/advanced/chart/pipes/encoding/hierarchy.d.ts +3 -0
  66. package/dist/esm/pipeline/advanced/chart/pipes/encoding/hierarchy.js +75 -0
  67. package/dist/esm/pipeline/advanced/chart/pipes/encoding/hierarchy.js.map +1 -0
  68. package/dist/esm/pipeline/advanced/chart/pipes/encoding/index.d.ts +4 -0
  69. package/dist/esm/pipeline/advanced/chart/pipes/encoding/index.js +5 -1
  70. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceBar.d.ts +3 -0
  71. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceBar.js +81 -0
  72. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceBar.js.map +1 -0
  73. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceColumn.d.ts +3 -0
  74. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceColumn.js +81 -0
  75. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceColumn.js.map +1 -0
  76. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceScatter.d.ts +3 -0
  77. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceScatter.js +83 -0
  78. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceScatter.js.map +1 -0
  79. package/dist/esm/pipeline/advanced/chart/pipes/encoding/rose.js.map +1 -1
  80. package/dist/esm/pipeline/advanced/chart/pipes/reshape/index.d.ts +2 -0
  81. package/dist/esm/pipeline/advanced/chart/pipes/reshape/index.js +3 -1
  82. package/dist/esm/pipeline/spec/chart/index.d.ts +1 -0
  83. package/dist/esm/pipeline/spec/chart/index.js +1 -0
  84. package/dist/esm/pipeline/spec/chart/pipeline/area.js +2 -2
  85. package/dist/esm/pipeline/spec/chart/pipeline/area.js.map +1 -1
  86. package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js +2 -2
  87. package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js.map +1 -1
  88. package/dist/esm/pipeline/spec/chart/pipeline/bar.js +2 -2
  89. package/dist/esm/pipeline/spec/chart/pipeline/bar.js.map +1 -1
  90. package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js +2 -2
  91. package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js.map +1 -1
  92. package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js +2 -2
  93. package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js.map +1 -1
  94. package/dist/esm/pipeline/spec/chart/pipeline/circlePacking.d.ts +1 -0
  95. package/dist/esm/pipeline/spec/chart/pipeline/circlePacking.js +34 -0
  96. package/dist/esm/pipeline/spec/chart/pipeline/circlePacking.js.map +1 -0
  97. package/dist/esm/pipeline/spec/chart/pipeline/column.js +2 -2
  98. package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
  99. package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js +2 -2
  100. package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js.map +1 -1
  101. package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js +2 -2
  102. package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js.map +1 -1
  103. package/dist/esm/pipeline/spec/chart/pipeline/donut.js +2 -2
  104. package/dist/esm/pipeline/spec/chart/pipeline/donut.js.map +1 -1
  105. package/dist/esm/pipeline/spec/chart/pipeline/funnel.js +2 -2
  106. package/dist/esm/pipeline/spec/chart/pipeline/funnel.js.map +1 -1
  107. package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js +2 -2
  108. package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js.map +1 -1
  109. package/dist/esm/pipeline/spec/chart/pipeline/index.d.ts +6 -0
  110. package/dist/esm/pipeline/spec/chart/pipeline/index.js +7 -1
  111. package/dist/esm/pipeline/spec/chart/pipeline/line.js +2 -2
  112. package/dist/esm/pipeline/spec/chart/pipeline/line.js.map +1 -1
  113. package/dist/esm/pipeline/spec/chart/pipeline/pie.js +2 -2
  114. package/dist/esm/pipeline/spec/chart/pipeline/pie.js.map +1 -1
  115. package/dist/esm/pipeline/spec/chart/pipeline/raceBar.d.ts +2 -0
  116. package/dist/esm/pipeline/spec/chart/pipeline/raceBar.js +26 -0
  117. package/dist/esm/pipeline/spec/chart/pipeline/raceBar.js.map +1 -0
  118. package/dist/esm/pipeline/spec/chart/pipeline/raceColumn.d.ts +2 -0
  119. package/dist/esm/pipeline/spec/chart/pipeline/raceColumn.js +26 -0
  120. package/dist/esm/pipeline/spec/chart/pipeline/raceColumn.js.map +1 -0
  121. package/dist/esm/pipeline/spec/chart/pipeline/raceScatter.d.ts +2 -0
  122. package/dist/esm/pipeline/spec/chart/pipeline/raceScatter.js +31 -0
  123. package/dist/esm/pipeline/spec/chart/pipeline/raceScatter.js.map +1 -0
  124. package/dist/esm/pipeline/spec/chart/pipeline/radar.js +2 -2
  125. package/dist/esm/pipeline/spec/chart/pipeline/radar.js.map +1 -1
  126. package/dist/esm/pipeline/spec/chart/pipeline/rose.js +2 -2
  127. package/dist/esm/pipeline/spec/chart/pipeline/rose.js.map +1 -1
  128. package/dist/esm/pipeline/spec/chart/pipeline/roseParallel.js +2 -2
  129. package/dist/esm/pipeline/spec/chart/pipeline/roseParallel.js.map +1 -1
  130. package/dist/esm/pipeline/spec/chart/pipeline/scatter.js +2 -2
  131. package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
  132. package/dist/esm/pipeline/spec/chart/pipeline/sunburst.d.ts +1 -0
  133. package/dist/esm/pipeline/spec/chart/pipeline/sunburst.js +34 -0
  134. package/dist/esm/pipeline/spec/chart/pipeline/sunburst.js.map +1 -0
  135. package/dist/esm/pipeline/spec/chart/pipeline/treeMap.d.ts +1 -0
  136. package/dist/esm/pipeline/spec/chart/pipeline/treeMap.js +37 -0
  137. package/dist/esm/pipeline/spec/chart/pipeline/treeMap.js.map +1 -0
  138. package/dist/esm/pipeline/spec/chart/pipes/axes/bandAxisStyle.js +6 -1
  139. package/dist/esm/pipeline/spec/chart/pipes/axes/bandAxisStyle.js.map +1 -1
  140. package/dist/esm/pipeline/spec/chart/pipes/axes/linearAxisStyle.js +6 -1
  141. package/dist/esm/pipeline/spec/chart/pipes/axes/linearAxisStyle.js.map +1 -1
  142. package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.js +5 -2
  143. package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.js.map +1 -1
  144. package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.js +5 -2
  145. package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.js.map +1 -1
  146. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHierarchy.d.ts +2 -0
  147. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHierarchy.js +114 -0
  148. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHierarchy.js.map +1 -0
  149. package/dist/esm/pipeline/spec/chart/pipes/dataset/index.d.ts +1 -0
  150. package/dist/esm/pipeline/spec/chart/pipes/dataset/index.js +2 -1
  151. package/dist/esm/pipeline/spec/chart/pipes/init/circlePacking.d.ts +2 -0
  152. package/dist/esm/pipeline/spec/chart/pipes/init/circlePacking.js +36 -0
  153. package/dist/esm/pipeline/spec/chart/pipes/init/circlePacking.js.map +1 -0
  154. package/dist/esm/pipeline/spec/chart/pipes/init/index.d.ts +3 -0
  155. package/dist/esm/pipeline/spec/chart/pipes/init/index.js +4 -1
  156. package/dist/esm/pipeline/spec/chart/pipes/init/scatter.js +4 -0
  157. package/dist/esm/pipeline/spec/chart/pipes/init/scatter.js.map +1 -1
  158. package/dist/esm/pipeline/spec/chart/pipes/init/sunburst.d.ts +2 -0
  159. package/dist/esm/pipeline/spec/chart/pipes/init/sunburst.js +44 -0
  160. package/dist/esm/pipeline/spec/chart/pipes/init/sunburst.js.map +1 -0
  161. package/dist/esm/pipeline/spec/chart/pipes/init/treeMap.d.ts +2 -0
  162. package/dist/esm/pipeline/spec/chart/pipes/init/treeMap.js +26 -0
  163. package/dist/esm/pipeline/spec/chart/pipes/init/treeMap.js.map +1 -0
  164. package/dist/esm/pipeline/spec/chart/pipes/label/index.d.ts +4 -0
  165. package/dist/esm/pipeline/spec/chart/pipes/label/index.js +5 -1
  166. package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
  167. package/dist/esm/pipeline/spec/chart/pipes/label/labelCirclePacking.d.ts +2 -0
  168. package/dist/esm/pipeline/spec/chart/pipes/label/labelCirclePacking.js +23 -0
  169. package/dist/esm/pipeline/spec/chart/pipes/label/labelCirclePacking.js.map +1 -0
  170. package/dist/esm/pipeline/spec/chart/pipes/label/labelSunburst.d.ts +2 -0
  171. package/dist/esm/pipeline/spec/chart/pipes/label/labelSunburst.js +26 -0
  172. package/dist/esm/pipeline/spec/chart/pipes/label/labelSunburst.js.map +1 -0
  173. package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapGroup.d.ts +2 -0
  174. package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapGroup.js +31 -0
  175. package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapGroup.js.map +1 -0
  176. package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapLeaf.d.ts +2 -0
  177. package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapLeaf.js +68 -0
  178. package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapLeaf.js.map +1 -0
  179. package/dist/esm/pipeline/spec/chart/pipes/player/index.d.ts +4 -1
  180. package/dist/esm/pipeline/spec/chart/pipes/player/index.js +4 -2
  181. package/dist/esm/pipeline/spec/chart/pipes/player/isPlayer.d.ts +2 -0
  182. package/dist/esm/pipeline/spec/chart/pipes/player/isPlayer.js +11 -0
  183. package/dist/esm/pipeline/spec/chart/pipes/player/isPlayer.js.map +1 -0
  184. package/dist/esm/pipeline/spec/chart/pipes/player/playerXY.d.ts +2 -0
  185. package/dist/esm/pipeline/spec/chart/pipes/player/playerXY.js +200 -0
  186. package/dist/esm/pipeline/spec/chart/pipes/player/playerXY.js.map +1 -0
  187. package/dist/esm/pipeline/spec/chart/pipes/player/playerYX.d.ts +2 -0
  188. package/dist/esm/pipeline/spec/chart/pipes/player/playerYX.js +183 -0
  189. package/dist/esm/pipeline/spec/chart/pipes/player/playerYX.js.map +1 -0
  190. package/dist/esm/pipeline/spec/chart/pipes/player/playerYY.d.ts +2 -0
  191. package/dist/esm/pipeline/spec/chart/pipes/player/playerYY.js +177 -0
  192. package/dist/esm/pipeline/spec/chart/pipes/player/playerYY.js.map +1 -0
  193. package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.d.ts +1 -0
  194. package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.js +2 -1
  195. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHierarchy.d.ts +2 -0
  196. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHierarchy.js +84 -0
  197. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHierarchy.js.map +1 -0
  198. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipTreeMap.d.ts +2 -0
  199. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipTreeMap.js +93 -0
  200. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipTreeMap.js.map +1 -0
  201. package/dist/esm/pipeline/spec/chart/utils/condition.d.ts +3 -0
  202. package/dist/esm/pipeline/spec/chart/utils/condition.js +7 -0
  203. package/dist/esm/pipeline/spec/chart/utils/condition.js.map +1 -0
  204. package/dist/esm/pipeline/spec/chart/utils/index.d.ts +1 -0
  205. package/dist/esm/pipeline/spec/chart/utils/index.js +1 -0
  206. package/dist/esm/pipeline/utils/chatType.d.ts +1 -1
  207. package/dist/esm/pipeline/utils/chatType.js +4 -1
  208. package/dist/esm/pipeline/utils/chatType.js.map +1 -1
  209. package/dist/esm/pipeline/utils/constant.d.ts +3 -0
  210. package/dist/esm/pipeline/utils/constant.js +3 -0
  211. package/dist/esm/pipeline/utils/constant.js.map +1 -1
  212. package/dist/esm/theme/common/player.js +2 -0
  213. package/dist/esm/theme/common/player.js.map +1 -1
  214. package/dist/esm/theme/dark/area.d.ts +156 -0
  215. package/dist/esm/theme/dark/area.js +29 -0
  216. package/dist/esm/theme/dark/area.js.map +1 -0
  217. package/dist/esm/theme/dark/bar.d.ts +238 -0
  218. package/dist/esm/theme/dark/bar.js +49 -0
  219. package/dist/esm/theme/dark/bar.js.map +1 -0
  220. package/dist/esm/theme/dark/boxPlot.d.ts +80 -0
  221. package/dist/esm/theme/dark/boxPlot.js +31 -0
  222. package/dist/esm/theme/dark/boxPlot.js.map +1 -0
  223. package/dist/esm/theme/dark/column.d.ts +411 -0
  224. package/dist/esm/theme/dark/column.js +64 -0
  225. package/dist/esm/theme/dark/column.js.map +1 -0
  226. package/dist/esm/theme/dark/dark.js +42 -283
  227. package/dist/esm/theme/dark/dark.js.map +1 -1
  228. package/dist/esm/theme/dark/dualAxis.d.ts +122 -0
  229. package/dist/esm/theme/dark/dualAxis.js +34 -0
  230. package/dist/esm/theme/dark/dualAxis.js.map +1 -0
  231. package/dist/esm/theme/dark/funnel.d.ts +64 -0
  232. package/dist/esm/theme/dark/funnel.js +22 -0
  233. package/dist/esm/theme/dark/funnel.js.map +1 -0
  234. package/dist/esm/theme/dark/heatmap.d.ts +66 -0
  235. package/dist/esm/theme/dark/heatmap.js +30 -0
  236. package/dist/esm/theme/dark/heatmap.js.map +1 -0
  237. package/dist/esm/theme/dark/hierarchy.d.ts +189 -0
  238. package/dist/esm/theme/dark/hierarchy.js +21 -0
  239. package/dist/esm/theme/dark/hierarchy.js.map +1 -0
  240. package/dist/esm/theme/dark/histogram.d.ts +252 -0
  241. package/dist/esm/theme/dark/histogram.js +29 -0
  242. package/dist/esm/theme/dark/histogram.js.map +1 -0
  243. package/dist/esm/theme/dark/line.d.ts +78 -0
  244. package/dist/esm/theme/dark/line.js +28 -0
  245. package/dist/esm/theme/dark/line.js.map +1 -0
  246. package/dist/esm/theme/dark/pie.d.ts +130 -0
  247. package/dist/esm/theme/dark/pie.js +26 -0
  248. package/dist/esm/theme/dark/pie.js.map +1 -0
  249. package/dist/esm/theme/dark/race.d.ts +717 -0
  250. package/dist/esm/theme/dark/race.js +138 -0
  251. package/dist/esm/theme/dark/race.js.map +1 -0
  252. package/dist/esm/theme/dark/radar.d.ts +63 -0
  253. package/dist/esm/theme/dark/radar.js +19 -0
  254. package/dist/esm/theme/dark/radar.js.map +1 -0
  255. package/dist/esm/theme/dark/rose.d.ts +128 -0
  256. package/dist/esm/theme/dark/rose.js +25 -0
  257. package/dist/esm/theme/dark/rose.js.map +1 -0
  258. package/dist/esm/theme/dark/scatter.d.ts +345 -0
  259. package/dist/esm/theme/dark/scatter.js +50 -0
  260. package/dist/esm/theme/dark/scatter.js.map +1 -0
  261. package/dist/esm/theme/light/area.d.ts +156 -0
  262. package/dist/esm/theme/light/area.js +29 -0
  263. package/dist/esm/theme/light/area.js.map +1 -0
  264. package/dist/esm/theme/light/bar.d.ts +238 -0
  265. package/dist/esm/theme/light/bar.js +49 -0
  266. package/dist/esm/theme/light/bar.js.map +1 -0
  267. package/dist/esm/theme/light/boxPlot.d.ts +80 -0
  268. package/dist/esm/theme/light/boxPlot.js +30 -0
  269. package/dist/esm/theme/light/boxPlot.js.map +1 -0
  270. package/dist/esm/theme/light/column.d.ts +411 -0
  271. package/dist/esm/theme/light/column.js +64 -0
  272. package/dist/esm/theme/light/column.js.map +1 -0
  273. package/dist/esm/theme/light/dualAxis.d.ts +122 -0
  274. package/dist/esm/theme/light/dualAxis.js +34 -0
  275. package/dist/esm/theme/light/dualAxis.js.map +1 -0
  276. package/dist/esm/theme/light/funnel.d.ts +64 -0
  277. package/dist/esm/theme/light/funnel.js +22 -0
  278. package/dist/esm/theme/light/funnel.js.map +1 -0
  279. package/dist/esm/theme/light/heatmap.d.ts +66 -0
  280. package/dist/esm/theme/light/heatmap.js +30 -0
  281. package/dist/esm/theme/light/heatmap.js.map +1 -0
  282. package/dist/esm/theme/light/hierarchy.d.ts +189 -0
  283. package/dist/esm/theme/light/hierarchy.js +21 -0
  284. package/dist/esm/theme/light/hierarchy.js.map +1 -0
  285. package/dist/esm/theme/light/histogram.d.ts +252 -0
  286. package/dist/esm/theme/light/histogram.js +29 -0
  287. package/dist/esm/theme/light/histogram.js.map +1 -0
  288. package/dist/esm/theme/light/light.js +42 -288
  289. package/dist/esm/theme/light/light.js.map +1 -1
  290. package/dist/esm/theme/light/line.d.ts +78 -0
  291. package/dist/esm/theme/light/line.js +28 -0
  292. package/dist/esm/theme/light/line.js.map +1 -0
  293. package/dist/esm/theme/light/pie.d.ts +130 -0
  294. package/dist/esm/theme/light/pie.js +26 -0
  295. package/dist/esm/theme/light/pie.js.map +1 -0
  296. package/dist/esm/theme/light/race.d.ts +899 -0
  297. package/dist/esm/theme/light/race.js +172 -0
  298. package/dist/esm/theme/light/race.js.map +1 -0
  299. package/dist/esm/theme/light/radar.d.ts +63 -0
  300. package/dist/esm/theme/light/radar.js +19 -0
  301. package/dist/esm/theme/light/radar.js.map +1 -0
  302. package/dist/esm/theme/light/rose.d.ts +128 -0
  303. package/dist/esm/theme/light/rose.js +25 -0
  304. package/dist/esm/theme/light/rose.js.map +1 -0
  305. package/dist/esm/theme/light/scatter.d.ts +345 -0
  306. package/dist/esm/theme/light/scatter.js +50 -0
  307. package/dist/esm/theme/light/scatter.js.map +1 -0
  308. package/dist/esm/types/advancedVSeed.d.ts +35 -18880
  309. package/dist/esm/types/advancedVSeed.js.map +1 -1
  310. package/dist/esm/types/chartType/area/area.d.ts +1 -5
  311. package/dist/esm/types/chartType/area/zArea.d.ts +13 -2
  312. package/dist/esm/types/chartType/areaPercent/areaPercent.d.ts +1 -5
  313. package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +13 -2
  314. package/dist/esm/types/chartType/bar/bar.d.ts +1 -5
  315. package/dist/esm/types/chartType/bar/zBar.d.ts +13 -2
  316. package/dist/esm/types/chartType/barParallel/barParallel.d.ts +1 -5
  317. package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +13 -2
  318. package/dist/esm/types/chartType/barPercent/barPercent.d.ts +1 -5
  319. package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +13 -2
  320. package/dist/esm/types/chartType/boxPlot/zBoxPlot.d.ts +13 -2
  321. package/dist/esm/types/chartType/circlePacking/circlePacking.d.ts +85 -0
  322. package/dist/esm/types/chartType/circlePacking/circlePacking.js +0 -0
  323. package/dist/esm/types/chartType/circlePacking/index.d.ts +2 -0
  324. package/dist/esm/types/chartType/circlePacking/index.js +1 -0
  325. package/dist/esm/types/chartType/circlePacking/zCirclePacking.d.ts +263 -0
  326. package/dist/esm/types/chartType/circlePacking/zCirclePacking.js +19 -0
  327. package/dist/esm/types/chartType/circlePacking/zCirclePacking.js.map +1 -0
  328. package/dist/esm/types/chartType/column/column.d.ts +1 -5
  329. package/dist/esm/types/chartType/column/zColumn.d.ts +13 -3
  330. package/dist/esm/types/chartType/columnParallel/columnParallel.d.ts +1 -5
  331. package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +13 -3
  332. package/dist/esm/types/chartType/columnPercent/columnPercent.d.ts +1 -5
  333. package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +13 -2
  334. package/dist/esm/types/chartType/donut/donut.d.ts +1 -5
  335. package/dist/esm/types/chartType/donut/zDonut.d.ts +4 -1
  336. package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +26 -4
  337. package/dist/esm/types/chartType/funnel/funnel.d.ts +1 -5
  338. package/dist/esm/types/chartType/funnel/zFunnel.d.ts +4 -1
  339. package/dist/esm/types/chartType/heatmap/heatmap.d.ts +1 -6
  340. package/dist/esm/types/chartType/heatmap/zHeatmap.d.ts +2 -0
  341. package/dist/esm/types/chartType/histogram/zHistogram.d.ts +14 -3
  342. package/dist/esm/types/chartType/index.d.ts +6 -0
  343. package/dist/esm/types/chartType/index.js +6 -0
  344. package/dist/esm/types/chartType/line/line.d.ts +1 -5
  345. package/dist/esm/types/chartType/line/zLine.d.ts +13 -2
  346. package/dist/esm/types/chartType/pie/pie.d.ts +1 -5
  347. package/dist/esm/types/chartType/pie/zPie.d.ts +4 -1
  348. package/dist/esm/types/chartType/pivotTable/zPivotTable.d.ts +2 -0
  349. package/dist/esm/types/chartType/raceBar/index.d.ts +2 -0
  350. package/dist/esm/types/chartType/raceBar/index.js +1 -0
  351. package/dist/esm/types/chartType/raceBar/raceBar.d.ts +117 -0
  352. package/dist/esm/types/chartType/raceBar/raceBar.js +0 -0
  353. package/dist/esm/types/chartType/raceBar/zRaceBar.d.ts +1227 -0
  354. package/dist/esm/types/chartType/raceBar/zRaceBar.js +36 -0
  355. package/dist/esm/types/chartType/raceBar/zRaceBar.js.map +1 -0
  356. package/dist/esm/types/chartType/raceColumn/index.d.ts +2 -0
  357. package/dist/esm/types/chartType/raceColumn/index.js +1 -0
  358. package/dist/esm/types/chartType/raceColumn/raceColumn.d.ts +31 -0
  359. package/dist/esm/types/chartType/raceColumn/raceColumn.js +0 -0
  360. package/dist/esm/types/chartType/raceColumn/zRaceColumn.d.ts +1227 -0
  361. package/dist/esm/types/chartType/raceColumn/zRaceColumn.js +36 -0
  362. package/dist/esm/types/chartType/raceColumn/zRaceColumn.js.map +1 -0
  363. package/dist/esm/types/chartType/raceScatter/index.d.ts +2 -0
  364. package/dist/esm/types/chartType/raceScatter/index.js +1 -0
  365. package/dist/esm/types/chartType/raceScatter/raceScatter.d.ts +41 -0
  366. package/dist/esm/types/chartType/raceScatter/raceScatter.js +0 -0
  367. package/dist/esm/types/chartType/raceScatter/zRaceScatter.d.ts +1428 -0
  368. package/dist/esm/types/chartType/raceScatter/zRaceScatter.js +35 -0
  369. package/dist/esm/types/chartType/raceScatter/zRaceScatter.js.map +1 -0
  370. package/dist/esm/types/chartType/radar/radar.d.ts +1 -5
  371. package/dist/esm/types/chartType/radar/zRadar.d.ts +4 -1
  372. package/dist/esm/types/chartType/rose/rose.d.ts +1 -6
  373. package/dist/esm/types/chartType/rose/zRose.d.ts +4 -1
  374. package/dist/esm/types/chartType/roseParallel/roseParallel.d.ts +1 -6
  375. package/dist/esm/types/chartType/roseParallel/zRoseParallel.d.ts +4 -1
  376. package/dist/esm/types/chartType/scatter/scatter.d.ts +1 -5
  377. package/dist/esm/types/chartType/scatter/zScatter.d.ts +14 -3
  378. package/dist/esm/types/chartType/sunburst/index.d.ts +2 -0
  379. package/dist/esm/types/chartType/sunburst/index.js +1 -0
  380. package/dist/esm/types/chartType/sunburst/sunburst.d.ts +86 -0
  381. package/dist/esm/types/chartType/sunburst/sunburst.js +0 -0
  382. package/dist/esm/types/chartType/sunburst/zSunburst.d.ts +263 -0
  383. package/dist/esm/types/chartType/sunburst/zSunburst.js +19 -0
  384. package/dist/esm/types/chartType/sunburst/zSunburst.js.map +1 -0
  385. package/dist/esm/types/chartType/table/zTable.d.ts +2 -0
  386. package/dist/esm/types/chartType/treeMap/index.d.ts +2 -0
  387. package/dist/esm/types/chartType/treeMap/index.js +1 -0
  388. package/dist/esm/types/chartType/treeMap/treeMap.d.ts +85 -0
  389. package/dist/esm/types/chartType/treeMap/treeMap.js +0 -0
  390. package/dist/esm/types/chartType/treeMap/zTreeMap.d.ts +263 -0
  391. package/dist/esm/types/chartType/treeMap/zTreeMap.js +19 -0
  392. package/dist/esm/types/chartType/treeMap/zTreeMap.js.map +1 -0
  393. package/dist/esm/types/properties/chartType/chartType.d.ts +7 -1
  394. package/dist/esm/types/properties/chartType/chartType.js +7 -0
  395. package/dist/esm/types/properties/chartType/chartType.js.map +1 -1
  396. package/dist/esm/types/properties/config/annotation/index.d.ts +1 -1
  397. package/dist/esm/types/properties/config/annotation/index.js +1 -1
  398. package/dist/esm/types/properties/config/annotation/{zAnnotaion.js → zAnnotation.js} +1 -1
  399. package/dist/esm/types/properties/config/annotation/zAnnotation.js.map +1 -0
  400. package/dist/esm/types/properties/config/area.d.ts +18 -40
  401. package/dist/esm/types/properties/config/area.js +1 -3
  402. package/dist/esm/types/properties/config/area.js.map +1 -1
  403. package/dist/esm/types/properties/config/axes/bandAxis.d.ts +26 -0
  404. package/dist/esm/types/properties/config/axes/linearAxis.d.ts +30 -4
  405. package/dist/esm/types/properties/config/axes/zBandAxis.d.ts +8 -0
  406. package/dist/esm/types/properties/config/axes/zBandAxis.js +4 -0
  407. package/dist/esm/types/properties/config/axes/zBandAxis.js.map +1 -1
  408. package/dist/esm/types/properties/config/axes/zLinearAxis.d.ts +10 -2
  409. package/dist/esm/types/properties/config/axes/zLinearAxis.js +5 -1
  410. package/dist/esm/types/properties/config/axes/zLinearAxis.js.map +1 -1
  411. package/dist/esm/types/properties/config/bar.d.ts +27 -60
  412. package/dist/esm/types/properties/config/bar.js +1 -3
  413. package/dist/esm/types/properties/config/bar.js.map +1 -1
  414. package/dist/esm/types/properties/config/boxplot.d.ts +9 -1
  415. package/dist/esm/types/properties/config/boxplot.js +1 -1
  416. package/dist/esm/types/properties/config/boxplot.js.map +1 -1
  417. package/dist/esm/types/properties/config/circlePacking.d.ts +211 -0
  418. package/dist/esm/types/properties/config/circlePacking.js +18 -0
  419. package/dist/esm/types/properties/config/circlePacking.js.map +1 -0
  420. package/dist/esm/types/properties/config/column.d.ts +27 -60
  421. package/dist/esm/types/properties/config/column.js +1 -3
  422. package/dist/esm/types/properties/config/column.js.map +1 -1
  423. package/dist/esm/types/properties/config/config.d.ts +2565 -383
  424. package/dist/esm/types/properties/config/config.js +10 -0
  425. package/dist/esm/types/properties/config/config.js.map +1 -1
  426. package/dist/esm/types/properties/config/dualAxis.d.ts +24 -4
  427. package/dist/esm/types/properties/config/dualAxis.js +1 -1
  428. package/dist/esm/types/properties/config/dualAxis.js.map +1 -1
  429. package/dist/esm/types/properties/config/funnel.d.ts +0 -19
  430. package/dist/esm/types/properties/config/funnel.js +0 -2
  431. package/dist/esm/types/properties/config/funnel.js.map +1 -1
  432. package/dist/esm/types/properties/config/heatmap.d.ts +8 -19
  433. package/dist/esm/types/properties/config/heatmap.js +0 -2
  434. package/dist/esm/types/properties/config/heatmap.js.map +1 -1
  435. package/dist/esm/types/properties/config/histogram.d.ts +9 -1
  436. package/dist/esm/types/properties/config/histogram.js +1 -1
  437. package/dist/esm/types/properties/config/histogram.js.map +1 -1
  438. package/dist/esm/types/properties/config/index.d.ts +3 -0
  439. package/dist/esm/types/properties/config/index.js +3 -0
  440. package/dist/esm/types/properties/config/line.d.ts +9 -20
  441. package/dist/esm/types/properties/config/line.js +2 -4
  442. package/dist/esm/types/properties/config/line.js.map +1 -1
  443. package/dist/esm/types/properties/config/pie.d.ts +0 -57
  444. package/dist/esm/types/properties/config/pie.js +0 -2
  445. package/dist/esm/types/properties/config/pie.js.map +1 -1
  446. package/dist/esm/types/properties/config/player/player.d.ts +2 -2
  447. package/dist/esm/types/properties/config/player/zPlayer.d.ts +0 -1
  448. package/dist/esm/types/properties/config/player/zPlayer.js +0 -1
  449. package/dist/esm/types/properties/config/player/zPlayer.js.map +1 -1
  450. package/dist/esm/types/properties/config/race.d.ts +1758 -0
  451. package/dist/esm/types/properties/config/race.js +18 -0
  452. package/dist/esm/types/properties/config/race.js.map +1 -0
  453. package/dist/esm/types/properties/config/rose.d.ts +0 -38
  454. package/dist/esm/types/properties/config/rose.js +0 -2
  455. package/dist/esm/types/properties/config/rose.js.map +1 -1
  456. package/dist/esm/types/properties/config/scatter.d.ts +10 -21
  457. package/dist/esm/types/properties/config/scatter.js +1 -3
  458. package/dist/esm/types/properties/config/scatter.js.map +1 -1
  459. package/dist/esm/types/properties/config/sunburst.d.ts +211 -0
  460. package/dist/esm/types/properties/config/sunburst.js +18 -0
  461. package/dist/esm/types/properties/config/sunburst.js.map +1 -0
  462. package/dist/esm/types/properties/config/treeMap.d.ts +211 -0
  463. package/dist/esm/types/properties/config/treeMap.js +18 -0
  464. package/dist/esm/types/properties/config/treeMap.js.map +1 -0
  465. package/dist/esm/types/properties/datasetReshapeInfo/datasetReshapeInfo.d.ts +2 -0
  466. package/dist/esm/types/properties/datasetReshapeInfo/zDatasetReshapeInfo.d.ts +4 -0
  467. package/dist/esm/types/properties/datasetReshapeInfo/zDatasetReshapeInfo.js +2 -0
  468. package/dist/esm/types/properties/datasetReshapeInfo/zDatasetReshapeInfo.js.map +1 -1
  469. package/dist/esm/types/properties/dimensions/hierarchyDimension.d.ts +11 -0
  470. package/dist/esm/types/properties/dimensions/hierarchyDimension.js +0 -0
  471. package/dist/esm/types/properties/dimensions/index.d.ts +4 -0
  472. package/dist/esm/types/properties/dimensions/raceBarDimension.d.ts +17 -0
  473. package/dist/esm/types/properties/dimensions/raceBarDimension.js +0 -0
  474. package/dist/esm/types/properties/dimensions/raceColumnDimension.d.ts +20 -0
  475. package/dist/esm/types/properties/dimensions/raceColumnDimension.js +0 -0
  476. package/dist/esm/types/properties/dimensions/raceScatterDimension.d.ts +14 -0
  477. package/dist/esm/types/properties/dimensions/raceScatterDimension.js +0 -0
  478. package/dist/esm/types/properties/dimensions/zDimensions.d.ts +6 -0
  479. package/dist/esm/types/properties/dimensions/zDimensions.js +2 -11
  480. package/dist/esm/types/properties/dimensions/zDimensions.js.map +1 -1
  481. package/dist/esm/types/properties/encoding/dimensionEncoding.d.ts +1 -1
  482. package/dist/esm/types/properties/encoding/encoding.d.ts +11 -4
  483. package/dist/esm/types/properties/encoding/zDimensionEncoding.d.ts +4 -0
  484. package/dist/esm/types/properties/encoding/zDimensionEncoding.js +6 -2
  485. package/dist/esm/types/properties/encoding/zDimensionEncoding.js.map +1 -1
  486. package/dist/esm/types/properties/encoding/zEncoding.d.ts +4 -2
  487. package/dist/esm/types/properties/encoding/zEncoding.js +4 -2
  488. package/dist/esm/types/properties/encoding/zEncoding.js.map +1 -1
  489. package/dist/esm/types/properties/measures/hierarchyMeasures.d.ts +4 -0
  490. package/dist/esm/types/properties/measures/hierarchyMeasures.js +0 -0
  491. package/dist/esm/types/properties/measures/index.d.ts +2 -0
  492. package/dist/esm/types/properties/measures/raceBarMeasure.d.ts +12 -0
  493. package/dist/esm/types/properties/measures/raceBarMeasure.js +0 -0
  494. package/dist/esm/types/properties/theme/customTheme.d.ts +7184 -2820
  495. package/dist/esm/types/vseed.d.ts +2 -2
  496. package/dist/esm/types/zVseed.d.ts +5007 -172
  497. package/dist/esm/types/zVseed.js +7 -1
  498. package/dist/esm/types/zVseed.js.map +1 -1
  499. package/dist/umd/index.js +5931 -3479
  500. package/dist/umd/index.js.map +1 -1
  501. package/package.json +3 -2
  502. package/dist/esm/pipeline/spec/chart/pipes/player/playerAdapter.d.ts +0 -2
  503. package/dist/esm/pipeline/spec/chart/pipes/player/playerAdapter.js +0 -88
  504. package/dist/esm/pipeline/spec/chart/pipes/player/playerAdapter.js.map +0 -1
  505. package/dist/esm/types/properties/config/annotation/zAnnotaion.js.map +0 -1
  506. /package/dist/esm/types/properties/config/annotation/{zAnnotaion.d.ts → zAnnotation.d.ts} +0 -0
@@ -0,0 +1,29 @@
1
+ import { getLightBrushConfig, getLightColor, getLightCrosshairRect, getLightLabel, getLightLegend, getLightPivotChartGridConfig } from "../common/index.js";
2
+ import { getLightTooltip } from "../common/tooltip.js";
3
+ import { getLightAnnotation } from "../common/annotaion.js";
4
+ import { getLightLinearAxis } from "../common/axes.js";
5
+ import { getLightRegressionLine } from "../common/regressionLine.js";
6
+ const getHistogramTheme = ()=>{
7
+ const linearAxis = getLightLinearAxis();
8
+ const crosshairRect = getLightCrosshairRect();
9
+ const baseConfig = {
10
+ backgroundColor: 'transparent',
11
+ color: getLightColor(),
12
+ label: getLightLabel(),
13
+ legend: getLightLegend(),
14
+ tooltip: getLightTooltip(),
15
+ brush: getLightBrushConfig()
16
+ };
17
+ return {
18
+ ...baseConfig,
19
+ xAxis: linearAxis,
20
+ yAxis: linearAxis,
21
+ crosshairRect,
22
+ pivotGrid: getLightPivotChartGridConfig(),
23
+ annotation: getLightAnnotation(),
24
+ regressionLine: getLightRegressionLine()
25
+ };
26
+ };
27
+ export { getHistogramTheme };
28
+
29
+ //# sourceMappingURL=histogram.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme/light/histogram.js","sources":["webpack://@visactor/vseed/./src/theme/light/histogram.ts"],"sourcesContent":["import {\n getLightColor,\n getLightLabel,\n getLightLegend,\n getLightBrushConfig,\n getLightPivotChartGridConfig,\n getLightCrosshairRect,\n} from '../common'\nimport { getLightTooltip } from '../common/tooltip'\nimport { getLightAnnotation } from '../common/annotaion'\nimport { getLightLinearAxis } from '../common/axes'\nimport { getLightRegressionLine } from '../common/regressionLine'\n\nexport const getHistogramTheme = () => {\n const linearAxis = getLightLinearAxis()\n const crosshairRect = getLightCrosshairRect()\n\n const baseConfig = {\n backgroundColor: 'transparent',\n color: getLightColor(),\n label: getLightLabel(),\n legend: getLightLegend(),\n tooltip: getLightTooltip(),\n brush: getLightBrushConfig(),\n }\n\n return {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: linearAxis,\n crosshairRect,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n regressionLine: getLightRegressionLine(),\n }\n}\n"],"names":["getHistogramTheme","linearAxis","getLightLinearAxis","crosshairRect","getLightCrosshairRect","baseConfig","getLightColor","getLightLabel","getLightLegend","getLightTooltip","getLightBrushConfig","getLightPivotChartGridConfig","getLightAnnotation","getLightRegressionLine"],"mappings":";;;;;AAaO,MAAMA,oBAAoB;IAC/B,MAAMC,aAAaC;IACnB,MAAMC,gBAAgBC;IAEtB,MAAMC,aAAa;QACjB,iBAAiB;QACjB,OAAOC;QACP,OAAOC;QACP,QAAQC;QACR,SAASC;QACT,OAAOC;IACT;IAEA,OAAO;QACL,GAAGL,UAAU;QACb,OAAOJ;QACP,OAAOA;QACPE;QACA,WAAWQ;QACX,YAAYC;QACZ,gBAAgBC;IAClB;AACF"}
@@ -1,297 +1,51 @@
1
- import { getFunnelLightLabel, getLightBrushConfig, getLightColor, getLightColorLegend, getLightCrosshairLine, getLightCrosshairRect, getLightLabel, getLightLegend, getLightPivotChartGridConfig, getLightPlayer, getLightTableConfig } from "../common/index.js";
2
- import { getLightTooltip } from "../common/tooltip.js";
3
- import { getLightBandAxis, getLightLinearAxis } from "../common/axes.js";
4
- import { getLightAnnotation } from "../common/annotaion.js";
5
- import { getLightFunnelTransformTheme } from "../common/funnelTransform.js";
6
- import { getLightHeatmapCellTheme } from "../common/heatmapCell.js";
7
- import { getLightRegressionLine } from "../common/regressionLine.js";
8
- import { getLightBoxPlotStyle, getLightOutlierStyle } from "../common/boxPlot.js";
1
+ import { getLightTableConfig } from "../common/index.js";
2
+ import { getLineTheme } from "./line.js";
3
+ import { getColumnParallelTheme, getColumnPercentTheme, getColumnTheme } from "./column.js";
4
+ import { getBarParallelTheme, getBarPercentTheme, getBarTheme } from "./bar.js";
5
+ import { getAreaPercentTheme, getAreaTheme } from "./area.js";
6
+ import { getScatterTheme } from "./scatter.js";
7
+ import { getDualAxisTheme } from "./dualAxis.js";
8
+ import { getDonutTheme, getPieTheme } from "./pie.js";
9
+ import { getRadarTheme } from "./radar.js";
10
+ import { getRoseParallelTheme, getRoseTheme } from "./rose.js";
11
+ import { getFunnelTheme } from "./funnel.js";
12
+ import { getHeatmapTheme } from "./heatmap.js";
13
+ import { getHistogramTheme } from "./histogram.js";
14
+ import { getBoxPlotTheme } from "./boxPlot.js";
15
+ import { getCirclePackingTheme, getSunburstTheme, getTreeMapTheme } from "./hierarchy.js";
16
+ import { getRaceBarTheme, getRaceColumnTheme, getRaceScatterTheme } from "./race.js";
9
17
  const lightTheme = ()=>{
10
- const linearAxis = getLightLinearAxis();
11
- const bandAxis = getLightBandAxis();
12
- const barBandAxis = {
13
- ...bandAxis,
14
- labelAutoHide: false,
15
- labelAutoHideGap: 1,
16
- labelAutoLimit: false,
17
- labelAutoLimitLength: void 0,
18
- labelAutoRotate: false,
19
- labelAutoRotateAngleRange: [
20
- 0,
21
- -45,
22
- -90
23
- ]
24
- };
25
- const crosshairLine = getLightCrosshairLine();
26
- const crosshairRect = getLightCrosshairRect();
27
- const baseConfig = {
28
- backgroundColor: 'transparent',
29
- color: getLightColor(),
30
- label: getLightLabel(),
31
- legend: getLightLegend(),
32
- tooltip: getLightTooltip(),
33
- brush: getLightBrushConfig()
34
- };
35
18
  const tableConfig = getLightTableConfig();
36
- const player = getLightPlayer();
37
19
  return {
38
20
  config: {
39
21
  table: tableConfig,
40
22
  pivotTable: tableConfig,
41
- line: {
42
- ...baseConfig,
43
- xAxis: bandAxis,
44
- yAxis: linearAxis,
45
- crosshairLine,
46
- player,
47
- pivotGrid: getLightPivotChartGridConfig(),
48
- annotation: getLightAnnotation()
49
- },
50
- column: {
51
- ...baseConfig,
52
- xAxis: bandAxis,
53
- yAxis: linearAxis,
54
- crosshairRect,
55
- player,
56
- stackCornerRadius: [
57
- 4,
58
- 4,
59
- 0,
60
- 0
61
- ],
62
- pivotGrid: getLightPivotChartGridConfig(),
63
- annotation: getLightAnnotation(),
64
- regressionLine: getLightRegressionLine()
65
- },
66
- columnParallel: {
67
- ...baseConfig,
68
- xAxis: bandAxis,
69
- yAxis: linearAxis,
70
- crosshairRect,
71
- player,
72
- stackCornerRadius: [
73
- 4,
74
- 4,
75
- 0,
76
- 0
77
- ],
78
- pivotGrid: getLightPivotChartGridConfig(),
79
- annotation: getLightAnnotation()
80
- },
81
- columnPercent: {
82
- ...baseConfig,
83
- xAxis: bandAxis,
84
- yAxis: {
85
- ...linearAxis
86
- },
87
- player,
88
- crosshairRect,
89
- stackCornerRadius: [
90
- 4,
91
- 4,
92
- 0,
93
- 0
94
- ],
95
- pivotGrid: getLightPivotChartGridConfig(),
96
- annotation: getLightAnnotation()
97
- },
98
- bar: {
99
- ...baseConfig,
100
- xAxis: linearAxis,
101
- yAxis: barBandAxis,
102
- crosshairRect,
103
- player,
104
- stackCornerRadius: [
105
- 0,
106
- 4,
107
- 4,
108
- 0
109
- ],
110
- pivotGrid: getLightPivotChartGridConfig(),
111
- annotation: getLightAnnotation()
112
- },
113
- barParallel: {
114
- ...baseConfig,
115
- xAxis: linearAxis,
116
- yAxis: barBandAxis,
117
- crosshairRect,
118
- stackCornerRadius: [
119
- 0,
120
- 4,
121
- 4,
122
- 0
123
- ],
124
- pivotGrid: getLightPivotChartGridConfig(),
125
- annotation: getLightAnnotation()
126
- },
127
- barPercent: {
128
- ...baseConfig,
129
- xAxis: {
130
- ...linearAxis
131
- },
132
- yAxis: barBandAxis,
133
- crosshairRect,
134
- player,
135
- stackCornerRadius: [
136
- 0,
137
- 4,
138
- 4,
139
- 0
140
- ],
141
- pivotGrid: getLightPivotChartGridConfig(),
142
- annotation: getLightAnnotation()
143
- },
144
- area: {
145
- ...baseConfig,
146
- xAxis: bandAxis,
147
- yAxis: linearAxis,
148
- crosshairLine,
149
- player,
150
- pivotGrid: getLightPivotChartGridConfig(),
151
- annotation: getLightAnnotation()
152
- },
153
- areaPercent: {
154
- ...baseConfig,
155
- xAxis: bandAxis,
156
- yAxis: {
157
- ...linearAxis
158
- },
159
- player,
160
- crosshairLine,
161
- pivotGrid: getLightPivotChartGridConfig(),
162
- annotation: getLightAnnotation()
163
- },
164
- scatter: {
165
- ...baseConfig,
166
- crosshairLine,
167
- sizeRange: [
168
- 8,
169
- 24
170
- ],
171
- xAxis: {
172
- ...linearAxis,
173
- line: {
174
- ...linearAxis.line,
175
- visible: true
176
- }
177
- },
178
- yAxis: {
179
- ...linearAxis,
180
- line: {
181
- ...linearAxis.line,
182
- visible: true
183
- }
184
- },
185
- label: {
186
- ...baseConfig.label,
187
- showValue: false,
188
- showValuePercent: false
189
- },
190
- player,
191
- pivotGrid: getLightPivotChartGridConfig(),
192
- annotation: getLightAnnotation(),
193
- regressionLine: getLightRegressionLine()
194
- },
195
- dualAxis: {
196
- ...baseConfig,
197
- xAxis: bandAxis,
198
- primaryYAxis: linearAxis,
199
- secondaryYAxis: {
200
- ...linearAxis,
201
- grid: {
202
- visible: false
203
- }
204
- },
205
- crosshairRect,
206
- pivotGrid: getLightPivotChartGridConfig(),
207
- annotation: getLightAnnotation()
208
- },
209
- pie: {
210
- ...baseConfig,
211
- label: {
212
- ...baseConfig.label,
213
- showValuePercent: true,
214
- labelLayout: 'arc',
215
- showDimension: true
216
- },
217
- player,
218
- pivotGrid: getLightPivotChartGridConfig()
219
- },
220
- donut: {
221
- ...baseConfig,
222
- label: {
223
- ...baseConfig.label,
224
- showValuePercent: true,
225
- labelLayout: 'arc',
226
- showDimension: true
227
- },
228
- player,
229
- pivotGrid: getLightPivotChartGridConfig()
230
- },
231
- radar: {
232
- ...baseConfig,
233
- player,
234
- pivotGrid: getLightPivotChartGridConfig()
235
- },
236
- rose: {
237
- ...baseConfig,
238
- label: {
239
- ...baseConfig.label,
240
- showValuePercent: true,
241
- showDimension: true
242
- },
243
- player,
244
- pivotGrid: getLightPivotChartGridConfig()
245
- },
246
- roseParallel: {
247
- ...baseConfig,
248
- label: {
249
- ...baseConfig.label,
250
- showValuePercent: true,
251
- showDimension: true
252
- },
253
- player,
254
- pivotGrid: getLightPivotChartGridConfig()
255
- },
256
- funnel: {
257
- ...baseConfig,
258
- label: getFunnelLightLabel(),
259
- transform: getLightFunnelTransformTheme(),
260
- player,
261
- pivotGrid: getLightPivotChartGridConfig()
262
- },
263
- heatmap: {
264
- ...baseConfig,
265
- legend: getLightColorLegend(),
266
- xAxis: bandAxis,
267
- yAxis: bandAxis,
268
- label: {
269
- ...baseConfig.label,
270
- labelColorSmartInvert: true
271
- },
272
- player,
273
- cell: getLightHeatmapCellTheme(),
274
- pivotGrid: getLightPivotChartGridConfig()
275
- },
276
- histogram: {
277
- ...baseConfig,
278
- xAxis: linearAxis,
279
- yAxis: linearAxis,
280
- crosshairRect,
281
- pivotGrid: getLightPivotChartGridConfig(),
282
- annotation: getLightAnnotation(),
283
- regressionLine: getLightRegressionLine()
284
- },
285
- boxPlot: {
286
- ...baseConfig,
287
- xAxis: linearAxis,
288
- yAxis: linearAxis,
289
- crosshairRect,
290
- pivotGrid: getLightPivotChartGridConfig(),
291
- annotation: getLightAnnotation(),
292
- boxPlotStyle: getLightBoxPlotStyle(),
293
- outlierStyle: getLightOutlierStyle()
294
- }
23
+ line: getLineTheme(),
24
+ column: getColumnTheme(),
25
+ columnParallel: getColumnParallelTheme(),
26
+ columnPercent: getColumnPercentTheme(),
27
+ bar: getBarTheme(),
28
+ barParallel: getBarParallelTheme(),
29
+ barPercent: getBarPercentTheme(),
30
+ area: getAreaTheme(),
31
+ areaPercent: getAreaPercentTheme(),
32
+ scatter: getScatterTheme(),
33
+ dualAxis: getDualAxisTheme(),
34
+ pie: getPieTheme(),
35
+ donut: getDonutTheme(),
36
+ radar: getRadarTheme(),
37
+ rose: getRoseTheme(),
38
+ roseParallel: getRoseParallelTheme(),
39
+ funnel: getFunnelTheme(),
40
+ heatmap: getHeatmapTheme(),
41
+ histogram: getHistogramTheme(),
42
+ boxPlot: getBoxPlotTheme(),
43
+ treeMap: getTreeMapTheme(),
44
+ sunburst: getSunburstTheme(),
45
+ circlePacking: getCirclePackingTheme(),
46
+ raceBar: getRaceBarTheme(),
47
+ raceColumn: getRaceColumnTheme(),
48
+ raceScatter: getRaceScatterTheme()
295
49
  }
296
50
  };
297
51
  };
@@ -1 +1 @@
1
- {"version":3,"file":"theme/light/light.js","sources":["webpack://@visactor/vseed/./src/theme/light/light.ts"],"sourcesContent":["import type { CustomThemeConfig, Player, YBandAxis } from 'src/types'\nimport {\n getFunnelLightLabel,\n getLightColor,\n getLightColorLegend,\n getLightCrosshairLine,\n getLightCrosshairRect,\n getLightBrushConfig,\n getLightLabel,\n getLightLegend,\n getLightPivotChartGridConfig,\n getLightTableConfig,\n getLightPlayer,\n} from '../common'\nimport { getLightTooltip } from '../common/tooltip'\nimport { getLightBandAxis, getLightLinearAxis } from '../common/axes'\nimport { getLightAnnotation } from '../common/annotaion'\nimport { getLightFunnelTransformTheme } from '../common/funnelTransform'\nimport { getLightHeatmapCellTheme } from '../common/heatmapCell'\nimport { getLightRegressionLine } from '../common/regressionLine'\nimport { getLightBoxPlotStyle, getLightOutlierStyle } from '../common/boxPlot'\n\nexport const lightTheme = (): CustomThemeConfig => {\n const linearAxis = getLightLinearAxis()\n const bandAxis: YBandAxis = getLightBandAxis()\n const barBandAxis: YBandAxis = {\n ...bandAxis,\n labelAutoHide: false,\n labelAutoHideGap: 1,\n labelAutoLimit: false,\n labelAutoLimitLength: undefined,\n labelAutoRotate: false,\n labelAutoRotateAngleRange: [0, -45, -90],\n }\n\n const crosshairLine = getLightCrosshairLine()\n const crosshairRect = getLightCrosshairRect()\n\n const baseConfig = {\n backgroundColor: 'transparent',\n color: getLightColor(),\n label: getLightLabel(),\n legend: getLightLegend(),\n tooltip: getLightTooltip(),\n brush: getLightBrushConfig(),\n }\n const tableConfig = getLightTableConfig()\n const player = getLightPlayer() as Player\n\n return {\n config: {\n // table\n table: tableConfig,\n pivotTable: tableConfig,\n // cartesian\n line: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairLine,\n player,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n column: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairRect,\n player,\n\n stackCornerRadius: [4, 4, 0, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n\n regressionLine: getLightRegressionLine(),\n },\n columnParallel: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairRect,\n player,\n\n stackCornerRadius: [4, 4, 0, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n columnPercent: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: {\n ...linearAxis,\n },\n player,\n\n crosshairRect,\n stackCornerRadius: [4, 4, 0, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n bar: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: barBandAxis,\n crosshairRect,\n player,\n\n stackCornerRadius: [0, 4, 4, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n barParallel: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: barBandAxis,\n crosshairRect,\n stackCornerRadius: [0, 4, 4, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n barPercent: {\n ...baseConfig,\n xAxis: {\n ...linearAxis,\n },\n yAxis: barBandAxis,\n crosshairRect,\n player,\n\n stackCornerRadius: [0, 4, 4, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n area: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairLine,\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n areaPercent: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: {\n ...linearAxis,\n },\n player,\n\n crosshairLine,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n scatter: {\n ...baseConfig,\n crosshairLine,\n sizeRange: [8, 24],\n xAxis: {\n ...linearAxis,\n line: {\n ...linearAxis.line,\n visible: true,\n },\n },\n yAxis: {\n ...linearAxis,\n line: {\n ...linearAxis.line,\n visible: true,\n },\n },\n label: {\n ...baseConfig.label,\n showValue: false,\n showValuePercent: false,\n },\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n\n regressionLine: getLightRegressionLine(),\n },\n dualAxis: {\n ...baseConfig,\n xAxis: bandAxis,\n primaryYAxis: linearAxis,\n secondaryYAxis: { ...linearAxis, grid: { visible: false } },\n crosshairRect,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n // polar\n pie: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n labelLayout: 'arc',\n showDimension: true,\n },\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n donut: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n labelLayout: 'arc',\n showDimension: true,\n },\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n radar: {\n ...baseConfig,\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n rose: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n showDimension: true,\n },\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n roseParallel: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n showDimension: true,\n },\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n // other\n funnel: {\n ...baseConfig,\n label: getFunnelLightLabel(),\n transform: getLightFunnelTransformTheme(),\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n heatmap: {\n ...baseConfig,\n legend: getLightColorLegend(),\n xAxis: bandAxis,\n yAxis: bandAxis,\n label: {\n ...baseConfig.label,\n labelColorSmartInvert: true,\n },\n player,\n\n cell: getLightHeatmapCellTheme(),\n pivotGrid: getLightPivotChartGridConfig(),\n },\n histogram: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: linearAxis,\n crosshairRect,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n regressionLine: getLightRegressionLine(),\n },\n boxPlot: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: linearAxis,\n crosshairRect,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n\n boxPlotStyle: getLightBoxPlotStyle(),\n outlierStyle: getLightOutlierStyle(),\n },\n },\n }\n}\n"],"names":["lightTheme","linearAxis","getLightLinearAxis","bandAxis","getLightBandAxis","barBandAxis","undefined","crosshairLine","getLightCrosshairLine","crosshairRect","getLightCrosshairRect","baseConfig","getLightColor","getLightLabel","getLightLegend","getLightTooltip","getLightBrushConfig","tableConfig","getLightTableConfig","player","getLightPlayer","getLightPivotChartGridConfig","getLightAnnotation","getLightRegressionLine","getFunnelLightLabel","getLightFunnelTransformTheme","getLightColorLegend","getLightHeatmapCellTheme","getLightBoxPlotStyle","getLightOutlierStyle"],"mappings":"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"}
1
+ {"version":3,"file":"theme/light/light.js","sources":["webpack://@visactor/vseed/./src/theme/light/light.ts"],"sourcesContent":["import type { CustomThemeConfig } from 'src/types'\nimport { getLightTableConfig } from '../common'\n\nimport { getLineTheme } from './line'\nimport { getColumnTheme, getColumnParallelTheme, getColumnPercentTheme } from './column'\nimport { getBarTheme, getBarParallelTheme, getBarPercentTheme } from './bar'\nimport { getAreaTheme, getAreaPercentTheme } from './area'\nimport { getScatterTheme } from './scatter'\nimport { getDualAxisTheme } from './dualAxis'\nimport { getPieTheme, getDonutTheme } from './pie'\nimport { getRadarTheme } from './radar'\nimport { getRoseTheme, getRoseParallelTheme } from './rose'\nimport { getFunnelTheme } from './funnel'\nimport { getHeatmapTheme } from './heatmap'\nimport { getHistogramTheme } from './histogram'\nimport { getBoxPlotTheme } from './boxPlot'\nimport { getTreeMapTheme, getSunburstTheme, getCirclePackingTheme } from './hierarchy'\nimport { getRaceBarTheme, getRaceColumnTheme, getRaceScatterTheme } from './race'\n\nexport const lightTheme = (): CustomThemeConfig => {\n const tableConfig = getLightTableConfig()\n\n return {\n config: {\n // table\n table: tableConfig,\n pivotTable: tableConfig,\n // cartesian\n line: getLineTheme(),\n column: getColumnTheme(),\n columnParallel: getColumnParallelTheme(),\n columnPercent: getColumnPercentTheme(),\n bar: getBarTheme(),\n barParallel: getBarParallelTheme(),\n barPercent: getBarPercentTheme(),\n area: getAreaTheme(),\n areaPercent: getAreaPercentTheme(),\n scatter: getScatterTheme(),\n dualAxis: getDualAxisTheme(),\n // polar\n pie: getPieTheme(),\n donut: getDonutTheme(),\n radar: getRadarTheme(),\n rose: getRoseTheme(),\n roseParallel: getRoseParallelTheme(),\n // other\n funnel: getFunnelTheme(),\n heatmap: getHeatmapTheme(),\n histogram: getHistogramTheme(),\n boxPlot: getBoxPlotTheme(),\n\n // hierarchy\n treeMap: getTreeMapTheme(),\n sunburst: getSunburstTheme(),\n circlePacking: getCirclePackingTheme(),\n\n // race\n raceBar: getRaceBarTheme(),\n raceColumn: getRaceColumnTheme(),\n raceScatter: getRaceScatterTheme(),\n },\n }\n}\n"],"names":["lightTheme","tableConfig","getLightTableConfig","getLineTheme","getColumnTheme","getColumnParallelTheme","getColumnPercentTheme","getBarTheme","getBarParallelTheme","getBarPercentTheme","getAreaTheme","getAreaPercentTheme","getScatterTheme","getDualAxisTheme","getPieTheme","getDonutTheme","getRadarTheme","getRoseTheme","getRoseParallelTheme","getFunnelTheme","getHeatmapTheme","getHistogramTheme","getBoxPlotTheme","getTreeMapTheme","getSunburstTheme","getCirclePackingTheme","getRaceBarTheme","getRaceColumnTheme","getRaceScatterTheme"],"mappings":";;;;;;;;;;;;;;;;AAmBO,MAAMA,aAAa;IACxB,MAAMC,cAAcC;IAEpB,OAAO;QACL,QAAQ;YAEN,OAAOD;YACP,YAAYA;YAEZ,MAAME;YACN,QAAQC;YACR,gBAAgBC;YAChB,eAAeC;YACf,KAAKC;YACL,aAAaC;YACb,YAAYC;YACZ,MAAMC;YACN,aAAaC;YACb,SAASC;YACT,UAAUC;YAEV,KAAKC;YACL,OAAOC;YACP,OAAOC;YACP,MAAMC;YACN,cAAcC;YAEd,QAAQC;YACR,SAASC;YACT,WAAWC;YACX,SAASC;YAGT,SAASC;YACT,UAAUC;YACV,eAAeC;YAGf,SAASC;YACT,YAAYC;YACZ,aAAaC;QACf;IACF;AACF"}
@@ -0,0 +1,78 @@
1
+ export declare const getLineTheme: () => {
2
+ xAxis: import("../..").YBandAxis;
3
+ yAxis: import("../..").YLinearAxis;
4
+ crosshairLine: {
5
+ visible: boolean;
6
+ labelVisible: boolean;
7
+ labelColor: string;
8
+ labelBackgroundColor: string;
9
+ lineColor: string;
10
+ };
11
+ pivotGrid: {
12
+ borderColor?: string | null | undefined;
13
+ bodyFontColor?: string | null | undefined;
14
+ headerFontColor?: string | null | undefined;
15
+ headerBackgroundColor?: string | null | undefined;
16
+ hoverHeaderBackgroundColor?: string | null | undefined;
17
+ hoverHeaderInlineBackgroundColor?: string | null | undefined;
18
+ outlineBorderLineWidth?: number | null | undefined;
19
+ frameCornerRadius?: number | null | undefined;
20
+ minChartWidth?: number | null | undefined;
21
+ minChartHeight?: number | null | undefined;
22
+ titleFontColor?: string | null | undefined;
23
+ titleFontSize?: number | null | undefined;
24
+ titleFontWeight?: string | null | undefined;
25
+ chartGridColor?: string | null | undefined;
26
+ axisLabelColor?: string | null | undefined;
27
+ };
28
+ annotation: {
29
+ annotationPoint: import("../..").AnnotationPointConfig;
30
+ annotationHorizontalLine: import("../..").AnnotationHorizontalLineConfig;
31
+ annotationVerticalLine: import("../..").AnnotationHorizontalLineConfig;
32
+ annotationArea: import("../..").AnnotationAreaConfig;
33
+ };
34
+ backgroundColor: string;
35
+ color: {
36
+ linearColorScheme: string[];
37
+ colorScheme: string[];
38
+ positiveColor: string;
39
+ negativeColor: string;
40
+ };
41
+ label: {
42
+ labelStroke: string;
43
+ enable: boolean;
44
+ wrap: boolean;
45
+ showValue: boolean;
46
+ showValuePercent: boolean;
47
+ labelColorSmartInvert: boolean;
48
+ labelOverlap: boolean;
49
+ };
50
+ legend: import("../..").Legend;
51
+ tooltip: {
52
+ enable?: boolean | null | undefined;
53
+ borderColor?: string | null | undefined;
54
+ borderWidth?: number | null | undefined;
55
+ borderRadius?: number | null | undefined;
56
+ padding?: number | number[] | null | undefined;
57
+ backgroundColor?: string | null | undefined;
58
+ lineHeight?: number | null | undefined;
59
+ fontSize?: number | null | undefined;
60
+ lineSpace?: number | null | undefined;
61
+ keyColor?: string | null | undefined;
62
+ valueColor?: string | null | undefined;
63
+ titleColor?: string | null | undefined;
64
+ };
65
+ brush: {
66
+ enable: boolean;
67
+ inBrushStyle?: {
68
+ opacity?: number | undefined;
69
+ stroke?: string | undefined;
70
+ lineWidth?: number | undefined;
71
+ } | undefined;
72
+ outOfBrushStyle?: {
73
+ opacity?: number | undefined;
74
+ stroke?: string | undefined;
75
+ lineWidth?: number | undefined;
76
+ } | undefined;
77
+ };
78
+ };
@@ -0,0 +1,28 @@
1
+ import { getLightBrushConfig, getLightColor, getLightCrosshairLine, getLightLabel, getLightLegend, getLightPivotChartGridConfig } from "../common/index.js";
2
+ import { getLightTooltip } from "../common/tooltip.js";
3
+ import { getLightAnnotation } from "../common/annotaion.js";
4
+ import { getLightBandAxis, getLightLinearAxis } from "../common/axes.js";
5
+ const getLineTheme = ()=>{
6
+ const linearAxis = getLightLinearAxis();
7
+ const bandAxis = getLightBandAxis();
8
+ const crosshairLine = getLightCrosshairLine();
9
+ const baseConfig = {
10
+ backgroundColor: 'transparent',
11
+ color: getLightColor(),
12
+ label: getLightLabel(),
13
+ legend: getLightLegend(),
14
+ tooltip: getLightTooltip(),
15
+ brush: getLightBrushConfig()
16
+ };
17
+ return {
18
+ ...baseConfig,
19
+ xAxis: bandAxis,
20
+ yAxis: linearAxis,
21
+ crosshairLine,
22
+ pivotGrid: getLightPivotChartGridConfig(),
23
+ annotation: getLightAnnotation()
24
+ };
25
+ };
26
+ export { getLineTheme };
27
+
28
+ //# sourceMappingURL=line.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme/light/line.js","sources":["webpack://@visactor/vseed/./src/theme/light/line.ts"],"sourcesContent":["import {\n getLightColor,\n getLightLabel,\n getLightLegend,\n getLightBrushConfig,\n getLightPivotChartGridConfig,\n getLightCrosshairLine,\n} from '../common'\nimport { getLightTooltip } from '../common/tooltip'\nimport { getLightAnnotation } from '../common/annotaion'\nimport { getLightBandAxis, getLightLinearAxis } from '../common/axes'\n\nexport const getLineTheme = () => {\n const linearAxis = getLightLinearAxis()\n const bandAxis = getLightBandAxis()\n const crosshairLine = getLightCrosshairLine()\n\n const baseConfig = {\n backgroundColor: 'transparent',\n color: getLightColor(),\n label: getLightLabel(),\n legend: getLightLegend(),\n tooltip: getLightTooltip(),\n brush: getLightBrushConfig(),\n }\n\n return {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairLine,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n }\n}\n"],"names":["getLineTheme","linearAxis","getLightLinearAxis","bandAxis","getLightBandAxis","crosshairLine","getLightCrosshairLine","baseConfig","getLightColor","getLightLabel","getLightLegend","getLightTooltip","getLightBrushConfig","getLightPivotChartGridConfig","getLightAnnotation"],"mappings":";;;;AAYO,MAAMA,eAAe;IAC1B,MAAMC,aAAaC;IACnB,MAAMC,WAAWC;IACjB,MAAMC,gBAAgBC;IAEtB,MAAMC,aAAa;QACjB,iBAAiB;QACjB,OAAOC;QACP,OAAOC;QACP,QAAQC;QACR,SAASC;QACT,OAAOC;IACT;IAEA,OAAO;QACL,GAAGL,UAAU;QACb,OAAOJ;QACP,OAAOF;QACPI;QACA,WAAWQ;QACX,YAAYC;IACd;AACF"}
@@ -0,0 +1,130 @@
1
+ export declare const getPieTheme: () => {
2
+ label: {
3
+ showValuePercent: boolean;
4
+ labelLayout: "arc";
5
+ showDimension: boolean;
6
+ labelStroke: string;
7
+ enable: boolean;
8
+ wrap: boolean;
9
+ showValue: boolean;
10
+ labelColorSmartInvert: boolean;
11
+ labelOverlap: boolean;
12
+ };
13
+ pivotGrid: {
14
+ borderColor?: string | null | undefined;
15
+ bodyFontColor?: string | null | undefined;
16
+ headerFontColor?: string | null | undefined;
17
+ headerBackgroundColor?: string | null | undefined;
18
+ hoverHeaderBackgroundColor?: string | null | undefined;
19
+ hoverHeaderInlineBackgroundColor?: string | null | undefined;
20
+ outlineBorderLineWidth?: number | null | undefined;
21
+ frameCornerRadius?: number | null | undefined;
22
+ minChartWidth?: number | null | undefined;
23
+ minChartHeight?: number | null | undefined;
24
+ titleFontColor?: string | null | undefined;
25
+ titleFontSize?: number | null | undefined;
26
+ titleFontWeight?: string | null | undefined;
27
+ chartGridColor?: string | null | undefined;
28
+ axisLabelColor?: string | null | undefined;
29
+ };
30
+ backgroundColor: string;
31
+ color: {
32
+ linearColorScheme: string[];
33
+ colorScheme: string[];
34
+ positiveColor: string;
35
+ negativeColor: string;
36
+ };
37
+ legend: import("../..").Legend;
38
+ tooltip: {
39
+ enable?: boolean | null | undefined;
40
+ borderColor?: string | null | undefined;
41
+ borderWidth?: number | null | undefined;
42
+ borderRadius?: number | null | undefined;
43
+ padding?: number | number[] | null | undefined;
44
+ backgroundColor?: string | null | undefined;
45
+ lineHeight?: number | null | undefined;
46
+ fontSize?: number | null | undefined;
47
+ lineSpace?: number | null | undefined;
48
+ keyColor?: string | null | undefined;
49
+ valueColor?: string | null | undefined;
50
+ titleColor?: string | null | undefined;
51
+ };
52
+ brush: {
53
+ enable: boolean;
54
+ inBrushStyle?: {
55
+ opacity?: number | undefined;
56
+ stroke?: string | undefined;
57
+ lineWidth?: number | undefined;
58
+ } | undefined;
59
+ outOfBrushStyle?: {
60
+ opacity?: number | undefined;
61
+ stroke?: string | undefined;
62
+ lineWidth?: number | undefined;
63
+ } | undefined;
64
+ };
65
+ };
66
+ export declare const getDonutTheme: () => {
67
+ label: {
68
+ showValuePercent: boolean;
69
+ labelLayout: "arc";
70
+ showDimension: boolean;
71
+ labelStroke: string;
72
+ enable: boolean;
73
+ wrap: boolean;
74
+ showValue: boolean;
75
+ labelColorSmartInvert: boolean;
76
+ labelOverlap: boolean;
77
+ };
78
+ pivotGrid: {
79
+ borderColor?: string | null | undefined;
80
+ bodyFontColor?: string | null | undefined;
81
+ headerFontColor?: string | null | undefined;
82
+ headerBackgroundColor?: string | null | undefined;
83
+ hoverHeaderBackgroundColor?: string | null | undefined;
84
+ hoverHeaderInlineBackgroundColor?: string | null | undefined;
85
+ outlineBorderLineWidth?: number | null | undefined;
86
+ frameCornerRadius?: number | null | undefined;
87
+ minChartWidth?: number | null | undefined;
88
+ minChartHeight?: number | null | undefined;
89
+ titleFontColor?: string | null | undefined;
90
+ titleFontSize?: number | null | undefined;
91
+ titleFontWeight?: string | null | undefined;
92
+ chartGridColor?: string | null | undefined;
93
+ axisLabelColor?: string | null | undefined;
94
+ };
95
+ backgroundColor: string;
96
+ color: {
97
+ linearColorScheme: string[];
98
+ colorScheme: string[];
99
+ positiveColor: string;
100
+ negativeColor: string;
101
+ };
102
+ legend: import("../..").Legend;
103
+ tooltip: {
104
+ enable?: boolean | null | undefined;
105
+ borderColor?: string | null | undefined;
106
+ borderWidth?: number | null | undefined;
107
+ borderRadius?: number | null | undefined;
108
+ padding?: number | number[] | null | undefined;
109
+ backgroundColor?: string | null | undefined;
110
+ lineHeight?: number | null | undefined;
111
+ fontSize?: number | null | undefined;
112
+ lineSpace?: number | null | undefined;
113
+ keyColor?: string | null | undefined;
114
+ valueColor?: string | null | undefined;
115
+ titleColor?: string | null | undefined;
116
+ };
117
+ brush: {
118
+ enable: boolean;
119
+ inBrushStyle?: {
120
+ opacity?: number | undefined;
121
+ stroke?: string | undefined;
122
+ lineWidth?: number | undefined;
123
+ } | undefined;
124
+ outOfBrushStyle?: {
125
+ opacity?: number | undefined;
126
+ stroke?: string | undefined;
127
+ lineWidth?: number | undefined;
128
+ } | undefined;
129
+ };
130
+ };