@visactor/vrender-components 0.22.0-vstory.14 → 0.22.0-vstory.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const version = "0.22.0-vstory.14";
1
+ export declare const version = "0.22.0-vstory.16";
2
2
  export * from './core/base';
3
3
  export * from './core/type';
4
4
  export * from './scrollbar';
package/cjs/index.js CHANGED
@@ -17,7 +17,7 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
17
17
 
18
18
  Object.defineProperty(exports, "__esModule", {
19
19
  value: !0
20
- }), exports.version = void 0, exports.version = "0.22.0-vstory.14", __exportStar(require("./core/base"), exports),
20
+ }), exports.version = void 0, exports.version = "0.22.0-vstory.16", __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,kBAAkB,CAAC;AAE1C,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","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"0.22.0-vstory.14\";\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';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACa,QAAA,OAAO,GAAG,kBAAkB,CAAC;AAE1C,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","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"0.22.0-vstory.16\";\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';\n"]}
package/dist/index.es.js CHANGED
@@ -2037,10 +2037,10 @@ class CustomPath2D extends CurvePath {
2037
2037
  x = current[5], y = current[6], controlX = current[3], controlY = current[4], this.bezierCurveTo(current[1] + l, current[2] + t, controlX + l, controlY + t, x + l, y + t);
2038
2038
  break;
2039
2039
  case "s":
2040
- tempX = x + current[3], tempY = y + current[4], controlX = 2 * x - controlX, controlY = 2 * y - controlY, this.bezierCurveTo(controlX + l, controlY + t, x + current[1] + l, y + current[2] + t, tempX + l, tempY + t), controlX = x + current[1], controlY = y + current[2], x = tempX, y = tempY;
2040
+ tempX = x + current[3], tempY = y + current[4], null === previous[0].match(/[CcSs]/) ? (controlX = x, controlY = y) : (controlX = 2 * x - controlX, controlY = 2 * y - controlY), tempControlX = x + current[1], tempControlY = y + current[2], this.bezierCurveTo(controlX + l, controlY + t, tempControlX + l, tempControlY + t, tempX + l, tempY + t), controlX = tempControlX, controlY = tempControlY, x = tempX, y = tempY;
2041
2041
  break;
2042
2042
  case "S":
2043
- tempX = current[3], tempY = current[4], controlX = 2 * x - controlX, controlY = 2 * y - controlY, this.bezierCurveTo(controlX + l, controlY + t, current[1] + l, current[2] + t, tempX + l, tempY + t), x = tempX, y = tempY, controlX = current[1], controlY = current[2];
2043
+ tempX = current[3], tempY = current[4], null === previous[0].match(/[CcSs]/) ? (controlX = x, controlY = y) : (controlX = 2 * x - controlX, controlY = 2 * y - controlY), tempControlX = current[1], tempControlY = current[2], this.bezierCurveTo(controlX + l, controlY + t, tempControlX + l, tempControlY + t, tempX + l, tempY + t), controlX = tempControlX, controlY = tempControlY, x = tempX, y = tempY;
2044
2044
  break;
2045
2045
  case "q":
2046
2046
  tempX = x + current[3], tempY = y + current[4], controlX = x + current[1], controlY = y + current[2], this.quadraticCurveTo(controlX + l, controlY + t, tempX + l, tempY + t), x = tempX, y = tempY;
@@ -2423,6 +2423,7 @@ const DefaultTextAttribute = Object.assign(Object.assign(Object.assign({}, Defau
2423
2423
  keepDirIn3d: !0
2424
2424
  });
2425
2425
  const DefaultRichTextAttribute = Object.assign(Object.assign(Object.assign({}, DefaultAttribute), DefaultTextStyle), {
2426
+ upgradeAttrs: null,
2426
2427
  editable: !1,
2427
2428
  editOptions: null,
2428
2429
  ascentDescentMode: "actual",
@@ -5466,7 +5467,7 @@ class Graphic extends Node {
5466
5467
  null != onStart && animate.onStart(onStart), null != onFrame && animate.onFrame(onFrame), null != onEnd && animate.onEnd(onEnd), null != onRemove && animate.onRemove(onRemove), animate.interpolateFunc = params.interpolate;
5467
5468
  }
5468
5469
  return this.animates.set(animate.id, animate), animate.onRemove(() => {
5469
- this.animates.delete(animate.id);
5470
+ animate.stop(), this.animates.delete(animate.id);
5470
5471
  }), animate;
5471
5472
  }
5472
5473
  onAttributeUpdate(context) {
@@ -5670,7 +5671,7 @@ class Graphic extends Node {
5670
5671
  if (this.stage = stage, this.layer = layer, this.setStageToShadowRoot(stage, layer), this.animates && this.animates.size) {
5671
5672
  const timeline = stage.getTimeline();
5672
5673
  this.animates.forEach(a => {
5673
- a.setTimeline(timeline);
5674
+ a.timeline === defaultTimeline && a.setTimeline(timeline);
5674
5675
  });
5675
5676
  }
5676
5677
  this._onSetStage && this._onSetStage(this, stage, layer), application.graphicService.onSetStage(this, stage);
@@ -5774,7 +5775,7 @@ class Graphic extends Node {
5774
5775
  return shadowRoot && (shadowRoot.shadowHost = this), this.shadowRoot = null != shadowRoot ? shadowRoot : application.graphicService.creator.shadowRoot(this), this.addUpdateBoundTag(), this.shadowRoot.setStage(this.stage, this.layer), this.shadowRoot;
5775
5776
  }
5776
5777
  detachShadow() {
5777
- this.shadowRoot && (this.addUpdateBoundTag(), this.shadowRoot = null);
5778
+ this.shadowRoot && (this.addUpdateBoundTag(), this.shadowRoot.release(!0), this.shadowRoot = null);
5778
5779
  }
5779
5780
  toJson() {
5780
5781
  return {
@@ -5826,7 +5827,7 @@ class Graphic extends Node {
5826
5827
  });
5827
5828
  }
5828
5829
  release() {
5829
- this.releaseStatus = "released", application.graphicService.onRelease(this);
5830
+ this.releaseStatus = "released", this.stopAnimates(), application.graphicService.onRelease(this);
5830
5831
  }
5831
5832
  _emitCustomEvent(type, context) {
5832
5833
  var _a, _b;
@@ -6320,6 +6321,11 @@ class Group extends Graphic {
6320
6321
  getNoWorkAnimateAttr() {
6321
6322
  return Group.NOWORK_ANIMATE_ATTR;
6322
6323
  }
6324
+ release(all) {
6325
+ all && this.forEachChildren(g => {
6326
+ g.release(all);
6327
+ }), super.release();
6328
+ }
6323
6329
  }
6324
6330
  Group.NOWORK_ANIMATE_ATTR = NOWORK_ANIMATE_ATTR;
6325
6331
  function createGroup(attributes) {
@@ -8805,7 +8811,7 @@ class Paragraph {
8805
8811
  this.width = width, "vertical" === this.direction && (this.widthOrigin = this.width, this.width = this.heightOrigin, this.height = this.widthOrigin);
8806
8812
  }
8807
8813
  drawBackground(ctx, top, ascent, deltaLeft, isLineFirst, textAlign, lineHeight) {
8808
- if (!this.character.background || this.character.backgroundOpacity && !(this.character.backgroundOpacity > 0)) return;
8814
+ if ("" === this.text || "\n" === this.text || !this.character.background || this.character.backgroundOpacity && !(this.character.backgroundOpacity > 0)) return;
8809
8815
  let baseline = top + ascent,
8810
8816
  text = this.text,
8811
8817
  left = this.left + deltaLeft;
@@ -8823,19 +8829,11 @@ class Paragraph {
8823
8829
  }
8824
8830
  }
8825
8831
  }
8826
- switch (this.character.script) {
8827
- case "super":
8828
- baseline -= this.ascent * (1 / 3);
8829
- break;
8830
- case "sub":
8831
- baseline += this.descent / 2;
8832
- }
8833
- "vertical" === direction && (ctx.save(), ctx.rotateAbout(Math.PI / 2, left, baseline), ctx.translate(-this.heightOrigin || -this.lineHeight / 2, -this.descent / 2), ctx.translate(left, baseline), left = 0, baseline = 0);
8834
- const fillStyle = ctx.fillStyle,
8835
- globalAlpha = ctx.globalAlpha;
8836
- ctx.fillStyle = this.character.background, void 0 !== this.character.backgroundOpacity && (ctx.globalAlpha = this.character.backgroundOpacity);
8837
8832
  const lrtb = getFixedLRTB(left, left + (this.widthOrigin || this.width), top, top + lineHeight);
8838
- ctx.fillRect(lrtb.left, lrtb.top, lrtb.right - lrtb.left, lrtb.bottom - lrtb.top), ctx.fillStyle = fillStyle, ctx.globalAlpha = globalAlpha;
8833
+ return Object.assign(Object.assign({}, lrtb), {
8834
+ fillStyle: this.character.background,
8835
+ globalAlpha: this.character.backgroundOpacity
8836
+ });
8839
8837
  }
8840
8838
  draw(ctx, top, ascent, deltaLeft, isLineFirst, textAlign, lineHeight) {
8841
8839
  let baseline = top + ascent,
@@ -9109,8 +9107,19 @@ class Line {
9109
9107
  paragraph.ellipsis = "hide", otherParagraphWidth += paragraph.width;
9110
9108
  }
9111
9109
  }
9110
+ let fillStyle = "",
9111
+ globalAlpha = -1,
9112
+ currBgList = [];
9113
+ const bgList = [currBgList];
9112
9114
  this.paragraphs.forEach((paragraph, index) => {
9113
- paragraph instanceof RichTextIcon || paragraph.drawBackground(ctx, y, this.ascent, x, 0 === index, this.textAlign, this.height);
9115
+ if (paragraph instanceof RichTextIcon) return;
9116
+ const data = paragraph.drawBackground(ctx, y, this.ascent, x, 0 === index, this.textAlign, this.height);
9117
+ data && (fillStyle === data.fillStyle && globalAlpha === data.globalAlpha || (currBgList = [], bgList.push(currBgList), fillStyle = data.fillStyle, globalAlpha = data.globalAlpha), currBgList.push(data));
9118
+ }), bgList.forEach(bg => {
9119
+ if (0 === bg.length) return;
9120
+ const data = bg[0],
9121
+ end = bg[bg.length - 1];
9122
+ ctx.fillStyle = data.fillStyle, ctx.globalAlpha = data.globalAlpha, ctx.fillRect(data.left, data.top, end.right - data.left, end.bottom - data.top);
9114
9123
  }), this.paragraphs.forEach((paragraph, index) => {
9115
9124
  if (paragraph instanceof RichTextIcon) return paragraph.setAttributes({
9116
9125
  x: x + paragraph._x,
@@ -9348,7 +9357,7 @@ class RichText extends Graphic {
9348
9357
  case "right":
9349
9358
  deltaX = -aabbBounds.width();
9350
9359
  }
9351
- return aabbBounds.translate(deltaX, deltaY), application.graphicService.updateTempAABBBounds(aabbBounds), null == attribute.forceBoundsHeight && null == attribute.forceBoundsWidth || application.graphicService.updateHTMLTextAABBBounds(attribute, richtextTheme, aabbBounds), application.graphicService.transformAABBBounds(attribute, aabbBounds, richtextTheme, !1, this), aabbBounds;
9360
+ return aabbBounds.translate(deltaX, deltaY), application.graphicService.updateTempAABBBounds(aabbBounds), null == attribute.forceBoundsHeight && null == attribute.forceBoundsWidth || application.graphicService.updateHTMLTextAABBBounds(attribute, richtextTheme, aabbBounds), application.graphicService.transformAABBBounds(attribute, aabbBounds, richtextTheme, !1, this), 0 === aabbBounds.width() && 0 === aabbBounds.height() && aabbBounds.clear(), aabbBounds;
9352
9361
  }
9353
9362
  needUpdateTags(keys) {
9354
9363
  return super.needUpdateTags(keys, RICHTEXT_UPDATE_TAG_KEY);
@@ -9376,48 +9385,53 @@ class RichText extends Graphic {
9376
9385
  }
9377
9386
  combinedStyleToCharacter(config) {
9378
9387
  const {
9379
- fill: fill,
9380
- stroke: stroke,
9381
- fontSize: fontSize,
9382
- fontFamily: fontFamily,
9383
- fontStyle: fontStyle,
9384
- fontWeight: fontWeight,
9385
- lineWidth: lineWidth,
9386
- opacity: opacity,
9387
- fillOpacity: fillOpacity,
9388
- strokeOpacity: strokeOpacity
9389
- } = this.attribute;
9390
- return Object.assign({
9391
- fill: fill,
9392
- stroke: stroke,
9393
- fontSize: fontSize,
9394
- fontFamily: fontFamily,
9395
- fontStyle: fontStyle,
9396
- fontWeight: fontWeight,
9397
- lineWidth: lineWidth,
9398
- opacity: opacity,
9399
- fillOpacity: fillOpacity,
9400
- strokeOpacity: strokeOpacity
9401
- }, config);
9388
+ fill: fill,
9389
+ stroke: stroke,
9390
+ fontSize: fontSize,
9391
+ fontFamily: fontFamily,
9392
+ fontStyle: fontStyle,
9393
+ fontWeight: fontWeight,
9394
+ lineWidth: lineWidth,
9395
+ opacity: opacity,
9396
+ fillOpacity: fillOpacity,
9397
+ lineHeight: lineHeight,
9398
+ strokeOpacity: strokeOpacity,
9399
+ upgradeAttrs: upgradeAttrs
9400
+ } = this.attribute,
9401
+ out = Object.assign({
9402
+ fill: fill,
9403
+ stroke: stroke,
9404
+ fontSize: fontSize,
9405
+ fontFamily: fontFamily,
9406
+ fontStyle: fontStyle,
9407
+ fontWeight: fontWeight,
9408
+ lineWidth: lineWidth,
9409
+ opacity: opacity,
9410
+ fillOpacity: fillOpacity,
9411
+ strokeOpacity: strokeOpacity
9412
+ }, config);
9413
+ return (null == upgradeAttrs ? void 0 : upgradeAttrs.lineHeight) && (out.lineHeight = lineHeight), out;
9402
9414
  }
9403
9415
  doUpdateFrameCache(tc) {
9404
9416
  var _a;
9405
9417
  const {
9406
- maxWidth: maxWidth,
9407
- maxHeight: maxHeight,
9408
- width: width,
9409
- height: height,
9410
- ellipsis: ellipsis,
9411
- wordBreak: wordBreak,
9412
- verticalDirection: verticalDirection,
9413
- textAlign: textAlign,
9414
- textBaseline: textBaseline,
9415
- layoutDirection: layoutDirection,
9416
- singleLine: singleLine,
9417
- disableAutoWrapLine: disableAutoWrapLine,
9418
- editable: editable,
9419
- ascentDescentMode: ascentDescentMode
9420
- } = this.attribute;
9418
+ maxWidth: maxWidth,
9419
+ maxHeight: maxHeight,
9420
+ width: width,
9421
+ height: height,
9422
+ ellipsis: ellipsis,
9423
+ wordBreak: wordBreak,
9424
+ verticalDirection: verticalDirection,
9425
+ textAlign: textAlign,
9426
+ textBaseline: textBaseline,
9427
+ layoutDirection: layoutDirection,
9428
+ singleLine: singleLine,
9429
+ disableAutoWrapLine: disableAutoWrapLine,
9430
+ editable: editable,
9431
+ ascentDescentMode: ascentDescentMode,
9432
+ upgradeAttrs: upgradeAttrs
9433
+ } = this.attribute,
9434
+ enableMultiBreakLine = upgradeAttrs && upgradeAttrs.multiBreakLine;
9421
9435
  let {
9422
9436
  textConfig: _tc = []
9423
9437
  } = this.attribute;
@@ -9439,7 +9453,10 @@ class RichText extends Graphic {
9439
9453
  const richTextConfig = this.combinedStyleToCharacter(textConfig[i]);
9440
9454
  if (isNumber(richTextConfig.text) && (richTextConfig.text = `${richTextConfig.text}`), richTextConfig.text && richTextConfig.text.includes("\n")) {
9441
9455
  const textParts = richTextConfig.text.split("\n");
9442
- for (let j = 0; j < textParts.length; j++) paragraphs.push(new Paragraph(textParts[j], 0 !== j, richTextConfig, ascentDescentMode));
9456
+ for (let j = 0; j < textParts.length; j++) if (0 === j) paragraphs.push(new Paragraph(textParts[j], !1, richTextConfig, ascentDescentMode));else if (textParts[j] || i === textConfig.length - 1) paragraphs.push(new Paragraph(textParts[j], !0, richTextConfig, ascentDescentMode));else {
9457
+ const nextRichTextConfig = this.combinedStyleToCharacter(textConfig[i + 1]);
9458
+ paragraphs.push(new Paragraph(textParts[j], !0, nextRichTextConfig, ascentDescentMode));
9459
+ }
9443
9460
  } else richTextConfig.text && paragraphs.push(new Paragraph(richTextConfig.text, !1, richTextConfig, ascentDescentMode));
9444
9461
  }
9445
9462
  const maxWidthFinite = "number" == typeof maxWidth && Number.isFinite(maxWidth) && maxWidth > 0,
@@ -9448,7 +9465,7 @@ class RichText extends Graphic {
9448
9465
  richTextHeightEnable = "number" == typeof height && Number.isFinite(height) && height > 0 && (!maxHeightFinite || height <= maxHeight),
9449
9466
  frame = new Frame(0, 0, (richTextWidthEnable ? width : maxWidthFinite ? maxWidth : 0) || 0, (richTextHeightEnable ? height : maxHeightFinite ? maxHeight : 0) || 0, ellipsis, wordBreak, verticalDirection, textAlign, textBaseline, layoutDirection || "horizontal", !richTextWidthEnable && maxWidthFinite, !richTextHeightEnable && maxHeightFinite, singleLine || !1, null === (_a = this._frameCache) || void 0 === _a ? void 0 : _a.icons),
9450
9467
  wrapper = new Wrapper(frame);
9451
- if (wrapper.newLine = editable, disableAutoWrapLine) {
9468
+ if (wrapper.newLine = enableMultiBreakLine, disableAutoWrapLine) {
9452
9469
  let lineCount = 0,
9453
9470
  skip = !1;
9454
9471
  for (let i = 0; i < paragraphs.length; i++) {
@@ -9464,7 +9481,7 @@ class RichText extends Graphic {
9464
9481
  l.calcOffset(offsetSize, !1);
9465
9482
  });
9466
9483
  }
9467
- editable && frame.lines.forEach(item => {
9484
+ enableMultiBreakLine && frame.lines.forEach(item => {
9468
9485
  const lastParagraphs = item.paragraphs;
9469
9486
  item.paragraphs = item.paragraphs.filter(p => "" !== p.text), 0 === item.paragraphs.length && lastParagraphs.length && (lastParagraphs[0].text = "\n", item.paragraphs.push(lastParagraphs[0]));
9470
9487
  }), this._frameCache = frame;
@@ -31255,6 +31272,6 @@ StoryLabelItem.defaultAttributes = {
31255
31272
  theme: 'default'
31256
31273
  };
31257
31274
 
31258
- const version = "0.22.0-vstory.14";
31275
+ const version = "0.22.0-vstory.16";
31259
31276
 
31260
31277
  export { AXIS_ELEMENT_NAME, AbstractComponent, ArcInfo, ArcLabel, ArcSegment, AxisStateValue, BasePlayer, Brush, CheckBox, CircleAxis, CircleAxisGrid, CircleCrosshair, ColorContinuousLegend, ContinuousPlayer, DEFAULT_ITEM_SPACE_COL, DEFAULT_ITEM_SPACE_ROW, DEFAULT_LABEL_SPACE, DEFAULT_PAGER_SPACE, DEFAULT_SHAPE_SIZE, DEFAULT_SHAPE_SPACE, DEFAULT_STATES$1 as DEFAULT_STATES, DEFAULT_TITLE_SPACE, DEFAULT_VALUE_SPACE, DataLabel, DataZoom, DataZoomActiveTag, DirectionEnum, DiscreteLegend, DiscretePlayer, EmptyTip, GroupTransition, IMarkAreaLabelPosition, IMarkCommonArcLabelPosition, IMarkLineLabelPosition, IMarkPointItemPosition, IOperateType, Indicator, LEGEND_ELEMENT_NAME, LabelBase, LegendEvent, LegendStateValue, LineAxis, LineAxisGrid, LineCrosshair, LineLabel, LinkPath, MarkArcArea, MarkArcLine, MarkArea, MarkLine, MarkPoint, Pager, PlayerEventEnum, PolygonCrosshair, PolygonSectorCrosshair, PopTip, Radio, RectCrosshair, RectLabel, SLIDER_ELEMENT_NAME, ScrollBar, SectorCrosshair, Segment, SizeContinuousLegend, Slider, StoryLabelItem, Switch, SymbolLabel, 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 };
package/es/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const version = "0.22.0-vstory.14";
1
+ export declare const version = "0.22.0-vstory.16";
2
2
  export * from './core/base';
3
3
  export * from './core/type';
4
4
  export * from './scrollbar';
package/es/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export const version = "0.22.0-vstory.14";
1
+ export const version = "0.22.0-vstory.16";
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,kBAAkB,CAAC;AAE1C,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","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"0.22.0-vstory.14\";\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';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,OAAO,GAAG,kBAAkB,CAAC;AAE1C,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","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"0.22.0-vstory.16\";\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';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vrender-components",
3
- "version": "0.22.0-vstory.14",
3
+ "version": "0.22.0-vstory.16",
4
4
  "description": "components library for dp visualization",
5
5
  "sideEffects": false,
6
6
  "main": "cjs/index.js",
@@ -12,14 +12,14 @@
12
12
  "dist"
13
13
  ],
14
14
  "dependencies": {
15
- "@visactor/vutils": "~0.19.3",
16
- "@visactor/vscale": "~0.19.3",
17
- "@visactor/vrender-core": "0.22.0-vstory.14",
18
- "@visactor/vrender-kits": "0.22.0-vstory.14"
15
+ "@visactor/vutils": "~0.19.4",
16
+ "@visactor/vscale": "~0.19.4",
17
+ "@visactor/vrender-core": "0.22.0-vstory.16",
18
+ "@visactor/vrender-kits": "0.22.0-vstory.16"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@rushstack/eslint-patch": "~1.1.4",
22
- "@visactor/vscale": "~0.19.3",
22
+ "@visactor/vscale": "~0.19.4",
23
23
  "@types/jest": "^26.0.0",
24
24
  "jest": "^26.0.0",
25
25
  "jest-electron": "^0.1.12",
@@ -30,8 +30,8 @@
30
30
  "typescript": "4.9.5",
31
31
  "cross-env": "^7.0.3",
32
32
  "@internal/bundler": "0.0.1",
33
- "@internal/ts-config": "0.0.1",
34
- "@internal/eslint-config": "0.0.1"
33
+ "@internal/eslint-config": "0.0.1",
34
+ "@internal/ts-config": "0.0.1"
35
35
  },
36
36
  "keywords": [
37
37
  "VisActor",