@visactor/vrender-components 0.21.0-alpha.10 → 0.21.0-alpha.11

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.
package/cjs/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const version = "0.21.0-alpha.10";
1
+ export declare const version = "0.21.0-alpha.11";
2
2
  export * from './core/base';
3
3
  export * from './core/type';
4
4
  export * from './scrollbar';
package/cjs/index.js CHANGED
@@ -17,7 +17,7 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
17
17
 
18
18
  Object.defineProperty(exports, "__esModule", {
19
19
  value: !0
20
- }), exports.version = void 0, exports.version = "0.21.0-alpha.10", __exportStar(require("./core/base"), exports),
20
+ }), exports.version = void 0, exports.version = "0.21.0-alpha.11", __exportStar(require("./core/base"), exports),
21
21
  __exportStar(require("./core/type"), exports), __exportStar(require("./scrollbar"), exports),
22
22
  __exportStar(require("./tag"), exports), __exportStar(require("./poptip"), exports),
23
23
  __exportStar(require("./crosshair"), exports), __exportStar(require("./label"), exports),
package/cjs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACa,QAAA,OAAO,GAAG,iBAAiB,CAAC;AAEzC,8CAA4B;AAC5B,8CAA4B;AAC5B,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,8CAA4B;AAC5B,0CAAwB;AACxB,yCAAuB;AACvB,8CAA4B;AAC5B,4CAA0B;AAC1B,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,0CAAwB;AACxB,8CAA4B;AAC5B,2CAAyB;AACzB,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B;AAC3B,8CAA4B;AAC5B,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB;AACxB,8CAA4B;AAC5B,yCAAuB","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"0.21.0-alpha.10\";\n\nexport * from './core/base';\nexport * from './core/type';\nexport * from './scrollbar';\nexport * from './tag';\nexport * from './poptip';\nexport * from './crosshair';\nexport * from './label';\nexport * from './axis';\nexport * from './axis/grid';\nexport * from './segment';\nexport * from './data-zoom';\nexport * from './marker';\nexport * from './pager';\nexport * from './legend';\nexport * from './title';\nexport * from './indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport * from './brush';\nexport * from './tooltip';\nexport * from './timeline';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\nexport * from './radio';\nexport * from './empty-tip';\nexport * from './util';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACa,QAAA,OAAO,GAAG,iBAAiB,CAAC;AAEzC,8CAA4B;AAC5B,8CAA4B;AAC5B,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,8CAA4B;AAC5B,0CAAwB;AACxB,yCAAuB;AACvB,8CAA4B;AAC5B,4CAA0B;AAC1B,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,0CAAwB;AACxB,8CAA4B;AAC5B,2CAAyB;AACzB,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B;AAC3B,8CAA4B;AAC5B,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB;AACxB,8CAA4B;AAC5B,yCAAuB","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"0.21.0-alpha.11\";\n\nexport * from './core/base';\nexport * from './core/type';\nexport * from './scrollbar';\nexport * from './tag';\nexport * from './poptip';\nexport * from './crosshair';\nexport * from './label';\nexport * from './axis';\nexport * from './axis/grid';\nexport * from './segment';\nexport * from './data-zoom';\nexport * from './marker';\nexport * from './pager';\nexport * from './legend';\nexport * from './title';\nexport * from './indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport * from './brush';\nexport * from './tooltip';\nexport * from './timeline';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\nexport * from './radio';\nexport * from './empty-tip';\nexport * from './util';\n"]}
@@ -18,4 +18,4 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
18
18
  Object.defineProperty(exports, "__esModule", {
19
19
  value: !0
20
20
  }), __exportStar(require("./indicator"), exports), __exportStar(require("./type"), exports);
21
- //# sourceMappingURL=index.js.map
21
+ //# sourceMappingURL=index.js.map
@@ -101,4 +101,4 @@ class Indicator extends base_1.AbstractComponent {
101
101
  }
102
102
 
103
103
  exports.Indicator = Indicator;
104
- //# sourceMappingURL=indicator.js.map
104
+ //# sourceMappingURL=indicator.js.map
@@ -11,4 +11,4 @@ function loadIndicatorComponent() {
11
11
  }
12
12
 
13
13
  exports.loadIndicatorComponent = loadIndicatorComponent;
14
- //# sourceMappingURL=register.js.map
14
+ //# sourceMappingURL=register.js.map
@@ -3,4 +3,4 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
5
  });
6
- //# sourceMappingURL=type.js.map
6
+ //# sourceMappingURL=type.js.map
package/cjs/label/arc.js CHANGED
@@ -507,5 +507,4 @@ const registerArcDataLabel = () => {
507
507
  (0, data_label_register_1.registerLabelComponent)("arc", ArcLabel);
508
508
  };
509
509
 
510
- exports.registerArcDataLabel = registerArcDataLabel;
511
- //# sourceMappingURL=arc.js.map
510
+ exports.registerArcDataLabel = registerArcDataLabel;
package/cjs/label/line.js CHANGED
@@ -56,4 +56,5 @@ const registerLineDataLabel = () => {
56
56
  (0, data_label_register_1.registerLabelComponent)("line", LineLabel), (0, data_label_register_1.registerLabelComponent)("area", LineLabel);
57
57
  };
58
58
 
59
- exports.registerLineDataLabel = registerLineDataLabel;
59
+ exports.registerLineDataLabel = registerLineDataLabel;
60
+ //# sourceMappingURL=line.js.map
@@ -12,4 +12,4 @@ function loadLabelComponent() {
12
12
  }
13
13
 
14
14
  exports.loadLabelComponent = loadLabelComponent;
15
- //# sourceMappingURL=register.js.map
15
+ //# sourceMappingURL=register.js.map
@@ -41,4 +41,4 @@ const registerSymbolDataLabel = () => {
41
41
  };
42
42
 
43
43
  exports.registerSymbolDataLabel = registerSymbolDataLabel;
44
- //# sourceMappingURL=symbol.js.map
44
+ //# sourceMappingURL=symbol.js.map
package/cjs/label/type.js CHANGED
@@ -3,4 +3,4 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
5
  });
6
- //# sourceMappingURL=type.js.map
6
+ //# sourceMappingURL=type.js.map
package/cjs/label/util.js CHANGED
@@ -175,4 +175,4 @@ function getAlignOffset(align) {
175
175
 
176
176
  exports.getPointsOfLineArea = getPointsOfLineArea, exports.labelingLineOrArea = labelingLineOrArea,
177
177
  exports.connectLineBetweenBounds = connectLineBetweenBounds, exports.getAlignOffset = getAlignOffset;
178
- //# sourceMappingURL=util.js.map
178
+ //# sourceMappingURL=util.js.map
package/dist/index.es.js CHANGED
@@ -2039,7 +2039,8 @@ const DefaultTextStyle = {
2039
2039
  underlineDash: [],
2040
2040
  underlineOffset: 0,
2041
2041
  disableAutoClipedPoptip: void 0,
2042
- measureMode: MeasureModeEnum.fontBounding
2042
+ measureMode: MeasureModeEnum.fontBounding,
2043
+ keepCenterInLine: !1
2043
2044
  };
2044
2045
  const DefaultPickStyle = {
2045
2046
  pickStrokeBuffer: 0
@@ -9572,7 +9573,8 @@ class CanvasTextLayout {
9572
9573
  const {
9573
9574
  lineWidth: lineWidth,
9574
9575
  suffixPosition = "end",
9575
- measureMode = MeasureModeEnum.actualBounding
9576
+ measureMode = MeasureModeEnum.actualBounding,
9577
+ keepCenterInLine = !1
9576
9578
  } = null != params ? params : {};
9577
9579
  lines = lines.map(l => l.toString());
9578
9580
  const linesLayout = [],
@@ -9585,7 +9587,8 @@ class CanvasTextLayout {
9585
9587
  str: metrics.width <= lineWidth ? lines[i].toString() : this.textMeasure.clipTextWithSuffix(lines[i], this.textOptions, width, suffix, wordBreak, suffixPosition).str,
9586
9588
  width: width,
9587
9589
  ascent: metrics.ascent,
9588
- descent: metrics.descent
9590
+ descent: metrics.descent,
9591
+ keepCenterInLine: keepCenterInLine
9589
9592
  });
9590
9593
  }
9591
9594
  bboxWH[0] = lineWidth;
@@ -9600,7 +9603,8 @@ class CanvasTextLayout {
9600
9603
  str: text,
9601
9604
  width: width,
9602
9605
  ascent: metrics.ascent,
9603
- descent: metrics.descent
9606
+ descent: metrics.descent,
9607
+ keepCenterInLine: keepCenterInLine
9604
9608
  });
9605
9609
  }
9606
9610
  bboxWH[0] = _lineWidth;
@@ -9631,9 +9635,12 @@ class CanvasTextLayout {
9631
9635
  };
9632
9636
  }
9633
9637
  lineOffset(bbox, line, textAlign, textBaseline, lineHeight, origin) {
9634
- "left" === textAlign || "start" === textAlign ? line.leftOffset = 0 : "center" === textAlign ? line.leftOffset = (bbox.width - line.width) / 2 : "right" !== textAlign && "end" !== textAlign || (line.leftOffset = bbox.width - line.width), line.topOffset = lineHeight / 2 + (line.ascent - line.descent) / 2 + origin[1];
9635
- const actualHeightWithBuf = line.ascent + line.descent + 0;
9636
- return actualHeightWithBuf < lineHeight - 0 && ("bottom" === textBaseline ? line.topOffset += (lineHeight - actualHeightWithBuf) / 2 : "top" === textBaseline && (line.topOffset -= (lineHeight - actualHeightWithBuf) / 2)), origin[1] += lineHeight, line;
9638
+ if ("left" === textAlign || "start" === textAlign ? line.leftOffset = 0 : "center" === textAlign ? line.leftOffset = (bbox.width - line.width) / 2 : "right" !== textAlign && "end" !== textAlign || (line.leftOffset = bbox.width - line.width), line.topOffset = lineHeight / 2 + (line.ascent - line.descent) / 2 + origin[1], !line.keepCenterInLine) {
9639
+ const buf = 0,
9640
+ actualHeightWithBuf = line.ascent + line.descent + buf;
9641
+ actualHeightWithBuf < lineHeight - buf && ("bottom" === textBaseline ? line.topOffset += (lineHeight - actualHeightWithBuf) / 2 : "top" === textBaseline && (line.topOffset -= (lineHeight - actualHeightWithBuf) / 2));
9642
+ }
9643
+ return origin[1] += lineHeight, line;
9637
9644
  }
9638
9645
  }
9639
9646
 
@@ -9784,7 +9791,8 @@ class Text extends Graphic {
9784
9791
  lineWidth = textTheme.lineWidth,
9785
9792
  whiteSpace = textTheme.whiteSpace,
9786
9793
  suffixPosition = textTheme.suffixPosition,
9787
- ignoreBuf = textTheme.ignoreBuf
9794
+ ignoreBuf = textTheme.ignoreBuf,
9795
+ keepCenterInLine = textTheme.keepCenterInLine
9788
9796
  } = attribute,
9789
9797
  buf = ignoreBuf ? 0 : this.guessLineHeightBuf(fontSize),
9790
9798
  lineHeight = this.getLineHeight(attribute, textTheme) + buf;
@@ -9802,7 +9810,8 @@ class Text extends Graphic {
9802
9810
  }, textMeasure).GetLayoutByLines(text, textAlign, textBaseline, lineHeight, !0 === ellipsis ? textTheme.ellipsis : ellipsis || void 0, !1, {
9803
9811
  lineWidth: maxLineWidth,
9804
9812
  suffixPosition: suffixPosition,
9805
- measureMode: measureMode
9813
+ measureMode: measureMode,
9814
+ keepCenterInLine: keepCenterInLine
9806
9815
  }),
9807
9816
  {
9808
9817
  bbox: bbox
@@ -9827,7 +9836,8 @@ class Text extends Graphic {
9827
9836
  measureMode = textTheme.measureMode,
9828
9837
  suffixPosition = textTheme.suffixPosition,
9829
9838
  heightLimit = 0,
9830
- lineClamp: lineClamp
9839
+ lineClamp: lineClamp,
9840
+ keepCenterInLine = textTheme.keepCenterInLine
9831
9841
  } = this.attribute,
9832
9842
  buf = ignoreBuf ? 0 : this.guessLineHeightBuf(fontSize),
9833
9843
  lineHeight = this.getLineHeight(this.attribute, textTheme) + buf;
@@ -9858,7 +9868,8 @@ class Text extends Graphic {
9858
9868
  str: clip.str,
9859
9869
  width: clip.width,
9860
9870
  ascent: matrics.ascent,
9861
- descent: matrics.descent
9871
+ descent: matrics.descent,
9872
+ keepCenterInLine: keepCenterInLine
9862
9873
  });
9863
9874
  break;
9864
9875
  }
@@ -9875,7 +9886,8 @@ class Text extends Graphic {
9875
9886
  str: clip.str,
9876
9887
  width: clip.width,
9877
9888
  ascent: matrics.ascent,
9878
- descent: matrics.descent
9889
+ descent: matrics.descent,
9890
+ keepCenterInLine: keepCenterInLine
9879
9891
  });
9880
9892
  let cutLength = clip.str.length;
9881
9893
  if (!clip.wordBreaked || "" !== str && "" === clip.str || (needCut = !0, cutLength = clip.wordBreaked), clip.str.length === str.length) ;else if (needCut) {
@@ -9899,7 +9911,8 @@ class Text extends Graphic {
9899
9911
  str: clip.str,
9900
9912
  width: clip.width,
9901
9913
  ascent: matrics.ascent,
9902
- descent: matrics.descent
9914
+ descent: matrics.descent,
9915
+ keepCenterInLine: keepCenterInLine
9903
9916
  }), lineWidth = Math.max(lineWidth, clip.width);
9904
9917
  break;
9905
9918
  }
@@ -9909,7 +9922,8 @@ class Text extends Graphic {
9909
9922
  str: text,
9910
9923
  width: width,
9911
9924
  ascent: matrics.ascent,
9912
- descent: matrics.descent
9925
+ descent: matrics.descent,
9926
+ keepCenterInLine: keepCenterInLine
9913
9927
  });
9914
9928
  }
9915
9929
  bboxWH[0] = lineWidth;
@@ -10106,7 +10120,8 @@ class WrapText extends Text {
10106
10120
  str: clip.str,
10107
10121
  width: clip.width,
10108
10122
  ascent: 0,
10109
- descent: 0
10123
+ descent: 0,
10124
+ keepCenterInLine: !1
10110
10125
  });
10111
10126
  break;
10112
10127
  }
@@ -10122,7 +10137,8 @@ class WrapText extends Text {
10122
10137
  str: clip.str,
10123
10138
  width: clip.width,
10124
10139
  ascent: 0,
10125
- descent: 0
10140
+ descent: 0,
10141
+ keepCenterInLine: !1
10126
10142
  }), clip.str.length === str.length) ;else if (needCut) {
10127
10143
  const newStr = str.substring(clip.str.length);
10128
10144
  lines.splice(i + 1, 0, newStr);
@@ -10143,7 +10159,8 @@ class WrapText extends Text {
10143
10159
  str: clip.str,
10144
10160
  width: clip.width,
10145
10161
  ascent: 0,
10146
- descent: 0
10162
+ descent: 0,
10163
+ keepCenterInLine: !1
10147
10164
  }), lineWidth = Math.max(lineWidth, clip.width);
10148
10165
  break;
10149
10166
  }
@@ -10151,7 +10168,8 @@ class WrapText extends Text {
10151
10168
  str: text,
10152
10169
  width: width,
10153
10170
  ascent: 0,
10154
- descent: 0
10171
+ descent: 0,
10172
+ keepCenterInLine: !1
10155
10173
  });
10156
10174
  }
10157
10175
  bboxWH[0] = lineWidth;
@@ -29920,6 +29938,6 @@ EmptyTip.defaultAttributes = {
29920
29938
  }
29921
29939
  };
29922
29940
 
29923
- const version = "0.21.0-alpha.10";
29941
+ const version = "0.21.0-alpha.11";
29924
29942
 
29925
29943
  export { AXIS_ELEMENT_NAME, AbstractComponent, ArcInfo, ArcLabel, ArcSegment, AxisStateValue, BasePlayer, Brush, CheckBox, CircleAxis, CircleAxisGrid, CircleCrosshair, ColorContinuousLegend, ContinuousPlayer, DEFAULT_ITEM_SPACE_COL, DEFAULT_ITEM_SPACE_ROW, DEFAULT_LABEL_SPACE, DEFAULT_PAGER_SPACE, DEFAULT_SHAPE_SIZE, DEFAULT_SHAPE_SPACE, DEFAULT_STATES$1 as DEFAULT_STATES, DEFAULT_TITLE_SPACE, DEFAULT_VALUE_SPACE, DataLabel, DataZoom, DataZoomActiveTag, DirectionEnum, DiscreteLegend, DiscretePlayer, EmptyTip, GroupTransition, IMarkAreaLabelPosition, IMarkCommonArcLabelPosition, IMarkLineLabelPosition, IMarkPointItemPosition, IOperateType, Indicator, LEGEND_ELEMENT_NAME, LabelBase, LegendEvent, LegendStateValue, LineAxis, LineAxisGrid, LineCrosshair, LineLabel, LinkPath, MarkArcArea, MarkArcLine, MarkArea, MarkLine, MarkPoint, Pager, PlayerEventEnum, PolygonCrosshair, PopTip, Radio, RectCrosshair, RectLabel, SLIDER_ELEMENT_NAME, ScrollBar, SectorCrosshair, Segment, SizeContinuousLegend, Slider, SymbolLabel, Tag, Timeline, Title, Tooltip, TopZIndex, VTag, alignTextInLine, angle, angleLabelOrientAttribute, angleTo, cartesianTicks, clampRadian, computeOffsetForlimit, continuousTicks, contrastAccessibilityChecker, convertDomainToTickData, createTextGraphicByType, deltaXYToAngle, fuzzyEqualNumber, getAxisBreakSymbolAttrs, getCircleLabelPosition, getCirclePoints, getCircleVerticalVector, getElMap, getHorizontalPath, getMarksByName, getNoneGroupMarksByName, getPolarAngleLabelPosition, getPolygonPath, getSizeHandlerPath, getTextAlignAttrOfVerticalDir, getTextType, getVerticalCoord, getVerticalPath, hasOverlap, htmlAttributeTransform, initTextMeasure, isInRange, isPostiveXAxis, isRichText, isVisible, labelSmartInvert, length, limitShapeInBounds, linearDiscreteTicks, loadPoptip, loadScrollbar, measureTextSize, normalize, polarAngleAxisDiscreteTicks, polarTicks, reactAttributeTransform, registerArcDataLabel, registerLineDataLabel, registerMarkArcAreaAnimate, registerMarkArcLineAnimate, registerMarkAreaAnimate, registerMarkLineAnimate, registerMarkPointAnimate, registerRectDataLabel, registerSymbolDataLabel, removeRepeatPoint, richTextAttributeTransform, scale, scrollbarModule, setPoptipTheme, smartInvertStrategy, tan2AngleToAngle, textIntersect, ticks, traverseGroup, version };
package/es/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const version = "0.21.0-alpha.10";
1
+ export declare const version = "0.21.0-alpha.11";
2
2
  export * from './core/base';
3
3
  export * from './core/type';
4
4
  export * from './scrollbar';
package/es/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export const version = "0.21.0-alpha.10";
1
+ export const version = "0.21.0-alpha.11";
2
2
 
3
3
  export * from "./core/base";
4
4
 
package/es/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,OAAO,GAAG,iBAAiB,CAAC;AAEzC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"0.21.0-alpha.10\";\n\nexport * from './core/base';\nexport * from './core/type';\nexport * from './scrollbar';\nexport * from './tag';\nexport * from './poptip';\nexport * from './crosshair';\nexport * from './label';\nexport * from './axis';\nexport * from './axis/grid';\nexport * from './segment';\nexport * from './data-zoom';\nexport * from './marker';\nexport * from './pager';\nexport * from './legend';\nexport * from './title';\nexport * from './indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport * from './brush';\nexport * from './tooltip';\nexport * from './timeline';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\nexport * from './radio';\nexport * from './empty-tip';\nexport * from './util';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,OAAO,GAAG,iBAAiB,CAAC;AAEzC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"0.21.0-alpha.11\";\n\nexport * from './core/base';\nexport * from './core/type';\nexport * from './scrollbar';\nexport * from './tag';\nexport * from './poptip';\nexport * from './crosshair';\nexport * from './label';\nexport * from './axis';\nexport * from './axis/grid';\nexport * from './segment';\nexport * from './data-zoom';\nexport * from './marker';\nexport * from './pager';\nexport * from './legend';\nexport * from './title';\nexport * from './indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport * from './brush';\nexport * from './tooltip';\nexport * from './timeline';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\nexport * from './radio';\nexport * from './empty-tip';\nexport * from './util';\n"]}
@@ -1,4 +1,4 @@
1
1
  export * from "./indicator";
2
2
 
3
3
  export * from "./type";
4
- //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.js.map
@@ -98,4 +98,4 @@ export class Indicator extends AbstractComponent {
98
98
  }));
99
99
  }
100
100
  }
101
- //# sourceMappingURL=indicator.js.map
101
+ //# sourceMappingURL=indicator.js.map
@@ -3,4 +3,4 @@ import { registerGroup, registerRichtext, registerText } from "@visactor/vrender
3
3
  export function loadIndicatorComponent() {
4
4
  registerGroup(), registerText(), registerRichtext();
5
5
  }
6
- //# sourceMappingURL=register.js.map
6
+ //# sourceMappingURL=register.js.map
@@ -1,2 +1,2 @@
1
1
  export { };
2
- //# sourceMappingURL=type.js.map
2
+ //# sourceMappingURL=type.js.map
package/es/label/arc.js CHANGED
@@ -494,5 +494,4 @@ ArcLabel.defaultAttributes = {
494
494
 
495
495
  export const registerArcDataLabel = () => {
496
496
  registerLabelComponent("arc", ArcLabel);
497
- };
498
- //# sourceMappingURL=arc.js.map
497
+ };
package/es/label/line.js CHANGED
@@ -54,4 +54,5 @@ LineLabel.defaultAttributes = {
54
54
 
55
55
  export const registerLineDataLabel = () => {
56
56
  registerLabelComponent("line", LineLabel), registerLabelComponent("area", LineLabel);
57
- };
57
+ };
58
+ //# sourceMappingURL=line.js.map
@@ -3,4 +3,4 @@ import { registerGroup, registerLine, registerRichtext, registerText } from "@vi
3
3
  export function loadLabelComponent() {
4
4
  registerGroup(), registerText(), registerRichtext(), registerLine();
5
5
  }
6
- //# sourceMappingURL=register.js.map
6
+ //# sourceMappingURL=register.js.map
@@ -39,4 +39,4 @@ SymbolLabel.defaultAttributes = {
39
39
  export const registerSymbolDataLabel = () => {
40
40
  registerLabelComponent("symbol", SymbolLabel), registerLabelComponent("line-data", SymbolLabel);
41
41
  };
42
- //# sourceMappingURL=symbol.js.map
42
+ //# sourceMappingURL=symbol.js.map
package/es/label/type.js CHANGED
@@ -1,2 +1,2 @@
1
1
  export { };
2
- //# sourceMappingURL=type.js.map
2
+ //# sourceMappingURL=type.js.map
package/es/label/util.js CHANGED
@@ -158,4 +158,4 @@ function getIntersection(dx, dy, cx, cy, w, h) {
158
158
  export function getAlignOffset(align) {
159
159
  return "left" === align ? 0 : "right" === align ? 1 : .5;
160
160
  }
161
- //# sourceMappingURL=util.js.map
161
+ //# sourceMappingURL=util.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vrender-components",
3
- "version": "0.21.0-alpha.10",
3
+ "version": "0.21.0-alpha.11",
4
4
  "description": "components library for dp visualization",
5
5
  "sideEffects": false,
6
6
  "main": "cjs/index.js",
@@ -14,8 +14,8 @@
14
14
  "dependencies": {
15
15
  "@visactor/vutils": "~0.19.1",
16
16
  "@visactor/vscale": "~0.19.1",
17
- "@visactor/vrender-core": "0.21.0-alpha.10",
18
- "@visactor/vrender-kits": "0.21.0-alpha.10"
17
+ "@visactor/vrender-core": "0.21.0-alpha.11",
18
+ "@visactor/vrender-kits": "0.21.0-alpha.11"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@rushstack/eslint-patch": "~1.1.4",