@visactor/vrender-components 1.0.13-alpha.1 → 1.0.14-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.
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/dist/index.es.js +58 -30
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +4 -4
package/cjs/index.d.ts
CHANGED
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.
|
|
20
|
+
}), exports.version = void 0, exports.version = "1.0.14-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","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.0.
|
|
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","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.0.14-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';\n"]}
|
package/dist/index.es.js
CHANGED
|
@@ -2734,6 +2734,34 @@ class GradientParser {
|
|
|
2734
2734
|
}
|
|
2735
2735
|
return c;
|
|
2736
2736
|
}
|
|
2737
|
+
static processColorStops(colorStops) {
|
|
2738
|
+
if (!colorStops || 0 === colorStops.length) return [];
|
|
2739
|
+
if (colorStops.some(item => item.length)) {
|
|
2740
|
+
const stops = colorStops.map(item => ({
|
|
2741
|
+
color: item.value,
|
|
2742
|
+
offset: item.length ? parseFloat(item.length.value) / 100 : -1
|
|
2743
|
+
}));
|
|
2744
|
+
stops[0].offset < 0 && (stops[0].offset = 0), stops[stops.length - 1].offset < 0 && (stops[stops.length - 1].offset = 1);
|
|
2745
|
+
for (let i = 1; i < stops.length - 1; i++) if (stops[i].offset < 0) {
|
|
2746
|
+
const prevWithOffsetIdx = i - 1;
|
|
2747
|
+
let nextWithOffsetIdx = i + 1;
|
|
2748
|
+
for (; nextWithOffsetIdx < stops.length && stops[nextWithOffsetIdx].offset < 0;) nextWithOffsetIdx++;
|
|
2749
|
+
const startOffset = stops[prevWithOffsetIdx].offset,
|
|
2750
|
+
endOffset = stops[nextWithOffsetIdx].offset,
|
|
2751
|
+
unspecCount = nextWithOffsetIdx - prevWithOffsetIdx;
|
|
2752
|
+
for (let j = 1; j < unspecCount; j++) stops[prevWithOffsetIdx + j].offset = startOffset + (endOffset - startOffset) * j / unspecCount;
|
|
2753
|
+
i = nextWithOffsetIdx - 1;
|
|
2754
|
+
}
|
|
2755
|
+
return stops;
|
|
2756
|
+
}
|
|
2757
|
+
return colorStops.map((item, index) => {
|
|
2758
|
+
const offset = colorStops.length > 1 ? index / (colorStops.length - 1) : 0;
|
|
2759
|
+
return {
|
|
2760
|
+
color: item.value,
|
|
2761
|
+
offset: offset
|
|
2762
|
+
};
|
|
2763
|
+
});
|
|
2764
|
+
}
|
|
2737
2765
|
static ParseConic(datum) {
|
|
2738
2766
|
const {
|
|
2739
2767
|
orientation: orientation,
|
|
@@ -2747,10 +2775,7 @@ class GradientParser {
|
|
|
2747
2775
|
y: .5,
|
|
2748
2776
|
startAngle: sa,
|
|
2749
2777
|
endAngle: sa + pi2,
|
|
2750
|
-
stops:
|
|
2751
|
-
color: item.value,
|
|
2752
|
-
offset: parseFloat(item.length.value) / 100
|
|
2753
|
-
}))
|
|
2778
|
+
stops: GradientParser.processColorStops(colorStops)
|
|
2754
2779
|
};
|
|
2755
2780
|
}
|
|
2756
2781
|
static ParseRadial(datum) {
|
|
@@ -2765,10 +2790,7 @@ class GradientParser {
|
|
|
2765
2790
|
y1: .5,
|
|
2766
2791
|
r0: 0,
|
|
2767
2792
|
r1: 1,
|
|
2768
|
-
stops:
|
|
2769
|
-
color: item.value,
|
|
2770
|
-
offset: parseFloat(item.length.value) / 100
|
|
2771
|
-
}))
|
|
2793
|
+
stops: GradientParser.processColorStops(colorStops)
|
|
2772
2794
|
};
|
|
2773
2795
|
}
|
|
2774
2796
|
static ParseLinear(datum) {
|
|
@@ -2790,10 +2812,7 @@ class GradientParser {
|
|
|
2790
2812
|
y0: y0,
|
|
2791
2813
|
x1: x1,
|
|
2792
2814
|
y1: y1,
|
|
2793
|
-
stops:
|
|
2794
|
-
color: item.value,
|
|
2795
|
-
offset: parseFloat(item.length.value) / 100
|
|
2796
|
-
}))
|
|
2815
|
+
stops: GradientParser.processColorStops(colorStops)
|
|
2797
2816
|
};
|
|
2798
2817
|
}
|
|
2799
2818
|
}
|
|
@@ -2989,6 +3008,9 @@ var __decorate$P = undefined && undefined.__decorate || function (decorators, ta
|
|
|
2989
3008
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2990
3009
|
};
|
|
2991
3010
|
let ATextMeasure = class {
|
|
3011
|
+
constructor() {
|
|
3012
|
+
this.id = "ATextMeasure";
|
|
3013
|
+
}
|
|
2992
3014
|
configure(service, env) {
|
|
2993
3015
|
this.canvas = service.canvas, this.context = service.context, service.bindTextMeasure(this);
|
|
2994
3016
|
}
|
|
@@ -3381,7 +3403,11 @@ var __decorate$O = undefined && undefined.__decorate || function (decorators, ta
|
|
|
3381
3403
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3382
3404
|
};
|
|
3383
3405
|
const TextMeasureContribution = Symbol.for("TextMeasureContribution");
|
|
3384
|
-
let DefaultTextMeasureContribution = class extends ATextMeasure {
|
|
3406
|
+
let DefaultTextMeasureContribution = class extends ATextMeasure {
|
|
3407
|
+
constructor() {
|
|
3408
|
+
super(...arguments), this.id = "DefaultTextMeasureContribution";
|
|
3409
|
+
}
|
|
3410
|
+
};
|
|
3385
3411
|
DefaultTextMeasureContribution = __decorate$O([injectable()], DefaultTextMeasureContribution);
|
|
3386
3412
|
|
|
3387
3413
|
const container = new Container();
|
|
@@ -3961,13 +3987,17 @@ let DefaultGraphicUtil = class {
|
|
|
3961
3987
|
return this.tryInitCanvas(), this._context;
|
|
3962
3988
|
}
|
|
3963
3989
|
constructor(contributions) {
|
|
3964
|
-
this.contributions = contributions, this.configured = !1, this.global = application.global, this.global.hooks.onSetEnv.tap("graphic-util", (lastEnv, env, global) => {
|
|
3990
|
+
this.contributions = contributions, this.configured = !1, this.global = application.global, this._textMeasureMap = new Map(), this.global.hooks.onSetEnv.tap("graphic-util", (lastEnv, env, global) => {
|
|
3965
3991
|
this.configured = !1, this.configure(global, env);
|
|
3966
3992
|
});
|
|
3967
3993
|
}
|
|
3968
3994
|
get textMeasure() {
|
|
3969
3995
|
return this._textMeasure || this.configure(this.global, this.global.env), this._textMeasure;
|
|
3970
3996
|
}
|
|
3997
|
+
getTextMeasureInstance(textMeasureId) {
|
|
3998
|
+
if (!textMeasureId) return this.textMeasure;
|
|
3999
|
+
return this._textMeasureMap.get(textMeasureId) || this.textMeasure;
|
|
4000
|
+
}
|
|
3971
4001
|
configure(global, env) {
|
|
3972
4002
|
this.configured || (this.contributions.getContributions().forEach(contribution => {
|
|
3973
4003
|
contribution.configure(this, env);
|
|
@@ -3980,7 +4010,7 @@ let DefaultGraphicUtil = class {
|
|
|
3980
4010
|
}
|
|
3981
4011
|
}
|
|
3982
4012
|
bindTextMeasure(tm) {
|
|
3983
|
-
this._textMeasure = tm;
|
|
4013
|
+
this._textMeasure && "DefaultTextMeasureContribution" !== tm.id || (this._textMeasure = tm), this._textMeasureMap.has(tm.id) || this._textMeasureMap.set(tm.id, tm);
|
|
3984
4014
|
}
|
|
3985
4015
|
measureText(text, tc, method = "native") {
|
|
3986
4016
|
var _a;
|
|
@@ -7917,7 +7947,7 @@ class Text extends Graphic {
|
|
|
7917
7947
|
return fontSize ? .1 * fontSize : 0;
|
|
7918
7948
|
}
|
|
7919
7949
|
updateHorizontalMultilineAABBBounds(text) {
|
|
7920
|
-
var _a;
|
|
7950
|
+
var _a, _b;
|
|
7921
7951
|
const textTheme = this.getGraphicTheme(),
|
|
7922
7952
|
attribute = this.attribute,
|
|
7923
7953
|
{
|
|
@@ -7944,7 +7974,7 @@ class Text extends Graphic {
|
|
|
7944
7974
|
const bbox = this.cache.layoutData.bbox;
|
|
7945
7975
|
return this._AABBBounds.set(bbox.xOffset, bbox.yOffset, bbox.xOffset + bbox.width, bbox.yOffset + bbox.height), stroke && this._AABBBounds.expand(lineWidth / 2), this._AABBBounds;
|
|
7946
7976
|
}
|
|
7947
|
-
const textMeasure = application.graphicUtil.
|
|
7977
|
+
const textMeasure = application.graphicUtil.getTextMeasureInstance(this.textMeasureId || (null === (_b = this.stage) || void 0 === _b ? void 0 : _b.textMeasureId)),
|
|
7948
7978
|
layoutData = new CanvasTextLayout(fontFamily, {
|
|
7949
7979
|
fontSize: fontSize,
|
|
7950
7980
|
fontWeight: fontWeight,
|
|
@@ -7962,7 +7992,7 @@ class Text extends Graphic {
|
|
|
7962
7992
|
return this.cache.layoutData = layoutData, this.clearUpdateShapeTag(), this._AABBBounds.set(bbox.xOffset, bbox.yOffset, bbox.xOffset + bbox.width, bbox.yOffset + bbox.height), stroke && this._AABBBounds.expand(lineWidth / 2), this._AABBBounds;
|
|
7963
7993
|
}
|
|
7964
7994
|
updateWrapAABBBounds(text) {
|
|
7965
|
-
var _a, _b, _c;
|
|
7995
|
+
var _a, _b, _c, _d;
|
|
7966
7996
|
const textTheme = this.getGraphicTheme(),
|
|
7967
7997
|
{
|
|
7968
7998
|
fontFamily = textTheme.fontFamily,
|
|
@@ -7988,7 +8018,7 @@ class Text extends Graphic {
|
|
|
7988
8018
|
const bbox = this.cache.layoutData.bbox;
|
|
7989
8019
|
return this._AABBBounds.set(bbox.xOffset, bbox.yOffset, bbox.xOffset + bbox.width, bbox.yOffset + bbox.height), stroke && this._AABBBounds.expand(lineWidth / 2), this._AABBBounds;
|
|
7990
8020
|
}
|
|
7991
|
-
const textMeasure = application.graphicUtil.
|
|
8021
|
+
const textMeasure = application.graphicUtil.getTextMeasureInstance(this.textMeasureId || (null === (_b = this.stage) || void 0 === _b ? void 0 : _b.textMeasureId)),
|
|
7992
8022
|
textOptions = {
|
|
7993
8023
|
fontSize: fontSize,
|
|
7994
8024
|
fontWeight: fontWeight,
|
|
@@ -8020,7 +8050,7 @@ class Text extends Graphic {
|
|
|
8020
8050
|
if ("" !== str && "" === clip.str || clip.wordBreaked) {
|
|
8021
8051
|
if (ellipsis) {
|
|
8022
8052
|
const clipEllipsis = textMeasure.clipTextWithSuffix(str, textOptions, maxLineWidth, ellipsis, !1, suffixPosition);
|
|
8023
|
-
clip.str = null !== (
|
|
8053
|
+
clip.str = null !== (_c = clipEllipsis.str) && void 0 !== _c ? _c : "", clip.width = null !== (_d = clipEllipsis.width) && void 0 !== _d ? _d : 0;
|
|
8024
8054
|
} else clip.str = "", clip.width = 0;
|
|
8025
8055
|
needCut = !1;
|
|
8026
8056
|
}
|
|
@@ -8083,9 +8113,9 @@ class Text extends Graphic {
|
|
|
8083
8113
|
return this.cache.layoutData = layoutData, this.clearUpdateShapeTag(), this._AABBBounds.set(bbox.xOffset, bbox.yOffset, bbox.xOffset + bbox.width, bbox.yOffset + bbox.height), stroke && this._AABBBounds.expand(lineWidth / 2), this._AABBBounds;
|
|
8084
8114
|
}
|
|
8085
8115
|
updateVerticalMultilineAABBBounds(text) {
|
|
8086
|
-
var _a, _b;
|
|
8116
|
+
var _a, _b, _c;
|
|
8087
8117
|
const textTheme = this.getGraphicTheme(),
|
|
8088
|
-
textMeasure = application.graphicUtil.
|
|
8118
|
+
textMeasure = application.graphicUtil.getTextMeasureInstance(this.textMeasureId || (null === (_a = this.stage) || void 0 === _a ? void 0 : _a.textMeasureId));
|
|
8089
8119
|
let width;
|
|
8090
8120
|
const attribute = this.attribute,
|
|
8091
8121
|
{
|
|
@@ -8106,7 +8136,7 @@ class Text extends Graphic {
|
|
|
8106
8136
|
} = attribute;
|
|
8107
8137
|
if (!verticalMode) {
|
|
8108
8138
|
const t = textAlign;
|
|
8109
|
-
textAlign = null !== (
|
|
8139
|
+
textAlign = null !== (_b = Text.baselineMapAlign[textBaseline]) && void 0 !== _b ? _b : "left", textBaseline = null !== (_c = Text.alignMapBaseline[t]) && void 0 !== _c ? _c : "top";
|
|
8110
8140
|
}
|
|
8111
8141
|
if (width = 0, !this.shouldUpdateShape() && this.cache) {
|
|
8112
8142
|
this.cache.verticalList.forEach(item => {
|
|
@@ -8220,7 +8250,7 @@ class WrapText extends Text {
|
|
|
8220
8250
|
return isArray(text) ? !text.every(t => null == t || "" === t) : null != text && "" !== text;
|
|
8221
8251
|
}
|
|
8222
8252
|
updateMultilineAABBBounds(text) {
|
|
8223
|
-
var _a, _b, _c, _d;
|
|
8253
|
+
var _a, _b, _c, _d, _e;
|
|
8224
8254
|
const textTheme = this.getGraphicTheme(),
|
|
8225
8255
|
{
|
|
8226
8256
|
fontFamily = textTheme.fontFamily,
|
|
@@ -8244,7 +8274,7 @@ class WrapText extends Text {
|
|
|
8244
8274
|
const bbox = this.cache.layoutData.bbox;
|
|
8245
8275
|
return this._AABBBounds.set(bbox.xOffset, bbox.yOffset, bbox.xOffset + bbox.width, bbox.yOffset + bbox.height), stroke && this._AABBBounds.expand(lineWidth / 2), this._AABBBounds;
|
|
8246
8276
|
}
|
|
8247
|
-
const textMeasure = application.graphicUtil.
|
|
8277
|
+
const textMeasure = application.graphicUtil.getTextMeasureInstance(this.textMeasureId || (null === (_c = this.stage) || void 0 === _c ? void 0 : _c.textMeasureId)),
|
|
8248
8278
|
layoutObj = new CanvasTextLayout(fontFamily, {
|
|
8249
8279
|
fontSize: fontSize,
|
|
8250
8280
|
fontWeight: fontWeight,
|
|
@@ -8273,7 +8303,7 @@ class WrapText extends Text {
|
|
|
8273
8303
|
if ("" !== str && "" === clip.str) {
|
|
8274
8304
|
if (ellipsis) {
|
|
8275
8305
|
const clipEllipsis = layoutObj.textMeasure.clipTextWithSuffix(str, layoutObj.textOptions, maxLineWidth, ellipsis, !1, suffixPosition);
|
|
8276
|
-
clip.str = null !== (
|
|
8306
|
+
clip.str = null !== (_d = clipEllipsis.str) && void 0 !== _d ? _d : "", clip.width = null !== (_e = clipEllipsis.width) && void 0 !== _e ? _e : 0;
|
|
8277
8307
|
} else clip.str = "", clip.width = 0;
|
|
8278
8308
|
needCut = !1;
|
|
8279
8309
|
}
|
|
@@ -9377,7 +9407,7 @@ class RichText extends Graphic {
|
|
|
9377
9407
|
case "right":
|
|
9378
9408
|
deltaX = -aabbBounds.width();
|
|
9379
9409
|
}
|
|
9380
|
-
return aabbBounds.translate(deltaX, deltaY), application.graphicService.updateTempAABBBounds(aabbBounds), null == attribute.forceBoundsHeight && null == attribute.forceBoundsWidth || application.graphicService.updateHTMLTextAABBBounds(attribute, richtextTheme, aabbBounds), this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1, application.graphicService.transformAABBBounds(attribute, aabbBounds, richtextTheme, !1, this), 0 === aabbBounds.width() && 0 === aabbBounds.height() && aabbBounds.clear(), aabbBounds;
|
|
9410
|
+
return height || ("middle" === this.verticalDirection ? deltaY -= aabbBounds.height() / 2 : "bottom" === this.verticalDirection && (deltaY -= aabbBounds.height())), aabbBounds.translate(deltaX, deltaY), application.graphicService.updateTempAABBBounds(aabbBounds), null == attribute.forceBoundsHeight && null == attribute.forceBoundsWidth || application.graphicService.updateHTMLTextAABBBounds(attribute, richtextTheme, aabbBounds), this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1, application.graphicService.transformAABBBounds(attribute, aabbBounds, richtextTheme, !1, this), 0 === aabbBounds.width() && 0 === aabbBounds.height() && aabbBounds.clear(), aabbBounds;
|
|
9381
9411
|
}
|
|
9382
9412
|
needUpdateTags(keys) {
|
|
9383
9413
|
return super.needUpdateTags(keys, RICHTEXT_UPDATE_TAG_KEY);
|
|
@@ -18815,8 +18845,6 @@ class WaitStep extends Step {
|
|
|
18815
18845
|
}
|
|
18816
18846
|
onStart() {
|
|
18817
18847
|
super.onStart();
|
|
18818
|
-
}
|
|
18819
|
-
onFirstRun() {
|
|
18820
18848
|
const fromProps = this.getFromProps();
|
|
18821
18849
|
this.target.setAttributes(fromProps);
|
|
18822
18850
|
}
|
|
@@ -33167,6 +33195,6 @@ StoryLabelItem.defaultAttributes = {
|
|
|
33167
33195
|
theme: 'default'
|
|
33168
33196
|
};
|
|
33169
33197
|
|
|
33170
|
-
const version = "1.0.
|
|
33198
|
+
const version = "1.0.14-alpha.0";
|
|
33171
33199
|
|
|
33172
33200
|
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
package/es/index.js
CHANGED
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","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.0.
|
|
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","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"1.0.14-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';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/vrender-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14-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.6",
|
|
16
16
|
"@visactor/vscale": "1.0.6",
|
|
17
|
-
"@visactor/vrender-core": "1.0.
|
|
18
|
-
"@visactor/vrender-kits": "1.0.
|
|
19
|
-
"@visactor/vrender-animate": "1.0.
|
|
17
|
+
"@visactor/vrender-core": "1.0.14-alpha.0",
|
|
18
|
+
"@visactor/vrender-kits": "1.0.14-alpha.0",
|
|
19
|
+
"@visactor/vrender-animate": "1.0.14-alpha.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@rushstack/eslint-patch": "~1.1.4",
|