@visactor/vchart 2.0.12 → 2.0.13-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/build/es5/index.js +1 -1
- package/build/index.es.js +31 -27
- package/build/index.js +31 -27
- package/build/index.min.js +2 -2
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/animation/callback-disappear.js +2 -3
- package/cjs/animation/callback-disappear.js.map +1 -1
- package/cjs/animation/index.js +2 -1
- package/cjs/animation/interface.d.ts +1 -1
- package/cjs/animation/interface.js.map +1 -1
- package/cjs/compile/compiler.js +1 -1
- package/cjs/compile/grammar-item.js +1 -1
- package/cjs/compile/morph.js +1 -1
- package/cjs/compile/state-manager.js +1 -1
- package/cjs/compile/util.js +1 -1
- package/cjs/component/marker/mark-point/base-mark-point.js +22 -20
- package/cjs/component/marker/mark-point/base-mark-point.js.map +1 -1
- package/cjs/component/tooltip/utils/show-tooltip.js +10 -2
- package/cjs/component/tooltip/utils/show-tooltip.js.map +1 -1
- package/cjs/component/util.js +2 -1
- package/cjs/constant/data.js +1 -2
- package/cjs/constant/gradient.js +2 -1
- package/cjs/constant/sunburst.js +1 -1
- package/cjs/constant/waterfall.js +1 -1
- package/cjs/constant/word-cloud.js +1 -1
- package/cjs/core/index.js +1 -2
- package/cjs/env/env.js +1 -1
- package/cjs/env/index.js +1 -1
- package/esm/animation/callback-disappear.js +2 -3
- package/esm/animation/callback-disappear.js.map +1 -1
- package/esm/animation/index.js +2 -1
- package/esm/animation/interface.d.ts +1 -1
- package/esm/animation/interface.js.map +1 -1
- package/esm/compile/compiler.js +1 -1
- package/esm/compile/grammar-item.js +1 -1
- package/esm/compile/morph.js +1 -1
- package/esm/compile/state-manager.js +1 -1
- package/esm/compile/util.js +1 -1
- package/esm/component/marker/mark-point/base-mark-point.js +22 -20
- package/esm/component/marker/mark-point/base-mark-point.js.map +1 -1
- package/esm/component/tooltip/utils/show-tooltip.js +10 -2
- package/esm/component/tooltip/utils/show-tooltip.js.map +1 -1
- package/esm/component/util.js +2 -1
- package/esm/constant/data.js +1 -2
- package/esm/constant/gradient.js +2 -1
- package/esm/constant/sunburst.js +1 -1
- package/esm/constant/waterfall.js +1 -1
- package/esm/constant/word-cloud.js +1 -1
- package/esm/core/index.js +1 -2
- package/esm/env/env.js +1 -1
- package/esm/env/index.js +1 -1
- package/package.json +5 -5
package/build/index.es.js
CHANGED
|
@@ -59687,7 +59687,7 @@ class CallbackDisappearAnimate extends AStageAnimate {
|
|
|
59687
59687
|
}
|
|
59688
59688
|
afterStageRender(stage, canvas) {
|
|
59689
59689
|
var _a, _b;
|
|
59690
|
-
(_b = (_a = this.params) === null || _a === void 0 ? void 0 : _a.callBack) === null || _b === void 0 ? void 0 : _b.call(_a, stage, canvas, this.currentAnimationRatio, this.animationTime);
|
|
59690
|
+
return (_b = (_a = this.params) === null || _a === void 0 ? void 0 : _a.callBack) === null || _b === void 0 ? void 0 : _b.call(_a, stage, canvas, this.currentAnimationRatio, this.animationTime);
|
|
59691
59691
|
}
|
|
59692
59692
|
}
|
|
59693
59693
|
|
|
@@ -95659,11 +95659,15 @@ function showTooltip(datum, options, component) {
|
|
|
95659
95659
|
});
|
|
95660
95660
|
return originDatum;
|
|
95661
95661
|
};
|
|
95662
|
+
const transform = region.getOption().globalInstance.getStage().window.getViewBoxTransform().getInverse();
|
|
95662
95663
|
const getMockEvent = (originPos) => {
|
|
95663
95664
|
var _a, _b;
|
|
95664
95665
|
const pos = bound(originPos);
|
|
95665
|
-
const
|
|
95666
|
-
const
|
|
95666
|
+
const tempX = (_a = opt.x) !== null && _a !== void 0 ? _a : regionPos.x + pos.x;
|
|
95667
|
+
const tempY = (_b = opt.y) !== null && _b !== void 0 ? _b : regionPos.y + pos.y;
|
|
95668
|
+
const canvasPoint = { x: 0, y: 0 };
|
|
95669
|
+
transform.transformPoint({ x: tempX, y: tempY }, canvasPoint);
|
|
95670
|
+
const { x: canvasX, y: canvasY } = canvasPoint;
|
|
95667
95671
|
return {
|
|
95668
95672
|
canvasX,
|
|
95669
95673
|
canvasY,
|
|
@@ -102732,9 +102736,9 @@ class BaseMarkPoint extends BaseMarker {
|
|
|
102732
102736
|
return 'cartesian';
|
|
102733
102737
|
}
|
|
102734
102738
|
_createMarkerComponent() {
|
|
102735
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7;
|
|
102739
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8;
|
|
102736
102740
|
const { itemContent = {}, itemLine = {}, targetSymbol = {} } = this._spec;
|
|
102737
|
-
const
|
|
102741
|
+
const _9 = itemContent, { type = 'text', text: label, symbol, image, richText, customMark, textStyle, symbolStyle, imageStyle, richTextStyle, customMarkStyle, style = {}, state = {} } = _9, restItemContent = __rest$e(_9, ["type", "text", "symbol", "image", "richText", "customMark", "textStyle", "symbolStyle", "imageStyle", "richTextStyle", "customMarkStyle", "style", "state"]);
|
|
102738
102742
|
let itemContentState = null;
|
|
102739
102743
|
let itemContentStyle = null;
|
|
102740
102744
|
let defaultStyle = {};
|
|
@@ -102744,61 +102748,61 @@ class BaseMarkPoint extends BaseMarker {
|
|
|
102744
102748
|
dx: 0,
|
|
102745
102749
|
dy: 0
|
|
102746
102750
|
};
|
|
102747
|
-
itemContentStyle = transformLabelAttributes(merge$1(defaultStyle, (_b = label
|
|
102751
|
+
itemContentStyle = transformLabelAttributes(Object.assign(Object.assign({}, label), { style: merge$1(defaultStyle, (_c = (_b = label === null || label === void 0 ? void 0 : label.textStyle) !== null && _b !== void 0 ? _b : textStyle) !== null && _c !== void 0 ? _c : style) }), this._markerData, this._markAttributeContext);
|
|
102748
102752
|
}
|
|
102749
102753
|
else if (type === 'richText') {
|
|
102750
|
-
itemContentState = (
|
|
102754
|
+
itemContentState = (_d = richText === null || richText === void 0 ? void 0 : richText.state) !== null && _d !== void 0 ? _d : state;
|
|
102751
102755
|
defaultStyle = {
|
|
102752
102756
|
width: 100,
|
|
102753
102757
|
height: 100
|
|
102754
102758
|
};
|
|
102755
|
-
itemContentStyle = transformStyle(merge$1(defaultStyle, (
|
|
102759
|
+
itemContentStyle = transformStyle(merge$1(defaultStyle, (_f = (_e = richText === null || richText === void 0 ? void 0 : richText.style) !== null && _e !== void 0 ? _e : richTextStyle) !== null && _f !== void 0 ? _f : style), this._markerData, this._markAttributeContext);
|
|
102756
102760
|
}
|
|
102757
102761
|
else if (type === 'symbol') {
|
|
102758
|
-
itemContentState = (
|
|
102762
|
+
itemContentState = (_g = symbol === null || symbol === void 0 ? void 0 : symbol.state) !== null && _g !== void 0 ? _g : state;
|
|
102759
102763
|
defaultStyle = {
|
|
102760
102764
|
symbolType: 'star',
|
|
102761
102765
|
fill: 'rgb(48, 115, 242)',
|
|
102762
102766
|
fillOpacity: 0.8,
|
|
102763
102767
|
size: 20
|
|
102764
102768
|
};
|
|
102765
|
-
itemContentStyle = transformToGraphic(transformStyle(merge$1(defaultStyle, (
|
|
102769
|
+
itemContentStyle = transformToGraphic(transformStyle(merge$1(defaultStyle, (_j = (_h = symbol === null || symbol === void 0 ? void 0 : symbol.style) !== null && _h !== void 0 ? _h : symbolStyle) !== null && _j !== void 0 ? _j : style), this._markerData, this._markAttributeContext));
|
|
102766
102770
|
}
|
|
102767
102771
|
else if (type === 'image') {
|
|
102768
|
-
itemContentState = (
|
|
102772
|
+
itemContentState = (_k = image === null || image === void 0 ? void 0 : image.state) !== null && _k !== void 0 ? _k : state;
|
|
102769
102773
|
defaultStyle = {
|
|
102770
102774
|
width: 80,
|
|
102771
102775
|
height: 80
|
|
102772
102776
|
};
|
|
102773
|
-
itemContentStyle = transformStyle(merge$1(defaultStyle, (
|
|
102777
|
+
itemContentStyle = transformStyle(merge$1(defaultStyle, (_m = (_l = image === null || image === void 0 ? void 0 : image.style) !== null && _l !== void 0 ? _l : imageStyle) !== null && _m !== void 0 ? _m : style), this._markerData, this._markAttributeContext);
|
|
102774
102778
|
}
|
|
102775
102779
|
else if (type === 'custom') {
|
|
102776
|
-
itemContentState = (
|
|
102777
|
-
itemContentStyle = transformStyle((
|
|
102780
|
+
itemContentState = (_o = customMark === null || customMark === void 0 ? void 0 : customMark.state) !== null && _o !== void 0 ? _o : state;
|
|
102781
|
+
itemContentStyle = transformStyle((_q = (_p = customMark === null || customMark === void 0 ? void 0 : customMark.style) !== null && _p !== void 0 ? _p : customMarkStyle) !== null && _q !== void 0 ? _q : style, this._markerData, this._markAttributeContext);
|
|
102778
102782
|
}
|
|
102779
102783
|
const markPointAttrs = {
|
|
102780
102784
|
zIndex: this.layoutZIndex,
|
|
102781
|
-
interactive: (
|
|
102782
|
-
hover: (
|
|
102783
|
-
select: (
|
|
102785
|
+
interactive: (_r = this._spec.interactive) !== null && _r !== void 0 ? _r : true,
|
|
102786
|
+
hover: (_s = this._spec.interactive) !== null && _s !== void 0 ? _s : true,
|
|
102787
|
+
select: (_t = this._spec.interactive) !== null && _t !== void 0 ? _t : true,
|
|
102784
102788
|
position: { x: 0, y: 0 },
|
|
102785
|
-
clipInRange: (
|
|
102789
|
+
clipInRange: (_u = this._spec.clip) !== null && _u !== void 0 ? _u : false,
|
|
102786
102790
|
itemContent: Object.assign(Object.assign({ type, offsetX: transformOffset(itemContent.offsetX, this._relativeSeries.getRegion()), offsetY: transformOffset(itemContent.offsetX, this._relativeSeries.getRegion()) }, restItemContent), { style: transformStyle(itemContentStyle, this._markerData, this._markAttributeContext) }),
|
|
102787
102791
|
targetSymbol: {
|
|
102788
|
-
offset: (
|
|
102789
|
-
visible: (
|
|
102790
|
-
size: (
|
|
102792
|
+
offset: (_v = targetSymbol.offset) !== null && _v !== void 0 ? _v : 0,
|
|
102793
|
+
visible: (_w = targetSymbol.visible) !== null && _w !== void 0 ? _w : false,
|
|
102794
|
+
size: (_x = targetSymbol.size) !== null && _x !== void 0 ? _x : 20,
|
|
102791
102795
|
style: transformStyle(targetSymbol.style, this._markerData, this._markAttributeContext)
|
|
102792
102796
|
},
|
|
102793
102797
|
state: {
|
|
102794
|
-
line: transformState((
|
|
102795
|
-
lineStartSymbol: transformState((
|
|
102796
|
-
lineEndSymbol: transformState((
|
|
102798
|
+
line: transformState((_z = (_y = this._spec.itemLine.line) === null || _y === void 0 ? void 0 : _y.state) !== null && _z !== void 0 ? _z : {}, this._markerData, this._markAttributeContext),
|
|
102799
|
+
lineStartSymbol: transformState((_1 = (_0 = this._spec.itemLine.startSymbol) === null || _0 === void 0 ? void 0 : _0.state) !== null && _1 !== void 0 ? _1 : {}, this._markerData, this._markAttributeContext),
|
|
102800
|
+
lineEndSymbol: transformState((_3 = (_2 = this._spec.itemLine.endSymbol) === null || _2 === void 0 ? void 0 : _2.state) !== null && _3 !== void 0 ? _3 : {}, this._markerData, this._markAttributeContext),
|
|
102797
102801
|
itemContent: transformState(itemContentState, this._markerData, this._markAttributeContext),
|
|
102798
|
-
textBackground: transformState((
|
|
102799
|
-
targetItem: transformState((
|
|
102802
|
+
textBackground: transformState((_5 = (_4 = this._spec.itemContent.text) === null || _4 === void 0 ? void 0 : _4.labelBackground) === null || _5 === void 0 ? void 0 : _5.state, this._markerData, this._markAttributeContext),
|
|
102803
|
+
targetItem: transformState((_7 = (_6 = this._spec.targetSymbol) === null || _6 === void 0 ? void 0 : _6.state) !== null && _7 !== void 0 ? _7 : {}, this._markerData, this._markAttributeContext)
|
|
102800
102804
|
},
|
|
102801
|
-
animation: (
|
|
102805
|
+
animation: (_8 = this._spec.animation) !== null && _8 !== void 0 ? _8 : false,
|
|
102802
102806
|
animationEnter: this._spec.animationEnter,
|
|
102803
102807
|
animationExit: this._spec.animationExit,
|
|
102804
102808
|
animationUpdate: this._spec.animationUpdate
|
package/build/index.js
CHANGED
|
@@ -59693,7 +59693,7 @@
|
|
|
59693
59693
|
}
|
|
59694
59694
|
afterStageRender(stage, canvas) {
|
|
59695
59695
|
var _a, _b;
|
|
59696
|
-
(_b = (_a = this.params) === null || _a === void 0 ? void 0 : _a.callBack) === null || _b === void 0 ? void 0 : _b.call(_a, stage, canvas, this.currentAnimationRatio, this.animationTime);
|
|
59696
|
+
return (_b = (_a = this.params) === null || _a === void 0 ? void 0 : _a.callBack) === null || _b === void 0 ? void 0 : _b.call(_a, stage, canvas, this.currentAnimationRatio, this.animationTime);
|
|
59697
59697
|
}
|
|
59698
59698
|
}
|
|
59699
59699
|
|
|
@@ -95665,11 +95665,15 @@
|
|
|
95665
95665
|
});
|
|
95666
95666
|
return originDatum;
|
|
95667
95667
|
};
|
|
95668
|
+
const transform = region.getOption().globalInstance.getStage().window.getViewBoxTransform().getInverse();
|
|
95668
95669
|
const getMockEvent = (originPos) => {
|
|
95669
95670
|
var _a, _b;
|
|
95670
95671
|
const pos = bound(originPos);
|
|
95671
|
-
const
|
|
95672
|
-
const
|
|
95672
|
+
const tempX = (_a = opt.x) !== null && _a !== void 0 ? _a : regionPos.x + pos.x;
|
|
95673
|
+
const tempY = (_b = opt.y) !== null && _b !== void 0 ? _b : regionPos.y + pos.y;
|
|
95674
|
+
const canvasPoint = { x: 0, y: 0 };
|
|
95675
|
+
transform.transformPoint({ x: tempX, y: tempY }, canvasPoint);
|
|
95676
|
+
const { x: canvasX, y: canvasY } = canvasPoint;
|
|
95673
95677
|
return {
|
|
95674
95678
|
canvasX,
|
|
95675
95679
|
canvasY,
|
|
@@ -102738,9 +102742,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
102738
102742
|
return 'cartesian';
|
|
102739
102743
|
}
|
|
102740
102744
|
_createMarkerComponent() {
|
|
102741
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7;
|
|
102745
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8;
|
|
102742
102746
|
const { itemContent = {}, itemLine = {}, targetSymbol = {} } = this._spec;
|
|
102743
|
-
const
|
|
102747
|
+
const _9 = itemContent, { type = 'text', text: label, symbol, image, richText, customMark, textStyle, symbolStyle, imageStyle, richTextStyle, customMarkStyle, style = {}, state = {} } = _9, restItemContent = __rest$e(_9, ["type", "text", "symbol", "image", "richText", "customMark", "textStyle", "symbolStyle", "imageStyle", "richTextStyle", "customMarkStyle", "style", "state"]);
|
|
102744
102748
|
let itemContentState = null;
|
|
102745
102749
|
let itemContentStyle = null;
|
|
102746
102750
|
let defaultStyle = {};
|
|
@@ -102750,61 +102754,61 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
102750
102754
|
dx: 0,
|
|
102751
102755
|
dy: 0
|
|
102752
102756
|
};
|
|
102753
|
-
itemContentStyle = transformLabelAttributes(merge$1(defaultStyle, (_b = label
|
|
102757
|
+
itemContentStyle = transformLabelAttributes(Object.assign(Object.assign({}, label), { style: merge$1(defaultStyle, (_c = (_b = label === null || label === void 0 ? void 0 : label.textStyle) !== null && _b !== void 0 ? _b : textStyle) !== null && _c !== void 0 ? _c : style) }), this._markerData, this._markAttributeContext);
|
|
102754
102758
|
}
|
|
102755
102759
|
else if (type === 'richText') {
|
|
102756
|
-
itemContentState = (
|
|
102760
|
+
itemContentState = (_d = richText === null || richText === void 0 ? void 0 : richText.state) !== null && _d !== void 0 ? _d : state;
|
|
102757
102761
|
defaultStyle = {
|
|
102758
102762
|
width: 100,
|
|
102759
102763
|
height: 100
|
|
102760
102764
|
};
|
|
102761
|
-
itemContentStyle = transformStyle(merge$1(defaultStyle, (
|
|
102765
|
+
itemContentStyle = transformStyle(merge$1(defaultStyle, (_f = (_e = richText === null || richText === void 0 ? void 0 : richText.style) !== null && _e !== void 0 ? _e : richTextStyle) !== null && _f !== void 0 ? _f : style), this._markerData, this._markAttributeContext);
|
|
102762
102766
|
}
|
|
102763
102767
|
else if (type === 'symbol') {
|
|
102764
|
-
itemContentState = (
|
|
102768
|
+
itemContentState = (_g = symbol === null || symbol === void 0 ? void 0 : symbol.state) !== null && _g !== void 0 ? _g : state;
|
|
102765
102769
|
defaultStyle = {
|
|
102766
102770
|
symbolType: 'star',
|
|
102767
102771
|
fill: 'rgb(48, 115, 242)',
|
|
102768
102772
|
fillOpacity: 0.8,
|
|
102769
102773
|
size: 20
|
|
102770
102774
|
};
|
|
102771
|
-
itemContentStyle = transformToGraphic(transformStyle(merge$1(defaultStyle, (
|
|
102775
|
+
itemContentStyle = transformToGraphic(transformStyle(merge$1(defaultStyle, (_j = (_h = symbol === null || symbol === void 0 ? void 0 : symbol.style) !== null && _h !== void 0 ? _h : symbolStyle) !== null && _j !== void 0 ? _j : style), this._markerData, this._markAttributeContext));
|
|
102772
102776
|
}
|
|
102773
102777
|
else if (type === 'image') {
|
|
102774
|
-
itemContentState = (
|
|
102778
|
+
itemContentState = (_k = image === null || image === void 0 ? void 0 : image.state) !== null && _k !== void 0 ? _k : state;
|
|
102775
102779
|
defaultStyle = {
|
|
102776
102780
|
width: 80,
|
|
102777
102781
|
height: 80
|
|
102778
102782
|
};
|
|
102779
|
-
itemContentStyle = transformStyle(merge$1(defaultStyle, (
|
|
102783
|
+
itemContentStyle = transformStyle(merge$1(defaultStyle, (_m = (_l = image === null || image === void 0 ? void 0 : image.style) !== null && _l !== void 0 ? _l : imageStyle) !== null && _m !== void 0 ? _m : style), this._markerData, this._markAttributeContext);
|
|
102780
102784
|
}
|
|
102781
102785
|
else if (type === 'custom') {
|
|
102782
|
-
itemContentState = (
|
|
102783
|
-
itemContentStyle = transformStyle((
|
|
102786
|
+
itemContentState = (_o = customMark === null || customMark === void 0 ? void 0 : customMark.state) !== null && _o !== void 0 ? _o : state;
|
|
102787
|
+
itemContentStyle = transformStyle((_q = (_p = customMark === null || customMark === void 0 ? void 0 : customMark.style) !== null && _p !== void 0 ? _p : customMarkStyle) !== null && _q !== void 0 ? _q : style, this._markerData, this._markAttributeContext);
|
|
102784
102788
|
}
|
|
102785
102789
|
const markPointAttrs = {
|
|
102786
102790
|
zIndex: this.layoutZIndex,
|
|
102787
|
-
interactive: (
|
|
102788
|
-
hover: (
|
|
102789
|
-
select: (
|
|
102791
|
+
interactive: (_r = this._spec.interactive) !== null && _r !== void 0 ? _r : true,
|
|
102792
|
+
hover: (_s = this._spec.interactive) !== null && _s !== void 0 ? _s : true,
|
|
102793
|
+
select: (_t = this._spec.interactive) !== null && _t !== void 0 ? _t : true,
|
|
102790
102794
|
position: { x: 0, y: 0 },
|
|
102791
|
-
clipInRange: (
|
|
102795
|
+
clipInRange: (_u = this._spec.clip) !== null && _u !== void 0 ? _u : false,
|
|
102792
102796
|
itemContent: Object.assign(Object.assign({ type, offsetX: transformOffset(itemContent.offsetX, this._relativeSeries.getRegion()), offsetY: transformOffset(itemContent.offsetX, this._relativeSeries.getRegion()) }, restItemContent), { style: transformStyle(itemContentStyle, this._markerData, this._markAttributeContext) }),
|
|
102793
102797
|
targetSymbol: {
|
|
102794
|
-
offset: (
|
|
102795
|
-
visible: (
|
|
102796
|
-
size: (
|
|
102798
|
+
offset: (_v = targetSymbol.offset) !== null && _v !== void 0 ? _v : 0,
|
|
102799
|
+
visible: (_w = targetSymbol.visible) !== null && _w !== void 0 ? _w : false,
|
|
102800
|
+
size: (_x = targetSymbol.size) !== null && _x !== void 0 ? _x : 20,
|
|
102797
102801
|
style: transformStyle(targetSymbol.style, this._markerData, this._markAttributeContext)
|
|
102798
102802
|
},
|
|
102799
102803
|
state: {
|
|
102800
|
-
line: transformState((
|
|
102801
|
-
lineStartSymbol: transformState((
|
|
102802
|
-
lineEndSymbol: transformState((
|
|
102804
|
+
line: transformState((_z = (_y = this._spec.itemLine.line) === null || _y === void 0 ? void 0 : _y.state) !== null && _z !== void 0 ? _z : {}, this._markerData, this._markAttributeContext),
|
|
102805
|
+
lineStartSymbol: transformState((_1 = (_0 = this._spec.itemLine.startSymbol) === null || _0 === void 0 ? void 0 : _0.state) !== null && _1 !== void 0 ? _1 : {}, this._markerData, this._markAttributeContext),
|
|
102806
|
+
lineEndSymbol: transformState((_3 = (_2 = this._spec.itemLine.endSymbol) === null || _2 === void 0 ? void 0 : _2.state) !== null && _3 !== void 0 ? _3 : {}, this._markerData, this._markAttributeContext),
|
|
102803
102807
|
itemContent: transformState(itemContentState, this._markerData, this._markAttributeContext),
|
|
102804
|
-
textBackground: transformState((
|
|
102805
|
-
targetItem: transformState((
|
|
102808
|
+
textBackground: transformState((_5 = (_4 = this._spec.itemContent.text) === null || _4 === void 0 ? void 0 : _4.labelBackground) === null || _5 === void 0 ? void 0 : _5.state, this._markerData, this._markAttributeContext),
|
|
102809
|
+
targetItem: transformState((_7 = (_6 = this._spec.targetSymbol) === null || _6 === void 0 ? void 0 : _6.state) !== null && _7 !== void 0 ? _7 : {}, this._markerData, this._markAttributeContext)
|
|
102806
102810
|
},
|
|
102807
|
-
animation: (
|
|
102811
|
+
animation: (_8 = this._spec.animation) !== null && _8 !== void 0 ? _8 : false,
|
|
102808
102812
|
animationEnter: this._spec.animationEnter,
|
|
102809
102813
|
animationExit: this._spec.animationExit,
|
|
102810
102814
|
animationUpdate: this._spec.animationUpdate
|