@visactor/vseed 0.3.15 → 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 (398) 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 +1212 -302
  4. package/dist/esm/builder/register/all.js +4 -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 +3 -0
  10. package/dist/esm/builder/register/chartType/index.js +4 -1
  11. package/dist/esm/builder/register/chartType/sunburst.d.ts +5 -0
  12. package/dist/esm/builder/register/chartType/sunburst.js +9 -0
  13. package/dist/esm/builder/register/chartType/sunburst.js.map +1 -0
  14. package/dist/esm/builder/register/chartType/treeMap.d.ts +5 -0
  15. package/dist/esm/builder/register/chartType/treeMap.js +9 -0
  16. package/dist/esm/builder/register/chartType/treeMap.js.map +1 -0
  17. package/dist/esm/dataReshape/constant.d.ts +2 -0
  18. package/dist/esm/dataReshape/constant.js +3 -1
  19. package/dist/esm/dataReshape/constant.js.map +1 -1
  20. package/dist/esm/dataReshape/unfoldDimensions.js +8 -2
  21. package/dist/esm/dataReshape/unfoldDimensions.js.map +1 -1
  22. package/dist/esm/pipeline/advanced/chart/pipeline/circlePacking.d.ts +2 -0
  23. package/dist/esm/pipeline/advanced/chart/pipeline/circlePacking.js +33 -0
  24. package/dist/esm/pipeline/advanced/chart/pipeline/circlePacking.js.map +1 -0
  25. package/dist/esm/pipeline/advanced/chart/pipeline/index.d.ts +6 -3
  26. package/dist/esm/pipeline/advanced/chart/pipeline/index.js +7 -4
  27. package/dist/esm/pipeline/advanced/chart/pipeline/raceBar.js +33 -2
  28. package/dist/esm/pipeline/advanced/chart/pipeline/raceBar.js.map +1 -1
  29. package/dist/esm/pipeline/advanced/chart/pipeline/raceColumn.js +34 -2
  30. package/dist/esm/pipeline/advanced/chart/pipeline/raceColumn.js.map +1 -1
  31. package/dist/esm/pipeline/advanced/chart/pipeline/raceScatter.js +28 -2
  32. package/dist/esm/pipeline/advanced/chart/pipeline/raceScatter.js.map +1 -1
  33. package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js +1 -3
  34. package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js.map +1 -1
  35. package/dist/esm/pipeline/advanced/chart/pipeline/sunburst.d.ts +2 -0
  36. package/dist/esm/pipeline/advanced/chart/pipeline/sunburst.js +33 -0
  37. package/dist/esm/pipeline/advanced/chart/pipeline/sunburst.js.map +1 -0
  38. package/dist/esm/pipeline/advanced/chart/pipeline/treeMap.d.ts +2 -0
  39. package/dist/esm/pipeline/advanced/chart/pipeline/treeMap.js +33 -0
  40. package/dist/esm/pipeline/advanced/chart/pipeline/treeMap.js.map +1 -0
  41. package/dist/esm/pipeline/advanced/chart/pipes/config/circlePacking.d.ts +2 -0
  42. package/dist/esm/pipeline/advanced/chart/pipes/config/circlePacking.js +27 -0
  43. package/dist/esm/pipeline/advanced/chart/pipes/config/circlePacking.js.map +1 -0
  44. package/dist/esm/pipeline/advanced/chart/pipes/config/index.d.ts +3 -0
  45. package/dist/esm/pipeline/advanced/chart/pipes/config/index.js +4 -1
  46. package/dist/esm/pipeline/advanced/chart/pipes/config/index.js.map +1 -1
  47. package/dist/esm/pipeline/advanced/chart/pipes/config/sunburst.d.ts +2 -0
  48. package/dist/esm/pipeline/advanced/chart/pipes/config/sunburst.js +27 -0
  49. package/dist/esm/pipeline/advanced/chart/pipes/config/sunburst.js.map +1 -0
  50. package/dist/esm/pipeline/advanced/chart/pipes/config/treeMap.d.ts +2 -0
  51. package/dist/esm/pipeline/advanced/chart/pipes/config/treeMap.js +27 -0
  52. package/dist/esm/pipeline/advanced/chart/pipes/config/treeMap.js.map +1 -0
  53. package/dist/esm/pipeline/advanced/chart/pipes/encoding/hierarchy.d.ts +3 -0
  54. package/dist/esm/pipeline/advanced/chart/pipes/encoding/hierarchy.js +75 -0
  55. package/dist/esm/pipeline/advanced/chart/pipes/encoding/hierarchy.js.map +1 -0
  56. package/dist/esm/pipeline/advanced/chart/pipes/encoding/index.d.ts +4 -0
  57. package/dist/esm/pipeline/advanced/chart/pipes/encoding/index.js +5 -1
  58. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceBar.d.ts +3 -0
  59. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceBar.js +81 -0
  60. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceBar.js.map +1 -0
  61. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceColumn.d.ts +3 -0
  62. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceColumn.js +81 -0
  63. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceColumn.js.map +1 -0
  64. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceScatter.d.ts +3 -0
  65. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceScatter.js +83 -0
  66. package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceScatter.js.map +1 -0
  67. package/dist/esm/pipeline/advanced/chart/pipes/encoding/rose.js.map +1 -1
  68. package/dist/esm/pipeline/advanced/chart/pipes/reshape/index.d.ts +2 -0
  69. package/dist/esm/pipeline/advanced/chart/pipes/reshape/index.js +3 -1
  70. package/dist/esm/pipeline/spec/chart/pipeline/circlePacking.d.ts +1 -0
  71. package/dist/esm/pipeline/spec/chart/pipeline/circlePacking.js +34 -0
  72. package/dist/esm/pipeline/spec/chart/pipeline/circlePacking.js.map +1 -0
  73. package/dist/esm/pipeline/spec/chart/pipeline/index.d.ts +3 -0
  74. package/dist/esm/pipeline/spec/chart/pipeline/index.js +4 -1
  75. package/dist/esm/pipeline/spec/chart/pipeline/raceBar.js +3 -3
  76. package/dist/esm/pipeline/spec/chart/pipeline/raceBar.js.map +1 -1
  77. package/dist/esm/pipeline/spec/chart/pipeline/raceColumn.js +3 -3
  78. package/dist/esm/pipeline/spec/chart/pipeline/raceColumn.js.map +1 -1
  79. package/dist/esm/pipeline/spec/chart/pipeline/raceScatter.js +14 -7
  80. package/dist/esm/pipeline/spec/chart/pipeline/raceScatter.js.map +1 -1
  81. package/dist/esm/pipeline/spec/chart/pipeline/sunburst.d.ts +1 -0
  82. package/dist/esm/pipeline/spec/chart/pipeline/sunburst.js +34 -0
  83. package/dist/esm/pipeline/spec/chart/pipeline/sunburst.js.map +1 -0
  84. package/dist/esm/pipeline/spec/chart/pipeline/treeMap.d.ts +1 -0
  85. package/dist/esm/pipeline/spec/chart/pipeline/treeMap.js +37 -0
  86. package/dist/esm/pipeline/spec/chart/pipeline/treeMap.js.map +1 -0
  87. package/dist/esm/pipeline/spec/chart/pipes/axes/bandAxisStyle.js +6 -1
  88. package/dist/esm/pipeline/spec/chart/pipes/axes/bandAxisStyle.js.map +1 -1
  89. package/dist/esm/pipeline/spec/chart/pipes/axes/linearAxisStyle.js +6 -1
  90. package/dist/esm/pipeline/spec/chart/pipes/axes/linearAxisStyle.js.map +1 -1
  91. package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.js +5 -2
  92. package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.js.map +1 -1
  93. package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.js +5 -2
  94. package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.js.map +1 -1
  95. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHierarchy.d.ts +2 -0
  96. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHierarchy.js +114 -0
  97. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHierarchy.js.map +1 -0
  98. package/dist/esm/pipeline/spec/chart/pipes/dataset/index.d.ts +1 -0
  99. package/dist/esm/pipeline/spec/chart/pipes/dataset/index.js +2 -1
  100. package/dist/esm/pipeline/spec/chart/pipes/init/circlePacking.d.ts +2 -0
  101. package/dist/esm/pipeline/spec/chart/pipes/init/circlePacking.js +36 -0
  102. package/dist/esm/pipeline/spec/chart/pipes/init/circlePacking.js.map +1 -0
  103. package/dist/esm/pipeline/spec/chart/pipes/init/index.d.ts +3 -0
  104. package/dist/esm/pipeline/spec/chart/pipes/init/index.js +4 -1
  105. package/dist/esm/pipeline/spec/chart/pipes/{player/playerYBand.d.ts → init/sunburst.d.ts} +1 -1
  106. package/dist/esm/pipeline/spec/chart/pipes/init/sunburst.js +44 -0
  107. package/dist/esm/pipeline/spec/chart/pipes/init/sunburst.js.map +1 -0
  108. package/dist/esm/pipeline/spec/chart/pipes/{player/playerXBand.d.ts → init/treeMap.d.ts} +1 -1
  109. package/dist/esm/pipeline/spec/chart/pipes/init/treeMap.js +26 -0
  110. package/dist/esm/pipeline/spec/chart/pipes/init/treeMap.js.map +1 -0
  111. package/dist/esm/pipeline/spec/chart/pipes/label/index.d.ts +4 -0
  112. package/dist/esm/pipeline/spec/chart/pipes/label/index.js +5 -1
  113. package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
  114. package/dist/esm/pipeline/spec/chart/pipes/label/labelCirclePacking.d.ts +2 -0
  115. package/dist/esm/pipeline/spec/chart/pipes/label/labelCirclePacking.js +23 -0
  116. package/dist/esm/pipeline/spec/chart/pipes/label/labelCirclePacking.js.map +1 -0
  117. package/dist/esm/pipeline/spec/chart/pipes/{player/playerYLinear.d.ts → label/labelSunburst.d.ts} +1 -1
  118. package/dist/esm/pipeline/spec/chart/pipes/label/labelSunburst.js +26 -0
  119. package/dist/esm/pipeline/spec/chart/pipes/label/labelSunburst.js.map +1 -0
  120. package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapGroup.d.ts +2 -0
  121. package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapGroup.js +31 -0
  122. package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapGroup.js.map +1 -0
  123. package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapLeaf.d.ts +2 -0
  124. package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapLeaf.js +68 -0
  125. package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapLeaf.js.map +1 -0
  126. package/dist/esm/pipeline/spec/chart/pipes/player/index.d.ts +0 -4
  127. package/dist/esm/pipeline/spec/chart/pipes/player/index.js +0 -4
  128. package/dist/esm/pipeline/spec/chart/pipes/player/playerXY.js +45 -16
  129. package/dist/esm/pipeline/spec/chart/pipes/player/playerXY.js.map +1 -1
  130. package/dist/esm/pipeline/spec/chart/pipes/player/playerYX.js +47 -21
  131. package/dist/esm/pipeline/spec/chart/pipes/player/playerYX.js.map +1 -1
  132. package/dist/esm/pipeline/spec/chart/pipes/player/playerYY.js +13 -9
  133. package/dist/esm/pipeline/spec/chart/pipes/player/playerYY.js.map +1 -1
  134. package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.d.ts +1 -0
  135. package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.js +2 -1
  136. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHierarchy.d.ts +2 -0
  137. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHierarchy.js +84 -0
  138. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHierarchy.js.map +1 -0
  139. package/dist/esm/pipeline/spec/chart/pipes/{player/playerXLinear.d.ts → tooltip/tooltipTreeMap.d.ts} +1 -1
  140. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipTreeMap.js +93 -0
  141. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipTreeMap.js.map +1 -0
  142. package/dist/esm/theme/common/player.js +2 -0
  143. package/dist/esm/theme/common/player.js.map +1 -1
  144. package/dist/esm/theme/dark/area.d.ts +156 -0
  145. package/dist/esm/theme/dark/area.js +29 -0
  146. package/dist/esm/theme/dark/area.js.map +1 -0
  147. package/dist/esm/theme/dark/bar.d.ts +238 -0
  148. package/dist/esm/theme/dark/bar.js +49 -0
  149. package/dist/esm/theme/dark/bar.js.map +1 -0
  150. package/dist/esm/theme/dark/boxPlot.d.ts +80 -0
  151. package/dist/esm/theme/dark/boxPlot.js +31 -0
  152. package/dist/esm/theme/dark/boxPlot.js.map +1 -0
  153. package/dist/esm/theme/dark/column.d.ts +411 -0
  154. package/dist/esm/theme/dark/column.js +64 -0
  155. package/dist/esm/theme/dark/column.js.map +1 -0
  156. package/dist/esm/theme/dark/dark.js +42 -328
  157. package/dist/esm/theme/dark/dark.js.map +1 -1
  158. package/dist/esm/theme/dark/dualAxis.d.ts +122 -0
  159. package/dist/esm/theme/dark/dualAxis.js +34 -0
  160. package/dist/esm/theme/dark/dualAxis.js.map +1 -0
  161. package/dist/esm/theme/dark/funnel.d.ts +64 -0
  162. package/dist/esm/theme/dark/funnel.js +22 -0
  163. package/dist/esm/theme/dark/funnel.js.map +1 -0
  164. package/dist/esm/theme/dark/heatmap.d.ts +66 -0
  165. package/dist/esm/theme/dark/heatmap.js +30 -0
  166. package/dist/esm/theme/dark/heatmap.js.map +1 -0
  167. package/dist/esm/theme/dark/hierarchy.d.ts +189 -0
  168. package/dist/esm/theme/dark/hierarchy.js +21 -0
  169. package/dist/esm/theme/dark/hierarchy.js.map +1 -0
  170. package/dist/esm/theme/dark/histogram.d.ts +252 -0
  171. package/dist/esm/theme/dark/histogram.js +29 -0
  172. package/dist/esm/theme/dark/histogram.js.map +1 -0
  173. package/dist/esm/theme/dark/line.d.ts +78 -0
  174. package/dist/esm/theme/dark/line.js +28 -0
  175. package/dist/esm/theme/dark/line.js.map +1 -0
  176. package/dist/esm/theme/dark/pie.d.ts +130 -0
  177. package/dist/esm/theme/dark/pie.js +26 -0
  178. package/dist/esm/theme/dark/pie.js.map +1 -0
  179. package/dist/esm/theme/dark/race.d.ts +717 -0
  180. package/dist/esm/theme/dark/race.js +138 -0
  181. package/dist/esm/theme/dark/race.js.map +1 -0
  182. package/dist/esm/theme/dark/radar.d.ts +63 -0
  183. package/dist/esm/theme/dark/radar.js +19 -0
  184. package/dist/esm/theme/dark/radar.js.map +1 -0
  185. package/dist/esm/theme/dark/rose.d.ts +128 -0
  186. package/dist/esm/theme/dark/rose.js +25 -0
  187. package/dist/esm/theme/dark/rose.js.map +1 -0
  188. package/dist/esm/theme/dark/scatter.d.ts +345 -0
  189. package/dist/esm/theme/dark/scatter.js +50 -0
  190. package/dist/esm/theme/dark/scatter.js.map +1 -0
  191. package/dist/esm/theme/light/area.d.ts +156 -0
  192. package/dist/esm/theme/light/area.js +29 -0
  193. package/dist/esm/theme/light/area.js.map +1 -0
  194. package/dist/esm/theme/light/bar.d.ts +238 -0
  195. package/dist/esm/theme/light/bar.js +49 -0
  196. package/dist/esm/theme/light/bar.js.map +1 -0
  197. package/dist/esm/theme/light/boxPlot.d.ts +80 -0
  198. package/dist/esm/theme/light/boxPlot.js +30 -0
  199. package/dist/esm/theme/light/boxPlot.js.map +1 -0
  200. package/dist/esm/theme/light/column.d.ts +411 -0
  201. package/dist/esm/theme/light/column.js +64 -0
  202. package/dist/esm/theme/light/column.js.map +1 -0
  203. package/dist/esm/theme/light/dualAxis.d.ts +122 -0
  204. package/dist/esm/theme/light/dualAxis.js +34 -0
  205. package/dist/esm/theme/light/dualAxis.js.map +1 -0
  206. package/dist/esm/theme/light/funnel.d.ts +64 -0
  207. package/dist/esm/theme/light/funnel.js +22 -0
  208. package/dist/esm/theme/light/funnel.js.map +1 -0
  209. package/dist/esm/theme/light/heatmap.d.ts +66 -0
  210. package/dist/esm/theme/light/heatmap.js +30 -0
  211. package/dist/esm/theme/light/heatmap.js.map +1 -0
  212. package/dist/esm/theme/light/hierarchy.d.ts +189 -0
  213. package/dist/esm/theme/light/hierarchy.js +21 -0
  214. package/dist/esm/theme/light/hierarchy.js.map +1 -0
  215. package/dist/esm/theme/light/histogram.d.ts +252 -0
  216. package/dist/esm/theme/light/histogram.js +29 -0
  217. package/dist/esm/theme/light/histogram.js.map +1 -0
  218. package/dist/esm/theme/light/light.js +42 -334
  219. package/dist/esm/theme/light/light.js.map +1 -1
  220. package/dist/esm/theme/light/line.d.ts +78 -0
  221. package/dist/esm/theme/light/line.js +28 -0
  222. package/dist/esm/theme/light/line.js.map +1 -0
  223. package/dist/esm/theme/light/pie.d.ts +130 -0
  224. package/dist/esm/theme/light/pie.js +26 -0
  225. package/dist/esm/theme/light/pie.js.map +1 -0
  226. package/dist/esm/theme/light/race.d.ts +899 -0
  227. package/dist/esm/theme/light/race.js +172 -0
  228. package/dist/esm/theme/light/race.js.map +1 -0
  229. package/dist/esm/theme/light/radar.d.ts +63 -0
  230. package/dist/esm/theme/light/radar.js +19 -0
  231. package/dist/esm/theme/light/radar.js.map +1 -0
  232. package/dist/esm/theme/light/rose.d.ts +128 -0
  233. package/dist/esm/theme/light/rose.js +25 -0
  234. package/dist/esm/theme/light/rose.js.map +1 -0
  235. package/dist/esm/theme/light/scatter.d.ts +345 -0
  236. package/dist/esm/theme/light/scatter.js +50 -0
  237. package/dist/esm/theme/light/scatter.js.map +1 -0
  238. package/dist/esm/types/chartType/area/zArea.d.ts +13 -2
  239. package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +13 -2
  240. package/dist/esm/types/chartType/bar/zBar.d.ts +13 -2
  241. package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +13 -2
  242. package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +13 -2
  243. package/dist/esm/types/chartType/boxPlot/zBoxPlot.d.ts +13 -2
  244. package/dist/esm/types/chartType/circlePacking/circlePacking.d.ts +85 -0
  245. package/dist/esm/types/chartType/circlePacking/circlePacking.js +0 -0
  246. package/dist/esm/types/chartType/circlePacking/index.d.ts +2 -0
  247. package/dist/esm/types/chartType/circlePacking/index.js +1 -0
  248. package/dist/esm/types/chartType/circlePacking/zCirclePacking.d.ts +263 -0
  249. package/dist/esm/types/chartType/circlePacking/zCirclePacking.js +19 -0
  250. package/dist/esm/types/chartType/circlePacking/zCirclePacking.js.map +1 -0
  251. package/dist/esm/types/chartType/column/zColumn.d.ts +13 -3
  252. package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +13 -3
  253. package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +13 -2
  254. package/dist/esm/types/chartType/donut/zDonut.d.ts +4 -1
  255. package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +26 -4
  256. package/dist/esm/types/chartType/funnel/zFunnel.d.ts +4 -1
  257. package/dist/esm/types/chartType/heatmap/zHeatmap.d.ts +2 -0
  258. package/dist/esm/types/chartType/histogram/zHistogram.d.ts +14 -3
  259. package/dist/esm/types/chartType/index.d.ts +3 -0
  260. package/dist/esm/types/chartType/index.js +3 -0
  261. package/dist/esm/types/chartType/line/zLine.d.ts +13 -2
  262. package/dist/esm/types/chartType/pie/zPie.d.ts +4 -1
  263. package/dist/esm/types/chartType/pivotTable/zPivotTable.d.ts +2 -0
  264. package/dist/esm/types/chartType/raceBar/raceBar.d.ts +3 -4
  265. package/dist/esm/types/chartType/raceBar/zRaceBar.d.ts +13 -3
  266. package/dist/esm/types/chartType/raceColumn/raceColumn.d.ts +3 -3
  267. package/dist/esm/types/chartType/raceColumn/zRaceColumn.d.ts +13 -3
  268. package/dist/esm/types/chartType/raceScatter/raceScatter.d.ts +16 -2
  269. package/dist/esm/types/chartType/raceScatter/zRaceScatter.d.ts +16 -4
  270. package/dist/esm/types/chartType/raceScatter/zRaceScatter.js +2 -0
  271. package/dist/esm/types/chartType/raceScatter/zRaceScatter.js.map +1 -1
  272. package/dist/esm/types/chartType/radar/zRadar.d.ts +4 -1
  273. package/dist/esm/types/chartType/rose/zRose.d.ts +4 -1
  274. package/dist/esm/types/chartType/roseParallel/zRoseParallel.d.ts +4 -1
  275. package/dist/esm/types/chartType/scatter/zScatter.d.ts +14 -3
  276. package/dist/esm/types/chartType/sunburst/index.d.ts +2 -0
  277. package/dist/esm/types/chartType/sunburst/index.js +1 -0
  278. package/dist/esm/types/chartType/sunburst/sunburst.d.ts +86 -0
  279. package/dist/esm/types/chartType/sunburst/sunburst.js +0 -0
  280. package/dist/esm/types/chartType/sunburst/zSunburst.d.ts +263 -0
  281. package/dist/esm/types/chartType/sunburst/zSunburst.js +19 -0
  282. package/dist/esm/types/chartType/sunburst/zSunburst.js.map +1 -0
  283. package/dist/esm/types/chartType/table/zTable.d.ts +2 -0
  284. package/dist/esm/types/chartType/treeMap/index.d.ts +2 -0
  285. package/dist/esm/types/chartType/treeMap/index.js +1 -0
  286. package/dist/esm/types/chartType/treeMap/treeMap.d.ts +85 -0
  287. package/dist/esm/types/chartType/treeMap/treeMap.js +0 -0
  288. package/dist/esm/types/chartType/treeMap/zTreeMap.d.ts +263 -0
  289. package/dist/esm/types/chartType/treeMap/zTreeMap.js +19 -0
  290. package/dist/esm/types/chartType/treeMap/zTreeMap.js.map +1 -0
  291. package/dist/esm/types/properties/chartType/chartType.d.ts +6 -1
  292. package/dist/esm/types/properties/chartType/chartType.js +6 -0
  293. package/dist/esm/types/properties/chartType/chartType.js.map +1 -1
  294. package/dist/esm/types/properties/config/annotation/index.d.ts +1 -1
  295. package/dist/esm/types/properties/config/annotation/index.js +1 -1
  296. package/dist/esm/types/properties/config/annotation/{zAnnotaion.js → zAnnotation.js} +1 -1
  297. package/dist/esm/types/properties/config/annotation/zAnnotation.js.map +1 -0
  298. package/dist/esm/types/properties/config/area.d.ts +18 -2
  299. package/dist/esm/types/properties/config/area.js +1 -1
  300. package/dist/esm/types/properties/config/area.js.map +1 -1
  301. package/dist/esm/types/properties/config/axes/bandAxis.d.ts +26 -0
  302. package/dist/esm/types/properties/config/axes/linearAxis.d.ts +30 -4
  303. package/dist/esm/types/properties/config/axes/zBandAxis.d.ts +8 -0
  304. package/dist/esm/types/properties/config/axes/zBandAxis.js +4 -0
  305. package/dist/esm/types/properties/config/axes/zBandAxis.js.map +1 -1
  306. package/dist/esm/types/properties/config/axes/zLinearAxis.d.ts +10 -2
  307. package/dist/esm/types/properties/config/axes/zLinearAxis.js +5 -1
  308. package/dist/esm/types/properties/config/axes/zLinearAxis.js.map +1 -1
  309. package/dist/esm/types/properties/config/bar.d.ts +27 -3
  310. package/dist/esm/types/properties/config/bar.js +1 -1
  311. package/dist/esm/types/properties/config/bar.js.map +1 -1
  312. package/dist/esm/types/properties/config/boxplot.d.ts +9 -1
  313. package/dist/esm/types/properties/config/boxplot.js +1 -1
  314. package/dist/esm/types/properties/config/boxplot.js.map +1 -1
  315. package/dist/esm/types/properties/config/circlePacking.d.ts +211 -0
  316. package/dist/esm/types/properties/config/circlePacking.js +18 -0
  317. package/dist/esm/types/properties/config/circlePacking.js.map +1 -0
  318. package/dist/esm/types/properties/config/column.d.ts +27 -3
  319. package/dist/esm/types/properties/config/column.js +1 -1
  320. package/dist/esm/types/properties/config/column.js.map +1 -1
  321. package/dist/esm/types/properties/config/config.d.ts +986 -183
  322. package/dist/esm/types/properties/config/config.js +6 -0
  323. package/dist/esm/types/properties/config/config.js.map +1 -1
  324. package/dist/esm/types/properties/config/dualAxis.d.ts +24 -4
  325. package/dist/esm/types/properties/config/dualAxis.js +1 -1
  326. package/dist/esm/types/properties/config/dualAxis.js.map +1 -1
  327. package/dist/esm/types/properties/config/heatmap.d.ts +8 -0
  328. package/dist/esm/types/properties/config/histogram.d.ts +9 -1
  329. package/dist/esm/types/properties/config/histogram.js +1 -1
  330. package/dist/esm/types/properties/config/histogram.js.map +1 -1
  331. package/dist/esm/types/properties/config/index.d.ts +3 -0
  332. package/dist/esm/types/properties/config/index.js +3 -0
  333. package/dist/esm/types/properties/config/line.d.ts +9 -1
  334. package/dist/esm/types/properties/config/line.js +1 -1
  335. package/dist/esm/types/properties/config/line.js.map +1 -1
  336. package/dist/esm/types/properties/config/player/player.d.ts +2 -2
  337. package/dist/esm/types/properties/config/player/zPlayer.d.ts +0 -1
  338. package/dist/esm/types/properties/config/player/zPlayer.js +0 -1
  339. package/dist/esm/types/properties/config/player/zPlayer.js.map +1 -1
  340. package/dist/esm/types/properties/config/race.d.ts +64 -12
  341. package/dist/esm/types/properties/config/race.js +2 -2
  342. package/dist/esm/types/properties/config/race.js.map +1 -1
  343. package/dist/esm/types/properties/config/scatter.d.ts +10 -2
  344. package/dist/esm/types/properties/config/scatter.js +1 -1
  345. package/dist/esm/types/properties/config/scatter.js.map +1 -1
  346. package/dist/esm/types/properties/config/sunburst.d.ts +211 -0
  347. package/dist/esm/types/properties/config/sunburst.js +18 -0
  348. package/dist/esm/types/properties/config/sunburst.js.map +1 -0
  349. package/dist/esm/types/properties/config/treeMap.d.ts +211 -0
  350. package/dist/esm/types/properties/config/treeMap.js +18 -0
  351. package/dist/esm/types/properties/config/treeMap.js.map +1 -0
  352. package/dist/esm/types/properties/datasetReshapeInfo/datasetReshapeInfo.d.ts +2 -0
  353. package/dist/esm/types/properties/datasetReshapeInfo/zDatasetReshapeInfo.d.ts +4 -0
  354. package/dist/esm/types/properties/datasetReshapeInfo/zDatasetReshapeInfo.js +2 -0
  355. package/dist/esm/types/properties/datasetReshapeInfo/zDatasetReshapeInfo.js.map +1 -1
  356. package/dist/esm/types/properties/dimensions/hierarchyDimension.d.ts +11 -0
  357. package/dist/esm/types/properties/dimensions/hierarchyDimension.js +0 -0
  358. package/dist/esm/types/properties/dimensions/index.d.ts +4 -0
  359. package/dist/esm/types/properties/dimensions/raceBarDimension.d.ts +17 -0
  360. package/dist/esm/types/properties/dimensions/raceBarDimension.js +0 -0
  361. package/dist/esm/types/properties/dimensions/raceColumnDimension.d.ts +20 -0
  362. package/dist/esm/types/properties/dimensions/raceColumnDimension.js +0 -0
  363. package/dist/esm/types/properties/dimensions/raceScatterDimension.d.ts +14 -0
  364. package/dist/esm/types/properties/dimensions/raceScatterDimension.js +0 -0
  365. package/dist/esm/types/properties/dimensions/zDimensions.d.ts +6 -0
  366. package/dist/esm/types/properties/dimensions/zDimensions.js +2 -11
  367. package/dist/esm/types/properties/dimensions/zDimensions.js.map +1 -1
  368. package/dist/esm/types/properties/encoding/dimensionEncoding.d.ts +1 -1
  369. package/dist/esm/types/properties/encoding/encoding.d.ts +11 -4
  370. package/dist/esm/types/properties/encoding/zDimensionEncoding.d.ts +4 -0
  371. package/dist/esm/types/properties/encoding/zDimensionEncoding.js +6 -2
  372. package/dist/esm/types/properties/encoding/zDimensionEncoding.js.map +1 -1
  373. package/dist/esm/types/properties/encoding/zEncoding.d.ts +4 -2
  374. package/dist/esm/types/properties/encoding/zEncoding.js +4 -2
  375. package/dist/esm/types/properties/encoding/zEncoding.js.map +1 -1
  376. package/dist/esm/types/properties/measures/hierarchyMeasures.d.ts +4 -0
  377. package/dist/esm/types/properties/measures/hierarchyMeasures.js +0 -0
  378. package/dist/esm/types/properties/measures/index.d.ts +2 -0
  379. package/dist/esm/types/properties/measures/raceBarMeasure.d.ts +12 -0
  380. package/dist/esm/types/properties/measures/raceBarMeasure.js +0 -0
  381. package/dist/esm/types/properties/theme/customTheme.d.ts +2762 -1156
  382. package/dist/esm/types/vseed.d.ts +2 -2
  383. package/dist/esm/types/zVseed.d.ts +1257 -266
  384. package/dist/esm/types/zVseed.js +4 -1
  385. package/dist/esm/types/zVseed.js.map +1 -1
  386. package/dist/umd/index.js +3912 -2187
  387. package/dist/umd/index.js.map +1 -1
  388. package/package.json +3 -2
  389. package/dist/esm/pipeline/spec/chart/pipes/player/playerXBand.js +0 -10
  390. package/dist/esm/pipeline/spec/chart/pipes/player/playerXBand.js.map +0 -1
  391. package/dist/esm/pipeline/spec/chart/pipes/player/playerXLinear.js +0 -14
  392. package/dist/esm/pipeline/spec/chart/pipes/player/playerXLinear.js.map +0 -1
  393. package/dist/esm/pipeline/spec/chart/pipes/player/playerYBand.js +0 -13
  394. package/dist/esm/pipeline/spec/chart/pipes/player/playerYBand.js.map +0 -1
  395. package/dist/esm/pipeline/spec/chart/pipes/player/playerYLinear.js +0 -14
  396. package/dist/esm/pipeline/spec/chart/pipes/player/playerYLinear.js.map +0 -1
  397. package/dist/esm/types/properties/config/annotation/zAnnotaion.js.map +0 -1
  398. /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,343 +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
- pivotGrid: getLightPivotChartGridConfig(),
47
- annotation: getLightAnnotation()
48
- },
49
- column: {
50
- ...baseConfig,
51
- xAxis: bandAxis,
52
- yAxis: linearAxis,
53
- crosshairRect,
54
- stackCornerRadius: [
55
- 4,
56
- 4,
57
- 0,
58
- 0
59
- ],
60
- pivotGrid: getLightPivotChartGridConfig(),
61
- annotation: getLightAnnotation(),
62
- regressionLine: getLightRegressionLine()
63
- },
64
- columnParallel: {
65
- ...baseConfig,
66
- xAxis: bandAxis,
67
- yAxis: linearAxis,
68
- crosshairRect,
69
- stackCornerRadius: [
70
- 4,
71
- 4,
72
- 0,
73
- 0
74
- ],
75
- pivotGrid: getLightPivotChartGridConfig(),
76
- annotation: getLightAnnotation()
77
- },
78
- columnPercent: {
79
- ...baseConfig,
80
- xAxis: bandAxis,
81
- yAxis: {
82
- ...linearAxis
83
- },
84
- crosshairRect,
85
- stackCornerRadius: [
86
- 4,
87
- 4,
88
- 0,
89
- 0
90
- ],
91
- pivotGrid: getLightPivotChartGridConfig(),
92
- annotation: getLightAnnotation()
93
- },
94
- bar: {
95
- ...baseConfig,
96
- xAxis: linearAxis,
97
- yAxis: barBandAxis,
98
- crosshairRect,
99
- stackCornerRadius: [
100
- 0,
101
- 4,
102
- 4,
103
- 0
104
- ],
105
- pivotGrid: getLightPivotChartGridConfig(),
106
- annotation: getLightAnnotation()
107
- },
108
- raceBar: {
109
- ...baseConfig,
110
- xAxis: linearAxis,
111
- yAxis: barBandAxis,
112
- crosshairRect,
113
- player,
114
- stackCornerRadius: [
115
- 0,
116
- 4,
117
- 4,
118
- 0
119
- ],
120
- pivotGrid: getLightPivotChartGridConfig(),
121
- annotation: getLightAnnotation()
122
- },
123
- raceColumn: {
124
- ...baseConfig,
125
- xAxis: bandAxis,
126
- yAxis: linearAxis,
127
- crosshairRect,
128
- player,
129
- stackCornerRadius: [
130
- 4,
131
- 4,
132
- 0,
133
- 0
134
- ],
135
- pivotGrid: getLightPivotChartGridConfig(),
136
- annotation: getLightAnnotation(),
137
- regressionLine: getLightRegressionLine()
138
- },
139
- raceScatter: {
140
- ...baseConfig,
141
- crosshairLine,
142
- sizeRange: [
143
- 8,
144
- 24
145
- ],
146
- xAxis: {
147
- ...linearAxis,
148
- line: {
149
- ...linearAxis.line,
150
- visible: true
151
- }
152
- },
153
- yAxis: {
154
- ...linearAxis,
155
- line: {
156
- ...linearAxis.line,
157
- visible: true
158
- }
159
- },
160
- label: {
161
- ...baseConfig.label,
162
- showValue: false,
163
- showValuePercent: false
164
- },
165
- player,
166
- pivotGrid: getLightPivotChartGridConfig(),
167
- annotation: getLightAnnotation(),
168
- regressionLine: getLightRegressionLine()
169
- },
170
- barParallel: {
171
- ...baseConfig,
172
- xAxis: linearAxis,
173
- yAxis: barBandAxis,
174
- crosshairRect,
175
- stackCornerRadius: [
176
- 0,
177
- 4,
178
- 4,
179
- 0
180
- ],
181
- pivotGrid: getLightPivotChartGridConfig(),
182
- annotation: getLightAnnotation()
183
- },
184
- barPercent: {
185
- ...baseConfig,
186
- xAxis: {
187
- ...linearAxis
188
- },
189
- yAxis: barBandAxis,
190
- crosshairRect,
191
- stackCornerRadius: [
192
- 0,
193
- 4,
194
- 4,
195
- 0
196
- ],
197
- pivotGrid: getLightPivotChartGridConfig(),
198
- annotation: getLightAnnotation()
199
- },
200
- area: {
201
- ...baseConfig,
202
- xAxis: bandAxis,
203
- yAxis: linearAxis,
204
- crosshairLine,
205
- pivotGrid: getLightPivotChartGridConfig(),
206
- annotation: getLightAnnotation()
207
- },
208
- areaPercent: {
209
- ...baseConfig,
210
- xAxis: bandAxis,
211
- yAxis: {
212
- ...linearAxis
213
- },
214
- crosshairLine,
215
- pivotGrid: getLightPivotChartGridConfig(),
216
- annotation: getLightAnnotation()
217
- },
218
- scatter: {
219
- ...baseConfig,
220
- crosshairLine,
221
- sizeRange: [
222
- 8,
223
- 24
224
- ],
225
- xAxis: {
226
- ...linearAxis,
227
- line: {
228
- ...linearAxis.line,
229
- visible: true
230
- }
231
- },
232
- yAxis: {
233
- ...linearAxis,
234
- line: {
235
- ...linearAxis.line,
236
- visible: true
237
- }
238
- },
239
- label: {
240
- ...baseConfig.label,
241
- showValue: false,
242
- showValuePercent: false
243
- },
244
- pivotGrid: getLightPivotChartGridConfig(),
245
- annotation: getLightAnnotation(),
246
- regressionLine: getLightRegressionLine()
247
- },
248
- dualAxis: {
249
- ...baseConfig,
250
- xAxis: bandAxis,
251
- primaryYAxis: linearAxis,
252
- secondaryYAxis: {
253
- ...linearAxis,
254
- grid: {
255
- visible: false
256
- }
257
- },
258
- crosshairRect,
259
- pivotGrid: getLightPivotChartGridConfig(),
260
- annotation: getLightAnnotation()
261
- },
262
- pie: {
263
- ...baseConfig,
264
- label: {
265
- ...baseConfig.label,
266
- showValuePercent: true,
267
- labelLayout: 'arc',
268
- showDimension: true
269
- },
270
- pivotGrid: getLightPivotChartGridConfig()
271
- },
272
- donut: {
273
- ...baseConfig,
274
- label: {
275
- ...baseConfig.label,
276
- showValuePercent: true,
277
- labelLayout: 'arc',
278
- showDimension: true
279
- },
280
- pivotGrid: getLightPivotChartGridConfig()
281
- },
282
- radar: {
283
- ...baseConfig,
284
- pivotGrid: getLightPivotChartGridConfig()
285
- },
286
- rose: {
287
- ...baseConfig,
288
- label: {
289
- ...baseConfig.label,
290
- showValuePercent: true,
291
- showDimension: true
292
- },
293
- pivotGrid: getLightPivotChartGridConfig()
294
- },
295
- roseParallel: {
296
- ...baseConfig,
297
- label: {
298
- ...baseConfig.label,
299
- showValuePercent: true,
300
- showDimension: true
301
- },
302
- pivotGrid: getLightPivotChartGridConfig()
303
- },
304
- funnel: {
305
- ...baseConfig,
306
- label: getFunnelLightLabel(),
307
- transform: getLightFunnelTransformTheme(),
308
- pivotGrid: getLightPivotChartGridConfig()
309
- },
310
- heatmap: {
311
- ...baseConfig,
312
- legend: getLightColorLegend(),
313
- xAxis: bandAxis,
314
- yAxis: bandAxis,
315
- label: {
316
- ...baseConfig.label,
317
- labelColorSmartInvert: true
318
- },
319
- cell: getLightHeatmapCellTheme(),
320
- pivotGrid: getLightPivotChartGridConfig()
321
- },
322
- histogram: {
323
- ...baseConfig,
324
- xAxis: linearAxis,
325
- yAxis: linearAxis,
326
- crosshairRect,
327
- pivotGrid: getLightPivotChartGridConfig(),
328
- annotation: getLightAnnotation(),
329
- regressionLine: getLightRegressionLine()
330
- },
331
- boxPlot: {
332
- ...baseConfig,
333
- xAxis: linearAxis,
334
- yAxis: linearAxis,
335
- crosshairRect,
336
- pivotGrid: getLightPivotChartGridConfig(),
337
- annotation: getLightAnnotation(),
338
- boxPlotStyle: getLightBoxPlotStyle(),
339
- outlierStyle: getLightOutlierStyle()
340
- }
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()
341
49
  }
342
50
  };
343
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 pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n column: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairRect,\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\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\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\n stackCornerRadius: [0, 4, 4, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n raceBar: {\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 raceColumn: {\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 raceScatter: {\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 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\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\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n areaPercent: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: {\n ...linearAxis,\n },\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\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\n pivotGrid: getLightPivotChartGridConfig(),\n },\n donut: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n labelLayout: 'arc',\n showDimension: true,\n },\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n radar: {\n ...baseConfig,\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n rose: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n showDimension: true,\n },\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n roseParallel: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n showDimension: true,\n },\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n // other\n funnel: {\n ...baseConfig,\n label: getFunnelLightLabel(),\n transform: getLightFunnelTransformTheme(),\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\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"}