@visactor/vchart-types 2.1.3-alpha.1 → 2.1.3-alpha.3

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.
@@ -1,4 +1,5 @@
1
- export { registerAnimate as registerVRenderAnimate, registerCustomAnimate } from '@visactor/vrender-animate';
1
+ export { registerVRenderAnimate } from '../vrender-bridge';
2
+ export { registerCustomAnimate } from '@visactor/vrender-animate/custom/register';
2
3
  export { registerStateTransition } from './state-transition';
3
4
  export { registerSequentialAnimate } from './sequential-animate';
4
5
  export { registerPolygonAnimation, registerRectAnimation, registerArcAnimation, registerScaleInOutAnimation, DEFAULT_ANIMATION_CONFIG } from './config';
@@ -1,4 +1,4 @@
1
- import { type IGraphicAttribute, type IGraphic, type IGroup } from '@visactor/vrender-core';
1
+ import type { IGraphicAttribute, IGraphic, IGroup } from '@visactor/vrender-core';
2
2
  import type { IRegion } from '../../region/interface';
3
3
  import type { IComponent, IComponentOption } from '../interface';
4
4
  import type { IComponentPluginService, IComponentPlugin } from '../../plugin/components/interface';
@@ -22,7 +22,8 @@ export * from '../typings/spec/index';
22
22
  export * from '../typings/visual';
23
23
  export * from '../typings/tooltip';
24
24
  export * from '../theme/index';
25
- export { vglobal, createGroup, createRichText, createText, createArc, createArea, createRect, createLine, createSymbol } from '@visactor/vrender-core';
25
+ export { vglobal } from '../vrender-bridge';
26
+ export { createGroup, createRichText, createText, createArc, createArea, createRect, createLine, createSymbol } from '../vrender-bridge';
26
27
  export { ManualTicker } from '@visactor/vrender-animate/ticker/manual-ticker';
27
28
  export { StreamLight } from '@visactor/vrender-animate/custom/streamLight';
28
29
  export * from '../util/space';
@@ -36,7 +36,7 @@ import { registerBrush } from './component/brush';
36
36
  import { registerCustomMark } from './component/custom-mark';
37
37
  import { registerGridLayout } from './layout/grid-layout/grid-layout';
38
38
  import { registerPoptip } from './component/poptip';
39
- import { DefaultTicker } from '@visactor/vrender-animate';
39
+ import { DefaultTicker } from '@visactor/vrender-animate/ticker/default-ticker';
40
40
  import { registerAnimate } from './plugin/other';
41
41
  import { registerElementSelect } from './interaction/triggers/element-select';
42
42
  import { registerElementHighlight } from './interaction/triggers/element-highlight';
@@ -1,5 +1,5 @@
1
1
  import { VChart } from './core';
2
- import { DefaultTicker } from '@visactor/vrender-animate';
2
+ import { DefaultTicker } from '@visactor/vrender-animate/ticker/default-ticker';
3
3
  export { VChart, DefaultTicker };
4
4
  export default VChart;
5
5
  export * from './core';
package/types/index.d.ts CHANGED
@@ -28,8 +28,13 @@ export * from './component/base';
28
28
  export * from './compile/data/compilable-data';
29
29
  export * from './animation';
30
30
  export * from './interaction';
31
- export { createImage, createPath, createArc3d, createPyramid3d, createRect3d, registerDirectionalLight, registerOrthoCamera, registerViewTransform3dPlugin, graphicCreator, type IGraphic, type IGlyph, type IGroup, type IText, type ILine, type IArea, type IRect, type INode, type IStage, type EasingType, type ILineGraphicAttribute, type ITextGraphicAttribute, type IRectGraphicAttribute, type IGroupGraphicAttribute, type TextAlignType, type TextBaselineType, type GraphicEventType, type IAreaGraphicAttribute, type ISymbolGraphicAttribute } from '@visactor/vrender-core';
32
- export { ACustomAnimate, AnimateExecutor, RotateBySphereAnimate } from '@visactor/vrender-animate';
31
+ export { createImage, createPath, graphicCreator } from './vrender-bridge';
32
+ export { createArc3d, createPyramid3d, createRect3d } from './vrender-bridge';
33
+ export { registerDirectionalLight, registerOrthoCamera, registerViewTransform3dPlugin } from '@visactor/vrender-core/plugin/3d';
34
+ export { type IGraphic, type IGlyph, type IGroup, type IText, type ILine, type IArea, type IRect, type INode, type IStage, type EasingType, type ILineGraphicAttribute, type ITextGraphicAttribute, type IRectGraphicAttribute, type IGroupGraphicAttribute, type TextAlignType, type TextBaselineType, type GraphicEventType, type IAreaGraphicAttribute, type ISymbolGraphicAttribute } from '@visactor/vrender-core';
35
+ export { ACustomAnimate } from '@visactor/vrender-animate/custom/custom-animate';
36
+ export { AnimateExecutor } from '@visactor/vrender-animate/executor/animate-executor';
37
+ export { RotateBySphereAnimate } from '@visactor/vrender-animate/custom/sphere';
33
38
  export { AbstractComponent, Segment, MarkPoint, type SegmentAttributes, type Point } from '@visactor/vrender-components';
34
39
  export { registerLine } from '@visactor/vrender-kits/register/register-line';
35
40
  export { registerRect } from '@visactor/vrender-kits/register/register-rect';
@@ -2,7 +2,7 @@ import type { IMarkStyle } from './interface';
2
2
  import { MarkTypeEnum } from './interface/type';
3
3
  import type { ILiquidMark } from '../series/liquid/liquid';
4
4
  import { GlyphMark } from './glyph';
5
- import { type IGlyph } from '@visactor/vrender-core';
5
+ import type { IGlyph } from '@visactor/vrender-core';
6
6
  import type { IPointLike } from '@visactor/vutils';
7
7
  import type { ILiquidMarkSpec } from '../typings/visual';
8
8
  import type { Datum } from '../typings/common';
@@ -3,7 +3,7 @@ import type { IMarkStyle, IRippleMark } from './interface';
3
3
  import { MarkTypeEnum } from './interface/type';
4
4
  import { GlyphMark } from './glyph';
5
5
  import type { Datum } from '../typings/common';
6
- import { type IGlyph } from '@visactor/vrender-core';
6
+ import type { IGlyph } from '@visactor/vrender-core';
7
7
  export declare class RippleMark extends GlyphMark<IRippleMarkSpec> implements IRippleMark {
8
8
  static readonly type = MarkTypeEnum.ripple;
9
9
  readonly type = MarkTypeEnum.ripple;
@@ -27,6 +27,7 @@ export declare class DomTooltipHandler extends BaseTooltipHandler {
27
27
  getRootDom(): HTMLElement;
28
28
  constructor();
29
29
  onAdd(service: IComponentPluginService<any>): void;
30
+ protected _getTooltipParentElement(tooltipSpec: ITooltipSpec): HTMLElement;
30
31
  initEl(): void;
31
32
  initRootDom(): void;
32
33
  protected _getTooltipBoxSize(actualTooltip: ITooltipActual, changePositionOnly: boolean): IContainerSize | undefined;
@@ -1,4 +1,4 @@
1
- import { registerHtmlAttributePlugin, registerReactAttributePlugin } from '@visactor/vrender-core';
1
+ import { registerHtmlAttributePlugin, registerReactAttributePlugin } from '../vrender-bridge';
2
2
  export declare const registerAnimate: () => void;
3
3
  export declare const registerDragPlugin: () => void;
4
4
  export declare const registerGesturePlugin: () => void;
@@ -1,5 +1,5 @@
1
1
  import type { EasingType } from '@visactor/vrender-core';
2
- import { ACustomAnimate } from '@visactor/vrender-animate';
2
+ import { ACustomAnimate } from '@visactor/vrender-animate/custom/custom-animate';
3
3
  export interface IBoxplotScaleAnimationOptions {
4
4
  center?: number;
5
5
  }
@@ -1,6 +1,7 @@
1
1
  import type { EasingType } from '@visactor/vrender-core';
2
2
  import type { IPointLike } from '@visactor/vutils';
3
- import { ACustomAnimate, TagPointsUpdate } from '@visactor/vrender-animate';
3
+ import { ACustomAnimate } from '@visactor/vrender-animate/custom/custom-animate';
4
+ import { TagPointsUpdate } from '@visactor/vrender-animate/custom/tag-points';
4
5
  export declare class PolarPointUpdate extends ACustomAnimate<{
5
6
  x: number;
6
7
  y: number;
@@ -1,6 +1,6 @@
1
1
  import type { ISankeyAnimationParams, SankeyAppearPreset } from './interface';
2
2
  import type { IAnimationTypeConfig } from '../../animation/interface';
3
- import { ACustomAnimate } from '@visactor/vrender-animate';
3
+ import { ACustomAnimate } from '@visactor/vrender-animate/custom/custom-animate';
4
4
  export declare const sankeyGrowIn: (params: ISankeyAnimationParams, isOverall?: boolean) => IAnimationTypeConfig;
5
5
  export declare const sankeyGrowOut: (params: ISankeyAnimationParams, isOverall?: boolean) => IAnimationTypeConfig;
6
6
  export declare const sankeyNodePresetAnimation: (params: ISankeyAnimationParams, preset: SankeyAppearPreset) => IAnimationTypeConfig;
@@ -1,4 +1,4 @@
1
- import { ACustomAnimate } from '@visactor/vrender-animate';
1
+ import { ACustomAnimate } from '@visactor/vrender-animate/custom/custom-animate';
2
2
  import type { IVennCircle, IVennOverlapArc, VennCircleName } from '@visactor/vlayouts';
3
3
  import type { VennAppearPreset } from './interface';
4
4
  import type { IAnimationTypeConfig } from '../../animation/interface';
@@ -0,0 +1,11 @@
1
+ import { createArc, createArea, createGlyph, createGraphic, createGroup, createImage, createLine, createPath, createPolygon, createRect, createRichText, createSymbol, createText, graphicCreator } from '@visactor/vrender-core/graphic/creator';
2
+ import { vglobal } from '@visactor/vrender-core/global';
3
+ import { CustomPath2D } from '@visactor/vrender-core/path';
4
+ import { registerHtmlAttributePlugin, registerReactAttributePlugin } from '@visactor/vrender-core/plugin/attribute';
5
+ import { registerAnimate as registerVRenderAnimate } from '@visactor/vrender-animate/register';
6
+ import type { IArc3d, IArc3dGraphicAttribute, IPyramid3d, IPyramid3dGraphicAttribute, IRect3d, IRect3dGraphicAttribute, IStage } from '@visactor/vrender-core';
7
+ export { createArc, createArea, createGlyph, createGraphic, createGroup, createImage, createLine, createPath, createPolygon, createRect, createRichText, createSymbol, createText, graphicCreator, CustomPath2D, registerHtmlAttributePlugin, registerReactAttributePlugin, registerVRenderAnimate, vglobal };
8
+ export declare const createArc3d: (attributes: IArc3dGraphicAttribute) => IArc3d;
9
+ export declare const createPyramid3d: (attributes: IPyramid3dGraphicAttribute) => IPyramid3d;
10
+ export declare const createRect3d: (attributes: IRect3dGraphicAttribute) => IRect3d;
11
+ export declare const waitForAllSubLayers: (stage: IStage) => Promise<null[]>;
@@ -1 +1 @@
1
- export { randomOpacity, columnLeftToRight, columnRightToLeft, rowTopToBottom, rowBottomToTop, diagonalCenterToEdge, diagonalTopLeftToBottomRight, rotationScan, rippleEffect, snakeWave, alternatingWave, spiralEffect, columnEdgeToCenter, columnCenterToEdge, rowEdgeToCenter, rowCenterToEdge, cornerToCenter, centerToCorner, pulseWave, particleEffect } from '@visactor/vrender-kits';
1
+ export { randomOpacity, columnLeftToRight, columnRightToLeft, rowTopToBottom, rowBottomToTop, diagonalCenterToEdge, diagonalTopLeftToBottomRight, rotationScan, rippleEffect, snakeWave, alternatingWave, spiralEffect, columnEdgeToCenter, columnCenterToEdge, rowEdgeToCenter, rowCenterToEdge, cornerToCenter, centerToCorner, pulseWave, particleEffect } from '@visactor/vrender-kits/tools/dynamicTexture/effect';