@visactor/vchart-types 1.8.0-alpha.0 → 1.8.0-beta.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 (277) hide show
  1. package/package.json +1 -1
  2. package/tsconfig.tsbuildinfo +1 -1
  3. package/types/animation/utils.d.ts +2 -2
  4. package/types/chart/area/area-transformer.d.ts +6 -0
  5. package/types/chart/area/area.d.ts +6 -4
  6. package/types/chart/area/index.d.ts +1 -0
  7. package/types/chart/bar/3d/bar-3d-transformer.d.ts +6 -0
  8. package/types/chart/bar/3d/bar-3d.d.ts +14 -0
  9. package/types/chart/bar/3d/index.d.ts +2 -0
  10. package/types/chart/bar/bar-transformer.d.ts +6 -0
  11. package/types/chart/bar/bar.d.ts +7 -4
  12. package/types/chart/bar/index.d.ts +2 -1
  13. package/types/chart/base/base-chart-transformer.d.ts +21 -0
  14. package/types/chart/base/base-chart.d.ts +148 -0
  15. package/types/chart/base/index.d.ts +2 -0
  16. package/types/chart/box-plot/box-plot-transformer.d.ts +6 -0
  17. package/types/chart/box-plot/box-plot.d.ts +6 -4
  18. package/types/chart/box-plot/index.d.ts +1 -0
  19. package/types/chart/cartesian/cartesian-transformer.d.ts +8 -0
  20. package/types/chart/cartesian/index.d.ts +1 -1
  21. package/types/chart/circle-packing/circle-packing-transformer.d.ts +7 -0
  22. package/types/chart/circle-packing/circle-packing.d.ts +6 -5
  23. package/types/chart/circle-packing/index.d.ts +1 -0
  24. package/types/chart/common/common-transformer.d.ts +7 -0
  25. package/types/chart/common/common.d.ts +7 -4
  26. package/types/chart/common/index.d.ts +1 -0
  27. package/types/chart/correlation/correlation-transformer.d.ts +6 -0
  28. package/types/chart/correlation/correlation.d.ts +6 -4
  29. package/types/chart/correlation/index.d.ts +1 -0
  30. package/types/chart/funnel/3d/funnel-3d.d.ts +14 -0
  31. package/types/chart/funnel/3d/index.d.ts +1 -0
  32. package/types/chart/funnel/funnel-transformer.d.ts +8 -0
  33. package/types/chart/funnel/funnel.d.ts +7 -2
  34. package/types/chart/funnel/index.d.ts +2 -1
  35. package/types/chart/funnel/interface.d.ts +1 -1
  36. package/types/chart/gauge/gauge-transformer.d.ts +9 -0
  37. package/types/chart/gauge/gauge.d.ts +8 -6
  38. package/types/chart/gauge/index.d.ts +1 -0
  39. package/types/chart/gauge/interface.d.ts +2 -2
  40. package/types/chart/heatmap/heatmap-transformer.d.ts +5 -0
  41. package/types/chart/heatmap/heatmap.d.ts +7 -3
  42. package/types/chart/heatmap/index.d.ts +1 -0
  43. package/types/chart/histogram/3d/histogram-3d.d.ts +14 -0
  44. package/types/chart/histogram/3d/index.d.ts +1 -0
  45. package/types/chart/histogram/base/base.d.ts +8 -0
  46. package/types/chart/histogram/base/histogram-base-transformer.d.ts +6 -0
  47. package/types/chart/histogram/base/index.d.ts +2 -0
  48. package/types/chart/histogram/histogram-transformer.d.ts +5 -0
  49. package/types/chart/histogram/histogram.d.ts +7 -3
  50. package/types/chart/histogram/index.d.ts +2 -1
  51. package/types/chart/index.d.ts +2 -4
  52. package/types/chart/interface/chart.d.ts +20 -7
  53. package/types/chart/interface/common.d.ts +17 -1
  54. package/types/chart/line/index.d.ts +1 -0
  55. package/types/chart/line/interface.d.ts +1 -1
  56. package/types/chart/line/line-transformer.d.ts +6 -0
  57. package/types/chart/line/line.d.ts +6 -4
  58. package/types/chart/map/index.d.ts +1 -0
  59. package/types/chart/map/map-transformer.d.ts +8 -0
  60. package/types/chart/map/map.d.ts +6 -6
  61. package/types/chart/pie/3d/index.d.ts +1 -0
  62. package/types/chart/pie/3d/pie-3d.d.ts +17 -0
  63. package/types/chart/pie/base/base.d.ts +8 -0
  64. package/types/chart/pie/base/index.d.ts +2 -0
  65. package/types/chart/pie/base/pie-transformer.d.ts +7 -0
  66. package/types/chart/pie/index.d.ts +2 -1
  67. package/types/chart/pie/pie.d.ts +7 -2
  68. package/types/chart/polar/index.d.ts +1 -1
  69. package/types/chart/polar/polar-transformer.d.ts +9 -0
  70. package/types/chart/polar/progress-like/index.d.ts +1 -0
  71. package/types/chart/polar/progress-like/progress-like-transformer.d.ts +8 -0
  72. package/types/chart/polar/rose-like/index.d.ts +1 -0
  73. package/types/chart/polar/rose-like/rose-like-transformer.d.ts +7 -0
  74. package/types/chart/progress/circular/circular-progress-transformer.d.ts +7 -0
  75. package/types/chart/progress/circular/circular.d.ts +8 -4
  76. package/types/chart/progress/circular/index.d.ts +1 -0
  77. package/types/chart/progress/circular/interface.d.ts +1 -1
  78. package/types/chart/progress/linear/index.d.ts +1 -0
  79. package/types/chart/progress/linear/interface.d.ts +1 -1
  80. package/types/chart/progress/linear/linear-progress-transformer.d.ts +7 -0
  81. package/types/chart/progress/linear/linear.d.ts +6 -5
  82. package/types/chart/radar/index.d.ts +1 -0
  83. package/types/chart/radar/radar-transformer.d.ts +6 -0
  84. package/types/chart/radar/radar.d.ts +8 -4
  85. package/types/chart/range-area/index.d.ts +1 -0
  86. package/types/chart/range-area/range-area-transformer.d.ts +6 -0
  87. package/types/chart/range-area/range-area.d.ts +7 -4
  88. package/types/chart/range-column/3d/index.d.ts +2 -0
  89. package/types/chart/range-column/3d/range-column-3d-transformer.d.ts +5 -0
  90. package/types/chart/range-column/3d/range-column-3d.d.ts +13 -0
  91. package/types/chart/range-column/index.d.ts +2 -1
  92. package/types/chart/range-column/range-column-transformer.d.ts +6 -0
  93. package/types/chart/range-column/range-column.d.ts +7 -4
  94. package/types/chart/rose/index.d.ts +1 -0
  95. package/types/chart/rose/rose-transformer.d.ts +6 -0
  96. package/types/chart/rose/rose.d.ts +8 -4
  97. package/types/chart/sankey/index.d.ts +1 -0
  98. package/types/chart/sankey/sankey-transformer.d.ts +6 -0
  99. package/types/chart/sankey/sankey.d.ts +6 -4
  100. package/types/chart/scatter/index.d.ts +1 -0
  101. package/types/chart/scatter/scatter-transformer.d.ts +5 -0
  102. package/types/chart/scatter/scatter.d.ts +6 -3
  103. package/types/chart/sequence/index.d.ts +1 -0
  104. package/types/chart/sequence/sequence-transformer.d.ts +7 -0
  105. package/types/chart/sequence/sequence.d.ts +9 -7
  106. package/types/chart/sunburst/index.d.ts +1 -0
  107. package/types/chart/sunburst/sunburst-transformer.d.ts +7 -0
  108. package/types/chart/sunburst/sunburst.d.ts +6 -5
  109. package/types/chart/treemap/index.d.ts +1 -0
  110. package/types/chart/treemap/treemap-transformer.d.ts +7 -0
  111. package/types/chart/treemap/treemap.d.ts +7 -4
  112. package/types/chart/util.d.ts +3 -3
  113. package/types/chart/waterfall/index.d.ts +1 -0
  114. package/types/chart/waterfall/waterfall-transformer.d.ts +7 -0
  115. package/types/chart/waterfall/waterfall.d.ts +6 -3
  116. package/types/chart/word-cloud/3d/index.d.ts +2 -0
  117. package/types/chart/word-cloud/3d/word-cloud-3d-transformer.d.ts +6 -0
  118. package/types/chart/word-cloud/3d/word-cloud-3d.d.ts +15 -0
  119. package/types/chart/word-cloud/base/base.d.ts +9 -0
  120. package/types/chart/word-cloud/base/index.d.ts +2 -0
  121. package/types/chart/word-cloud/base/word-cloud-base-transformer.d.ts +5 -0
  122. package/types/chart/word-cloud/index.d.ts +2 -1
  123. package/types/chart/word-cloud/word-cloud-transformer.d.ts +5 -0
  124. package/types/chart/word-cloud/word-cloud.d.ts +6 -3
  125. package/types/compile/mark/compilable-mark.d.ts +0 -5
  126. package/types/compile/mark/interface.d.ts +1 -4
  127. package/types/component/axis/base-axis.d.ts +3 -4
  128. package/types/component/axis/cartesian/axis.d.ts +6 -7
  129. package/types/component/axis/cartesian/band-axis.d.ts +1 -0
  130. package/types/component/axis/cartesian/linear-axis.d.ts +1 -0
  131. package/types/component/axis/cartesian/log-axis.d.ts +1 -0
  132. package/types/component/axis/cartesian/symlog-axis.d.ts +1 -0
  133. package/types/component/axis/cartesian/time-axis.d.ts +1 -0
  134. package/types/component/axis/cartesian/util/common.d.ts +4 -0
  135. package/types/component/axis/interface/common.d.ts +1 -0
  136. package/types/component/axis/polar/axis.d.ts +7 -7
  137. package/types/component/axis/polar/band-axis.d.ts +1 -0
  138. package/types/component/axis/polar/interface/common.d.ts +0 -1
  139. package/types/component/axis/polar/linear-axis.d.ts +1 -0
  140. package/types/component/axis/polar/util/common.d.ts +5 -0
  141. package/types/component/axis/polar/util/index.d.ts +1 -0
  142. package/types/component/axis/util.d.ts +4 -3
  143. package/types/component/base/base-component-transformer.d.ts +10 -0
  144. package/types/component/base/base-component.d.ts +10 -7
  145. package/types/component/base/index.d.ts +1 -0
  146. package/types/component/base/util.d.ts +2 -2
  147. package/types/component/brush/brush.d.ts +7 -5
  148. package/types/component/crosshair/base.d.ts +5 -4
  149. package/types/component/crosshair/cartesian.d.ts +3 -2
  150. package/types/component/crosshair/polar.d.ts +3 -2
  151. package/types/component/crosshair/util.d.ts +3 -4
  152. package/types/component/custom-mark/custom-mark.d.ts +7 -5
  153. package/types/component/data-zoom/data-filter-base-component.d.ts +2 -2
  154. package/types/component/data-zoom/data-zoom/data-zoom-transformer.d.ts +9 -0
  155. package/types/component/data-zoom/data-zoom/data-zoom.d.ts +8 -2
  156. package/types/component/data-zoom/data-zoom/index.d.ts +1 -0
  157. package/types/component/data-zoom/scroll-bar/scroll-bar.d.ts +5 -1
  158. package/types/component/data-zoom/util.d.ts +2 -2
  159. package/types/component/geo/geo-coordinate.d.ts +4 -4
  160. package/types/component/index.d.ts +1 -1
  161. package/types/component/indicator/indicator.d.ts +5 -4
  162. package/types/component/interface/common.d.ts +6 -4
  163. package/types/component/interface/type.d.ts +8 -0
  164. package/types/component/label/base-label.d.ts +2 -2
  165. package/types/component/label/index.d.ts +2 -0
  166. package/types/component/label/interface.d.ts +2 -2
  167. package/types/component/label/label-transformer.d.ts +8 -0
  168. package/types/component/label/label.d.ts +13 -5
  169. package/types/component/label/total-label.d.ts +28 -0
  170. package/types/component/label/util.d.ts +1 -0
  171. package/types/component/legend/base-legend.d.ts +3 -1
  172. package/types/component/legend/continuous/legend.d.ts +4 -6
  173. package/types/component/legend/discrete/legend.d.ts +4 -7
  174. package/types/component/map-label/component.d.ts +5 -2
  175. package/types/component/marker/mark-area/mark-area.d.ts +6 -4
  176. package/types/component/marker/mark-line/mark-line.d.ts +6 -4
  177. package/types/component/marker/mark-point/mark-point.d.ts +6 -4
  178. package/types/component/player/player.d.ts +4 -4
  179. package/types/component/title/title.d.ts +9 -6
  180. package/types/component/tooltip/index.d.ts +1 -0
  181. package/types/component/tooltip/tooltip-transformer.d.ts +8 -0
  182. package/types/component/tooltip/tooltip.d.ts +10 -8
  183. package/types/component/util.d.ts +2 -2
  184. package/types/constant/event.d.ts +1 -0
  185. package/types/constant/polar.d.ts +0 -10
  186. package/types/core/factory.d.ts +12 -3
  187. package/types/core/index.d.ts +1 -0
  188. package/types/core/interface.d.ts +17 -11
  189. package/types/core/vchart.d.ts +30 -7
  190. package/types/mark/arc-3d.d.ts +1 -0
  191. package/types/model/base-model-transformer.d.ts +24 -0
  192. package/types/model/base-model.d.ts +9 -12
  193. package/types/model/index.d.ts +3 -0
  194. package/types/model/interface.d.ts +31 -4
  195. package/types/plugin/base/base-plugin-service.d.ts +13 -0
  196. package/types/plugin/base/base-plugin.d.ts +9 -0
  197. package/types/plugin/base/interface.d.ts +22 -0
  198. package/types/plugin/chart/index.d.ts +2 -0
  199. package/types/plugin/chart/interface.d.ts +22 -2
  200. package/types/plugin/chart/media-query/index.d.ts +2 -0
  201. package/types/plugin/chart/media-query/interface/common.d.ts +28 -0
  202. package/types/plugin/chart/media-query/interface/index.d.ts +2 -0
  203. package/types/plugin/chart/media-query/interface/spec.d.ts +25 -0
  204. package/types/plugin/chart/media-query/media-query.d.ts +28 -0
  205. package/types/plugin/chart/media-query/util/action.d.ts +3 -0
  206. package/types/plugin/chart/media-query/util/filter.d.ts +4 -0
  207. package/types/plugin/chart/media-query/util/index.d.ts +2 -0
  208. package/types/plugin/chart/media-query/util/query.d.ts +3 -0
  209. package/types/plugin/chart/plugin-service.d.ts +12 -0
  210. package/types/plugin/chart/register.d.ts +2 -0
  211. package/types/plugin/components/axis-sync-plugin/axis-sync.d.ts +5 -3
  212. package/types/plugin/components/interface.d.ts +15 -25
  213. package/types/plugin/components/plugin-service.d.ts +2 -10
  214. package/types/plugin/index.d.ts +1 -0
  215. package/types/region/index.d.ts +3 -0
  216. package/types/region/interface.d.ts +10 -2
  217. package/types/region/region-transformer.d.ts +8 -0
  218. package/types/region/region.d.ts +7 -4
  219. package/types/series/area/area-transformer.d.ts +5 -0
  220. package/types/series/area/area.d.ts +5 -3
  221. package/types/series/bar/bar-transformer.d.ts +5 -0
  222. package/types/series/bar/bar.d.ts +5 -3
  223. package/types/series/base/base-series-transformer.d.ts +18 -0
  224. package/types/series/base/base-series.d.ts +7 -8
  225. package/types/series/base/index.d.ts +2 -0
  226. package/types/series/box-plot/box-plot.d.ts +2 -3
  227. package/types/series/box-plot/interface.d.ts +1 -2
  228. package/types/series/cartesian/cartesian.d.ts +1 -1
  229. package/types/series/circle-packing/interface.d.ts +1 -2
  230. package/types/series/correlation/correlation-transformer.d.ts +5 -0
  231. package/types/series/correlation/correlation.d.ts +5 -4
  232. package/types/series/dot/dot.d.ts +2 -3
  233. package/types/series/funnel/3d/funnel-3d-transformer.d.ts +6 -0
  234. package/types/series/funnel/3d/funnel-3d.d.ts +22 -0
  235. package/types/series/funnel/3d/index.d.ts +2 -0
  236. package/types/series/funnel/funnel-transformer.d.ts +5 -0
  237. package/types/series/funnel/funnel.d.ts +5 -3
  238. package/types/series/gauge/gauge-pointer.d.ts +2 -3
  239. package/types/series/gauge/gauge-transformer.d.ts +5 -0
  240. package/types/series/gauge/gauge.d.ts +4 -3
  241. package/types/series/geo/interface.d.ts +1 -1
  242. package/types/series/heatmap/heatmap-transformer.d.ts +5 -0
  243. package/types/series/heatmap/heatmap.d.ts +4 -3
  244. package/types/series/index.d.ts +3 -3
  245. package/types/series/interface/common.d.ts +11 -6
  246. package/types/series/interface/series.d.ts +2 -3
  247. package/types/series/line/line.d.ts +5 -3
  248. package/types/series/link/link.d.ts +2 -3
  249. package/types/series/map/map-transformer.d.ts +5 -0
  250. package/types/series/map/map.d.ts +5 -3
  251. package/types/series/mixin/line-mixin-transformer.d.ts +5 -0
  252. package/types/series/mixin/line-mixin.d.ts +1 -2
  253. package/types/series/pie/3d/index.d.ts +2 -0
  254. package/types/series/pie/3d/pie-3d-transformer.d.ts +5 -0
  255. package/types/series/pie/3d/pie-3d.d.ts +20 -0
  256. package/types/series/pie/interface.d.ts +3 -0
  257. package/types/series/pie/pie-transformer.d.ts +9 -0
  258. package/types/series/pie/pie.d.ts +6 -13
  259. package/types/series/polar/index.d.ts +3 -0
  260. package/types/series/polar/polar.d.ts +0 -2
  261. package/types/series/progress/circular/circular.d.ts +2 -3
  262. package/types/series/progress/linear/linear.d.ts +1 -3
  263. package/types/series/radar/radar.d.ts +5 -3
  264. package/types/series/range-column/3d/index.d.ts +2 -0
  265. package/types/series/range-column/3d/range-column-3d-transformer.d.ts +5 -0
  266. package/types/series/range-column/3d/range-column-3d.d.ts +15 -0
  267. package/types/series/range-column/range-column-transformer.d.ts +5 -0
  268. package/types/series/range-column/range-column.d.ts +2 -0
  269. package/types/series/rose/rose-transformer.d.ts +5 -0
  270. package/types/series/rose/rose.d.ts +4 -3
  271. package/types/series/scatter/scatter-transformer.d.ts +5 -0
  272. package/types/series/scatter/scatter.d.ts +5 -3
  273. package/types/series/sunburst/sunburst.d.ts +1 -1
  274. package/types/series/waterfall/waterfall-transformer.d.ts +5 -0
  275. package/types/series/waterfall/waterfall.d.ts +4 -3
  276. package/types/typings/spec/common.d.ts +2 -0
  277. package/types/util/color.d.ts +1 -3
@@ -1,4 +1,4 @@
1
- import type { Maybe, IPoint, Datum, StateValueType } from '../../typings';
1
+ import type { IPoint, Datum, StateValueType } from '../../typings';
2
2
  import type { IModelLayoutOption } from '../../model/interface';
3
3
  import { PolarSeries } from '../polar/polar';
4
4
  import type { IMark } from '../../mark/interface';
@@ -8,12 +8,12 @@ import type { ITextMark } from '../../mark/text';
8
8
  import type { IPathMark } from '../../mark/path';
9
9
  import type { IArcSeries, SeriesMarkMap } from '../interface';
10
10
  import { SeriesMarkNameEnum, SeriesTypeEnum } from '../interface/type';
11
- import type { IArcLabelSpec, IPieSeriesSpec, IPieSeriesTheme } from './interface';
11
+ import type { IBasePieSeriesSpec, IPieSeriesSpec } from './interface';
12
12
  import { SeriesData } from '../base/series-data';
13
- type IBasePieSeriesSpec = Omit<IPieSeriesSpec, 'type'> & {
14
- type: string;
15
- };
13
+ import { PieSeriesSpecTransformer } from './pie-transformer';
16
14
  export declare class BasePieSeries<T extends IBasePieSeriesSpec> extends PolarSeries<T> implements IArcSeries {
15
+ static readonly transformerConstructor: any;
16
+ readonly transformerConstructor: typeof PieSeriesSpecTransformer;
17
17
  protected _pieMarkName: SeriesMarkNameEnum;
18
18
  protected _pieMarkType: MarkTypeEnum;
19
19
  static readonly mark: SeriesMarkMap;
@@ -28,7 +28,6 @@ export declare class BasePieSeries<T extends IBasePieSeriesSpec> extends PolarSe
28
28
  protected _pieMark: IArcMark | null;
29
29
  protected _labelMark: ITextMark | null;
30
30
  protected _labelLineMark: IPathMark | null;
31
- protected _theme: Maybe<IPieSeriesTheme>;
32
31
  protected _buildMarkAttributeContext(): void;
33
32
  setAttrFromSpec(): void;
34
33
  initData(): void;
@@ -49,15 +48,11 @@ export declare class BasePieSeries<T extends IBasePieSeriesSpec> extends PolarSe
49
48
  protected generateRadiusStyle(spec: any): any;
50
49
  protected computeLayoutRadius(): number;
51
50
  computeCenter(datum: Datum): IPoint;
52
- protected generateLinePath(state: StateValueType): {
53
- path: (datum: Datum) => string;
54
- };
55
51
  getRadius(state?: StateValueType): number;
56
52
  getInnerRadius(state?: StateValueType): number;
57
- getLabelConfig(): IArcLabelSpec;
58
53
  computeRadius(r: number, k?: number): number;
59
54
  computeDatumRadius(datum: Datum, state?: string): number;
60
- _compareSpec(ignoreCheckKeys?: {
55
+ _compareSpec(spec: T, prevSpec: T, ignoreCheckKeys?: {
61
56
  [key: string]: true;
62
57
  }): {
63
58
  change: boolean;
@@ -76,11 +71,9 @@ export declare class BasePieSeries<T extends IBasePieSeriesSpec> extends PolarSe
76
71
  getStackValueField(): string;
77
72
  protected _noAnimationDataKey(datum: Datum, index: number): number;
78
73
  getActiveMarks(): IMark[];
79
- protected _mergeThemeToSpec(): void;
80
74
  }
81
75
  export declare class PieSeries<T extends IPieSeriesSpec = IPieSeriesSpec> extends BasePieSeries<T> implements IArcSeries {
82
76
  static readonly type: string;
83
77
  type: SeriesTypeEnum;
84
78
  }
85
79
  export declare const registerPieSeries: () => void;
86
- export {};
@@ -0,0 +1,3 @@
1
+ export * from './polar';
2
+ export * from './progress-like';
3
+ export * from './rose-like';
@@ -47,8 +47,6 @@ export declare abstract class PolarSeries<T extends IPolarSeriesSpec = IPolarSer
47
47
  key: string;
48
48
  operations: Array<'max' | 'min' | 'values'>;
49
49
  }[];
50
- protected _getDefaultSpecFromChart(chartSpec: any): Partial<T>;
51
- protected _mergeThemeToSpec(): void;
52
50
  setAttrFromSpec(): void;
53
51
  onRadiusAxisHelperUpdate(): void;
54
52
  onAngleAxisHelperUpdate(): void;
@@ -1,14 +1,13 @@
1
- import type { Maybe, Datum } from '../../../typings';
1
+ import type { Datum } from '../../../typings';
2
2
  import type { SeriesMarkMap } from '../../interface';
3
3
  import { SeriesTypeEnum } from '../../interface/type';
4
- import type { ICircularProgressSeriesSpec, ICircularProgressSeriesTheme } from './interface';
4
+ import type { ICircularProgressSeriesSpec } from './interface';
5
5
  import { ProgressLikeSeries } from '../../polar/progress-like/progress-like';
6
6
  import type { IMark } from '../../../mark/interface';
7
7
  export declare class CircularProgressSeries<T extends ICircularProgressSeriesSpec = ICircularProgressSeriesSpec> extends ProgressLikeSeries<T> {
8
8
  static readonly type: string;
9
9
  type: SeriesTypeEnum;
10
10
  static readonly mark: SeriesMarkMap;
11
- protected _theme: Maybe<ICircularProgressSeriesTheme>;
12
11
  private _progressMark;
13
12
  private _trackMark;
14
13
  getStackGroupFields(): string[];
@@ -1,14 +1,12 @@
1
1
  import { CartesianSeries } from '../../cartesian/cartesian';
2
2
  import type { SeriesMarkMap } from '../../interface';
3
3
  import { SeriesTypeEnum } from '../../interface/type';
4
- import type { Maybe } from '../../../typings';
5
- import type { ILinearProgressSeriesSpec, ILinearProgressSeriesTheme } from './interface';
4
+ import type { ILinearProgressSeriesSpec } from './interface';
6
5
  import type { IMark } from '../../../mark/interface';
7
6
  export declare class LinearProgressSeries<T extends ILinearProgressSeriesSpec = ILinearProgressSeriesSpec> extends CartesianSeries<T> {
8
7
  static readonly type: string;
9
8
  type: SeriesTypeEnum;
10
9
  static readonly mark: SeriesMarkMap;
11
- protected _theme: Maybe<ILinearProgressSeriesTheme>;
12
10
  private _progressMark;
13
11
  private _trackMark;
14
12
  private _progressGroupMark;
@@ -1,17 +1,19 @@
1
1
  import { LineLikeSeriesMixin } from '../mixin/line-mixin';
2
2
  import type { IMark, IMarkProgressiveConfig } from '../../mark/interface';
3
- import type { Datum, Maybe } from '../../typings';
3
+ import type { Datum } from '../../typings';
4
4
  import type { SeriesMarkMap } from '../interface';
5
5
  import { SeriesTypeEnum } from '../interface/type';
6
- import type { IRadarSeriesSpec, IRadarSeriesTheme } from './interface';
6
+ import type { IRadarSeriesSpec } from './interface';
7
7
  import { RoseLikeSeries } from '../polar/rose-like';
8
+ import { LineLikeSeriesSpecTransformer } from '../mixin/line-mixin-transformer';
8
9
  export interface RadarSeries<T extends IRadarSeriesSpec> extends Pick<LineLikeSeriesMixin, 'initLineMark' | 'initSymbolMark' | 'initLabelMarkStyle' | 'initLineMarkStyle' | 'initSymbolMarkStyle' | 'encodeDefined' | '_lineMark' | '_symbolMark' | 'addOverlapCompile'>, RoseLikeSeries<T> {
9
10
  }
10
11
  export declare class RadarSeries<T extends IRadarSeriesSpec = IRadarSeriesSpec> extends RoseLikeSeries<T> {
11
12
  static readonly type: string;
12
13
  type: SeriesTypeEnum;
13
14
  static readonly mark: SeriesMarkMap;
14
- protected _theme: Maybe<IRadarSeriesTheme>;
15
+ static readonly transformerConstructor: any;
16
+ readonly transformerConstructor: typeof LineLikeSeriesSpecTransformer;
15
17
  private _areaMark;
16
18
  protected _sortDataByAxis: boolean;
17
19
  initGroups(): void;
@@ -0,0 +1,2 @@
1
+ export * from './range-column-3d';
2
+ export * from './range-column-3d-transformer';
@@ -0,0 +1,5 @@
1
+ import type { IRangeColumn3dSeriesSpec, IRangeColumnSeriesTheme } from '../interface';
2
+ import { RangeColumnSeriesSpecTransformer } from '../range-column-transformer';
3
+ export declare class RangeColumn3dSeriesSpecTransformer<T extends IRangeColumn3dSeriesSpec = IRangeColumn3dSeriesSpec, K extends IRangeColumnSeriesTheme = IRangeColumnSeriesTheme> extends RangeColumnSeriesSpecTransformer<any, K> {
4
+ protected _transformLabelSpec(spec: T): void;
5
+ }
@@ -0,0 +1,15 @@
1
+ import { MarkTypeEnum } from '../../../mark/interface/type';
2
+ import type { SeriesMarkMap } from '../../interface';
3
+ import { SeriesTypeEnum } from '../../interface/type';
4
+ import { RangeColumnSeries } from '../range-column';
5
+ import type { AdaptiveSpec } from '../../../typings';
6
+ import type { IRangeColumn3dSeriesSpec } from '../interface';
7
+ export declare const DefaultBandWidth = 6;
8
+ export declare class RangeColumn3dSeries<T extends IRangeColumn3dSeriesSpec = IRangeColumn3dSeriesSpec> extends RangeColumnSeries<AdaptiveSpec<T, 'type'>> {
9
+ static readonly type: string;
10
+ type: SeriesTypeEnum;
11
+ protected _barMarkType: MarkTypeEnum;
12
+ protected _barName: string;
13
+ static readonly mark: SeriesMarkMap;
14
+ }
15
+ export declare const registerRangeColumn3dSeries: () => void;
@@ -0,0 +1,5 @@
1
+ import { BarSeriesSpecTransformer } from '../bar/bar-transformer';
2
+ import { type IRangeColumnSeriesSpec, type IRangeColumnSeriesTheme } from './interface';
3
+ export declare class RangeColumnSeriesSpecTransformer<T extends IRangeColumnSeriesSpec = IRangeColumnSeriesSpec, K extends IRangeColumnSeriesTheme = IRangeColumnSeriesTheme> extends BarSeriesSpecTransformer<any, K> {
4
+ protected _transformLabelSpec(spec: T): void;
5
+ }
@@ -12,6 +12,8 @@ export declare class RangeColumnSeries<T extends IRangeColumnSeriesSpec = IRange
12
12
  protected _barName: string;
13
13
  protected _spec: T;
14
14
  static readonly mark: SeriesMarkMap;
15
+ static readonly transformerConstructor: any;
16
+ readonly transformerConstructor: any;
15
17
  protected _stack: boolean;
16
18
  private _minLabelMark?;
17
19
  private _maxLabelMark?;
@@ -0,0 +1,5 @@
1
+ import { BaseSeriesSpecTransformer } from '../base';
2
+ import type { IRoseSeriesSpec, IRoseSeriesTheme } from './interface';
3
+ export declare class RoseSeriesSpecTransformer<T extends IRoseSeriesSpec = IRoseSeriesSpec, K extends IRoseSeriesTheme = IRoseSeriesTheme> extends BaseSeriesSpecTransformer<T, K> {
4
+ protected _transformLabelSpec(spec: T): void;
5
+ }
@@ -1,17 +1,18 @@
1
- import type { Maybe } from '../../typings';
2
1
  import type { SeriesMarkMap } from '../interface';
3
2
  import { SeriesTypeEnum } from '../interface/type';
4
- import type { IRoseSeriesSpec, IRoseSeriesTheme } from './interface';
3
+ import type { IRoseSeriesSpec } from './interface';
5
4
  import { RoseLikeSeries } from '../polar/rose-like';
6
5
  import type { ITextMark } from '../../mark/text';
7
6
  import type { IMark } from '../../mark/interface';
8
7
  import type { ILabelMark } from '../../mark/label';
8
+ import { RoseSeriesSpecTransformer } from './rose-transformer';
9
9
  export declare const DefaultBandWidth = 0.5;
10
10
  export declare class RoseSeries<T extends IRoseSeriesSpec = IRoseSeriesSpec> extends RoseLikeSeries<T> {
11
11
  static readonly type: string;
12
12
  type: SeriesTypeEnum;
13
13
  static readonly mark: SeriesMarkMap;
14
- protected _theme: Maybe<IRoseSeriesTheme>;
14
+ static readonly transformerConstructor: any;
15
+ readonly transformerConstructor: typeof RoseSeriesSpecTransformer;
15
16
  protected _supportStack: boolean;
16
17
  private _roseMark;
17
18
  protected _labelMark: ITextMark | null;
@@ -0,0 +1,5 @@
1
+ import { BaseSeriesSpecTransformer } from '../base';
2
+ import type { IScatterSeriesSpec, IScatterSeriesTheme } from './interface';
3
+ export declare class ScatterSeriesSpecTransformer<T extends IScatterSeriesSpec = IScatterSeriesSpec, K extends IScatterSeriesTheme = IScatterSeriesTheme> extends BaseSeriesSpecTransformer<T, K> {
4
+ protected _transformLabelSpec(spec: T): void;
5
+ }
@@ -1,16 +1,18 @@
1
1
  import type { DataView } from '@visactor/vdataset';
2
- import type { Maybe, IScatterInvalidType } from '../../typings';
3
- import type { IScatterSeriesSpec, IScatterSeriesTheme } from './interface';
2
+ import type { IScatterInvalidType } from '../../typings';
3
+ import type { IScatterSeriesSpec } from './interface';
4
4
  import { CartesianSeries } from '../cartesian/cartesian';
5
5
  import type { SeriesMarkMap } from '../interface';
6
6
  import { SeriesTypeEnum } from '../interface/type';
7
7
  import type { ILabelMark } from '../../mark/label';
8
8
  import type { IMark } from '../../mark/interface';
9
+ import { ScatterSeriesSpecTransformer } from './scatter-transformer';
9
10
  export declare class ScatterSeries<T extends IScatterSeriesSpec = IScatterSeriesSpec> extends CartesianSeries<T> {
10
11
  static readonly type: string;
11
12
  type: SeriesTypeEnum;
12
13
  static readonly mark: SeriesMarkMap;
13
- protected _theme: Maybe<IScatterSeriesTheme>;
14
+ static readonly transformerConstructor: any;
15
+ readonly transformerConstructor: typeof ScatterSeriesSpecTransformer;
14
16
  private _symbolMark;
15
17
  private _labelMark;
16
18
  private _size;
@@ -36,7 +36,7 @@ export declare class SunburstSeries extends PolarSeries<any> {
36
36
  protected initData(): void;
37
37
  getStatisticFields(): {
38
38
  key: string;
39
- operations: ("values" | "max" | "min")[];
39
+ operations: ("max" | "min" | "values")[];
40
40
  }[];
41
41
  protected _addDataIndexAndKey(): void;
42
42
  initMark(): void;
@@ -0,0 +1,5 @@
1
+ import { BarSeriesSpecTransformer } from '../bar/bar-transformer';
2
+ import type { IWaterfallSeriesSpec, IWaterfallSeriesTheme } from './interface';
3
+ export declare class WaterfallSeriesSpecTransformer<T extends IWaterfallSeriesSpec = IWaterfallSeriesSpec, K extends IWaterfallSeriesTheme = IWaterfallSeriesTheme> extends BarSeriesSpecTransformer<any, K> {
4
+ protected _transformLabelSpec(spec: T): void;
5
+ }
@@ -1,21 +1,22 @@
1
1
  import type { IRuleMark } from '../../mark/rule';
2
2
  import { BarSeries } from '../bar/bar';
3
- import type { IWaterfallSeriesSpec, IWaterfallSeriesTheme } from './interface';
3
+ import type { IWaterfallSeriesSpec } from './interface';
4
4
  import type { SeriesMarkMap } from '../interface';
5
5
  import { SeriesTypeEnum } from '../interface/type';
6
6
  import type { ITransformOptions, DataView } from '@visactor/vdataset';
7
7
  import { SeriesData } from '../base/series-data';
8
8
  import type { ITextMark } from '../../mark/text';
9
9
  import type { IModelEvaluateOption } from '../../model/interface';
10
- import type { Datum, Maybe } from '../../typings';
10
+ import type { Datum } from '../../typings';
11
11
  import type { ILabelMark } from '../../mark/label';
12
12
  export declare const DefaultBandWidth = 6;
13
13
  export declare class WaterfallSeries<T extends IWaterfallSeriesSpec = IWaterfallSeriesSpec> extends BarSeries<any> {
14
14
  static readonly type: string;
15
15
  type: SeriesTypeEnum;
16
16
  static readonly mark: SeriesMarkMap;
17
+ static readonly transformerConstructor: any;
18
+ readonly transformerConstructor: any;
17
19
  protected _stack: boolean;
18
- protected _theme: Maybe<IWaterfallSeriesTheme>;
19
20
  protected _totalData?: SeriesData;
20
21
  getTotalData(): any;
21
22
  protected _spec: T;
@@ -24,6 +24,7 @@ import type { ITotalLabelSpec } from '../../component/label';
24
24
  import type { ILegendSpec } from '../../component/legend';
25
25
  import type { ILayoutOrientPadding, ILayoutPaddingSpec } from '../layout';
26
26
  import type { ICustomPath2D } from '@visactor/vrender-core';
27
+ import type { ICommonAxisSpec } from '../../component/axis';
27
28
  export type IChartPadding = ILayoutOrientPadding | number;
28
29
  export interface IInitOption extends Omit<IRenderOption, 'pluginList'> {
29
30
  dom?: string | HTMLElement;
@@ -74,6 +75,7 @@ export interface IChartSpec {
74
75
  brush?: IBrushSpec;
75
76
  scales?: IVisualSpecScale<unknown, unknown>[];
76
77
  customMark?: ICustomMarkSpec<EnableMarkType>[];
78
+ axes?: ICommonAxisSpec[];
77
79
  theme?: Omit<ITheme, 'name'> | string;
78
80
  background?: IBackgroundSpec;
79
81
  stackInverse?: boolean;
@@ -1,3 +1 @@
1
- import { ColorUtil } from '@visactor/vutils';
2
- declare const Color: typeof ColorUtil.Color;
3
- export { Color };
1
+ export { Color } from '@visactor/vutils';