@visactor/vrender-components 1.1.11-alpha.1 → 1.1.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.
@@ -24,4 +24,5 @@ function(AxisStateValue) {
24
24
  [AxisStateValue.selected]: {},
25
25
  [AxisStateValue.hover]: {},
26
26
  [AxisStateValue.hoverReverse]: {}
27
- }, exports.TopZIndex = 999;
27
+ }, exports.TopZIndex = 999;
28
+ //# sourceMappingURL=constant.js.map
package/cjs/axis/util.js CHANGED
@@ -104,5 +104,4 @@ exports.getAxisBreakSymbolAttrs = getAxisBreakSymbolAttrs, exports.getElMap = ge
104
104
  exports.getVerticalCoord = getVerticalCoord, exports.getCircleVerticalVector = getCircleVerticalVector,
105
105
  exports.angleLabelOrientAttribute = angleLabelOrientAttribute, exports.getPolarAngleLabelPosition = getPolarAngleLabelPosition,
106
106
  exports.getCirclePoints = getCirclePoints, exports.getPolygonPath = getPolygonPath,
107
- exports.textIntersect = textIntersect, exports.hasOverlap = hasOverlap;
108
- //# sourceMappingURL=util.js.map
107
+ exports.textIntersect = textIntersect, exports.hasOverlap = hasOverlap;
package/cjs/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const version = "1.1.11-alpha.1";
1
+ export declare const version = "1.1.11";
2
2
  export * from './core/base';
3
3
  export { AbstractComponent } from './core/base';
4
4
  export * from './core/type';
package/cjs/index.js CHANGED
@@ -18,7 +18,7 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
18
18
  Object.defineProperty(exports, "__esModule", {
19
19
  value: !0
20
20
  }), exports.labelSmartInvert = exports.IOperateType = exports.Brush = exports.PlayerEventEnum = exports.ContinuousPlayer = exports.DiscretePlayer = exports.Indicator = exports.Title = exports.SizeContinuousLegend = exports.ColorContinuousLegend = exports.registerMarkPointAnimate = exports.MarkPoint = exports.registerMarkArcAreaAnimate = exports.MarkArcArea = exports.registerMarkArcLineAnimate = exports.MarkArcLine = exports.registerMarkAreaAnimate = exports.MarkArea = exports.registerMarkLineAnimate = exports.MarkLine = exports.DataZoom = exports.Segment = exports.CircleAxisGrid = exports.LineAxisGrid = exports.polarAngleAxisDiscreteTicks = exports.continuousTicks = exports.CircleAxis = exports.LineAxis = exports.registerSymbolDataLabel = exports.DataLabel = exports.PolygonCrosshair = exports.SectorCrosshair = exports.CircleCrosshair = exports.LineCrosshair = exports.loadPoptip = exports.loadScrollbar = exports.ScrollBar = exports.AbstractComponent = exports.version = void 0,
21
- exports.version = "1.1.11-alpha.1", __exportStar(require("./core/base"), exports);
21
+ exports.version = "1.1.11", __exportStar(require("./core/base"), exports);
22
22
 
23
23
  var base_1 = require("./core/base");
24
24
 
package/cjs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACa,QAAA,OAAO,GAAG,gBAAgB,CAAC;AAExC,8CAA4B;AAC5B,oCAAgD;AAAvC,yGAAA,iBAAiB,OAAA;AAC1B,8CAA4B;AAC5B,8CAA4B;AAC5B,mDAAkD;AAAzC,sGAAA,SAAS,OAAA;AAClB,6CAAmD;AAA1C,uGAAA,aAAa,OAAA;AACtB,wCAAsB;AACtB,2CAAyB;AACzB,0CAA6C;AAApC,oGAAA,UAAU,OAAA;AACnB,8CAA4B;AAC5B,yCAAiD;AAAxC,qGAAA,aAAa,OAAA;AACtB,6CAAqD;AAA5C,yGAAA,eAAe,OAAA;AACxB,6CAAqD;AAA5C,yGAAA,eAAe,OAAA;AACxB,+CAAuD;AAA9C,2GAAA,gBAAgB,OAAA;AACzB,0CAAwB;AACxB,+CAA8C;AAArC,sGAAA,SAAS,OAAA;AAClB,yCAAyD;AAAhD,iHAAA,uBAAuB,OAAA;AAChC,yCAAuB;AACvB,oCAAuC;AAA9B,gGAAA,QAAQ,OAAA;AACjB,wCAA2C;AAAlC,oGAAA,UAAU,OAAA;AACnB,0DAA8D;AAArD,6GAAA,eAAe,OAAA;AACxB,qEAAoF;AAA3E,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DAA4D;AAAnD,qHAAA,gBAAgB,OAAA;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,wDAAsC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.1.11-alpha.1\";\n\nexport * from './core/base';\nexport { AbstractComponent } from './core/base';\nexport * from './core/type';\nexport * from './scrollbar';\nexport { ScrollBar } from './scrollbar/scrollbar';\nexport { loadScrollbar } from './scrollbar/module';\nexport * from './tag';\nexport * from './poptip';\nexport { loadPoptip } from './poptip/module';\nexport * from './crosshair';\nexport { LineCrosshair } from './crosshair/line';\nexport { CircleCrosshair } from './crosshair/circle';\nexport { SectorCrosshair } from './crosshair/sector';\nexport { PolygonCrosshair } from './crosshair/polygon';\nexport * from './label';\nexport { DataLabel } from './label/dataLabel';\nexport { registerSymbolDataLabel } from './label/symbol';\nexport * from './axis';\nexport { LineAxis } from './axis/line';\nexport { CircleAxis } from './axis/circle';\nexport { continuousTicks } from './axis/tick-data/continuous';\nexport { polarAngleAxisDiscreteTicks } from './axis/tick-data/discrete/polar-angle';\nexport * from './axis/grid';\nexport { LineAxisGrid } from './axis/grid/line';\nexport { CircleAxisGrid } from './axis/grid/circle';\nexport * from './segment';\nexport { Segment } from './segment/segment';\nexport * from './data-zoom';\nexport { DataZoom } from './data-zoom/data-zoom';\nexport * from './marker';\nexport { MarkLine, registerMarkLineAnimate } from './marker/line';\nexport { MarkArea, registerMarkAreaAnimate } from './marker/area';\nexport { MarkArcLine, registerMarkArcLineAnimate } from './marker/arc-line';\nexport { MarkArcArea, registerMarkArcAreaAnimate } from './marker/arc-area';\nexport { MarkPoint, registerMarkPointAnimate } from './marker/point';\nexport * from './pager';\nexport * from './legend';\nexport { ColorContinuousLegend } from './legend/color/color';\nexport { SizeContinuousLegend } from './legend/size/size';\nexport * from './title';\nexport { Title } from './title/title';\nexport * from './indicator';\nexport { Indicator } from './indicator/indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport { DiscretePlayer } from './player/discrete-player';\nexport { ContinuousPlayer } from './player/continuous-player';\nexport { PlayerEventEnum } from './player/type/event';\nexport * from './brush';\nexport { Brush } from './brush/brush';\nexport { IOperateType } from './brush/type';\nexport * from './tooltip';\nexport * from './timeline';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\nexport * from './radio';\nexport * from './empty-tip';\nexport * from './weather';\nexport * from './util';\nexport { labelSmartInvert } from './util/label-smartInvert';\nexport * from './switch';\nexport * from './label-item';\nexport * from './table-series-number';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACa,QAAA,OAAO,GAAG,QAAQ,CAAC;AAEhC,8CAA4B;AAC5B,oCAAgD;AAAvC,yGAAA,iBAAiB,OAAA;AAC1B,8CAA4B;AAC5B,8CAA4B;AAC5B,mDAAkD;AAAzC,sGAAA,SAAS,OAAA;AAClB,6CAAmD;AAA1C,uGAAA,aAAa,OAAA;AACtB,wCAAsB;AACtB,2CAAyB;AACzB,0CAA6C;AAApC,oGAAA,UAAU,OAAA;AACnB,8CAA4B;AAC5B,yCAAiD;AAAxC,qGAAA,aAAa,OAAA;AACtB,6CAAqD;AAA5C,yGAAA,eAAe,OAAA;AACxB,6CAAqD;AAA5C,yGAAA,eAAe,OAAA;AACxB,+CAAuD;AAA9C,2GAAA,gBAAgB,OAAA;AACzB,0CAAwB;AACxB,+CAA8C;AAArC,sGAAA,SAAS,OAAA;AAClB,yCAAyD;AAAhD,iHAAA,uBAAuB,OAAA;AAChC,yCAAuB;AACvB,oCAAuC;AAA9B,gGAAA,QAAQ,OAAA;AACjB,wCAA2C;AAAlC,oGAAA,UAAU,OAAA;AACnB,0DAA8D;AAArD,6GAAA,eAAe,OAAA;AACxB,qEAAoF;AAA3E,0HAAA,2BAA2B,OAAA;AACpC,8CAA4B;AAC5B,yCAAgD;AAAvC,oGAAA,YAAY,OAAA;AACrB,6CAAoD;AAA3C,wGAAA,cAAc,OAAA;AACvB,4CAA0B;AAC1B,6CAA4C;A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stractComponent } from './core/base';\nexport * from './core/type';\nexport * from './scrollbar';\nexport { ScrollBar } from './scrollbar/scrollbar';\nexport { loadScrollbar } from './scrollbar/module';\nexport * from './tag';\nexport * from './poptip';\nexport { loadPoptip } from './poptip/module';\nexport * from './crosshair';\nexport { LineCrosshair } from './crosshair/line';\nexport { CircleCrosshair } from './crosshair/circle';\nexport { SectorCrosshair } from './crosshair/sector';\nexport { PolygonCrosshair } from './crosshair/polygon';\nexport * from './label';\nexport { DataLabel } from './label/dataLabel';\nexport { registerSymbolDataLabel } from './label/symbol';\nexport * from './axis';\nexport { LineAxis } from './axis/line';\nexport { CircleAxis } from './axis/circle';\nexport { continuousTicks } from './axis/tick-data/continuous';\nexport { polarAngleAxisDiscreteTicks } from './axis/tick-data/discrete/polar-angle';\nexport * from './axis/grid';\nexport { LineAxisGrid } from './axis/grid/line';\nexport { CircleAxisGrid } from './axis/grid/circle';\nexport * from './segment';\nexport { Segment } from './segment/segment';\nexport * from './data-zoom';\nexport { DataZoom } from './data-zoom/data-zoom';\nexport * from './marker';\nexport { MarkLine, registerMarkLineAnimate } from './marker/line';\nexport { MarkArea, registerMarkAreaAnimate } from './marker/area';\nexport { MarkArcLine, registerMarkArcLineAnimate } from './marker/arc-line';\nexport { MarkArcArea, registerMarkArcAreaAnimate } from './marker/arc-area';\nexport { MarkPoint, registerMarkPointAnimate } from './marker/point';\nexport * from './pager';\nexport * from './legend';\nexport { ColorContinuousLegend } from './legend/color/color';\nexport { SizeContinuousLegend } from './legend/size/size';\nexport * from './title';\nexport { Title } from './title/title';\nexport * from './indicator';\nexport { Indicator } from './indicator/indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport { DiscretePlayer } from './player/discrete-player';\nexport { ContinuousPlayer } from './player/continuous-player';\nexport { PlayerEventEnum } from './player/type/event';\nexport * from './brush';\nexport { Brush } from './brush/brush';\nexport { IOperateType } from './brush/type';\nexport * from './tooltip';\nexport * from './timeline';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\nexport * from './radio';\nexport * from './empty-tip';\nexport * from './weather';\nexport * from './util';\nexport { labelSmartInvert } from './util/label-smartInvert';\nexport * from './switch';\nexport * from './label-item';\nexport * from './table-series-number';\n"]}
package/dist/index.es.js CHANGED
@@ -7921,23 +7921,21 @@ let Line$1 = class Line extends Graphic {
7921
7921
  }
7922
7922
  updateLineAABBBoundsByPoints(attribute, lineTheme, aabbBounds, graphic) {
7923
7923
  const {
7924
- points = lineTheme.points,
7925
- connectedType: connectedType
7924
+ points = lineTheme.points
7926
7925
  } = attribute,
7927
7926
  b = aabbBounds;
7928
7927
  return points.forEach(p => {
7929
- !1 === p.defined && "connect" !== connectedType || b.add(p.x, p.y);
7928
+ !1 !== p.defined && b.add(p.x, p.y);
7930
7929
  }), b;
7931
7930
  }
7932
7931
  updateLineAABBBoundsBySegments(attribute, lineTheme, aabbBounds, graphic) {
7933
7932
  const {
7934
- segments = lineTheme.segments,
7935
- connectedType: connectedType
7933
+ segments = lineTheme.segments
7936
7934
  } = attribute,
7937
7935
  b = aabbBounds;
7938
7936
  return segments.forEach(s => {
7939
7937
  s.points.forEach(p => {
7940
- !1 === p.defined && "connect" !== connectedType || b.add(p.x, p.y);
7938
+ !1 !== p.defined && b.add(p.x, p.y);
7941
7939
  });
7942
7940
  }), b;
7943
7941
  }
@@ -9239,7 +9237,7 @@ function createPath(attributes) {
9239
9237
  return new Path(attributes);
9240
9238
  }
9241
9239
 
9242
- const AREA_UPDATE_TAG_KEY = ["segments", "points", "curveType", "curveTension", ...GRAPHIC_UPDATE_TAG_KEY];
9240
+ const AREA_UPDATE_TAG_KEY = ["segments", "points", "curveType", "curveTension", "connectedType", ...GRAPHIC_UPDATE_TAG_KEY];
9243
9241
  class Area extends Graphic {
9244
9242
  constructor(params) {
9245
9243
  super(params), this.type = "area", this.numberType = AREA_NUMBER_TYPE;
@@ -9272,7 +9270,7 @@ class Area extends Graphic {
9272
9270
  b = aabbBounds;
9273
9271
  return points.forEach(p => {
9274
9272
  var _a, _b;
9275
- b.add(p.x, p.y), b.add(null !== (_a = p.x1) && void 0 !== _a ? _a : p.x, null !== (_b = p.y1) && void 0 !== _b ? _b : p.y);
9273
+ !1 !== p.defined && (b.add(p.x, p.y), b.add(null !== (_a = p.x1) && void 0 !== _a ? _a : p.x, null !== (_b = p.y1) && void 0 !== _b ? _b : p.y));
9276
9274
  }), b;
9277
9275
  }
9278
9276
  updateAreaAABBBoundsBySegments(attribute, areaTheme, aabbBounds, graphic) {
@@ -9283,7 +9281,7 @@ class Area extends Graphic {
9283
9281
  return segments.forEach(s => {
9284
9282
  s.points.forEach(p => {
9285
9283
  var _a, _b;
9286
- b.add(p.x, p.y), b.add(null !== (_a = p.x1) && void 0 !== _a ? _a : p.x, null !== (_b = p.y1) && void 0 !== _b ? _b : p.y);
9284
+ !1 !== p.defined && (b.add(p.x, p.y), b.add(null !== (_a = p.x1) && void 0 !== _a ? _a : p.x, null !== (_b = p.y1) && void 0 !== _b ? _b : p.y));
9287
9285
  });
9288
9286
  }), b;
9289
9287
  }
@@ -13851,6 +13849,113 @@ function drawSegItem(ctx, curve, endPercent, params) {
13851
13849
  }
13852
13850
  }
13853
13851
 
13852
+ function getAreaPointRuns(points, connectedType, startPoint) {
13853
+ const runs = [];
13854
+ if (!points.some(p => !1 === p.defined)) {
13855
+ const run = startPoint ? [startPoint, ...points] : points;
13856
+ return run.length && runs.push(run), {
13857
+ runs: runs,
13858
+ tail: run[run.length - 1]
13859
+ };
13860
+ }
13861
+ let run = startPoint ? [startPoint] : [];
13862
+ for (let i = 0; i < points.length; i++) {
13863
+ const point = points[i];
13864
+ !1 !== point.defined ? run.push(point) : "connect" !== connectedType && (run.length && runs.push(run), run = []);
13865
+ }
13866
+ return run.length && runs.push(run), {
13867
+ runs: runs,
13868
+ tail: run[run.length - 1]
13869
+ };
13870
+ }
13871
+ function joinAreaPaths(paths) {
13872
+ var _a;
13873
+ if (1 === paths.length) return paths[0];
13874
+ const curves = [];
13875
+ for (let i = 0; i < paths.length; i++) {
13876
+ const next = paths[i].curves;
13877
+ if (curves.length) {
13878
+ const previous = curves[curves.length - 1],
13879
+ gap = new LineCurve(null !== (_a = previous.p3) && void 0 !== _a ? _a : previous.p1, next[0].p0);
13880
+ gap.defined = !1, gap.originP1 = previous.originP2, gap.originP2 = next[0].originP1, curves.push(gap);
13881
+ }
13882
+ for (let j = 0; j < next.length; j++) curves.push(next[j]);
13883
+ }
13884
+ const path = paths[paths.length - 1];
13885
+ return path.curves = curves, path.length = NaN, path;
13886
+ }
13887
+ function compileAreaRuns(runs, curveType, curveTension, sourceSegmentIndex, topStart, bottomStart) {
13888
+ var _a, _b, _c, _d;
13889
+ const tops = [],
13890
+ bottoms = [],
13891
+ bottomType = "stepBefore" === curveType ? "stepAfter" : "stepAfter" === curveType ? "stepBefore" : curveType;
13892
+ for (let i = 0; i < runs.length; i++) {
13893
+ const points = runs[i],
13894
+ startPoint = 0 === i ? topStart : void 0;
13895
+ if (points.length < 2 - Number(!!startPoint)) continue;
13896
+ const bottomPoints = [];
13897
+ for (let j = points.length - 1; j >= 0; j--) {
13898
+ const p = points[j];
13899
+ bottomPoints.push({
13900
+ x: null !== (_a = p.x1) && void 0 !== _a ? _a : p.x,
13901
+ y: null !== (_b = p.y1) && void 0 !== _b ? _b : p.y
13902
+ });
13903
+ }
13904
+ 0 === i && bottomStart && bottomPoints.push({
13905
+ x: null !== (_c = bottomStart.x1) && void 0 !== _c ? _c : bottomStart.x,
13906
+ y: null !== (_d = bottomStart.y1) && void 0 !== _d ? _d : bottomStart.y
13907
+ });
13908
+ const top = calcLineCache(points, curveType, {
13909
+ startPoint: startPoint,
13910
+ curveTension: curveTension
13911
+ }),
13912
+ bottom = calcLineCache(bottomPoints, bottomType, {
13913
+ curveTension: curveTension
13914
+ });
13915
+ (null == top ? void 0 : top.curves.length) && (null == bottom ? void 0 : bottom.curves.length) && (tops.push(top), bottoms.push(bottom));
13916
+ }
13917
+ return tops.length ? {
13918
+ top: joinAreaPaths(tops),
13919
+ bottom: joinAreaPaths(bottoms.reverse()),
13920
+ sourceSegmentIndex: sourceSegmentIndex,
13921
+ direction: Direction.ROW
13922
+ } : null;
13923
+ }
13924
+ function calcAreaCache(points, segments, curveType, connectedType, curveTension) {
13925
+ var _a;
13926
+ const caches = [];
13927
+ let tail, topTail, first, last;
13928
+ const count = segments ? segments.length : 1;
13929
+ for (let i = 0; i < count; i++) {
13930
+ const segmentPoints = segments ? segments[i].points : null != points ? points : [],
13931
+ result = getAreaPointRuns(segmentPoints, connectedType),
13932
+ canContinue = "connect" === connectedType || !1 !== (null === (_a = segmentPoints[0]) || void 0 === _a ? void 0 : _a.defined);
13933
+ if (result.runs.length) {
13934
+ first = null != first ? first : result.runs[0][0];
13935
+ const lastRun = result.runs[result.runs.length - 1];
13936
+ last = lastRun[lastRun.length - 1];
13937
+ }
13938
+ const cache = compileAreaRuns(result.runs, curveType, curveTension, i, canContinue ? topTail : void 0, canContinue ? tail : void 0);
13939
+ if (cache && caches.push(cache), result.tail) {
13940
+ tail = result.tail;
13941
+ const lastRun = result.runs[result.runs.length - 1];
13942
+ topTail = cache && (1 === result.runs.length || lastRun.length > 1) ? {
13943
+ x: cache.top.endX,
13944
+ y: cache.top.endY
13945
+ } : tail;
13946
+ } else "connect" !== connectedType && segmentPoints.length && (tail = topTail = void 0);
13947
+ }
13948
+ if (!caches.length) return null;
13949
+ let direction = Direction.ROW;
13950
+ if (null != last.x1) {
13951
+ const dx = abs(last.x - first.x),
13952
+ dy = abs(last.y - first.y);
13953
+ (null == last.y1 || Number.isFinite(dx + dy) && dy >= dx) && (direction = Direction.COLUMN);
13954
+ }
13955
+ for (let i = 0; i < caches.length; i++) caches[i].direction = direction;
13956
+ return segments ? caches : caches[0];
13957
+ }
13958
+
13854
13959
  function drawEachCurve(path, curve, lastCurve, defined0, offsetX, offsetY, offsetZ) {
13855
13960
  var _a;
13856
13961
  let p0 = curve.p0,
@@ -13934,27 +14039,28 @@ function drawIncrementalSegments(path, lastSeg, segments, params) {
13934
14039
  });
13935
14040
  }
13936
14041
  function drawIncrementalAreaSegments(path, lastSeg, segments, params) {
14042
+ var _a, _b;
13937
14043
  const {
13938
14044
  offsetX = 0,
13939
- offsetY = 0
14045
+ offsetY = 0,
14046
+ connectedType = "none"
13940
14047
  } = params || {},
14048
+ startPoint = params && "startPoint" in params ? params.startPoint : lastSeg && getAreaPointRuns(lastSeg.points, connectedType).tail,
13941
14049
  {
13942
- points: points
13943
- } = segments,
13944
- definedPointsList = [];
13945
- for (let i = 0; i < points.length; i++) !1 === points[i].defined && (i);
13946
- definedPointsList.push(points), definedPointsList.forEach((points, i) => {
13947
- var _a, _b, _c, _d;
13948
- const startP = lastSeg && 0 === i ? lastSeg.points[lastSeg.points.length - 1] : points[0];
13949
- path.moveTo(startP.x + offsetX, startP.y + offsetY), points.forEach(p => {
13950
- !1 !== p.defined ? path.lineTo(p.x + offsetX, p.y + offsetY) : path.moveTo(p.x + offsetX, p.y + offsetY);
13951
- });
13952
- for (let i = points.length - 1; i >= 0; i--) {
13953
- const p = points[i];
13954
- path.lineTo(null !== (_a = p.x1) && void 0 !== _a ? _a : p.x, null !== (_b = p.y1) && void 0 !== _b ? _b : p.y);
14050
+ runs: runs
14051
+ } = getAreaPointRuns(segments.points, connectedType, startPoint);
14052
+ for (let i = 0; i < runs.length; i++) {
14053
+ const points = runs[i];
14054
+ if (!(points.length < 2)) {
14055
+ path.moveTo(points[0].x + offsetX, points[0].y + offsetY);
14056
+ for (let j = 1; j < points.length; j++) path.lineTo(points[j].x + offsetX, points[j].y + offsetY);
14057
+ for (let j = points.length - 1; j >= 0; j--) {
14058
+ const p = points[j];
14059
+ path.lineTo(null !== (_a = p.x1) && void 0 !== _a ? _a : p.x, null !== (_b = p.y1) && void 0 !== _b ? _b : p.y);
14060
+ }
14061
+ path.closePath();
13955
14062
  }
13956
- path.lineTo(null !== (_c = startP.x1) && void 0 !== _c ? _c : startP.x, null !== (_d = startP.y1) && void 0 !== _d ? _d : startP.y), path.closePath();
13957
- });
14063
+ }
13958
14064
  }
13959
14065
 
13960
14066
  class DefaultCanvasLineRender extends BaseRender {
@@ -14217,7 +14323,6 @@ class DefaultCanvasAreaRender extends BaseRender {
14217
14323
  })();
14218
14324
  }
14219
14325
  drawShape(area, context, x, y, drawContext, params, fillCb, strokeCb) {
14220
- var _a, _b, _c, _d, _e, _f;
14221
14326
  const areaAttribute = getTheme(area, null == params ? void 0 : params.theme).area,
14222
14327
  {
14223
14328
  fill = areaAttribute.fill,
@@ -14243,93 +14348,23 @@ class DefaultCanvasAreaRender extends BaseRender {
14243
14348
  let {
14244
14349
  curveType = areaAttribute.curveType
14245
14350
  } = area.attribute;
14246
- function parsePoint(points, connectedType) {
14247
- return "connect" !== connectedType ? points : points.filter(p => !1 !== p.defined);
14248
- }
14249
14351
  if (closePath && "linear" === curveType && (curveType = "linearClosed"), 1 === clipRange && !segments && !points.some(p => !1 === p.defined) && "linear" === curveType) return this.drawLinearAreaHighPerformance(area, context, !!fill, doStroke, fillOpacity, strokeOpacity, x, y, areaAttribute, drawContext, params, fillCb, strokeCb);
14250
- if (area.shouldUpdateShape()) {
14251
- if (segments && segments.length) {
14252
- let startPoint, lastTopSeg;
14253
- const topCaches = segments.map((seg, index) => {
14254
- if (seg.points.length <= 1 && 0 === index) return seg.points[0] && (lastTopSeg = {
14255
- endX: seg.points[0].x,
14256
- endY: seg.points[0].y
14257
- }), null;
14258
- 1 === index ? startPoint = {
14259
- x: lastTopSeg.endX,
14260
- y: lastTopSeg.endY
14261
- } : index > 1 && (startPoint.x = lastTopSeg.endX, startPoint.y = lastTopSeg.endY);
14262
- const data = calcLineCache(parsePoint(seg.points, connectedType), curveType, {
14263
- startPoint: startPoint,
14264
- curveTension: curveTension
14265
- });
14266
- return lastTopSeg = data, data;
14267
- }).filter(item => !!item);
14268
- let lastBottomSeg;
14269
- const bottomCaches = [];
14270
- for (let i = segments.length - 1; i >= 0; i--) {
14271
- const points = segments[i].points,
14272
- bottomPoints = [];
14273
- for (let i = points.length - 1; i >= 0; i--) bottomPoints.push({
14274
- x: null !== (_a = points[i].x1) && void 0 !== _a ? _a : points[i].x,
14275
- y: null !== (_b = points[i].y1) && void 0 !== _b ? _b : points[i].y
14276
- });
14277
- if (0 !== i) {
14278
- const lastSegmentPoints = segments[i - 1].points,
14279
- endPoint = lastSegmentPoints[lastSegmentPoints.length - 1];
14280
- endPoint && bottomPoints.push({
14281
- x: null !== (_c = endPoint.x1) && void 0 !== _c ? _c : endPoint.x,
14282
- y: null !== (_d = endPoint.y1) && void 0 !== _d ? _d : endPoint.y
14283
- });
14284
- }
14285
- bottomPoints.length > 1 && (lastBottomSeg = calcLineCache(parsePoint(bottomPoints, connectedType), "stepBefore" === curveType ? "stepAfter" : "stepAfter" === curveType ? "stepBefore" : curveType, {
14286
- curveTension: curveTension
14287
- }), bottomCaches.unshift(lastBottomSeg));
14288
- }
14289
- area.cacheArea = bottomCaches.map((item, index) => ({
14290
- top: topCaches[index],
14291
- bottom: item
14292
- }));
14293
- } else {
14294
- if (!points || !points.length) return area.cacheArea = null, void area.clearUpdateShapeTag();
14295
- {
14296
- const topPoints = parsePoint(points, connectedType),
14297
- bottomPoints = [];
14298
- for (let i = topPoints.length - 1; i >= 0; i--) bottomPoints.push({
14299
- x: null !== (_e = topPoints[i].x1) && void 0 !== _e ? _e : topPoints[i].x,
14300
- y: null !== (_f = topPoints[i].y1) && void 0 !== _f ? _f : topPoints[i].y
14301
- });
14302
- const topCache = calcLineCache(topPoints, curveType, {
14303
- curveTension: curveTension
14304
- }),
14305
- bottomCache = calcLineCache(bottomPoints, "stepBefore" === curveType ? "stepAfter" : "stepAfter" === curveType ? "stepBefore" : curveType, {
14306
- curveTension: curveTension
14307
- });
14308
- area.cacheArea = {
14309
- top: topCache,
14310
- bottom: bottomCache
14311
- };
14312
- }
14313
- }
14314
- area.clearUpdateShapeTag();
14315
- }
14316
- if (Array.isArray(area.cacheArea)) {
14317
- const segments = area.attribute.segments.filter(item => item.points.length);
14318
- if (1 === segments[0].points.length && segments.shift(), 1 === clipRange) {
14352
+ if (area.shouldUpdateShape() && (area.cacheArea = calcAreaCache(points, segments, curveType, connectedType, curveTension), area.clearUpdateShapeTag()), area.cacheArea) if (Array.isArray(area.cacheArea)) {
14353
+ if (1 === clipRange) {
14319
14354
  let skip = !1;
14320
- area.cacheArea.forEach((cache, index) => {
14321
- skip || (skip = this.drawSegmentItem(context, cache, doFill, fillOpacity, doStroke, strokeOpacity, segments[index], [areaAttribute, area.attribute], clipRange, x, y, z, area, drawContext, fillCb, strokeCb));
14355
+ area.cacheArea.forEach(cache => {
14356
+ skip || (skip = this.drawSegmentItem(context, cache, doFill, fillOpacity, doStroke, strokeOpacity, segments[cache.sourceSegmentIndex], [areaAttribute, area.attribute], clipRange, x, y, z, area, drawContext, fillCb, strokeCb));
14322
14357
  });
14323
14358
  } else {
14324
14359
  const totalLength = area.cacheArea.reduce((l, c) => l + c.top.getLength(), 0),
14325
14360
  totalDrawLength = clipRange * totalLength;
14326
14361
  let drawedLengthUntilLast = 0,
14327
14362
  skip = !1;
14328
- area.cacheArea.forEach((cache, index) => {
14363
+ area.cacheArea.forEach(cache => {
14329
14364
  if (skip) return;
14330
14365
  const curSegLength = cache.top.getLength(),
14331
14366
  _cr = (totalDrawLength - drawedLengthUntilLast) / curSegLength;
14332
- drawedLengthUntilLast += curSegLength, _cr > 0 && (skip = this.drawSegmentItem(context, cache, doFill, fillOpacity, doStroke, strokeOpacity, segments[index], [areaAttribute, area.attribute], min(_cr, 1), x, y, z, area, drawContext, fillCb, strokeCb));
14367
+ drawedLengthUntilLast += curSegLength, _cr > 0 && (skip = this.drawSegmentItem(context, cache, doFill, fillOpacity, doStroke, strokeOpacity, segments[cache.sourceSegmentIndex], [areaAttribute, area.attribute], min(_cr, 1), x, y, z, area, drawContext, fillCb, strokeCb));
14333
14368
  });
14334
14369
  }
14335
14370
  } else this.drawSegmentItem(context, area.cacheArea, doFill, fillOpacity, doStroke, strokeOpacity, area.attribute, areaAttribute, clipRange, x, y, z, area, drawContext, fillCb, strokeCb);
@@ -14342,22 +14377,11 @@ class DefaultCanvasAreaRender extends BaseRender {
14342
14377
  return this._drawSegmentItem(context, cache, fill, fillOpacity, stroke, strokeOpacity, attribute, defaultAttribute, clipRange, offsetX, offsetY, offsetZ, area, drawContext, fillCb, strokeCb);
14343
14378
  }
14344
14379
  _drawSegmentItem(context, cache, fill, fillOpacity, stroke, strokeOpacity, attribute, defaultAttribute, clipRange, offsetX, offsetY, offsetZ, area, drawContext, fillCb, strokeCb) {
14380
+ var _a;
14345
14381
  if (!(cache && cache.top && cache.bottom && cache.top.curves && cache.top.curves.length && cache.bottom.curves && cache.bottom.curves.length)) return;
14346
14382
  context.beginPath();
14347
- const {
14348
- points: points,
14349
- segments: segments
14350
- } = area.attribute;
14351
- let endP,
14352
- startP,
14353
- direction = Direction.ROW;
14354
- if (segments) {
14355
- const endSeg = segments[segments.length - 1];
14356
- startP = segments[0].points[0], endP = endSeg.points[endSeg.points.length - 1];
14357
- } else startP = points[0], endP = points[points.length - 1];
14358
- const xTotalLength = abs(endP.x - startP.x),
14359
- yTotalLength = abs(endP.y - startP.y);
14360
- direction = null == endP.x1 ? Direction.ROW : null == endP.y1 ? Direction.COLUMN : Number.isFinite(xTotalLength + yTotalLength) ? xTotalLength > yTotalLength ? Direction.ROW : Direction.COLUMN : Direction.ROW, drawAreaSegments(context, cache, clipRange, {
14383
+ const direction = null !== (_a = cache.direction) && void 0 !== _a ? _a : cache.top.direction;
14384
+ drawAreaSegments(context, cache, clipRange, {
14361
14385
  offsetX: offsetX,
14362
14386
  offsetY: offsetY,
14363
14387
  offsetZ: offsetZ,
@@ -15017,6 +15041,16 @@ class DefaultCanvasImageRender extends BaseRender {
15017
15041
  }
15018
15042
  }
15019
15043
 
15044
+ function previousPoint(segments, index, connectedType) {
15045
+ for (let i = index - 1; i >= 0; i--) {
15046
+ const points = segments[i].points;
15047
+ for (let j = points.length - 1; j >= 0; j--) {
15048
+ const point = points[j];
15049
+ if (!1 !== point.defined) return point;
15050
+ if ("connect" !== connectedType) return;
15051
+ }
15052
+ }
15053
+ }
15020
15054
  class DefaultIncrementalCanvasAreaRender extends DefaultCanvasAreaRender {
15021
15055
  constructor() {
15022
15056
  super(...arguments), this.numberType = AREA_NUMBER_TYPE;
@@ -15036,21 +15070,32 @@ class DefaultIncrementalCanvasAreaRender extends DefaultCanvasAreaRender {
15036
15070
  fill = areaAttribute.fill,
15037
15071
  fillOpacity = areaAttribute.fillOpacity,
15038
15072
  opacity = areaAttribute.opacity,
15039
- visible = areaAttribute.visible
15073
+ visible = areaAttribute.visible,
15074
+ connectedType = areaAttribute.connectedType
15040
15075
  } = area.attribute,
15041
15076
  fVisible = fillVisible(opacity, fillOpacity, fill),
15042
15077
  doFill = runFill(fill);
15043
15078
  if (!area.valid || !visible) return;
15044
15079
  if (!doFill) return;
15045
15080
  if (!fVisible && !fillCb) return;
15046
- for (let i = startAtIdx; i < startAtIdx + length; i++) this.drawIncreaseSegment(area, context, segments[i - 1], segments[i], area.attribute.segments[i], [areaAttribute, area.attribute], x, y);
15081
+ const endIndex = Math.min(startAtIdx + length, segments.length);
15082
+ for (let i = startAtIdx; i < endIndex; i++) segments[i].points.some(p => !1 !== p.defined) && this.drawIncreaseSegment(area, context, segments[i - 1], segments[i], area.attribute.segments[i], [areaAttribute, area.attribute], x, y, {
15083
+ connectedType: connectedType,
15084
+ startPoint: previousPoint(segments, i, connectedType)
15085
+ });
15047
15086
  } else super.drawShape(area, context, x, y, drawContext, params, fillCb);
15048
15087
  }
15049
- drawIncreaseSegment(area, context, lastSeg, seg, attribute, defaultAttribute, offsetX, offsetY) {
15050
- seg && (context.beginPath(), drawIncrementalAreaSegments(context.camera ? context : context.nativeContext, lastSeg, seg, {
15088
+ drawIncreaseSegment(area, context, lastSeg, seg, attribute, defaultAttribute, offsetX, offsetY, continuity) {
15089
+ var _a, _b;
15090
+ if (!seg) return;
15091
+ const connectedType = null !== (_b = null !== (_a = null == continuity ? void 0 : continuity.connectedType) && void 0 !== _a ? _a : area.attribute.connectedType) && void 0 !== _b ? _b : getTheme(area).area.connectedType,
15092
+ startPoint = continuity ? continuity.startPoint : lastSeg && getAreaPointRuns(lastSeg.points, connectedType).tail;
15093
+ context.beginPath(), drawIncrementalAreaSegments(context.camera ? context : context.nativeContext, lastSeg, seg, {
15051
15094
  offsetX: offsetX,
15052
- offsetY: offsetY
15053
- }), context.setShadowBlendStyle && context.setShadowBlendStyle(area, attribute, defaultAttribute), context.setCommonStyle(area, attribute, offsetX, offsetY, defaultAttribute), context.fill());
15095
+ offsetY: offsetY,
15096
+ connectedType: connectedType,
15097
+ startPoint: startPoint
15098
+ }), context.setShadowBlendStyle && context.setShadowBlendStyle(area, attribute, defaultAttribute), context.setCommonStyle(area, attribute, offsetX, offsetY, defaultAttribute), context.fill();
15054
15099
  }
15055
15100
  }
15056
15101
 
@@ -36967,6 +37012,6 @@ TableSeriesNumber.defaultAttributes = {
36967
37012
  select: true
36968
37013
  };
36969
37014
 
36970
- const version = "1.1.11-alpha.1";
37015
+ const version = "1.1.11";
36971
37016
 
36972
37017
  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, IDataZoomEvent, IDataZoomInteractiveEvent, 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, PolygonSectorCrosshair, PopTip, Radio, RectCrosshair, RectLabel, SLIDER_ELEMENT_NAME, ScrollBar, SectorCrosshair, Segment, SeriesNumberCellStateValue, SeriesNumberEvent, SizeContinuousLegend, Slider, StoryLabelItem, Switch, SymbolLabel, TableSeriesNumber, Tag, Timeline, Title, Tooltip, TopZIndex, VTag, WeatherBox, 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, installPoptipToApp, installScrollbarToApp, 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, setPoptipTheme, smartInvertStrategy, tan2AngleToAngle, textIntersect, ticks, traverseGroup, version };
@@ -26,4 +26,5 @@ export const DEFAULT_STATES = {
26
26
  [AxisStateValue.hoverReverse]: {}
27
27
  };
28
28
 
29
- export const TopZIndex = 999;
29
+ export const TopZIndex = 999;
30
+ //# sourceMappingURL=constant.js.map
package/es/axis/util.js CHANGED
@@ -98,5 +98,4 @@ export function hasOverlap(items, pad) {
98
98
  for (let b, i = 1, n = items.length, a = items[0]; i < n; a = b, ++i) if (b = items[i],
99
99
  textIntersect(a, b, pad)) return !0;
100
100
  return !1;
101
- }
102
- //# sourceMappingURL=util.js.map
101
+ }
package/es/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const version = "1.1.11-alpha.1";
1
+ export declare const version = "1.1.11";
2
2
  export * from './core/base';
3
3
  export { AbstractComponent } from './core/base';
4
4
  export * from './core/type';
package/es/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export const version = "1.1.11-alpha.1";
1
+ export const version = "1.1.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,gBAAgB,CAAC;AAExC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM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AAClD,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,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,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.1.11-alpha.1\";\n\nexport * from './core/base';\nexport { AbstractComponent } from './core/base';\nexport * from './core/type';\nexport * from './scrollbar';\nexport { ScrollBar } from './scrollbar/scrollbar';\nexport { loadScrollbar } from './scrollbar/module';\nexport * from './tag';\nexport * from './poptip';\nexport { loadPoptip } from './poptip/module';\nexport * from './crosshair';\nexport { LineCrosshair } from './crosshair/line';\nexport { CircleCrosshair } from './crosshair/circle';\nexport { SectorCrosshair } from './crosshair/sector';\nexport { PolygonCrosshair } from './crosshair/polygon';\nexport * from './label';\nexport { DataLabel } from './label/dataLabel';\nexport { registerSymbolDataLabel } from './label/symbol';\nexport * from './axis';\nexport { LineAxis } from './axis/line';\nexport { CircleAxis } from './axis/circle';\nexport { continuousTicks } from './axis/tick-data/continuous';\nexport { polarAngleAxisDiscreteTicks } from './axis/tick-data/discrete/polar-angle';\nexport * from './axis/grid';\nexport { LineAxisGrid } from './axis/grid/line';\nexport { CircleAxisGrid } from './axis/grid/circle';\nexport * from './segment';\nexport { Segment } from './segment/segment';\nexport * from './data-zoom';\nexport { DataZoom } from './data-zoom/data-zoom';\nexport * from './marker';\nexport { MarkLine, registerMarkLineAnimate } from './marker/line';\nexport { MarkArea, registerMarkAreaAnimate } from './marker/area';\nexport { MarkArcLine, registerMarkArcLineAnimate } from './marker/arc-line';\nexport { MarkArcArea, registerMarkArcAreaAnimate } from './marker/arc-area';\nexport { MarkPoint, registerMarkPointAnimate } from './marker/point';\nexport * from './pager';\nexport * from './legend';\nexport { ColorContinuousLegend } from './legend/color/color';\nexport { SizeContinuousLegend } from './legend/size/size';\nexport * from './title';\nexport { Title } from './title/title';\nexport * from './indicator';\nexport { Indicator } from './indicator/indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport { DiscretePlayer } from './player/discrete-player';\nexport { ContinuousPlayer } from './player/continuous-player';\nexport { PlayerEventEnum } from './player/type/event';\nexport * from './brush';\nexport { Brush } from './brush/brush';\nexport { IOperateType } from './brush/type';\nexport * from './tooltip';\nexport * from './timeline';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\nexport * from './radio';\nexport * from './empty-tip';\nexport * from './weather';\nexport * from './util';\nexport { labelSmartInvert } from './util/label-smartInvert';\nexport * from './switch';\nexport * from './label-item';\nexport * from './table-series-number';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC;AAEhC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM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BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AACrE,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,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,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.1.11\";\n\nexport * from './core/base';\nexport { AbstractComponent } from './core/base';\nexport * from './core/type';\nexport * from './scrollbar';\nexport { ScrollBar } from './scrollbar/scrollbar';\nexport { loadScrollbar } from './scrollbar/module';\nexport * from './tag';\nexport * from './poptip';\nexport { loadPoptip } from './poptip/module';\nexport * from './crosshair';\nexport { LineCrosshair } from './crosshair/line';\nexport { CircleCrosshair } from './crosshair/circle';\nexport { SectorCrosshair } from './crosshair/sector';\nexport { PolygonCrosshair } from './crosshair/polygon';\nexport * from './label';\nexport { DataLabel } from './label/dataLabel';\nexport { registerSymbolDataLabel } from './label/symbol';\nexport * from './axis';\nexport { LineAxis } from './axis/line';\nexport { CircleAxis } from './axis/circle';\nexport { continuousTicks } from './axis/tick-data/continuous';\nexport { polarAngleAxisDiscreteTicks } from './axis/tick-data/discrete/polar-angle';\nexport * from './axis/grid';\nexport { LineAxisGrid } from './axis/grid/line';\nexport { CircleAxisGrid } from './axis/grid/circle';\nexport * from './segment';\nexport { Segment } from './segment/segment';\nexport * from './data-zoom';\nexport { DataZoom } from './data-zoom/data-zoom';\nexport * from './marker';\nexport { MarkLine, registerMarkLineAnimate } from './marker/line';\nexport { MarkArea, registerMarkAreaAnimate } from './marker/area';\nexport { MarkArcLine, registerMarkArcLineAnimate } from './marker/arc-line';\nexport { MarkArcArea, registerMarkArcAreaAnimate } from './marker/arc-area';\nexport { MarkPoint, registerMarkPointAnimate } from './marker/point';\nexport * from './pager';\nexport * from './legend';\nexport { ColorContinuousLegend } from './legend/color/color';\nexport { SizeContinuousLegend } from './legend/size/size';\nexport * from './title';\nexport { Title } from './title/title';\nexport * from './indicator';\nexport { Indicator } from './indicator/indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport { DiscretePlayer } from './player/discrete-player';\nexport { ContinuousPlayer } from './player/continuous-player';\nexport { PlayerEventEnum } from './player/type/event';\nexport * from './brush';\nexport { Brush } from './brush/brush';\nexport { IOperateType } from './brush/type';\nexport * from './tooltip';\nexport * from './timeline';\nexport * from './interface';\nexport * from './jsx';\nexport * from './checkbox';\nexport * from './radio';\nexport * from './empty-tip';\nexport * from './weather';\nexport * from './util';\nexport { labelSmartInvert } from './util/label-smartInvert';\nexport * from './switch';\nexport * from './label-item';\nexport * from './table-series-number';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vrender-components",
3
- "version": "1.1.11-alpha.1",
3
+ "version": "1.1.11",
4
4
  "description": "components library for dp visualization",
5
5
  "sideEffects": false,
6
6
  "main": "cjs/index.js",
@@ -129,9 +129,9 @@
129
129
  "dependencies": {
130
130
  "@visactor/vutils": "~1.0.12",
131
131
  "@visactor/vscale": "~1.0.12",
132
- "@visactor/vrender-core": "1.1.11-alpha.1",
133
- "@visactor/vrender-kits": "1.1.11-alpha.1",
134
- "@visactor/vrender-animate": "1.1.11-alpha.1"
132
+ "@visactor/vrender-core": "1.1.11",
133
+ "@visactor/vrender-kits": "1.1.11",
134
+ "@visactor/vrender-animate": "1.1.11"
135
135
  },
136
136
  "devDependencies": {
137
137
  "@rushstack/eslint-patch": "~1.1.4",
@@ -146,8 +146,8 @@
146
146
  "typescript": "4.9.5",
147
147
  "cross-env": "^7.0.3",
148
148
  "@internal/bundler": "0.0.1",
149
- "@internal/eslint-config": "0.0.1",
150
- "@internal/ts-config": "0.0.1"
149
+ "@internal/ts-config": "0.0.1",
150
+ "@internal/eslint-config": "0.0.1"
151
151
  },
152
152
  "keywords": [
153
153
  "VisActor",