@visactor/vrender-components 1.0.46-alpha.1 → 1.0.46-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -175,4 +175,5 @@ class DataZoomInteraction extends vutils_1.EventEmitter {
175
175
  }
176
176
  }
177
177
 
178
- exports.DataZoomInteraction = DataZoomInteraction;
178
+ exports.DataZoomInteraction = DataZoomInteraction;
179
+ //# sourceMappingURL=interaction.js.map
package/cjs/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const version = "1.0.46-alpha.1";
1
+ export declare const version = "1.0.46-alpha.3";
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 = "1.0.46-alpha.1", __exportStar(require("./core/base"), exports),
20
+ }), exports.version = void 0, exports.version = "1.0.46-alpha.3", __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,gBAAgB,CAAC;AAExC,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,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AACzB,+CAA6B;AAC7B,wDAAsC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.0.46-alpha.1\";\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 './weather';\nexport * from './util';\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,gBAAgB,CAAC;AAExC,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,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AACzB,+CAA6B;AAC7B,wDAAsC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.0.46-alpha.3\";\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 './weather';\nexport * from './util';\nexport * from './switch';\nexport * from './label-item';\nexport * from './table-series-number';\n"]}
@@ -25,5 +25,4 @@ Object.defineProperty(exports, "__esModule", {
25
25
  textAlign: "center"
26
26
  }
27
27
  }
28
- };
29
- //# sourceMappingURL=config.js.map
28
+ };
package/cjs/label/arc.js CHANGED
@@ -516,4 +516,4 @@ const registerArcDataLabel = () => {
516
516
  };
517
517
 
518
518
  exports.registerArcDataLabel = registerArcDataLabel;
519
- //# sourceMappingURL=arc.js.map
519
+ //# sourceMappingURL=arc.js.map
@@ -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("./label-item"), exports), __exportStar(require("./type"), exports);
21
- //# sourceMappingURL=index.js.map
21
+ //# sourceMappingURL=index.js.map
package/dist/index.es.js CHANGED
@@ -2394,9 +2394,7 @@ const DefaultStyle = Object.assign(Object.assign(Object.assign(Object.assign({
2394
2394
  background: null,
2395
2395
  autoAnimateTexture: !1,
2396
2396
  textureRatio: 1,
2397
- textureOptions: {
2398
- alignToGraphic: !0
2399
- },
2397
+ textureOptions: null,
2400
2398
  backgroundOpacity: 1,
2401
2399
  backgroundCornerRadius: 0,
2402
2400
  texture: null,
@@ -6231,7 +6229,6 @@ const GRAPHIC_UPDATE_TAG_KEY = ["lineWidth", "scaleX", "scaleY", "angle", "ancho
6231
6229
  const tempConstantXYKey = ["x", "y"],
6232
6230
  tempConstantScaleXYKey = ["scaleX", "scaleY"],
6233
6231
  tempConstantAngleKey = ["angle"],
6234
- builtinTextureTypes = new Set(["circle", "diamond", "rect", "vertical-line", "horizontal-line", "bias-lr", "bias-rl", "grid", "wave"]),
6235
6232
  point = new Point();
6236
6233
  const NOWORK_ANIMATE_ATTR = {
6237
6234
  strokeSeg: 1,
@@ -6288,7 +6285,7 @@ class Graphic extends Node {
6288
6285
  }
6289
6286
  constructor(params = {}) {
6290
6287
  var _a;
6291
- super(), this._AABBBounds = new AABBBounds(), this._updateTag = UpdateTag.INIT, this.attribute = params, this.valid = this.isValid(), this.updateAABBBoundsStamp = 0, params.background && this.loadImage(null !== (_a = params.background.background) && void 0 !== _a ? _a : params.background, !0), isExternalTexture(params.texture) ? this.loadImage(params.texture, !1) : params.shadowGraphic && this.setShadowGraphic(params.shadowGraphic);
6288
+ super(), this._AABBBounds = new AABBBounds(), this._updateTag = UpdateTag.INIT, this.attribute = params, this.valid = this.isValid(), this.updateAABBBoundsStamp = 0, params.background ? this.loadImage(null !== (_a = params.background.background) && void 0 !== _a ? _a : params.background, !0) : params.shadowGraphic && this.setShadowGraphic(params.shadowGraphic);
6292
6289
  }
6293
6290
  getGraphicService() {
6294
6291
  var _a, _b;
@@ -6477,7 +6474,7 @@ class Graphic extends Node {
6477
6474
  });
6478
6475
  }
6479
6476
  setAttributes(params, forceUpdateTag = !1, context) {
6480
- params && ((params = this.onBeforeAttributeUpdate && this.onBeforeAttributeUpdate(params, this.attribute, null, context) || params).background && this.loadImage(params.background, !0), isExternalTexture(params.texture) ? this.loadImage(params.texture, !1) : params.shadowGraphic && this.setShadowGraphic(params.shadowGraphic), this._setAttributes(params, forceUpdateTag, context));
6477
+ params && ((params = this.onBeforeAttributeUpdate && this.onBeforeAttributeUpdate(params, this.attribute, null, context) || params).background ? this.loadImage(params.background, !0) : params.shadowGraphic && this.setShadowGraphic(params.shadowGraphic), this._setAttributes(params, forceUpdateTag, context));
6481
6478
  }
6482
6479
  _setAttributes(params, forceUpdateTag = !1, context) {
6483
6480
  const keys = Object.keys(params);
@@ -6492,7 +6489,7 @@ class Graphic extends Node {
6492
6489
  const params = this.onBeforeAttributeUpdate && this.onBeforeAttributeUpdate({
6493
6490
  [key]: value
6494
6491
  }, this.attribute, key, context);
6495
- params ? this._setAttributes(params, forceUpdateTag, context) : isNil(null === (_a = this.normalAttrs) || void 0 === _a ? void 0 : _a[key]) ? (this.attribute[key] = value, this.valid = this.isValid(), this.updateShapeAndBoundsTagSetted() || !forceUpdateTag && !this.needUpdateTag(key) ? this.addUpdateBoundTag() : this.addUpdateShapeAndBoundsTag(), this.addUpdatePositionTag(), this.addUpdateLayoutTag(), this.onAttributeUpdate(context)) : this.normalAttrs[key] = value, "background" === key ? this.loadImage(value, !0) : "texture" === key && isExternalTexture(value) ? this.loadImage(value, !1) : "shadowGraphic" === key && this.setShadowGraphic(value);
6492
+ params ? this._setAttributes(params, forceUpdateTag, context) : isNil(null === (_a = this.normalAttrs) || void 0 === _a ? void 0 : _a[key]) ? (this.attribute[key] = value, this.valid = this.isValid(), this.updateShapeAndBoundsTagSetted() || !forceUpdateTag && !this.needUpdateTag(key) ? this.addUpdateBoundTag() : this.addUpdateShapeAndBoundsTag(), this.addUpdatePositionTag(), this.addUpdateLayoutTag(), this.onAttributeUpdate(context)) : this.normalAttrs[key] = value, "background" === key ? this.loadImage(value, !0) : "shadowGraphic" === key && this.setShadowGraphic(value);
6496
6493
  }
6497
6494
  needUpdateTags(keys, k = GRAPHIC_UPDATE_TAG_KEY) {
6498
6495
  for (let i = 0; i < k.length; i++) {
@@ -6511,7 +6508,7 @@ class Graphic extends Node {
6511
6508
  const context = {
6512
6509
  type: AttributeUpdateType.INIT
6513
6510
  };
6514
- params = this.onBeforeAttributeUpdate && this.onBeforeAttributeUpdate(params, this.attribute, null, context) || params, this.attribute = params, params.background && this.loadImage(params.background, !0), isExternalTexture(params.texture) ? this.loadImage(params.texture, !1) : params.shadowGraphic && this.setShadowGraphic(params.shadowGraphic), this._updateTag = UpdateTag.INIT, this.valid = this.isValid(), this.onAttributeUpdate(context);
6511
+ params = this.onBeforeAttributeUpdate && this.onBeforeAttributeUpdate(params, this.attribute, null, context) || params, this.attribute = params, params.background ? this.loadImage(params.background, !0) : params.shadowGraphic && this.setShadowGraphic(params.shadowGraphic), this._updateTag = UpdateTag.INIT, this.valid = this.isValid(), this.onAttributeUpdate(context);
6515
6512
  }
6516
6513
  translate(x, y) {
6517
6514
  var _a, _b;
@@ -6902,9 +6899,6 @@ class Graphic extends Node {
6902
6899
  function backgroundNotImage(image) {
6903
6900
  return "string" == typeof image ? !(image.startsWith("<svg") || isValidUrl(image) || image.includes("/") || isBase64(image)) : !(!image.fill && !image.stroke) || !("string" != typeof image.gradient || !Array.isArray(image.stops));
6904
6901
  }
6905
- function isExternalTexture(texture) {
6906
- return !!texture && ("string" == typeof texture ? !builtinTextureTypes.has(texture) && (texture.startsWith("<svg") || isValidUrl(texture) || texture.includes("/") || isBase64(texture)) : isObject(texture));
6907
- }
6908
6902
  Graphic.userSymbolMap = {}, Graphic.mixin(EventTarget);
6909
6903
 
6910
6904
  var GroupUpdateAABBBoundsMode;
@@ -8574,23 +8568,21 @@ let Line$1 = class Line extends Graphic {
8574
8568
  }
8575
8569
  updateLineAABBBoundsByPoints(attribute, lineTheme, aabbBounds, graphic) {
8576
8570
  const {
8577
- points = lineTheme.points,
8578
- connectedType: connectedType
8571
+ points = lineTheme.points
8579
8572
  } = attribute,
8580
8573
  b = aabbBounds;
8581
8574
  return points.forEach(p => {
8582
- !1 === p.defined && "connect" !== connectedType || b.add(p.x, p.y);
8575
+ !1 !== p.defined && b.add(p.x, p.y);
8583
8576
  }), b;
8584
8577
  }
8585
8578
  updateLineAABBBoundsBySegments(attribute, lineTheme, aabbBounds, graphic) {
8586
8579
  const {
8587
- segments = lineTheme.segments,
8588
- connectedType: connectedType
8580
+ segments = lineTheme.segments
8589
8581
  } = attribute,
8590
8582
  b = aabbBounds;
8591
8583
  return segments.forEach(s => {
8592
8584
  s.points.forEach(p => {
8593
- !1 === p.defined && "connect" !== connectedType || b.add(p.x, p.y);
8585
+ !1 !== p.defined && b.add(p.x, p.y);
8594
8586
  });
8595
8587
  }), b;
8596
8588
  }
@@ -9749,7 +9741,7 @@ class Area extends Graphic {
9749
9741
  b = aabbBounds;
9750
9742
  return points.forEach(p => {
9751
9743
  var _a, _b;
9752
- 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);
9744
+ !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));
9753
9745
  }), b;
9754
9746
  }
9755
9747
  updateAreaAABBBoundsBySegments(attribute, areaTheme, aabbBounds, graphic) {
@@ -9760,7 +9752,7 @@ class Area extends Graphic {
9760
9752
  return segments.forEach(s => {
9761
9753
  s.points.forEach(p => {
9762
9754
  var _a, _b;
9763
- 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);
9755
+ !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));
9764
9756
  });
9765
9757
  }), b;
9766
9758
  }
@@ -10474,42 +10466,38 @@ class DefaultBaseTextureRenderContribution {
10474
10466
  texture && this.drawTexture(texture, graphic, context, x, y, graphicAttribute, textureColor, textureSize, texturePadding);
10475
10467
  }
10476
10468
  drawTexture(texture, graphic, context, x, y, graphicAttribute, textureColor, textureSize, texturePadding) {
10477
- var _a, _b, _c, _d, _e;
10469
+ var _a;
10478
10470
  const {
10479
10471
  textureRatio = graphicAttribute.textureRatio,
10480
10472
  textureOptions = null
10481
10473
  } = graphic.attribute;
10482
- let pattern = null;
10483
- const patternKey = this.getPatternCacheKey(texture, textureSize, texturePadding, textureColor, context.dpr);
10484
- if (null !== patternKey && (pattern = this.textureMap.get(patternKey)), !pattern) {
10485
- if ("string" == typeof texture) switch (texture) {
10486
- case "circle":
10487
- pattern = this.createCirclePattern(textureSize, texturePadding, textureColor, context);
10488
- break;
10489
- case "diamond":
10490
- pattern = this.createDiamondPattern(textureSize, texturePadding, textureColor, context);
10491
- break;
10492
- case "rect":
10493
- pattern = this.createRectPattern(textureSize, texturePadding, textureColor, context);
10494
- break;
10495
- case "vertical-line":
10496
- pattern = this.createVerticalLinePattern(textureSize, texturePadding, textureColor, context);
10497
- break;
10498
- case "horizontal-line":
10499
- pattern = this.createHorizontalLinePattern(textureSize, texturePadding, textureColor, context);
10500
- break;
10501
- case "bias-lr":
10502
- pattern = this.createBiasLRLinePattern(textureSize, texturePadding, textureColor, context);
10503
- break;
10504
- case "bias-rl":
10505
- pattern = this.createBiasRLLinePattern(textureSize, texturePadding, textureColor, context);
10506
- break;
10507
- case "grid":
10508
- pattern = this.createGridPattern(textureSize, texturePadding, textureColor, context);
10509
- }
10510
- pattern || (pattern = this.createResourcePattern(texture, graphic, context)), pattern && null !== patternKey && this.textureMap.set(patternKey, pattern);
10474
+ let pattern = this.textureMap.get(texture);
10475
+ if (!pattern) switch (texture) {
10476
+ case "circle":
10477
+ pattern = this.createCirclePattern(textureSize, texturePadding, textureColor, context);
10478
+ break;
10479
+ case "diamond":
10480
+ pattern = this.createDiamondPattern(textureSize, texturePadding, textureColor, context);
10481
+ break;
10482
+ case "rect":
10483
+ pattern = this.createRectPattern(textureSize, texturePadding, textureColor, context);
10484
+ break;
10485
+ case "vertical-line":
10486
+ pattern = this.createVerticalLinePattern(textureSize, texturePadding, textureColor, context);
10487
+ break;
10488
+ case "horizontal-line":
10489
+ pattern = this.createHorizontalLinePattern(textureSize, texturePadding, textureColor, context);
10490
+ break;
10491
+ case "bias-lr":
10492
+ pattern = this.createBiasLRLinePattern(textureSize, texturePadding, textureColor, context);
10493
+ break;
10494
+ case "bias-rl":
10495
+ pattern = this.createBiasRLLinePattern(textureSize, texturePadding, textureColor, context);
10496
+ break;
10497
+ case "grid":
10498
+ pattern = this.createGridPattern(textureSize, texturePadding, textureColor, context);
10511
10499
  }
10512
- if ("string" == typeof texture && textureOptions && textureOptions.dynamicTexture) {
10500
+ if (textureOptions && textureOptions.dynamicTexture) {
10513
10501
  const {
10514
10502
  gridConfig = {},
10515
10503
  useNewCanvas: useNewCanvas
@@ -10557,21 +10545,7 @@ class DefaultBaseTextureRenderContribution {
10557
10545
  null === (_a = textureOptions.beforeDynamicTexture) || void 0 === _a || _a.call(textureOptions, context, i, j, gridRows, gridColumns, textureRatio, graphic, b.width(), b.height()), context.beginPath(), !1 === parsedPath.draw(context, Math.min(sizeW - gutterColumn, sizeH - gutterRow), _x, _y, 0) && context.closePath(), context.fillStyle = textureColor, textureOptions.dynamicTexture(context, i, j, gridRows, gridColumns, textureRatio, graphic, b.width(), b.height());
10558
10546
  }
10559
10547
  useNewCanvas && (originalContext.globalAlpha = 1, originalContext.drawImage(newCanvas.nativeCanvas, 0, 0, newCanvas.nativeCanvas.width, newCanvas.nativeCanvas.height, b.x1, b.y1, b.width() * originalContext.dpr, b.height() * originalContext.dpr)), originalContext.restore();
10560
- } else if (pattern) {
10561
- if (pattern.setTransform) {
10562
- const alignToGraphic = !!(null == textureOptions ? void 0 : textureOptions.alignToGraphic),
10563
- alignOffsetX = null !== (_b = null == textureOptions ? void 0 : textureOptions.alignOffsetX) && void 0 !== _b ? _b : 0,
10564
- alignOffsetY = null !== (_c = null == textureOptions ? void 0 : textureOptions.alignOffsetY) && void 0 !== _c ? _c : 0;
10565
- let translateX = 0,
10566
- translateY = 0;
10567
- if (alignToGraphic) {
10568
- const m = context.currentMatrix;
10569
- translateX = (null !== (_d = null == m ? void 0 : m.e) && void 0 !== _d ? _d : 0) + x + alignOffsetX, translateY = (null !== (_e = null == m ? void 0 : m.f) && void 0 !== _e ? _e : 0) + y + alignOffsetY;
10570
- } else (alignOffsetX || alignOffsetY) && (translateX = alignOffsetX, translateY = alignOffsetY);
10571
- pattern.setTransform(new DOMMatrix([1 / context.dpr, 0, 0, 1 / context.dpr, translateX, translateY]));
10572
- }
10573
- context.highPerformanceSave(), context.setCommonStyle(graphic, graphic.attribute, x, y, graphicAttribute), context.fillStyle = pattern, context.fill(), context.highPerformanceRestore();
10574
- } else if ("wave" === texture) {
10548
+ } else if (pattern) context.highPerformanceSave(), context.setCommonStyle(graphic, graphic.attribute, x, y, graphicAttribute), context.fillStyle = pattern, context.fill(), context.highPerformanceRestore();else if ("wave" === texture) {
10575
10549
  context.save(), context.setCommonStyle(graphic, graphic.attribute, x, y, graphicAttribute), context.clip();
10576
10550
  const b = graphic.AABBBounds;
10577
10551
  drawWave(context, textureRatio, b.width(), b.height(), Object.assign(Object.assign({}, textureOptions || {}), {
@@ -10579,17 +10553,6 @@ class DefaultBaseTextureRenderContribution {
10579
10553
  }), x + b.x1 - x, y + b.y1 - y), context.restore();
10580
10554
  }
10581
10555
  }
10582
- getPatternCacheKey(texture, textureSize, texturePadding, textureColor, dpr) {
10583
- return "string" != typeof texture ? texture : "wave" === texture ? null : `${texture}-${textureSize}-${texturePadding}-${textureColor}-${dpr}`;
10584
- }
10585
- createResourcePattern(texture, graphic, context) {
10586
- var _a;
10587
- const resource = null === (_a = graphic.resources) || void 0 === _a ? void 0 : _a.get(texture),
10588
- data = "success" === (null == resource ? void 0 : resource.state) ? resource.data : "object" == typeof texture ? texture : null;
10589
- if (!data) return null;
10590
- const pattern = context.createPattern(data, "repeat");
10591
- return (null == pattern ? void 0 : pattern.setTransform) && pattern.setTransform(new DOMMatrix([1 / context.dpr, 0, 0, 1 / context.dpr, 0, 0])), pattern;
10592
- }
10593
10556
  }
10594
10557
  const defaultBaseTextureRenderContribution = new DefaultBaseTextureRenderContribution();
10595
10558
 
@@ -35126,6 +35089,6 @@ TableSeriesNumber.defaultAttributes = {
35126
35089
  select: true
35127
35090
  };
35128
35091
 
35129
- const version = "1.0.46-alpha.1";
35092
+ const version = "1.0.46-alpha.3";
35130
35093
 
35131
35094
  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, 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 };
@@ -173,4 +173,5 @@ export class DataZoomInteraction extends EventEmitter {
173
173
  _dispatchEvent(eventName, details) {
174
174
  this.emit(eventName, details);
175
175
  }
176
- }
176
+ }
177
+ //# sourceMappingURL=interaction.js.map
package/es/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const version = "1.0.46-alpha.1";
1
+ export declare const version = "1.0.46-alpha.3";
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 = "1.0.46-alpha.1";
1
+ export const version = "1.0.46-alpha.3";
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,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,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.0.46-alpha.1\";\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 './weather';\nexport * from './util';\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,gBAAgB,CAAC;AAExC,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,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.0.46-alpha.3\";\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 './weather';\nexport * from './util';\nexport * from './switch';\nexport * from './label-item';\nexport * from './table-series-number';\n"]}
@@ -21,5 +21,4 @@ export const DEFAULT_INDICATOR_THEME = {
21
21
  textAlign: "center"
22
22
  }
23
23
  }
24
- };
25
- //# sourceMappingURL=config.js.map
24
+ };
package/es/label/arc.js CHANGED
@@ -503,4 +503,4 @@ ArcLabel.defaultAttributes = {
503
503
  export const registerArcDataLabel = () => {
504
504
  registerLabelComponent("arc", ArcLabel);
505
505
  };
506
- //# sourceMappingURL=arc.js.map
506
+ //# sourceMappingURL=arc.js.map
@@ -1,4 +1,4 @@
1
1
  export * from "./label-item";
2
2
 
3
3
  export * from "./type";
4
- //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vrender-components",
3
- "version": "1.0.46-alpha.1",
3
+ "version": "1.0.46-alpha.3",
4
4
  "description": "components library for dp visualization",
5
5
  "sideEffects": false,
6
6
  "main": "cjs/index.js",
@@ -14,9 +14,9 @@
14
14
  "dependencies": {
15
15
  "@visactor/vutils": "~1.0.12",
16
16
  "@visactor/vscale": "~1.0.12",
17
- "@visactor/vrender-core": "1.0.46-alpha.1",
18
- "@visactor/vrender-kits": "1.0.46-alpha.1",
19
- "@visactor/vrender-animate": "1.0.46-alpha.1"
17
+ "@visactor/vrender-core": "1.0.46-alpha.3",
18
+ "@visactor/vrender-kits": "1.0.46-alpha.3",
19
+ "@visactor/vrender-animate": "1.0.46-alpha.3"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@rushstack/eslint-patch": "~1.1.4",