@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
@@ -1 +1 @@
1
- {"version":3,"file":"types/advancedVSeed.js","sources":["webpack://@visactor/vseed/./src/types/advancedVSeed.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zChartType } from './properties/chartType'\nimport { zDataset } from './properties/dataset'\nimport { zDimensions, zDimensionTree } from './properties/dimensions'\nimport { zMeasures, zMeasureTree } from './properties/measures'\nimport { zEncoding } from './properties/encoding'\nimport { zDatasetReshapeInfo } from './properties/datasetReshapeInfo'\nimport { zTheme, zCustomThemeConfig } from './properties/theme'\nimport { zConfig } from './properties/config'\nimport { zAnalysis, zAnnotation, zRegressionLine, zMarkStyle, zPage } from './properties'\nimport { zLocale } from './i18n'\nimport { zCellStyle } from './properties/cellStyle/cellStyle'\n\nexport const zAdvancedVSeed = z.object({\n chartType: zChartType,\n dataset: zDataset,\n datasetReshapeInfo: zDatasetReshapeInfo,\n pivotAllDatasetReshapeInfo: zDatasetReshapeInfo,\n dimensions: zDimensions.optional(),\n measures: zMeasures.optional(),\n reshapeMeasures: z.array(zMeasures).optional(),\n reshapeDimensions: zDimensions.optional(),\n measureTree: zMeasureTree.optional(), // 现在只有表格中可能会配置这种树状结构\n dimensionTree: zDimensionTree.optional(), // 现在只有表格中可能会配置这种树状结构\n encoding: zEncoding,\n page: zPage.optional(),\n config: zConfig,\n analysis: zAnalysis,\n theme: zTheme,\n markStyle: zMarkStyle,\n cellStyle: zCellStyle,\n customTheme: zCustomThemeConfig,\n annotation: zAnnotation,\n locale: zLocale,\n regressionLine: zRegressionLine,\n})\n\nexport type AdvancedVSeed = z.infer<typeof zAdvancedVSeed>\n"],"names":["zAdvancedVSeed","z","zChartType","zDataset","zDatasetReshapeInfo","zDimensions","zMeasures","zMeasureTree","zDimensionTree","zEncoding","zPage","zConfig","zAnalysis","zTheme","zMarkStyle","zCellStyle","zCustomThemeConfig","zAnnotation","zLocale","zRegressionLine"],"mappings":";;;;;;;;;;;;AAaO,MAAMA,iBAAiBC,EAAE,MAAM,CAAC;IACrC,WAAWC;IACX,SAASC;IACT,oBAAoBC;IACpB,4BAA4BA;IAC5B,YAAYC,YAAY,QAAQ;IAChC,UAAUC,UAAU,QAAQ;IAC5B,iBAAiBL,EAAE,KAAK,CAACK,WAAW,QAAQ;IAC5C,mBAAmBD,YAAY,QAAQ;IACvC,aAAaE,aAAa,QAAQ;IAClC,eAAeC,eAAe,QAAQ;IACtC,UAAUC;IACV,MAAMC,MAAM,QAAQ;IACpB,QAAQC;IACR,UAAUC;IACV,OAAOC;IACP,WAAWC;IACX,WAAWC;IACX,aAAaC;IACb,YAAYC;IACZ,QAAQC;IACR,gBAAgBC;AAClB"}
1
+ {"version":3,"file":"types/advancedVSeed.js","sources":["webpack://@visactor/vseed/./src/types/advancedVSeed.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zChartType } from './properties/chartType'\nimport { zDataset } from './properties/dataset'\nimport { zDimensions, zDimensionTree } from './properties/dimensions'\nimport { zMeasures, zMeasureTree } from './properties/measures'\nimport { zEncoding } from './properties/encoding'\nimport { zDatasetReshapeInfo } from './properties/datasetReshapeInfo'\nimport { zTheme, zCustomThemeConfig } from './properties/theme'\nimport { zConfig, type Config } from './properties/config'\nimport { zAnalysis, zAnnotation, zRegressionLine, zMarkStyle, zPage } from './properties'\nimport { zLocale } from './i18n'\nimport { zCellStyle } from './properties/cellStyle/cellStyle'\n\nexport type AdvancedVSeed = {\n chartType: z.infer<typeof zChartType>\n dataset: z.infer<typeof zDataset>\n datasetReshapeInfo: z.infer<typeof zDatasetReshapeInfo>\n pivotAllDatasetReshapeInfo: z.infer<typeof zDatasetReshapeInfo>\n dimensions?: z.infer<typeof zDimensions>\n measures?: z.infer<typeof zMeasures>\n reshapeMeasures?: z.infer<typeof zMeasures>[]\n reshapeDimensions?: z.infer<typeof zDimensions>\n measureTree?: z.infer<typeof zMeasureTree>\n dimensionTree?: z.infer<typeof zDimensionTree>\n encoding: z.infer<typeof zEncoding>\n page?: z.infer<typeof zPage>\n config: Config\n analysis: z.infer<typeof zAnalysis>\n theme: z.infer<typeof zTheme>\n markStyle: z.infer<typeof zMarkStyle>\n cellStyle: z.infer<typeof zCellStyle>\n customTheme: z.infer<typeof zCustomThemeConfig>\n annotation: z.infer<typeof zAnnotation>\n locale: z.infer<typeof zLocale>\n regressionLine: z.infer<typeof zRegressionLine>\n}\n\nexport const zAdvancedVSeed: z.ZodType<AdvancedVSeed> = z.object({\n chartType: zChartType,\n dataset: zDataset,\n datasetReshapeInfo: zDatasetReshapeInfo,\n pivotAllDatasetReshapeInfo: zDatasetReshapeInfo,\n dimensions: zDimensions.optional(),\n measures: zMeasures.optional(),\n reshapeMeasures: z.array(zMeasures).optional(),\n reshapeDimensions: zDimensions.optional(),\n measureTree: zMeasureTree.optional(), // 现在只有表格中可能会配置这种树状结构\n dimensionTree: zDimensionTree.optional(), // 现在只有表格中可能会配置这种树状结构\n encoding: zEncoding,\n page: zPage.optional(),\n config: zConfig,\n analysis: zAnalysis,\n theme: zTheme,\n markStyle: zMarkStyle,\n cellStyle: zCellStyle,\n customTheme: zCustomThemeConfig,\n annotation: zAnnotation,\n locale: zLocale,\n regressionLine: zRegressionLine,\n})\n"],"names":["zAdvancedVSeed","z","zChartType","zDataset","zDatasetReshapeInfo","zDimensions","zMeasures","zMeasureTree","zDimensionTree","zEncoding","zPage","zConfig","zAnalysis","zTheme","zMarkStyle","zCellStyle","zCustomThemeConfig","zAnnotation","zLocale","zRegressionLine"],"mappings":";;;;;;;;;;;;AAqCO,MAAMA,iBAA2CC,EAAE,MAAM,CAAC;IAC/D,WAAWC;IACX,SAASC;IACT,oBAAoBC;IACpB,4BAA4BA;IAC5B,YAAYC,YAAY,QAAQ;IAChC,UAAUC,UAAU,QAAQ;IAC5B,iBAAiBL,EAAE,KAAK,CAACK,WAAW,QAAQ;IAC5C,mBAAmBD,YAAY,QAAQ;IACvC,aAAaE,aAAa,QAAQ;IAClC,eAAeC,eAAe,QAAQ;IACtC,UAAUC;IACV,MAAMC,MAAM,QAAQ;IACpB,QAAQC;IACR,UAAUC;IACV,OAAOC;IACP,WAAWC;IACX,WAAWC;IACX,aAAaC;IACb,YAAYC;IACZ,QAAQC;IACR,gBAAgBC;AAClB"}
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, Brush, Color, Dataset, Label, Legend, LineStyle, PointStyle, Theme, Tooltip, XBandAxis, YLinearAxis, CrosshairLine, Sort, SortLegend, DimensionLinkage, ColumnDimension, ColumnMeasure, Page, Player } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, Brush, Color, Dataset, Label, Legend, LineStyle, PointStyle, Theme, Tooltip, XBandAxis, YLinearAxis, CrosshairLine, Sort, SortLegend, DimensionLinkage, ColumnDimension, ColumnMeasure, Page } from '../../properties';
3
3
  /**
4
4
  * @recommend
5
5
  * - 推荐字段配置: `1`个指标, `2`个维度
@@ -64,10 +64,6 @@ export interface Area {
64
64
  * @description 分页配置,用于配置图表的分页功能
65
65
  */
66
66
  page?: Page;
67
- /**
68
- * @description 播放器配置, 用于指定播放的字段名, 必须是维度
69
- */
70
- player?: Player;
71
67
  /**
72
68
  * 图表的背景颜色
73
69
  * @default transparent 默认为透明背景
@@ -14,7 +14,8 @@ export declare const zArea: z.ZodObject<{
14
14
  label: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15
15
  row: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
16
16
  column: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
- group: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
+ player: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
+ hierarchy: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
19
  value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
19
20
  q1: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
21
  q3: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -38,6 +39,8 @@ export declare const zArea: z.ZodObject<{
38
39
  tooltip: "tooltip";
39
40
  label: "label";
40
41
  row: "row";
42
+ player: "player";
43
+ hierarchy: "hierarchy";
41
44
  }>>;
42
45
  }, z.core.$strip>>>>;
43
46
  measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -395,11 +398,15 @@ export declare const zArea: z.ZodObject<{
395
398
  gridWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
396
399
  gridLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
397
400
  }, z.core.$strip>>>;
401
+ animation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
402
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
403
+ easing: z.ZodOptional<z.ZodNullable<z.ZodString>>;
404
+ }, z.core.$strip>>>;
398
405
  }, z.core.$strip>>>;
399
406
  yAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
400
407
  visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
401
408
  min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
402
- max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
409
+ max: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>>;
403
410
  nice: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
404
411
  zero: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
405
412
  log: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
@@ -466,6 +473,10 @@ export declare const zArea: z.ZodObject<{
466
473
  gridWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
467
474
  gridLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
468
475
  }, z.core.$strip>>>;
476
+ animation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
477
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
478
+ easing: z.ZodOptional<z.ZodNullable<z.ZodString>>;
479
+ }, z.core.$strip>>>;
469
480
  }, z.core.$strip>>>;
470
481
  crosshairLine: z.ZodOptional<z.ZodNullable<z.ZodObject<{
471
482
  visible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, Brush, Color, Dataset, Label, Legend, LineStyle, PointStyle, Theme, Tooltip, XBandAxis, YLinearAxis, CrosshairLine, Sort, SortLegend, DimensionLinkage, ColumnDimension, ColumnMeasure, Page, Player } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, Brush, Color, Dataset, Label, Legend, LineStyle, PointStyle, Theme, Tooltip, XBandAxis, YLinearAxis, CrosshairLine, Sort, SortLegend, DimensionLinkage, ColumnDimension, ColumnMeasure, Page } from '../../properties';
3
3
  /**
4
4
  * @description 百分比面积图,适用于展示多类别占比随时间变化的趋势,Y轴以百分比形式展示占比关系
5
5
  * 适用场景:
@@ -56,10 +56,6 @@ export interface AreaPercent {
56
56
  * @description 分页配置,用于配置图表的分页功能
57
57
  */
58
58
  page?: Page;
59
- /**
60
- * @description 播放器配置, 用于指定播放的字段名, 必须是维度
61
- */
62
- player?: Player;
63
59
  /**
64
60
  * 图表的背景颜色
65
61
  * @default transparent 默认为透明背景
@@ -14,7 +14,8 @@ export declare const zAreaPercent: z.ZodObject<{
14
14
  label: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15
15
  row: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
16
16
  column: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
- group: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
+ player: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
+ hierarchy: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
19
  value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
19
20
  q1: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
21
  q3: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -38,6 +39,8 @@ export declare const zAreaPercent: z.ZodObject<{
38
39
  tooltip: "tooltip";
39
40
  label: "label";
40
41
  row: "row";
42
+ player: "player";
43
+ hierarchy: "hierarchy";
41
44
  }>>;
42
45
  }, z.core.$strip>>>>;
43
46
  measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -395,11 +398,15 @@ export declare const zAreaPercent: z.ZodObject<{
395
398
  gridWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
396
399
  gridLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
397
400
  }, z.core.$strip>>>;
401
+ animation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
402
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
403
+ easing: z.ZodOptional<z.ZodNullable<z.ZodString>>;
404
+ }, z.core.$strip>>>;
398
405
  }, z.core.$strip>>>;
399
406
  yAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
400
407
  visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
401
408
  min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
402
- max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
409
+ max: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>>;
403
410
  nice: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
404
411
  zero: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
405
412
  log: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
@@ -466,6 +473,10 @@ export declare const zAreaPercent: z.ZodObject<{
466
473
  gridWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
467
474
  gridLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
468
475
  }, z.core.$strip>>>;
476
+ animation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
477
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
478
+ easing: z.ZodOptional<z.ZodNullable<z.ZodString>>;
479
+ }, z.core.$strip>>>;
469
480
  }, z.core.$strip>>>;
470
481
  crosshairLine: z.ZodOptional<z.ZodNullable<z.ZodObject<{
471
482
  visible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -1,5 +1,5 @@
1
1
  import { type Locale } from '../../i18n';
2
- import type { BarDimension, BarMaxWidth, BarMeasure, DimensionLinkage, Sort, SortLegend, Player } from '../../properties';
2
+ import type { BarDimension, BarMaxWidth, BarMeasure, DimensionLinkage, Sort, SortLegend } from '../../properties';
3
3
  import { type AnnotationArea, type AnnotationHorizontalLine, type AnnotationPoint, type AnnotationVerticalLine, type BackgroundColor, type Brush, type BarStyle, type Color, type CrosshairRect, type Dataset, type Label, type Legend, type StackCornerRadius, type Theme, type Tooltip, type XLinearAxis, type YBandAxis, type Page } from '../../properties';
4
4
  /**
5
5
  * @description 条形图,适用于横向数据对比场景,Y轴为类目轴(分类数据),X轴为数值轴(连续数据),柱子横向排列
@@ -55,10 +55,6 @@ export interface Bar {
55
55
  * @description 分页配置,用于配置图表的分页功能
56
56
  */
57
57
  page?: Page;
58
- /**
59
- * @description 播放器配置, 用于指定播放的字段名, 必须是维度
60
- */
61
- player?: Player;
62
58
  /**
63
59
  * @description 图表的背景颜色, 默认为透明背景, 背景颜色可以是颜色字符串, 例如'red', 'blue', 也可以是hex, rgb或rgba'#ff0000', 'rgba(255,0,0,0.5)'
64
60
  */
@@ -14,7 +14,8 @@ export declare const zBar: z.ZodObject<{
14
14
  label: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15
15
  row: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
16
16
  column: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
- group: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
+ player: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
+ hierarchy: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
19
  value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
19
20
  q1: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
21
  q3: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -38,6 +39,8 @@ export declare const zBar: z.ZodObject<{
38
39
  tooltip: "tooltip";
39
40
  label: "label";
40
41
  row: "row";
42
+ player: "player";
43
+ hierarchy: "hierarchy";
41
44
  }>>;
42
45
  }, z.core.$strip>>>>;
43
46
  measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -359,7 +362,7 @@ export declare const zBar: z.ZodObject<{
359
362
  xAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
360
363
  visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
361
364
  min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
362
- max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
365
+ max: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>>;
363
366
  nice: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
364
367
  zero: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
365
368
  log: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
@@ -426,6 +429,10 @@ export declare const zBar: z.ZodObject<{
426
429
  gridWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
427
430
  gridLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
428
431
  }, z.core.$strip>>>;
432
+ animation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
433
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
434
+ easing: z.ZodOptional<z.ZodNullable<z.ZodString>>;
435
+ }, z.core.$strip>>>;
429
436
  }, z.core.$strip>>>;
430
437
  yAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
431
438
  visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
@@ -466,6 +473,10 @@ export declare const zBar: z.ZodObject<{
466
473
  gridWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
467
474
  gridLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
468
475
  }, z.core.$strip>>>;
476
+ animation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
477
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
478
+ easing: z.ZodOptional<z.ZodNullable<z.ZodString>>;
479
+ }, z.core.$strip>>>;
469
480
  }, z.core.$strip>>>;
470
481
  crosshairRect: z.ZodOptional<z.ZodNullable<z.ZodObject<{
471
482
  visible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, Brush, BarStyle, Color, CrosshairRect, Dataset, Label, Legend, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis, Sort, SortLegend, BarMaxWidth, BarGapInGroup, DimensionLinkage, BarDimension, BarMeasure, Page, Player } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, Brush, BarStyle, Color, CrosshairRect, Dataset, Label, Legend, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis, Sort, SortLegend, BarMaxWidth, BarGapInGroup, DimensionLinkage, BarDimension, BarMeasure, Page } from '../../properties';
3
3
  /**
4
4
  * @description 并列条形图,适用于多指标横向并行对比场景,多个条形平行排列展示不同指标值
5
5
  * 适用场景:
@@ -53,10 +53,6 @@ export interface BarParallel {
53
53
  * @description 分页配置,用于配置图表的分页功能
54
54
  */
55
55
  page?: Page;
56
- /**
57
- * @description 播放器配置, 用于指定播放的字段名, 必须是维度
58
- */
59
- player?: Player;
60
56
  /**
61
57
  * @description 图表的背景颜色, 默认为透明背景, 背景颜色可以是颜色字符串, 例如'red', 'blue', 也可以是hex, rgb或rgba'#ff0000', 'rgba(255,0,0,0.5)'
62
58
  */
@@ -14,7 +14,8 @@ export declare const zBarParallel: z.ZodObject<{
14
14
  label: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15
15
  row: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
16
16
  column: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
- group: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
+ player: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
+ hierarchy: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
19
  value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
19
20
  q1: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
21
  q3: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -38,6 +39,8 @@ export declare const zBarParallel: z.ZodObject<{
38
39
  tooltip: "tooltip";
39
40
  label: "label";
40
41
  row: "row";
42
+ player: "player";
43
+ hierarchy: "hierarchy";
41
44
  }>>;
42
45
  }, z.core.$strip>>>>;
43
46
  measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -355,7 +358,7 @@ export declare const zBarParallel: z.ZodObject<{
355
358
  xAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
356
359
  visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
357
360
  min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
358
- max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
361
+ max: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>>;
359
362
  nice: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
360
363
  zero: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
361
364
  log: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
@@ -422,6 +425,10 @@ export declare const zBarParallel: z.ZodObject<{
422
425
  gridWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
423
426
  gridLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
424
427
  }, z.core.$strip>>>;
428
+ animation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
429
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
430
+ easing: z.ZodOptional<z.ZodNullable<z.ZodString>>;
431
+ }, z.core.$strip>>>;
425
432
  }, z.core.$strip>>>;
426
433
  yAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
427
434
  visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
@@ -462,6 +469,10 @@ export declare const zBarParallel: z.ZodObject<{
462
469
  gridWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
463
470
  gridLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
464
471
  }, z.core.$strip>>>;
472
+ animation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
473
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
474
+ easing: z.ZodOptional<z.ZodNullable<z.ZodString>>;
475
+ }, z.core.$strip>>>;
465
476
  }, z.core.$strip>>>;
466
477
  crosshairRect: z.ZodOptional<z.ZodNullable<z.ZodObject<{
467
478
  visible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, Brush, BarStyle, Color, CrosshairRect, Dataset, Label, Legend, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis, Sort, SortLegend, BarMaxWidth, DimensionLinkage, BarDimension, BarMeasure, Page, Player } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, Brush, BarStyle, Color, CrosshairRect, Dataset, Label, Legend, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis, Sort, SortLegend, BarMaxWidth, DimensionLinkage, BarDimension, BarMeasure, Page } from '../../properties';
3
3
  /**
4
4
  * @description 百分比条形图,适用于横向展示各类别占比关系的场景,X轴以百分比形式展示数据占比
5
5
  * 适用场景:
@@ -55,10 +55,6 @@ export interface BarPercent {
55
55
  * @description 分页配置,用于配置图表的分页功能
56
56
  */
57
57
  page?: Page;
58
- /**
59
- * @description 播放器配置, 用于指定播放的字段名, 必须是维度
60
- */
61
- player?: Player;
62
58
  /**
63
59
  * @description 图表的背景颜色, 默认为透明背景, 背景颜色可以是颜色字符串, 例如'red', 'blue', 也可以是hex, rgb或rgba'#ff0000', 'rgba(255,0,0,0.5)'
64
60
  */
@@ -14,7 +14,8 @@ export declare const zBarPercent: z.ZodObject<{
14
14
  label: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15
15
  row: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
16
16
  column: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
- group: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
+ player: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
+ hierarchy: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
19
  value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
19
20
  q1: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
21
  q3: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -38,6 +39,8 @@ export declare const zBarPercent: z.ZodObject<{
38
39
  tooltip: "tooltip";
39
40
  label: "label";
40
41
  row: "row";
42
+ player: "player";
43
+ hierarchy: "hierarchy";
41
44
  }>>;
42
45
  }, z.core.$strip>>>>;
43
46
  measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -359,7 +362,7 @@ export declare const zBarPercent: z.ZodObject<{
359
362
  xAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
360
363
  visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
361
364
  min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
362
- max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
365
+ max: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>>;
363
366
  nice: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
364
367
  zero: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
365
368
  log: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
@@ -426,6 +429,10 @@ export declare const zBarPercent: z.ZodObject<{
426
429
  gridWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
427
430
  gridLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
428
431
  }, z.core.$strip>>>;
432
+ animation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
433
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
434
+ easing: z.ZodOptional<z.ZodNullable<z.ZodString>>;
435
+ }, z.core.$strip>>>;
429
436
  }, z.core.$strip>>>;
430
437
  yAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
431
438
  visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
@@ -466,6 +473,10 @@ export declare const zBarPercent: z.ZodObject<{
466
473
  gridWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
467
474
  gridLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
468
475
  }, z.core.$strip>>>;
476
+ animation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
477
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
478
+ easing: z.ZodOptional<z.ZodNullable<z.ZodString>>;
479
+ }, z.core.$strip>>>;
469
480
  }, z.core.$strip>>>;
470
481
  crosshairRect: z.ZodOptional<z.ZodNullable<z.ZodObject<{
471
482
  visible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -14,7 +14,8 @@ export declare const zBoxPlot: z.ZodObject<{
14
14
  label: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15
15
  row: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
16
16
  column: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
- group: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
+ player: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
+ hierarchy: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
19
  value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
19
20
  q1: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
21
  q3: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -38,6 +39,8 @@ export declare const zBoxPlot: z.ZodObject<{
38
39
  tooltip: "tooltip";
39
40
  label: "label";
40
41
  row: "row";
42
+ player: "player";
43
+ hierarchy: "hierarchy";
41
44
  }>>;
42
45
  }, z.core.$strip>>>>;
43
46
  measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -395,11 +398,15 @@ export declare const zBoxPlot: z.ZodObject<{
395
398
  gridWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
396
399
  gridLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
397
400
  }, z.core.$strip>>>;
401
+ animation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
402
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
403
+ easing: z.ZodOptional<z.ZodNullable<z.ZodString>>;
404
+ }, z.core.$strip>>>;
398
405
  }, z.core.$strip>>>;
399
406
  yAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
400
407
  visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
401
408
  min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
402
- max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
409
+ max: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>>;
403
410
  nice: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
404
411
  zero: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
405
412
  log: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
@@ -466,6 +473,10 @@ export declare const zBoxPlot: z.ZodObject<{
466
473
  gridWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
467
474
  gridLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
468
475
  }, z.core.$strip>>>;
476
+ animation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
477
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
478
+ easing: z.ZodOptional<z.ZodNullable<z.ZodString>>;
479
+ }, z.core.$strip>>>;
469
480
  }, z.core.$strip>>>;
470
481
  sort: z.ZodOptional<z.ZodNullable<z.ZodObject<{
471
482
  order: z.ZodDefault<z.ZodEnum<{
@@ -0,0 +1,85 @@
1
+ import type { Locale } from '../../i18n';
2
+ import type { BackgroundColor, Color, Dataset, HierarchyDimension, HierarchyMeasure, Label, Page, Theme, Tooltip } from '../../properties';
3
+ /**
4
+ * @description 圆形打包图,用于展示层级数据,通过圆的大小表示数值大小
5
+ * 适用场景:
6
+ * - 展示层级数据的占比分布
7
+ * - 强调数据的包含关系
8
+ * @encoding
9
+ * 圆形打包图支持以下视觉通道:
10
+ * `color`: 颜色通道, 支持`多个维度`或 `一个指标`
11
+ * `label`: 标签通道, 支持`多个维度`与 `多个指标`
12
+ * `tooltip`: 提示通道, 支持`多个维度`与 `多个指标`
13
+ * @warning
14
+ * 数据要求:
15
+ * - 至少1个数值字段(度量)用于映射圆的大小
16
+ * - 至少1个维度字段用于层级划分
17
+ */
18
+ export interface CirclePacking {
19
+ /**
20
+ * 圆形打包图
21
+ * @description 圆形打包图,展示层级数据的占比关系
22
+ * @type {'circlePacking'}
23
+ * @example 'circlePacking'
24
+ */
25
+ chartType: 'circlePacking';
26
+ /**
27
+ * 数据集
28
+ * @description 符合TidyData规范的且已经聚合的数据集,用于定义图表的数据来源和结构
29
+ * @type {Array<Record<string|number, any>>}
30
+ * @example [{category:'A', value:30}, {category:'B', value:70}]
31
+ */
32
+ dataset: Dataset;
33
+ /**
34
+ * 维度
35
+ * @description 维度配置,用于定义数据的层级结构
36
+ * @example [{id: 'category', alias: '类别'}]
37
+ */
38
+ dimensions?: HierarchyDimension[];
39
+ /**
40
+ * 指标
41
+ * @description 指标配置,用于定义圆的大小
42
+ * @example [{id: 'value', alias: '数值'}]
43
+ */
44
+ measures?: HierarchyMeasure[];
45
+ /**
46
+ * 分页配置
47
+ * @description 用于指定分页的字段名, 必须是维度
48
+ */
49
+ page?: Page;
50
+ /**
51
+ * 图表的背景颜色
52
+ * @default transparent 默认为透明背景
53
+ * @description 背景颜色可以是颜色字符串, 例如'red', 'blue', 也可以是hex, rgb或rgba'#ff0000', 'rgba(255,0,0,0.5)'
54
+ */
55
+ backgroundColor?: BackgroundColor;
56
+ /**
57
+ * 颜色
58
+ * @description 颜色配置, 用于定义图表的颜色方案, 包括颜色列表, 颜色映射, 颜色渐变等.
59
+ */
60
+ color?: Color;
61
+ /**
62
+ * 标签
63
+ * @description 标签配置, 用于定义图表的数据标签, 包括数据标签的位置, 格式, 样式等.
64
+ */
65
+ label?: Label;
66
+ /**
67
+ * 提示信息
68
+ * @description 提示信息配置, 用于定义图表的提示信息, 包括提示信息的位置, 格式, 样式等.
69
+ */
70
+ tooltip?: Tooltip;
71
+ /**
72
+ * 图表的主题
73
+ * @default light 默认为亮色主题
74
+ * @description 内置light与dark两种主题, 用户可以通过Builder自定义主题
75
+ * @example 'dark'
76
+ * @example 'light'
77
+ */
78
+ theme?: Theme;
79
+ /**
80
+ * 语言
81
+ * @description 图表语言配置, 支持'zh-CN'与'en-US'两种语言
82
+ * @default 'zh-CN'
83
+ */
84
+ locale?: Locale;
85
+ }
@@ -0,0 +1,2 @@
1
+ export type * from './circlePacking';
2
+ export * from './zCirclePacking';
@@ -0,0 +1 @@
1
+ export * from "./zCirclePacking.js";