@visactor/vchart-types 1.13.7-alpha.0 → 2.0.0-alpha.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 (189) hide show
  1. package/package.json +3 -3
  2. package/tsconfig.tsbuildinfo +1 -1
  3. package/types/animation/animate-manager.d.ts +2 -4
  4. package/types/animation/interface.d.ts +86 -2
  5. package/types/animation/spec.d.ts +27 -3
  6. package/types/animation/utils.d.ts +3 -4
  7. package/types/chart/base/base-chart.d.ts +10 -7
  8. package/types/chart/funnel/util.d.ts +2 -0
  9. package/types/chart/interface/chart.d.ts +3 -4
  10. package/types/chart/interface/common.d.ts +2 -9
  11. package/types/chart/sankey/sankey.d.ts +1 -1
  12. package/types/compile/compilable-base.d.ts +1 -1
  13. package/types/compile/compiler.d.ts +35 -25
  14. package/types/compile/data/compilable-data.d.ts +7 -7
  15. package/types/compile/data/interface.d.ts +4 -1
  16. package/types/compile/grammar-item.d.ts +7 -13
  17. package/types/compile/interface/compilable-item.d.ts +22 -28
  18. package/types/compile/interface/compiler.d.ts +13 -4
  19. package/types/compile/mark/index.d.ts +0 -1
  20. package/types/compile/mark/interface.d.ts +42 -33
  21. package/types/compile/mark/mark-state-manager.d.ts +11 -13
  22. package/types/compile/mark/util.d.ts +1 -1
  23. package/types/compile/state-manager.d.ts +11 -0
  24. package/types/compile/util.d.ts +14 -0
  25. package/types/component/axis/base-axis.d.ts +5 -3
  26. package/types/component/axis/cartesian/axis.d.ts +1 -1
  27. package/types/component/axis/cartesian/time-axis.d.ts +1 -0
  28. package/types/component/axis/interface/common.d.ts +8 -0
  29. package/types/component/base/base-component.d.ts +1 -2
  30. package/types/component/brush/brush.d.ts +12 -10
  31. package/types/component/crosshair/base.d.ts +2 -2
  32. package/types/component/custom-mark/custom-mark.d.ts +0 -1
  33. package/types/component/data-zoom/data-filter-base-component.d.ts +2 -2
  34. package/types/component/data-zoom/data-zoom/data-zoom.d.ts +1 -1
  35. package/types/component/data-zoom/scroll-bar/scroll-bar.d.ts +1 -1
  36. package/types/component/geo/geo-coordinate.d.ts +2 -2
  37. package/types/component/geo/interface.d.ts +1 -1
  38. package/types/component/label/base-label.d.ts +5 -0
  39. package/types/component/label/interface.d.ts +2 -3
  40. package/types/component/label/label.d.ts +3 -3
  41. package/types/component/label/util.d.ts +9 -10
  42. package/types/component/legend/util.d.ts +3 -3
  43. package/types/component/marker/base-marker.d.ts +1 -1
  44. package/types/component/tooltip/processor/interface.d.ts +1 -1
  45. package/types/component/tooltip/processor/util.d.ts +1 -1
  46. package/types/component/tooltip/tooltip.d.ts +2 -3
  47. package/types/constant/data.d.ts +1 -0
  48. package/types/constant/event.d.ts +53 -2
  49. package/types/core/factory.d.ts +28 -3
  50. package/types/core/index.d.ts +1 -0
  51. package/types/core/interface.d.ts +13 -4
  52. package/types/core/vchart.d.ts +6 -6
  53. package/types/data/transforms/treemap.d.ts +5 -6
  54. package/types/data/transforms/venn.d.ts +10 -0
  55. package/types/event/events/base.d.ts +1 -2
  56. package/types/event/interface.d.ts +6 -9
  57. package/types/index-harmony-simple.d.ts +2 -1
  58. package/types/index.d.ts +0 -3
  59. package/types/interaction/config.d.ts +13 -0
  60. package/types/interaction/index.d.ts +9 -1
  61. package/types/interaction/interaction.d.ts +17 -25
  62. package/types/interaction/interface/common.d.ts +22 -0
  63. package/types/interaction/interface/spec.d.ts +53 -0
  64. package/types/interaction/interface/trigger.d.ts +87 -0
  65. package/types/interaction/triggers/base.d.ts +28 -0
  66. package/types/interaction/triggers/dimension-hover.d.ts +22 -0
  67. package/types/interaction/triggers/element-active-by-legend.d.ts +21 -0
  68. package/types/interaction/triggers/element-active.d.ts +20 -0
  69. package/types/interaction/triggers/element-highlight-by-graphic-name.d.ts +13 -0
  70. package/types/interaction/triggers/element-highlight-by-group.d.ts +23 -0
  71. package/types/interaction/triggers/element-highlight-by-key.d.ts +9 -0
  72. package/types/interaction/triggers/element-highlight-by-legend.d.ts +22 -0
  73. package/types/interaction/triggers/element-highlight-by-name.d.ts +24 -0
  74. package/types/interaction/triggers/element-highlight.d.ts +25 -0
  75. package/types/interaction/triggers/element-select-by-graphic-name.d.ts +8 -0
  76. package/types/interaction/triggers/element-select.d.ts +24 -0
  77. package/types/interaction/triggers/enum.d.ts +8 -0
  78. package/types/interaction/triggers/util.d.ts +12 -0
  79. package/types/layout/interface.d.ts +2 -2
  80. package/types/layout/layout-item.d.ts +2 -3
  81. package/types/mark/arc.d.ts +2 -2
  82. package/types/mark/area.d.ts +2 -0
  83. package/types/mark/base/base-line.d.ts +16 -2
  84. package/types/mark/base/base-mark.d.ts +131 -13
  85. package/types/mark/box-plot.d.ts +11 -5
  86. package/types/mark/cell.d.ts +5 -2
  87. package/types/mark/component.d.ts +11 -3
  88. package/types/mark/glyph.d.ts +29 -0
  89. package/types/mark/group.d.ts +10 -6
  90. package/types/mark/index.d.ts +3 -1
  91. package/types/mark/interface/common.d.ts +61 -9
  92. package/types/mark/interface/enum.d.ts +6 -0
  93. package/types/mark/interface/index.d.ts +1 -0
  94. package/types/mark/interface/mark.d.ts +18 -1
  95. package/types/mark/interface/type.d.ts +1 -0
  96. package/types/mark/label.d.ts +4 -3
  97. package/types/mark/link-path.d.ts +35 -5
  98. package/types/mark/liquid.d.ts +47 -5
  99. package/types/mark/ripple.d.ts +39 -4
  100. package/types/mark/rule.d.ts +3 -0
  101. package/types/mark/symbol.d.ts +4 -4
  102. package/types/mark/text.d.ts +4 -2
  103. package/types/mark/transform/data-sampling.d.ts +10 -0
  104. package/types/mark/transform/filter.d.ts +1 -0
  105. package/types/mark/transform/map.d.ts +1 -0
  106. package/types/mark/transform/symbol-overlap.d.ts +14 -0
  107. package/types/mark/utils/common.d.ts +4 -0
  108. package/types/mark/utils/glyph.d.ts +2 -0
  109. package/types/mark/utils/index.d.ts +2 -0
  110. package/types/mark/utils/line.d.ts +3 -0
  111. package/types/model/base-model.d.ts +8 -8
  112. package/types/model/interface.d.ts +4 -8
  113. package/types/model/layout-model.d.ts +2 -2
  114. package/types/plugin/components/tooltip-handler/base.d.ts +2 -2
  115. package/types/plugin/other.d.ts +3 -3
  116. package/types/region/interface.d.ts +0 -2
  117. package/types/region/region.d.ts +3 -9
  118. package/types/series/area/animation.d.ts +1 -1
  119. package/types/series/area/area.d.ts +1 -1
  120. package/types/series/bar/animation.d.ts +1 -1
  121. package/types/series/bar/bar.d.ts +3 -3
  122. package/types/series/base/base-series.d.ts +26 -42
  123. package/types/series/base/tooltip-helper.d.ts +1 -2
  124. package/types/series/box-plot/box-plot.d.ts +3 -3
  125. package/types/series/cartesian/cartesian.d.ts +1 -1
  126. package/types/series/circle-packing/animation.d.ts +1 -1
  127. package/types/series/circle-packing/circle-packing.d.ts +1 -1
  128. package/types/series/correlation/animation.d.ts +1 -1
  129. package/types/series/correlation/correlation.d.ts +3 -4
  130. package/types/series/dot/dot.d.ts +2 -2
  131. package/types/series/funnel/funnel.d.ts +3 -2
  132. package/types/series/funnel/interface.d.ts +0 -1
  133. package/types/series/funnel/tooltip-helper.d.ts +2 -4
  134. package/types/series/gauge/animation.d.ts +1 -1
  135. package/types/series/gauge/gauge-pointer.d.ts +4 -1
  136. package/types/series/gauge/gauge.d.ts +2 -2
  137. package/types/series/geo/geo.d.ts +2 -2
  138. package/types/series/heatmap/animation.d.ts +1 -1
  139. package/types/series/heatmap/heatmap.d.ts +4 -1
  140. package/types/series/interface/common.d.ts +1 -4
  141. package/types/series/interface/series.d.ts +6 -1
  142. package/types/series/line/animation.d.ts +1 -1
  143. package/types/series/line/line.d.ts +1 -1
  144. package/types/series/link/link.d.ts +5 -2
  145. package/types/series/liquid/animation.d.ts +1 -1
  146. package/types/series/liquid/liquid.d.ts +4 -1
  147. package/types/series/map/interface.d.ts +10 -0
  148. package/types/series/mixin/line-mixin.d.ts +5 -5
  149. package/types/series/pictogram/pictogram.d.ts +13 -19
  150. package/types/series/pie/animation/animation.d.ts +4 -3
  151. package/types/series/pie/animation/centerOffset.d.ts +1 -1
  152. package/types/series/pie/interface.d.ts +2 -2
  153. package/types/series/pie/pie.d.ts +8 -6
  154. package/types/series/polar/progress-like/animation.d.ts +1 -1
  155. package/types/series/polar/progress-like/progress-like.d.ts +1 -2
  156. package/types/series/progress/circular/circular.d.ts +4 -1
  157. package/types/series/progress/linear/animation.d.ts +1 -1
  158. package/types/series/progress/linear/linear.d.ts +4 -1
  159. package/types/series/radar/animation.d.ts +11 -9
  160. package/types/series/radar/radar.d.ts +2 -2
  161. package/types/series/range-column/animation.d.ts +1 -1
  162. package/types/series/rose/animation.d.ts +1 -1
  163. package/types/series/sankey/animation.d.ts +1 -1
  164. package/types/series/sankey/sankey.d.ts +11 -12
  165. package/types/series/sankey/tooltip-helper.d.ts +1 -1
  166. package/types/series/scatter/animation.d.ts +1 -1
  167. package/types/series/sunburst/animation/enter.d.ts +1 -1
  168. package/types/series/sunburst/animation/exit.d.ts +1 -1
  169. package/types/series/sunburst/animation/preset.d.ts +1 -1
  170. package/types/series/sunburst/animation/utils.d.ts +2 -2
  171. package/types/series/sunburst/sunburst.d.ts +1 -1
  172. package/types/series/treemap/animation.d.ts +1 -1
  173. package/types/series/treemap/treemap.d.ts +1 -2
  174. package/types/series/venn/animation.d.ts +1 -1
  175. package/types/series/venn/venn.d.ts +2 -1
  176. package/types/series/waterfall/animation.d.ts +1 -1
  177. package/types/series/waterfall/waterfall.d.ts +2 -3
  178. package/types/series/word-cloud/animation.d.ts +1 -1
  179. package/types/series/word-cloud/base.d.ts +1 -1
  180. package/types/series/word-cloud/interface.d.ts +1 -1
  181. package/types/typings/common.d.ts +13 -0
  182. package/types/typings/spec/common.d.ts +37 -36
  183. package/types/typings/visual.d.ts +2 -2
  184. package/types/util/array.d.ts +1 -0
  185. package/types/util/index.d.ts +1 -0
  186. package/types/util/mark.d.ts +5 -0
  187. package/types/util/math.d.ts +1 -1
  188. package/types/util/scale.d.ts +0 -1
  189. package/types/vrender-tools.d.ts +0 -1
@@ -1,14 +1,13 @@
1
- import type { IGroupMark as IVGrammarGroupMark } from '@visactor/vgrammar-core';
2
1
  import type { ISeries } from '../series/interface';
3
2
  import type { IModelOption } from '../model/interface';
4
3
  import type { CoordinateType } from '../typings/coordinate';
5
4
  import type { IRegion, IRegionSpec, IRegionSpecInfo } from './interface';
6
- import type { IInteraction, ITrigger } from '../interaction/interface';
7
5
  import type { IAnimate } from '../animation/interface';
8
6
  import type { ILayoutType, StringOrNumber } from '../typings';
9
7
  import { LayoutModel } from '../model/layout-model';
10
8
  import { RegionSpecTransformer } from './region-transformer';
11
9
  import type { IGroupMark, IRectMark } from '../mark/interface/mark';
10
+ import type { IGroup } from '@visactor/vrender-core';
12
11
  export declare class Region<T extends IRegionSpec = IRegionSpec> extends LayoutModel<T> implements IRegion {
13
12
  static type: string;
14
13
  static readonly transformerConstructor: typeof RegionSpecTransformer;
@@ -21,7 +20,6 @@ export declare class Region<T extends IRegionSpec = IRegionSpec> extends LayoutM
21
20
  layoutType: ILayoutType;
22
21
  layoutZIndex: number;
23
22
  animate?: IAnimate;
24
- interaction: IInteraction;
25
23
  getSpecInfo: () => IRegionSpecInfo;
26
24
  getMaxWidth(): number;
27
25
  setMaxWidth(value: number): void;
@@ -35,7 +33,6 @@ export declare class Region<T extends IRegionSpec = IRegionSpec> extends LayoutM
35
33
  getStackSort(): boolean;
36
34
  protected _backgroundMark?: IRectMark;
37
35
  protected _foregroundMark?: IRectMark;
38
- protected _trigger: ITrigger;
39
36
  constructor(spec: T, ctx: IModelOption);
40
37
  protected _getClipDefaultValue(): boolean;
41
38
  created(): void;
@@ -73,10 +70,7 @@ export declare class Region<T extends IRegionSpec = IRegionSpec> extends LayoutM
73
70
  initSeriesDataflow(): void;
74
71
  seriesDataFilterOver: () => void;
75
72
  release(): void;
76
- createTrigger(): void;
77
- initTrigger(): void;
78
- initInteraction(): void;
79
- compileMarks(group?: string | IVGrammarGroupMark): void;
73
+ compileMarks(group?: IGroup): void;
80
74
  compile(): void;
81
75
  getBoundsInRect: () => {
82
76
  x1: number;
@@ -84,5 +78,5 @@ export declare class Region<T extends IRegionSpec = IRegionSpec> extends LayoutM
84
78
  x2: number;
85
79
  y2: number;
86
80
  };
87
- onLayoutEnd(ctx: any): void;
81
+ onLayoutEnd(): void;
88
82
  }
@@ -1,4 +1,4 @@
1
- import type { IAnimationTypeConfig } from '@visactor/vgrammar-core';
1
+ import type { IAnimationTypeConfig } from '../../animation/interface';
2
2
  import type { AreaAppearPreset, IAreaAnimationParams } from './interface';
3
3
  export declare function areaPresetAnimation(params: IAreaAnimationParams, preset: AreaAppearPreset | boolean): IAnimationTypeConfig;
4
4
  export declare const registerAreaSeriesAnimation: () => void;
@@ -28,7 +28,7 @@ export declare class AreaSeries<T extends IAreaSeriesSpec = IAreaSeriesSpec> ext
28
28
  compile(): void;
29
29
  getDefaultShapeType(): string;
30
30
  getActiveMarks(): IMark[];
31
- onLayoutEnd(ctx: any): void;
31
+ onLayoutEnd(): void;
32
32
  getSeriesStyle(datum: Datum): (attribute: string) => any;
33
33
  }
34
34
  export declare const registerAreaSeries: () => void;
@@ -1,5 +1,5 @@
1
- import type { IAnimationTypeConfig } from '@visactor/vgrammar-core';
2
1
  import type { BarAppearPreset, IBarAnimationParams } from './interface';
2
+ import type { IAnimationTypeConfig } from '../../animation/interface';
3
3
  export declare const barGrowIn: (params: IBarAnimationParams, isOverall?: boolean) => IAnimationTypeConfig;
4
4
  export declare const barGrowOut: (params: IBarAnimationParams, isOverall?: boolean) => IAnimationTypeConfig;
5
5
  export declare function barPresetAnimation(params: IBarAnimationParams, preset: BarAppearPreset | boolean): IAnimationTypeConfig;
@@ -8,9 +8,9 @@ import type { IAxisHelper } from '../../component/axis/cartesian/interface';
8
8
  import type { IModelInitOption } from '../../model/interface';
9
9
  import type { SeriesMarkMap } from '../interface';
10
10
  import { SeriesMarkNameEnum, SeriesTypeEnum } from '../interface/type';
11
- import { SeriesData } from '../base/series-data';
12
11
  import { DataView } from '@visactor/vdataset';
13
12
  import { BarSeriesSpecTransformer } from './bar-transformer';
13
+ import type { ICompilableData } from '../../compile/data';
14
14
  export declare const DefaultBandWidth = 6;
15
15
  export declare class BarSeries<T extends IBarSeriesSpec = IBarSeriesSpec> extends CartesianSeries<T> {
16
16
  static readonly type: string;
@@ -23,7 +23,7 @@ export declare class BarSeries<T extends IBarSeriesSpec = IBarSeriesSpec> extend
23
23
  protected _bandPosition: number;
24
24
  protected _barMark: IRectMark;
25
25
  protected _barBackgroundMark: IRectMark;
26
- protected _barBackgroundViewData: SeriesData;
26
+ protected _barBackgroundViewData: ICompilableData;
27
27
  initMark(): void;
28
28
  protected _initBarBackgroundMark(): void;
29
29
  initMarkStyle(): void;
@@ -61,7 +61,7 @@ export declare class BarSeries<T extends IBarSeriesSpec = IBarSeriesSpec> extend
61
61
  protected _getBarBackgroundPositionYEncoder: () => (datum: Datum) => number;
62
62
  protected _setBarBackgroundPositionYEncoder: (encoder: (datum: Datum) => number) => void;
63
63
  dataToBarBackgroundPositionY(datum: Datum, scaleDepth?: number): number;
64
- onLayoutEnd(ctx: any): void;
64
+ onLayoutEnd(): void;
65
65
  compile(): void;
66
66
  getDefaultShapeType(): string;
67
67
  getActiveMarks(): IMark[];
@@ -7,14 +7,16 @@ import { BaseModel } from '../../model/base-model';
7
7
  import type { ISeriesOption, ISeries, ISeriesMarkInitOption, ISeriesStackData, ISeriesTooltipHelper, SeriesMarkMap, ISeriesMarkInfo, ISeriesSpecInfo, ISeriesStackDataLeaf, ISeriesStackDataMeta, ISeriesSeriesInfo } from '../interface';
8
8
  import type { IModelEvaluateOption, IModelRenderOption, IUpdateSpecResult } from '../../model/interface';
9
9
  import type { AddVChartPropertyContext } from '../../data/transforms/add-property';
10
- import type { IBaseInteractionSpec, IHoverSpec, ISelectSpec } from '../../interaction/interface';
11
- import { SeriesData } from './series-data';
10
+ import type { IHoverSpec, ISelectSpec } from '../../interaction/interface/spec';
12
11
  import type { ISeriesMarkAttributeContext } from '../../compile/mark';
13
12
  import { STATE_VALUE_ENUM } from '../../compile/mark';
14
13
  import { BaseSeriesSpecTransformer } from './base-series-transformer';
15
- import type { EventType } from '@visactor/vgrammar-core';
16
14
  import type { ILabelSpec } from '../../component/label/interface';
17
15
  import type { StatisticOperations } from '../../data/transforms/interface';
16
+ import type { GraphicEventType } from '@visactor/vrender-core';
17
+ import type { ICompilableData } from '../../compile/data';
18
+ import type { IBaseTriggerOptions } from '../../interaction/interface/trigger';
19
+ import { TRIGGER_TYPE_ENUM } from '../../interaction/triggers/enum';
18
20
  export declare abstract class BaseSeries<T extends ISeriesSpec> extends BaseModel<T> implements ISeries {
19
21
  readonly specKey: string;
20
22
  readonly type: string;
@@ -49,7 +51,7 @@ export declare abstract class BaseSeries<T extends ISeriesSpec> extends BaseMode
49
51
  protected _viewDataMap: Map<number, DataView>;
50
52
  protected _viewDataFilter: DataView;
51
53
  getViewDataFilter(): DataView;
52
- protected _data: SeriesData;
54
+ protected _data: ICompilableData;
53
55
  getViewData(): DataView;
54
56
  getViewDataProductId(): string;
55
57
  protected _viewDataStatistics: DataView;
@@ -125,55 +127,37 @@ export declare abstract class BaseSeries<T extends ISeriesSpec> extends BaseMode
125
127
  private _getExtensionMarkNamePrefix;
126
128
  protected _initExtensionMark(options: {
127
129
  hasAnimation: boolean;
128
- depend?: IMark[];
129
130
  }): void;
130
131
  private _createExtensionMark;
131
132
  protected _updateExtensionMarkSpec(): void;
132
133
  getStackData(): ISeriesStackData;
133
- protected _parseSelectorOfInteraction(interactionSpec: IBaseInteractionSpec, marks: IMark[]): string[];
134
- protected _parseDefaultInteractionConfig(mainMarks?: IMark[]): ({
135
- seriesId: number;
136
- regionId: number;
137
- selector: string[];
138
- type: string;
139
- trigger: EventType;
140
- triggerOff: EventType;
141
- blurState: STATE_VALUE_ENUM;
142
- highlightState: STATE_VALUE_ENUM;
143
- } | {
144
- type: string;
145
- seriesId: number;
146
- regionId: number;
147
- selector: string[];
148
- trigger: EventType;
149
- triggerOff: EventType;
150
- reverseState: STATE_VALUE_ENUM;
151
- state: STATE_VALUE_ENUM;
152
- isMultiple: boolean;
153
- })[];
154
- protected _defaultHoverConfig(selector: string[], finalHoverSpec: IHoverSpec): {
155
- seriesId: number;
156
- regionId: number;
157
- selector: string[];
158
- type: string;
159
- trigger: EventType;
160
- triggerOff: EventType;
134
+ protected _parseDefaultInteractionConfig(mainMarks?: IMark[]): {
135
+ trigger: Partial<IBaseTriggerOptions>;
136
+ marks: IMark[];
137
+ }[];
138
+ protected _defaultHoverConfig(finalHoverSpec: IHoverSpec): {
139
+ type: TRIGGER_TYPE_ENUM;
140
+ trigger: GraphicEventType;
141
+ triggerOff: GraphicEventType;
161
142
  blurState: STATE_VALUE_ENUM;
162
143
  highlightState: STATE_VALUE_ENUM;
163
144
  };
164
- protected _defaultSelectConfig(selector: string[], finalSelectSpec: ISelectSpec): {
165
- type: string;
166
- seriesId: number;
167
- regionId: number;
168
- selector: string[];
169
- trigger: EventType;
170
- triggerOff: EventType;
145
+ protected _defaultSelectConfig(finalSelectSpec: ISelectSpec): {
146
+ type: TRIGGER_TYPE_ENUM;
147
+ trigger: GraphicEventType;
148
+ triggerOff: GraphicEventType;
171
149
  reverseState: STATE_VALUE_ENUM;
172
150
  state: STATE_VALUE_ENUM;
173
151
  isMultiple: boolean;
174
152
  };
175
- protected _parseInteractionConfig(mainMarks?: IMark[]): void;
176
- initInteraction(): void;
153
+ protected _parseInteractionConfig(mainMarks?: IMark[]): {
154
+ trigger: Partial<IBaseTriggerOptions>;
155
+ marks: IMark[];
156
+ }[];
157
+ getInteractionTriggers(): {
158
+ trigger: Partial<IBaseTriggerOptions>;
159
+ marks: IMark[];
160
+ }[];
177
161
  initAnimation(): void;
178
162
  initMarkState(): void;
179
163
  initSeriesStyleState(): void;
@@ -1,7 +1,6 @@
1
1
  import type { ISeriesTooltipSpec, ITooltipSpec, TooltipHandlerParams } from '../../component/tooltip/interface';
2
- import type { ITooltipActual, ITooltipLineActual, ITooltipLinePattern, ITooltipPattern, MaybeArray, ShapeType, TooltipActiveType, TooltipContentProperty, TooltipData, TooltipPatternProperty } from '../../typings';
2
+ import type { Datum, ITooltipActual, ITooltipLineActual, ITooltipLinePattern, ITooltipPattern, MaybeArray, ShapeType, TooltipActiveType, TooltipContentProperty, TooltipData, TooltipPatternProperty } from '../../typings';
3
3
  import type { ISeries, ISeriesTooltipHelper } from '../interface';
4
- import type { Datum } from '@visactor/vgrammar-core';
5
4
  import type { IMark } from '../../mark/interface/common';
6
5
  interface ISeriesCacheInfo {
7
6
  seriesFields: string[];
@@ -4,8 +4,8 @@ import { CartesianSeries } from '../cartesian/cartesian';
4
4
  import type { SeriesMarkMap } from '../interface';
5
5
  import { SeriesTypeEnum } from '../interface/type';
6
6
  import type { IBoxPlotSeriesSpec } from './interface';
7
- import { SeriesData } from '../base/series-data';
8
7
  import type { IMark } from '../../mark/interface';
8
+ import type { ICompilableData } from '../../compile/data';
9
9
  export declare const DEFAULT_FILL_COLOR = "#FFF";
10
10
  export declare const DEFAULT_STROKE_COLOR = "#000";
11
11
  export declare class BoxPlotSeries<T extends IBoxPlotSeriesSpec = IBoxPlotSeriesSpec> extends CartesianSeries<T> {
@@ -36,7 +36,7 @@ export declare class BoxPlotSeries<T extends IBoxPlotSeriesSpec = IBoxPlotSeries
36
36
  protected _shaftFillOpacity: number;
37
37
  protected _outliersStyle: IOutlierMarkSpec;
38
38
  getOutliersStyle(): IOutlierMarkSpec;
39
- protected _outlierDataView: SeriesData;
39
+ protected _outlierDataView: ICompilableData;
40
40
  private _autoBoxWidth;
41
41
  setAttrFromSpec(): void;
42
42
  private _boxPlotMark?;
@@ -48,7 +48,7 @@ export declare class BoxPlotSeries<T extends IBoxPlotSeriesSpec = IBoxPlotSeries
48
48
  compileData(): void;
49
49
  init(option: IModelInitOption): void;
50
50
  private _getMarkWidth;
51
- onLayoutEnd(ctx: any): void;
51
+ onLayoutEnd(): void;
52
52
  private _initAnimationSpec;
53
53
  initAnimation(): void;
54
54
  protected initTooltip(): void;
@@ -31,7 +31,7 @@ export declare abstract class CartesianSeries<T extends ICartesianSeriesSpec = I
31
31
  protected _specXField: string[];
32
32
  protected _specYField: string[];
33
33
  protected _direction: DirectionType;
34
- get direction(): "vertical" | "horizontal";
34
+ get direction(): "horizontal" | "vertical";
35
35
  protected _scaleX: IBaseScale;
36
36
  get scaleX(): IBaseScale;
37
37
  setScaleX(s: IBaseScale): void;
@@ -1,4 +1,4 @@
1
- import type { IAnimationTypeConfig } from '@visactor/vgrammar-core';
1
+ import type { IAnimationTypeConfig } from '../../animation/interface';
2
2
  import type { CirclePackingAppearPreset } from './interface';
3
3
  export declare const circlePackingPresetAnimation: (preset: CirclePackingAppearPreset) => IAnimationTypeConfig;
4
4
  export declare const registerCirclePackingAnimation: () => void;
@@ -38,7 +38,7 @@ export declare class CirclePackingSeries<T extends ICirclePackingSeriesSpec = IC
38
38
  protected initTooltip(): void;
39
39
  initAnimation(): void;
40
40
  initEvent(): void;
41
- onLayoutEnd(ctx: any): void;
41
+ onLayoutEnd(): void;
42
42
  protected _noAnimationDataKey(datum: Datum, index: number): unknown | undefined;
43
43
  getActiveMarks(): IMark[];
44
44
  getMarkData(datum: Datum): any;
@@ -1,4 +1,4 @@
1
- import type { IAnimationTypeConfig } from '@visactor/vgrammar-core';
2
1
  import type { CorrelationAppearPreset, ICorrelationAnimationParams } from './interface';
2
+ import type { IAnimationTypeConfig } from '../../animation/interface';
3
3
  export declare const correlationPresetAnimation: (_params: ICorrelationAnimationParams, preset: CorrelationAppearPreset) => IAnimationTypeConfig;
4
4
  export declare const registerCorrelationAnimation: () => void;
@@ -2,17 +2,17 @@ import { PolarSeries } from '../polar/polar';
2
2
  import type { ICorrelationSeriesSpec } from './interface';
3
3
  import { SeriesTypeEnum } from '../interface/type';
4
4
  import type { SeriesMarkMap } from '../interface';
5
- import { SeriesData } from '../base/series-data';
6
5
  import type { AdaptiveSpec } from '../../typings';
7
6
  import type { ILabelMark, IMark } from '../../mark/interface';
8
7
  import { CorrelationSeriesSpecTransformer } from './correlation-transformer';
8
+ import { type ICompilableData } from '../../compile/data';
9
9
  export declare class CorrelationSeries<T extends ICorrelationSeriesSpec = ICorrelationSeriesSpec> extends PolarSeries<AdaptiveSpec<T, 'outerRadius' | 'innerRadius'>> {
10
10
  static readonly type: string;
11
11
  type: SeriesTypeEnum;
12
12
  static readonly mark: SeriesMarkMap;
13
13
  static readonly transformerConstructor: any;
14
14
  readonly transformerConstructor: typeof CorrelationSeriesSpecTransformer;
15
- protected _centerSeriesData: SeriesData;
15
+ protected _centerSeriesData: ICompilableData;
16
16
  private _nodePointMark;
17
17
  private _ripplePointMark;
18
18
  private _centerPointMark;
@@ -32,7 +32,6 @@ export declare class CorrelationSeries<T extends ICorrelationSeriesSpec = ICorre
32
32
  protected _sizeRange?: ICorrelationSeriesSpec['sizeRange'];
33
33
  getSizeRange(): number[];
34
34
  setSizeRange(range: number[]): void;
35
- protected _viewDataTransform: SeriesData;
36
35
  setAttrFromSpec(): void;
37
36
  protected initData(): void;
38
37
  compileData(): void;
@@ -51,6 +50,6 @@ export declare class CorrelationSeries<T extends ICorrelationSeriesSpec = ICorre
51
50
  getActiveMarks(): IMark[];
52
51
  getDimensionField(): string[];
53
52
  getMeasureField(): string[];
54
- onLayoutEnd(ctx: any): void;
53
+ onLayoutEnd(): void;
55
54
  }
56
55
  export declare const registerCorrelationSeries: () => void;
@@ -49,7 +49,7 @@ export declare class DotSeries<T extends IDotSeriesSpec = IDotSeriesSpec> extend
49
49
  dataToGridBackgroundPositionY1(datum: Datum): number;
50
50
  dataToOpacity(datum: Datum): number;
51
51
  dataToGridBackgroundOpacity(datum: Datum): VisualType<number>;
52
- onLayoutEnd(ctx: any): void;
52
+ onLayoutEnd(): void;
53
53
  getDefaultColorDomain(): any;
54
54
  getColorAttribute(): {
55
55
  scale: any;
@@ -63,7 +63,7 @@ export declare class DotSeries<T extends IDotSeriesSpec = IDotSeriesSpec> extend
63
63
  protected initTooltip(): void;
64
64
  onEvaluateEnd(ctx: IModelEvaluateOption): void;
65
65
  protected onMarkTreePositionUpdate(marks: IMark[]): void;
66
- getDotData(): import("../../compile/mark").IMarkData;
66
+ getDotData(): import("../../compile/data").ICompilableData;
67
67
  protected _getDataIdKey(): any;
68
68
  getStackValueField(): string;
69
69
  getActiveMarks(): IMark[];
@@ -6,8 +6,8 @@ import { BaseSeries } from '../base/base-series';
6
6
  import type { ILabelMark, IMark, IPolygonMark, IRuleMark, ITextMark } from '../../mark/interface';
7
7
  import { MarkTypeEnum } from '../../mark/interface/type';
8
8
  import type { IFunnelSeriesSpec } from './interface';
9
- import { SeriesData } from '../base/series-data';
10
9
  import { FunnelSeriesSpecTransformer } from './funnel-transformer';
10
+ import type { ICompilableData } from '../../compile/data';
11
11
  export declare class FunnelSeries<T extends IFunnelSeriesSpec = IFunnelSeriesSpec> extends BaseSeries<T> implements IFunnelSeries {
12
12
  static readonly type: string;
13
13
  type: SeriesTypeEnum;
@@ -24,7 +24,7 @@ export declare class FunnelSeries<T extends IFunnelSeriesSpec = IFunnelSeriesSpe
24
24
  protected _valueField: string;
25
25
  getValueField(): string;
26
26
  setValueField(f: string): string;
27
- protected _viewDataTransform: SeriesData;
27
+ protected _viewDataTransform: ICompilableData;
28
28
  protected _funnelAlign: 'left' | 'center' | 'right' | 'top' | 'bottom';
29
29
  protected _funnelOrient: IOrientType;
30
30
  protected _shape: 'rect' | 'trapezoid';
@@ -39,6 +39,7 @@ export declare class FunnelSeries<T extends IFunnelSeriesSpec = IFunnelSeriesSpe
39
39
  protected _minLabelLineWidth: number;
40
40
  setAttrFromSpec(): void;
41
41
  initData(): void;
42
+ compile(): void;
42
43
  compileData(): void;
43
44
  getStatisticFields(): {
44
45
  key: string;
@@ -21,7 +21,6 @@ export interface IFunnelSeriesSpec extends ISeriesSpec, IAnimationSpec<FunnelMar
21
21
  maxSize?: number | IPercent;
22
22
  minSize?: number | IPercent;
23
23
  heightRatio?: number;
24
- transformRatioText?: string;
25
24
  [SeriesMarkNameEnum.funnel]?: IMarkSpec<IPathMarkSpec>;
26
25
  [SeriesMarkNameEnum.transform]?: IMarkSpec<IPathMarkSpec>;
27
26
  [SeriesMarkNameEnum.label]?: IFunnelLabelSpec;
@@ -1,10 +1,8 @@
1
- import type { IFunnelSeries, ISeriesTooltipHelper } from '../interface';
1
+ import type { ISeriesTooltipHelper } from '../interface';
2
2
  import { BaseSeriesTooltipHelper } from '../base/tooltip-helper';
3
3
  import type { TooltipHandlerParams } from '../../component/tooltip/interface';
4
- import type { Datum } from '@visactor/vgrammar-core';
4
+ import type { Datum } from '../../typings/common';
5
5
  export declare class FunnelSeriesTooltipHelper extends BaseSeriesTooltipHelper implements ISeriesTooltipHelper {
6
- private _transformRatioText;
7
- constructor(series: IFunnelSeries);
8
6
  dimensionTooltipTitleCallback: (datum: Datum, params?: TooltipHandlerParams) => any;
9
7
  markTooltipValueCallback: (datum: Datum, params?: TooltipHandlerParams) => any;
10
8
  markTooltipKeyCallback: (datum: Datum, params?: TooltipHandlerParams) => any;
@@ -1,4 +1,4 @@
1
- import type { IAnimationTypeConfig } from '@visactor/vgrammar-core';
1
+ import type { IAnimationTypeConfig } from '../../animation/interface';
2
2
  export type ProgressLikeAppearPreset = 'grow' | 'fadeIn';
3
3
  export interface IProgressLikeAnimationParams {
4
4
  startAngle?: number;
@@ -32,7 +32,10 @@ export declare class GaugePointerSeries<T extends IGaugePointerSeriesSpec = IGau
32
32
  };
33
33
  private initPinBackgroundMarkStyle;
34
34
  private initPinMarkStyle;
35
- initInteraction(): void;
35
+ getInteractionTriggers(): {
36
+ trigger: Partial<import("../../interaction/interface/trigger").IBaseTriggerOptions>;
37
+ marks: IMark[];
38
+ }[];
36
39
  initAnimation(): void;
37
40
  getDefaultShapeType(): string;
38
41
  getActiveMarks(): IMark[];
@@ -2,9 +2,9 @@ import type { SeriesMarkMap } from '../interface';
2
2
  import { SeriesTypeEnum } from '../interface/type';
3
3
  import type { IGaugeSeriesSpec } from './interface';
4
4
  import { ProgressLikeSeries } from '../polar/progress-like/progress-like';
5
- import type { Datum } from '@visactor/vgrammar-core';
6
5
  import type { IMark } from '../../mark/interface';
7
6
  import { GaugeSeriesSpecTransformer } from './gauge-transformer';
7
+ import type { Datum } from '../../typings/common';
8
8
  export declare class GaugeSeries<T extends IGaugeSeriesSpec = IGaugeSeriesSpec> extends ProgressLikeSeries<T> {
9
9
  static readonly type: string;
10
10
  type: SeriesTypeEnum;
@@ -20,7 +20,7 @@ export declare class GaugeSeries<T extends IGaugeSeriesSpec = IGaugeSeriesSpec>
20
20
  initMarkStyle(): void;
21
21
  private initSegmentMarkStyle;
22
22
  protected generateRadiusStyle(spec: any): any;
23
- initMarkStyleWithSpec(mark?: IMark, spec?: any, key?: string): void;
23
+ initMarkStyleWithSpec(mark?: IMark, spec?: any): void;
24
24
  protected initTooltip(): void;
25
25
  private initTrackMarkStyle;
26
26
  protected _getAngleValueStartWithoutMask(datum: Datum): number;
@@ -3,14 +3,14 @@ import type { IPoint } from '../../typings';
3
3
  import type { IGeoSeries } from '../interface';
4
4
  import { SeriesTypeEnum } from '../interface/type';
5
5
  import { BaseSeries } from '../base/base-series';
6
- import type { SeriesData } from '../base/series-data';
7
6
  import type { DataView } from '@visactor/vdataset';
8
7
  import type { IGeoSeriesSpec } from './interface';
9
8
  import type { IMark } from '../../mark/interface';
9
+ import type { ICompilableData } from '../../compile/data';
10
10
  export declare abstract class GeoSeries<T extends IGeoSeriesSpec = IGeoSeriesSpec> extends BaseSeries<T> implements IGeoSeries {
11
11
  type: SeriesTypeEnum;
12
12
  readonly coordinate = "geo";
13
- protected _mapViewData: SeriesData;
13
+ protected _mapViewData: ICompilableData;
14
14
  getMapViewData(): DataView;
15
15
  protected _mapViewDataStatistics: DataView;
16
16
  _nameField: string;
@@ -1,4 +1,4 @@
1
- import type { IAnimationTypeConfig } from '@visactor/vgrammar-core';
2
1
  import type { HeatmapAppearPreset } from './interface';
2
+ import type { IAnimationTypeConfig } from '../../animation/interface';
3
3
  export declare function heatmapPresetAnimation(preset: HeatmapAppearPreset | boolean): IAnimationTypeConfig;
4
4
  export declare const registerHeatmapAnimation: () => void;
@@ -27,7 +27,10 @@ export declare class HeatmapSeries<T extends IHeatmapSeriesSpec = IHeatmapSeries
27
27
  scale: any;
28
28
  field: any;
29
29
  };
30
- initInteraction(): void;
30
+ getInteractionTriggers(): {
31
+ trigger: Partial<import("../../interaction/interface/trigger").IBaseTriggerOptions>;
32
+ marks: IMark[];
33
+ }[];
31
34
  initAnimation(): void;
32
35
  protected getCellSize(axisHelper: IAxisHelper): number;
33
36
  protected initTooltip(): void;
@@ -1,10 +1,9 @@
1
1
  import type { DataView } from '@visactor/vdataset';
2
- import type { IGrammarItem } from '../../compile/interface';
3
2
  import type { IBaseModelSpecTransformerResult, IModelConstructor, IModelMarkInfo, IModelOption, IModelSpecInfo } from '../../model/interface';
4
3
  import type { IRegion } from '../../region/interface';
5
4
  import type { RenderMode } from '../../typings/spec/common';
6
5
  import type { ISeries } from './series';
7
- import type { IGroupMark, IMarkOption } from '../../mark/interface';
6
+ import type { IMarkOption } from '../../mark/interface';
8
7
  import type { ISeriesSpec, StringOrNumber } from '../../typings';
9
8
  import type { TransformedLabelSpec } from '../../component/label/interface';
10
9
  import type { SeriesMarkNameEnum, SeriesTypeEnum } from './type';
@@ -55,9 +54,7 @@ export interface ISeriesMarkInitOption extends Partial<IMarkOption> {
55
54
  themeSpec?: any;
56
55
  markSpec?: any;
57
56
  skipBeforeLayouted?: boolean;
58
- parent?: IGroupMark | false;
59
57
  isSeriesMark?: boolean;
60
- depend?: IGrammarItem | IGrammarItem[];
61
58
  key?: string | ((datum: any) => string);
62
59
  groupKey?: string;
63
60
  dataView?: DataView | false;
@@ -15,13 +15,14 @@ import type { IGeoCoordinateHelper } from '../../component/geo/interface';
15
15
  import type { ILabelSpec, ILabelInfo } from '../../component/label/interface';
16
16
  import type { StatisticOperations } from '../../data/transforms/interface';
17
17
  import type { ILegend } from '../../component/legend/interface';
18
+ import type { IBaseTriggerOptions } from '../../interaction/interface/trigger';
18
19
  export interface ISeries extends IModel {
19
20
  readonly type: string;
20
21
  readonly name?: string;
21
22
  tooltipHelper: ISeriesTooltipHelper;
22
23
  getSpec: () => any;
23
24
  readonly coordinate: CoordinateType;
24
- onLayoutEnd: (ctx: any) => void;
25
+ onLayoutEnd: () => void;
25
26
  getRawData: () => DataView | undefined;
26
27
  getViewDataFilter: () => DataView | undefined;
27
28
  getViewData: () => DataView | undefined;
@@ -104,6 +105,10 @@ export interface ISeries extends IModel {
104
105
  getSeriesFieldValue: (datum: Datum, seriesField?: string) => any;
105
106
  legendSelectedFilter?: (component: ILegend, selectedKeys: StringOrNumber[]) => StringOrNumber[];
106
107
  parseLabelStyle?: (labelStyle: any, labelSpec: any, labelMark?: ILabelMark) => any;
108
+ getInteractionTriggers?: () => {
109
+ trigger: Partial<IBaseTriggerOptions>;
110
+ marks: IMark[];
111
+ }[];
107
112
  }
108
113
  export interface ICartesianSeries extends ISeries {
109
114
  readonly coordinate: 'cartesian';
@@ -1,3 +1,3 @@
1
- import type { IAnimationTypeConfig } from '@visactor/vgrammar-core';
1
+ import type { IAnimationTypeConfig } from '../../animation/interface';
2
2
  import type { ILineAnimationParams, LineAppearPreset } from './interface';
3
3
  export declare function linePresetAnimation(params: ILineAnimationParams, preset: LineAppearPreset): IAnimationTypeConfig;
@@ -20,7 +20,7 @@ export declare class LineSeries<T extends ILineSeriesSpec = ILineSeriesSpec> ext
20
20
  protected initTooltip(): void;
21
21
  initMarkStyle(): void;
22
22
  initAnimation(): void;
23
- onLayoutEnd(ctx: any): void;
23
+ onLayoutEnd(): void;
24
24
  getSeriesStyle(datum: Datum): (attribute: string) => unknown;
25
25
  getDefaultShapeType(): string;
26
26
  getActiveMarks(): IMark[];
@@ -44,10 +44,13 @@ export declare class LinkSeries<T extends ILinkSeriesSpec = ILinkSeriesSpec> ext
44
44
  scale: any;
45
45
  field: string;
46
46
  };
47
- initInteraction(): void;
47
+ getInteractionTriggers(): {
48
+ trigger: Partial<import("../../interaction/interface/trigger").IBaseTriggerOptions>;
49
+ marks: IMark[];
50
+ }[];
48
51
  protected initTooltip(): void;
49
52
  protected onMarkTreePositionUpdate(marks: IMark[]): void;
50
- getDotInfoData(): import("../../compile/mark").IMarkData;
53
+ getDotInfoData(): import("../../compile/data").ICompilableData;
51
54
  getActiveMarks(): IMark[];
52
55
  }
53
56
  export declare const registerLinkSeries: () => void;
@@ -1,4 +1,4 @@
1
- import type { IAnimationTypeConfig } from '@visactor/vgrammar-core';
1
+ import type { IAnimationTypeConfig } from '../../animation/interface';
2
2
  import type { ILiquidAnimationParams, LiquidAppearPreset } from './interface';
3
3
  export declare function liquidPresetAnimation(params: ILiquidAnimationParams, preset: LiquidAppearPreset): IAnimationTypeConfig;
4
4
  export declare function liquidGroupPresetAnimation(params: ILiquidAnimationParams, preset: LiquidAppearPreset): IAnimationTypeConfig;
@@ -41,7 +41,10 @@ export declare class LiquidSeries<T extends ILiquidSeriesSpec = ILiquidSeriesSpe
41
41
  private _initLiquidBackgroundMarkStyle;
42
42
  private _initLiquidMarkStyle;
43
43
  protected initTooltip(): void;
44
- initInteraction(): void;
44
+ getInteractionTriggers(): {
45
+ trigger: Partial<import("../../interaction/interface/trigger").IBaseTriggerOptions>;
46
+ marks: IMark[];
47
+ }[];
45
48
  initAnimation(): void;
46
49
  protected initEvent(): void;
47
50
  dataToPosition(data: Datum): IPoint;
@@ -26,4 +26,14 @@ export interface IMapSeriesTheme {
26
26
  }>;
27
27
  area?: Partial<IMarkTheme<Omit<IPathMarkSpec, 'smoothScale'>>>;
28
28
  }
29
+ export interface GeometryData {
30
+ type: 'Point' | 'MultiPoint' | 'LineString' | 'MultiLineString' | 'Polygon' | 'MultiPolygon' | 'GeometryCollection';
31
+ coordinates?: [number, number] | [number, number][] | [number, number][][] | [number, number][][][];
32
+ arcs?: number[][];
33
+ }
34
+ export interface FeatureData {
35
+ type: 'Feature';
36
+ geometry: GeometryData;
37
+ properties?: Record<string, any>;
38
+ }
29
39
  export {};
@@ -1,12 +1,12 @@
1
1
  import type { ISeriesOption } from '../interface/common';
2
2
  import type { ISeries } from '../interface/series';
3
- import type { ICompileMarkConfig, IMark, IMarkProgressiveConfig, ILabelMark, ILineMark, ISymbolMark, ITextMark } from '../../mark/interface';
3
+ import type { ICompileMarkConfig, IMark, ILabelMark, ILineMark, ISymbolMark, ITextMark } from '../../mark/interface';
4
4
  import type { DirectionType, IInvalidType, InterpolateType, Maybe, Datum, ILayoutRect } from '../../typings';
5
5
  import type { ISeriesMarkInfo, ISeriesMarkInitOption, ISeriesTooltipHelper } from '../interface';
6
6
  import type { DimensionEventParams } from '../../event/events/dimension';
7
7
  import type { IRegion } from '../../region/interface';
8
- import type { SeriesData } from '../base/series-data';
9
8
  import type { ILineLikeSeriesTheme } from './interface';
9
+ import type { ICompilableData } from '../../compile/data';
10
10
  export interface LineLikeSeriesMixin extends ISeries {
11
11
  _spec: any;
12
12
  _option: ISeriesOption;
@@ -16,7 +16,7 @@ export interface LineLikeSeriesMixin extends ISeries {
16
16
  _invalidType: IInvalidType;
17
17
  _region: IRegion;
18
18
  _direction: DirectionType;
19
- _data: SeriesData;
19
+ _data: ICompilableData;
20
20
  _lineMark: ILineMark;
21
21
  _symbolMark: ISymbolMark;
22
22
  _symbolActiveMark: ISymbolMark;
@@ -33,11 +33,11 @@ export declare class LineLikeSeriesMixin {
33
33
  addSamplingCompile(): void;
34
34
  addOverlapCompile(): void;
35
35
  reCompileSampling(): void;
36
- initLineMark(progressive?: IMarkProgressiveConfig, isSeriesMark?: boolean): ILineMark;
36
+ initLineMark(isSeriesMark?: boolean): ILineMark;
37
37
  initLineMarkStyle(direction?: DirectionType, areaCurveType?: InterpolateType): ILineMark;
38
38
  protected _getEventElement(params: DimensionEventParams, reverse?: boolean): Datum[];
39
39
  protected _dimensionTrigger(params: DimensionEventParams): void;
40
- initSymbolMark(progressive?: IMarkProgressiveConfig, isSeriesMark?: boolean): ISymbolMark;
40
+ initSymbolMark(isSeriesMark?: boolean): ISymbolMark;
41
41
  initSymbolMarkStyle(): ISymbolMark;
42
42
  private _initSymbolMark;
43
43
  private _initSymbolActiveMarkAlone;