@visactor/vchart-types 2.1.0-alpha.14 → 2.1.0-alpha.16

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 (77) hide show
  1. package/package.json +1 -1
  2. package/tsconfig.tsbuildinfo +1 -1
  3. package/types/animation/callback-disappear.d.ts +1 -1
  4. package/types/chart/base/base-chart-transformer.d.ts +0 -3
  5. package/types/chart/base/base-chart.d.ts +9 -27
  6. package/types/chart/interface/chart.d.ts +0 -1
  7. package/types/chart/util.d.ts +1 -4
  8. package/types/compile/compiler.d.ts +0 -2
  9. package/types/compile/data/compilable-data.d.ts +1 -1
  10. package/types/compile/grammar-item.d.ts +1 -1
  11. package/types/compile/interface/compilable-item.d.ts +1 -1
  12. package/types/compile/interface/compiler.d.ts +1 -2
  13. package/types/component/axis/base-axis.d.ts +8 -3
  14. package/types/component/axis/cartesian/band-axis.d.ts +7 -1
  15. package/types/component/axis/cartesian/linear-axis.d.ts +1 -1
  16. package/types/component/axis/polar/band-axis.d.ts +0 -2
  17. package/types/component/base/base-component.d.ts +7 -7
  18. package/types/component/brush/brush.d.ts +7 -3
  19. package/types/component/crosshair/base.d.ts +8 -5
  20. package/types/component/custom-mark/custom-mark.d.ts +7 -4
  21. package/types/component/data-zoom/data-filter-base-component.d.ts +7 -3
  22. package/types/component/data-zoom/data-zoom/data-zoom.d.ts +0 -1
  23. package/types/component/data-zoom/scroll-bar/scroll-bar.d.ts +0 -1
  24. package/types/component/geo/geo-coordinate.d.ts +7 -1
  25. package/types/component/indicator/indicator.d.ts +0 -1
  26. package/types/component/indicator/util.d.ts +3 -4
  27. package/types/component/label/base-label.d.ts +7 -1
  28. package/types/component/legend/base-legend.d.ts +7 -2
  29. package/types/component/legend/discrete/legend.d.ts +1 -1
  30. package/types/component/marker/base-marker.d.ts +7 -14
  31. package/types/component/marker/utils.d.ts +4 -4
  32. package/types/component/player/player.d.ts +0 -1
  33. package/types/component/title/title.d.ts +7 -1
  34. package/types/component/tooltip/tooltip.d.ts +0 -1
  35. package/types/core/index.d.ts +1 -2
  36. package/types/core/vchart.d.ts +1 -5
  37. package/types/data/transforms/box-plot.d.ts +1 -4
  38. package/types/data/transforms/correlation-center.d.ts +4 -10
  39. package/types/data/transforms/correlation.d.ts +15 -18
  40. package/types/data/transforms/funnel.d.ts +8 -10
  41. package/types/data/transforms/lookup.d.ts +3 -3
  42. package/types/data/transforms/map.d.ts +2 -8
  43. package/types/data/transforms/sankey.d.ts +4 -12
  44. package/types/data/transforms/stack-split.d.ts +1 -2
  45. package/types/data/transforms/treemap.d.ts +3 -5
  46. package/types/data/transforms/venn.d.ts +2 -4
  47. package/types/data/transforms/waterfall.d.ts +2 -4
  48. package/types/event/event.d.ts +0 -4
  49. package/types/mark/base/base-mark.d.ts +2 -13
  50. package/types/mark/component.d.ts +0 -9
  51. package/types/mark/interface/mark.d.ts +0 -2
  52. package/types/model/base-model.d.ts +15 -3
  53. package/types/model/interface.d.ts +0 -13
  54. package/types/plugin/components/tooltip-handler/canvas-tooltip-handler.d.ts +2 -2
  55. package/types/region/region.d.ts +7 -1
  56. package/types/scale/color-ordinal-scale.d.ts +0 -1
  57. package/types/series/area/area.d.ts +0 -2
  58. package/types/series/bar/bar.d.ts +0 -3
  59. package/types/series/base/base-series.d.ts +7 -11
  60. package/types/series/base/constant.d.ts +0 -3
  61. package/types/series/box-plot/box-plot.d.ts +0 -2
  62. package/types/series/dot/dot.d.ts +0 -12
  63. package/types/series/heatmap/heatmap.d.ts +0 -2
  64. package/types/series/line/line.d.ts +0 -2
  65. package/types/series/mixin/line-mixin.d.ts +0 -1
  66. package/types/series/pie/pie.d.ts +7 -3
  67. package/types/series/polar/progress-like/progress-like.d.ts +0 -2
  68. package/types/series/polar/rose-like/rose-like.d.ts +0 -2
  69. package/types/series/progress/circular/circular.d.ts +0 -2
  70. package/types/series/progress/linear/linear.d.ts +0 -2
  71. package/types/series/scatter/scatter.d.ts +0 -2
  72. package/types/series/waterfall/waterfall.d.ts +0 -2
  73. package/types/util/math.d.ts +1 -1
  74. package/types/compile/stage-app.d.ts +0 -17
  75. package/types/component/base/release-vrender-component.d.ts +0 -10
  76. package/types/data/data-view-utils.d.ts +0 -5
  77. package/types/util/graphic-state.d.ts +0 -4
@@ -2,7 +2,6 @@ import type { DataView } from '@visactor/vdataset';
2
2
  import type { IScatterInvalidType } from '../../typings';
3
3
  import type { IScatterSeriesSpec } from './interface';
4
4
  import { CartesianSeries } from '../cartesian/cartesian';
5
- import type { ISeriesSpecUpdatePolicy } from '../base/base-series';
6
5
  import type { SeriesMarkMap } from '../interface';
7
6
  import { SeriesTypeEnum } from '../interface/type';
8
7
  import type { ILabelMark, IMark } from '../../mark/interface';
@@ -23,7 +22,6 @@ export declare class ScatterSeries<T extends IScatterSeriesSpec = IScatterSeries
23
22
  private _shape;
24
23
  private _shapeField;
25
24
  protected _invalidType: IScatterInvalidType;
26
- protected _getSpecUpdatePolicy(): ISeriesSpecUpdatePolicy;
27
25
  setAttrFromSpec(): void;
28
26
  private _getSeriesAttribute;
29
27
  private getSizeAttribute;
@@ -8,7 +8,6 @@ import type { Datum } from '../../typings';
8
8
  import type { ILabelMark, IRuleMark, ITextMark } from '../../mark/interface';
9
9
  import type { ILabelInfo } from '../../component/label/interface';
10
10
  import { type ICompilableData } from '../../compile/data';
11
- import type { ISeriesSpecUpdatePolicy } from '../base/base-series';
12
11
  export declare const DefaultBandWidth = 6;
13
12
  export declare class WaterfallSeries<T extends IWaterfallSeriesSpec = IWaterfallSeriesSpec> extends BarSeries<any> {
14
13
  static readonly type: string;
@@ -25,7 +24,6 @@ export declare class WaterfallSeries<T extends IWaterfallSeriesSpec = IWaterfall
25
24
  protected _leaderLineMark: IRuleMark;
26
25
  protected _stackLabelMark: ITextMark;
27
26
  protected _labelMark: ITextMark;
28
- protected _getSpecUpdatePolicy(): ISeriesSpecUpdatePolicy;
29
27
  protected initGroups(): void;
30
28
  setAttrFromSpec(): void;
31
29
  getSeriesKeys(): string[];
@@ -1,7 +1,7 @@
1
1
  import type { IBoundsLike } from '@visactor/vutils';
2
2
  import type { IPoint } from '../typings';
3
3
  import { isNumberClose, isGreater, isLess, normalizeAngle } from '@visactor/vutils';
4
- import { angleLabelOrientAttribute } from '@visactor/vrender-components/axis/util';
4
+ import { angleLabelOrientAttribute } from '@visactor/vrender-components';
5
5
  export declare const isClose: typeof isNumberClose;
6
6
  export { isGreater, isLess, normalizeAngle, angleLabelOrientAttribute };
7
7
  export declare function normalizeStartEndAngle(start: number | null, end: number | null): {
@@ -1,17 +0,0 @@
1
- import type { IApp, IStage, IStageParams } from '@visactor/vrender-core';
2
- import { type RenderMode } from '../typings/spec/common';
3
- type VRenderAppEnv = 'browser' | 'node' | 'feishu' | 'tt' | 'wx' | 'lynx' | 'harmony';
4
- export type ResolveVRenderAppOptions = {
5
- app?: IApp;
6
- mode?: RenderMode;
7
- modeParams?: unknown;
8
- };
9
- export type ResolvedVRenderApp = {
10
- app: IApp;
11
- releaseAppRef?: () => void;
12
- };
13
- export declare const getVRenderAppEnv: (mode?: RenderMode) => VRenderAppEnv;
14
- export declare const getVRenderAppEnvParams: (mode?: RenderMode, modeParams?: unknown) => unknown;
15
- export declare const resolveVRenderApp: (appOrOptions?: IApp | ResolveVRenderAppOptions, mode?: RenderMode) => ResolvedVRenderApp;
16
- export declare const createStageFromApp: (app: IApp, params: Partial<IStageParams>) => IStage;
17
- export {};
@@ -1,10 +0,0 @@
1
- import type { IGraphic } from '@visactor/vrender-core';
2
- type ReleaseVRenderComponentOptions = {
3
- enableExitAnimation?: boolean;
4
- removeFromParent?: boolean;
5
- onComplete?: () => void;
6
- };
7
- export declare const releaseVRenderComponentSync: (component: IGraphic, removeFromParent?: boolean) => void;
8
- export declare const collectVRenderComponents: (component: IGraphic) => IGraphic[];
9
- export declare const releaseVRenderComponent: (component: IGraphic, options?: ReleaseVRenderComponentOptions) => boolean;
10
- export {};
@@ -1,5 +0,0 @@
1
- import type { DataView } from '@visactor/vdataset';
2
- export declare const detachDataViewDependencies: (dataView?: DataView | null) => void;
3
- export declare const releaseDataViews: (dataViews: Array<DataView | null | undefined>) => void;
4
- export declare const releaseDataView: (dataView?: DataView | null) => void;
5
- export declare const releaseDataViewWithDependencies: (dataView: DataView | null | undefined, shouldReleaseDependency: (dataView: DataView) => boolean) => void;
@@ -1,4 +0,0 @@
1
- import type { IMarkGraphic } from '../mark/interface';
2
- export declare const setGraphicStates: (graphic: IMarkGraphic, nextStates?: string[] | null, hasAnimation?: boolean) => void;
3
- export declare const addGraphicState: (graphic: IMarkGraphic, state: string, keepCurrentStates?: boolean, hasAnimation?: boolean) => void;
4
- export declare const removeGraphicState: (graphic: IMarkGraphic, state: string | string[], hasAnimation?: boolean) => void;