@visactor/vrender-components 1.0.46-alpha.2 → 1.0.47-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,4 +35,5 @@ exports.RectCrosshair = RectCrosshair, RectCrosshair.defaultAttributes = {
35
35
  fill: "#b2bacf",
36
36
  opacity: .2
37
37
  }
38
- };
38
+ };
39
+ //# sourceMappingURL=rect.js.map
@@ -126,5 +126,4 @@ exports.DEFAULT_DATA_ZOOM_ATTRIBUTES = {
126
126
  handler: 5,
127
127
  handlerText: 5,
128
128
  handlerMask: 999
129
- };
130
- //# sourceMappingURL=config.js.map
129
+ };
package/cjs/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const version = "1.0.46-alpha.2";
1
+ export declare const version = "1.0.47-alpha.0";
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.2", __exportStar(require("./core/base"), exports),
20
+ }), exports.version = void 0, exports.version = "1.0.47-alpha.0", __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.2\";\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.47-alpha.0\";\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"]}
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,
@@ -2452,6 +2450,7 @@ const DefaultAttribute = Object.assign(Object.assign(Object.assign({
2452
2450
  shadowPickMode: "graphic",
2453
2451
  keepStrokeScale: !1,
2454
2452
  clipConfig: null,
2453
+ pathProxy: null,
2455
2454
  roughStyle: null
2456
2455
  }, DefaultDebugAttribute), DefaultStyle), DefaultTransform);
2457
2456
  const DefaultArcAttribute = Object.assign(Object.assign({}, DefaultAttribute), {
@@ -6227,7 +6226,7 @@ function getConicGradientAt(x, y, angle, color) {
6227
6226
  const _tempBounds = new AABBBounds(),
6228
6227
  tempMatrix = new Matrix();
6229
6228
  new AABBBounds();
6230
- const GRAPHIC_UPDATE_TAG_KEY = ["lineWidth", "scaleX", "scaleY", "angle", "anchor", "visible"];
6229
+ const GRAPHIC_UPDATE_TAG_KEY = ["lineWidth", "pathProxy", "scaleX", "scaleY", "angle", "anchor", "visible"];
6231
6230
  const tempConstantXYKey = ["x", "y"],
6232
6231
  tempConstantScaleXYKey = ["scaleX", "scaleY"],
6233
6232
  tempConstantAngleKey = ["angle"],
@@ -6288,7 +6287,7 @@ class Graphic extends Node {
6288
6287
  }
6289
6288
  constructor(params = {}) {
6290
6289
  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);
6290
+ 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);
6292
6291
  }
6293
6292
  getGraphicService() {
6294
6293
  var _a, _b;
@@ -6408,7 +6407,7 @@ class Graphic extends Node {
6408
6407
  return paddingArray && bounds.expand(paddingArray), this.clearUpdateBoundTag(), bounds;
6409
6408
  }
6410
6409
  updatePathProxyAABBBounds(aabbBounds) {
6411
- const path = "function" == typeof this.pathProxy ? this.pathProxy(this.attribute) : this.pathProxy;
6410
+ const path = this.getPathProxy();
6412
6411
  if (!path) return !1;
6413
6412
  const boundsContext = new BoundsContext(aabbBounds);
6414
6413
  return renderCommandList(path.commandList, boundsContext, 0, 0), !0;
@@ -6477,7 +6476,7 @@ class Graphic extends Node {
6477
6476
  });
6478
6477
  }
6479
6478
  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));
6479
+ 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));
6481
6480
  }
6482
6481
  _setAttributes(params, forceUpdateTag = !1, context) {
6483
6482
  const keys = Object.keys(params);
@@ -6511,7 +6510,7 @@ class Graphic extends Node {
6511
6510
  const context = {
6512
6511
  type: AttributeUpdateType.INIT
6513
6512
  };
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);
6513
+ 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);
6515
6514
  }
6516
6515
  translate(x, y) {
6517
6516
  var _a, _b;
@@ -6841,7 +6840,16 @@ class Graphic extends Node {
6841
6840
  };
6842
6841
  }
6843
6842
  createPathProxy(path) {
6844
- return isString(path, !0) ? this.pathProxy = new CustomPath2D().fromString(path) : this.pathProxy = new CustomPath2D(), this.pathProxy;
6843
+ const proxy = isString(path, !0) ? new CustomPath2D().fromString(path) : new CustomPath2D();
6844
+ return this.pathProxy = proxy, this.attribute.pathProxy = proxy, this.addUpdateShapeAndBoundsTag(), this.onAttributeUpdate(), proxy;
6845
+ }
6846
+ getPathProxy() {
6847
+ var _a;
6848
+ const attributePathProxy = null === (_a = this.attribute) || void 0 === _a ? void 0 : _a.pathProxy,
6849
+ rawPathProxy = null != attributePathProxy ? attributePathProxy : this.pathProxy;
6850
+ if (!rawPathProxy) return null;
6851
+ const resolvedPathProxy = "function" == typeof rawPathProxy ? rawPathProxy(this.attribute) : rawPathProxy;
6852
+ return resolvedPathProxy ? isString(resolvedPathProxy, !0) ? new CustomPath2D().fromString(resolvedPathProxy) : resolvedPathProxy : null;
6845
6853
  }
6846
6854
  loadImage(image, background = !1) {
6847
6855
  if (background && (null == image ? void 0 : image.background) && (image = image.background), background && (!image || backgroundNotImage(image))) return void (this.backgroundImg = !1);
@@ -6891,6 +6899,8 @@ class Graphic extends Node {
6891
6899
  }
6892
6900
  toCustomPath() {
6893
6901
  var _a, _b, _c;
6902
+ const pathProxy = this.getPathProxy();
6903
+ if (pathProxy) return pathProxy;
6894
6904
  const renderer = null === (_c = null === (_b = (null === (_a = this.stage) || void 0 === _a ? void 0 : _a.renderService) || application.renderService) || void 0 === _b ? void 0 : _b.drawContribution) || void 0 === _c ? void 0 : _c.getRenderContribution(this);
6895
6905
  if (renderer) {
6896
6906
  const context = new EmptyContext2d(null, 1);
@@ -7606,7 +7616,8 @@ let DefaultGraphicService = class {
7606
7616
  this.hooks.clearAABBBounds.taps.length && this.hooks.clearAABBBounds.call(graphic, stage, b);
7607
7617
  }
7608
7618
  updatePathProxyAABBBounds(aabbBounds, graphic) {
7609
- const path = "function" == typeof graphic.pathProxy ? graphic.pathProxy(graphic.attribute) : graphic.pathProxy;
7619
+ var _a;
7620
+ const path = null === (_a = null == graphic ? void 0 : graphic.getPathProxy) || void 0 === _a ? void 0 : _a.call(graphic);
7610
7621
  if (!path) return !1;
7611
7622
  const boundsContext = new BoundsContext(aabbBounds);
7612
7623
  return renderCommandList(path.commandList, boundsContext, 0, 0), !0;
@@ -8552,7 +8563,7 @@ let Line$1 = class Line extends Graphic {
8552
8563
  return super.isValid() && this._isValid();
8553
8564
  }
8554
8565
  _isValid() {
8555
- if (this.pathProxy) return !0;
8566
+ if (this.getPathProxy()) return !0;
8556
8567
  const {
8557
8568
  points: points,
8558
8569
  segments: segments
@@ -9725,7 +9736,7 @@ class Area extends Graphic {
9725
9736
  return super.isValid() && this._isValid();
9726
9737
  }
9727
9738
  _isValid() {
9728
- if (this.pathProxy) return !0;
9739
+ if (this.getPathProxy()) return !0;
9729
9740
  const {
9730
9741
  points: points,
9731
9742
  segments: segments
@@ -10361,6 +10372,7 @@ class DefaultBaseClipRenderAfterContribution {
10361
10372
  }
10362
10373
  const defaultBaseClipRenderAfterContribution = new DefaultBaseClipRenderAfterContribution();
10363
10374
 
10375
+ const builtinProceduralTextureTypes = new Set(["circle", "diamond", "rect", "vertical-line", "horizontal-line", "bias-lr", "bias-rl", "grid"]);
10364
10376
  function formatRatio(ratio) {
10365
10377
  return ratio <= .5 ? 4 * ratio - 1 : -4 * ratio + 3;
10366
10378
  }
@@ -10581,7 +10593,7 @@ class DefaultBaseTextureRenderContribution {
10581
10593
  }
10582
10594
  }
10583
10595
  getPatternCacheKey(texture, textureSize, texturePadding, textureColor, dpr, textureRadius) {
10584
- return "string" != typeof texture ? texturePadding > 0 || textureRadius > 0 ? null : texture : "wave" === texture ? null : `${texture}-${textureSize}-${texturePadding}-${textureColor}-${dpr}`;
10596
+ return "string" != typeof texture ? texturePadding > 0 || textureRadius > 0 ? null : texture : "wave" === texture ? null : builtinProceduralTextureTypes.has(texture) ? `builtin:${texture}|size:${textureSize}|padding:${texturePadding}|color:${textureColor}|dpr:${dpr}` : `resource:${texture}|padding:${texturePadding}|radius:${textureRadius}|dpr:${dpr}`;
10585
10597
  }
10586
10598
  createResourcePattern(texture, graphic, context, texturePadding, textureRadius) {
10587
10599
  var _a;
@@ -11056,7 +11068,8 @@ class BaseRender {
11056
11068
  });
11057
11069
  }
11058
11070
  drawPathProxy(graphic, context, x, y, drawContext, params, fillCb, strokeCb) {
11059
- if (!graphic.pathProxy) return !1;
11071
+ const path = graphic.getPathProxy();
11072
+ if (!path) return !1;
11060
11073
  const themeAttributes = getTheme(graphic, null == params ? void 0 : params.theme)[graphic.type.replace("3d", "")],
11061
11074
  {
11062
11075
  fill = themeAttributes.fill,
@@ -11073,12 +11086,7 @@ class BaseRender {
11073
11086
  sVisible = strokeVisible(opacity, strokeOpacity),
11074
11087
  doFill = runFill(fill),
11075
11088
  doStroke = runStroke(stroke, lineWidth);
11076
- if (!visible) return !0;
11077
- if (!doFill && !doStroke) return !0;
11078
- if (!(fVisible || sVisible || fillCb || strokeCb)) return !0;
11079
- context.beginPath();
11080
- const path = "function" == typeof graphic.pathProxy ? graphic.pathProxy(graphic.attribute) : graphic.pathProxy;
11081
- return renderCommandList(path.commandList, context, x, y), context.setShadowBlendStyle && context.setShadowBlendStyle(graphic, graphic.attribute, themeAttributes), this.beforeRenderStep(graphic, context, x, y, doFill, doStroke, fVisible, sVisible, themeAttributes, drawContext, fillCb, strokeCb), doStroke && (strokeCb ? strokeCb(context, graphic.attribute, themeAttributes) : sVisible && (context.setStrokeStyle(graphic, graphic.attribute, x - originX, y - originY, themeAttributes), context.stroke())), doFill && (fillCb ? fillCb(context, graphic.attribute, themeAttributes) : fVisible && (context.setCommonStyle(graphic, graphic.attribute, x - originX, y - originY, themeAttributes), context.fill())), this.afterRenderStep(graphic, context, x, y, doFill, doStroke, fVisible, sVisible, themeAttributes, drawContext, fillCb, strokeCb), !0;
11089
+ return !visible || !doFill && !doStroke || !(fVisible || sVisible || fillCb || strokeCb) || (context.beginPath(), renderCommandList(path.commandList, context, x, y), context.setShadowBlendStyle && context.setShadowBlendStyle(graphic, graphic.attribute, themeAttributes), this.beforeRenderStep(graphic, context, x, y, doFill, doStroke, fVisible, sVisible, themeAttributes, drawContext, fillCb, strokeCb), doStroke && (strokeCb ? strokeCb(context, graphic.attribute, themeAttributes) : sVisible && (context.setStrokeStyle(graphic, graphic.attribute, x - originX, y - originY, themeAttributes), context.stroke())), doFill && (fillCb ? fillCb(context, graphic.attribute, themeAttributes) : fVisible && (context.setCommonStyle(graphic, graphic.attribute, x - originX, y - originY, themeAttributes), context.fill())), this.afterRenderStep(graphic, context, x, y, doFill, doStroke, fVisible, sVisible, themeAttributes, drawContext, fillCb, strokeCb), !0);
11082
11090
  }
11083
11091
  valid(graphic, defaultAttribute, fillCb, strokeCb) {
11084
11092
  const {
@@ -35155,6 +35163,6 @@ TableSeriesNumber.defaultAttributes = {
35155
35163
  select: true
35156
35164
  };
35157
35165
 
35158
- const version = "1.0.46-alpha.2";
35166
+ const version = "1.0.47-alpha.0";
35159
35167
 
35160
35168
  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 };
@@ -33,4 +33,5 @@ RectCrosshair.defaultAttributes = {
33
33
  fill: "#b2bacf",
34
34
  opacity: .2
35
35
  }
36
- };
36
+ };
37
+ //# sourceMappingURL=rect.js.map
@@ -126,5 +126,4 @@ export const LAYOUT_LEVEL = {
126
126
  handler: 5,
127
127
  handlerText: 5,
128
128
  handlerMask: 999
129
- };
130
- //# sourceMappingURL=config.js.map
129
+ };
package/es/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const version = "1.0.46-alpha.2";
1
+ export declare const version = "1.0.47-alpha.0";
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.2";
1
+ export const version = "1.0.47-alpha.0";
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.2\";\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.47-alpha.0\";\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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vrender-components",
3
- "version": "1.0.46-alpha.2",
3
+ "version": "1.0.47-alpha.0",
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.2",
18
- "@visactor/vrender-kits": "1.0.46-alpha.2",
19
- "@visactor/vrender-animate": "1.0.46-alpha.2"
17
+ "@visactor/vrender-core": "1.0.47-alpha.0",
18
+ "@visactor/vrender-kits": "1.0.47-alpha.0",
19
+ "@visactor/vrender-animate": "1.0.47-alpha.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@rushstack/eslint-patch": "~1.1.4",
@@ -30,9 +30,9 @@
30
30
  "vite": "3.2.6",
31
31
  "typescript": "4.9.5",
32
32
  "cross-env": "^7.0.3",
33
- "@internal/bundler": "0.0.1",
33
+ "@internal/eslint-config": "0.0.1",
34
34
  "@internal/ts-config": "0.0.1",
35
- "@internal/eslint-config": "0.0.1"
35
+ "@internal/bundler": "0.0.1"
36
36
  },
37
37
  "keywords": [
38
38
  "VisActor",