@visactor/vchart 1.7.1 → 1.7.2
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.js +116 -106
- package/build/index.min.js +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/chart/base-chart.d.ts +2 -5
- package/cjs/chart/base-chart.js +6 -46
- package/cjs/chart/base-chart.js.map +1 -1
- package/cjs/chart/index.js +1 -2
- package/cjs/chart/interface/chart.d.ts +3 -3
- package/cjs/chart/interface/chart.js.map +1 -1
- package/cjs/compile/compiler.js +2 -1
- package/cjs/compile/mark/compilable-mark.js +6 -9
- package/cjs/compile/mark/compilable-mark.js.map +1 -1
- package/cjs/component/axis/base-axis.d.ts +2 -1
- package/cjs/component/axis/base-axis.js +5 -1
- package/cjs/component/axis/base-axis.js.map +1 -1
- package/cjs/component/axis/cartesian/axis.d.ts +1 -1
- package/cjs/component/axis/cartesian/axis.js +1 -1
- package/cjs/component/axis/cartesian/axis.js.map +1 -1
- package/cjs/component/base/base-component.d.ts +2 -7
- package/cjs/component/base/base-component.js +4 -4
- package/cjs/component/base/base-component.js.map +1 -1
- package/cjs/component/brush/brush.d.ts +1 -1
- package/cjs/component/brush/brush.js +1 -1
- package/cjs/component/brush/brush.js.map +1 -1
- package/cjs/component/crosshair/cartesian.d.ts +1 -1
- package/cjs/component/crosshair/cartesian.js +1 -1
- package/cjs/component/crosshair/cartesian.js.map +1 -1
- package/cjs/component/crosshair/polar.d.ts +1 -1
- package/cjs/component/crosshair/polar.js +1 -1
- package/cjs/component/crosshair/polar.js.map +1 -1
- package/cjs/component/custom-mark/custom-mark.d.ts +1 -1
- package/cjs/component/custom-mark/custom-mark.js +1 -1
- package/cjs/component/custom-mark/custom-mark.js.map +1 -1
- package/cjs/component/data-zoom/data-filter-base-component.d.ts +1 -1
- package/cjs/component/data-zoom/data-filter-base-component.js +1 -1
- package/cjs/component/data-zoom/data-filter-base-component.js.map +1 -1
- package/cjs/component/data-zoom/data-zoom/data-zoom.d.ts +1 -1
- package/cjs/component/data-zoom/data-zoom/data-zoom.js +1 -1
- package/cjs/component/data-zoom/data-zoom/data-zoom.js.map +1 -1
- package/cjs/component/data-zoom/scroll-bar/scroll-bar.d.ts +1 -1
- package/cjs/component/data-zoom/scroll-bar/scroll-bar.js +1 -1
- package/cjs/component/data-zoom/scroll-bar/scroll-bar.js.map +1 -1
- package/cjs/component/geo/geo-coordinate.d.ts +1 -1
- package/cjs/component/geo/geo-coordinate.js +1 -1
- package/cjs/component/geo/geo-coordinate.js.map +1 -1
- package/cjs/component/indicator/indicator.d.ts +1 -1
- package/cjs/component/indicator/indicator.js +1 -1
- package/cjs/component/indicator/indicator.js.map +1 -1
- package/cjs/component/label/base-label.d.ts +1 -1
- package/cjs/component/label/base-label.js +1 -1
- package/cjs/component/label/base-label.js.map +1 -1
- package/cjs/component/label/label.d.ts +1 -0
- package/cjs/component/label/label.js +7 -0
- package/cjs/component/label/label.js.map +1 -1
- package/cjs/component/label/totalLabel.d.ts +1 -0
- package/cjs/component/label/totalLabel.js +7 -0
- package/cjs/component/label/totalLabel.js.map +1 -1
- package/cjs/component/legend/base-legend.d.ts +1 -1
- package/cjs/component/legend/base-legend.js +1 -1
- package/cjs/component/legend/base-legend.js.map +1 -1
- package/cjs/component/map-label/component.d.ts +1 -1
- package/cjs/component/map-label/component.js +2 -2
- package/cjs/component/map-label/component.js.map +1 -1
- package/cjs/component/marker/base-marker.d.ts +1 -1
- package/cjs/component/marker/base-marker.js +1 -1
- package/cjs/component/marker/base-marker.js.map +1 -1
- package/cjs/component/player/player.d.ts +1 -1
- package/cjs/component/player/player.js +1 -1
- package/cjs/component/player/player.js.map +1 -1
- package/cjs/component/title/title.d.ts +1 -1
- package/cjs/component/title/title.js +1 -1
- package/cjs/component/title/title.js.map +1 -1
- package/cjs/component/tooltip/tooltip.d.ts +1 -1
- package/cjs/component/tooltip/tooltip.js +1 -1
- package/cjs/component/tooltip/tooltip.js.map +1 -1
- package/cjs/core/index.d.ts +1 -1
- package/cjs/core/index.js +1 -1
- package/cjs/core/index.js.map +1 -1
- package/cjs/core/vchart.js +4 -4
- package/cjs/core/vchart.js.map +1 -1
- package/cjs/mark/base/base-mark.js +2 -5
- package/cjs/mark/base/base-mark.js.map +1 -1
- package/cjs/model/base-model.d.ts +1 -1
- package/cjs/model/base-model.js +2 -34
- package/cjs/model/base-model.js.map +1 -1
- package/cjs/model/interface.d.ts +1 -1
- package/cjs/model/interface.js.map +1 -1
- package/cjs/series/base/base-series.js +6 -3
- package/cjs/series/base/base-series.js.map +1 -1
- package/cjs/series/gauge/gauge-pointer.d.ts +2 -1
- package/cjs/series/gauge/gauge-pointer.js +16 -9
- package/cjs/series/gauge/gauge-pointer.js.map +1 -1
- package/cjs/series/gauge/gauge.js +13 -1
- package/cjs/series/gauge/gauge.js.map +1 -1
- package/cjs/series/gauge/interface.d.ts +2 -0
- package/cjs/series/gauge/interface.js.map +1 -1
- package/esm/chart/base-chart.d.ts +2 -5
- package/esm/chart/base-chart.js +6 -46
- package/esm/chart/base-chart.js.map +1 -1
- package/esm/chart/index.js +1 -2
- package/esm/chart/interface/chart.d.ts +3 -3
- package/esm/chart/interface/chart.js.map +1 -1
- package/esm/compile/compiler.js +2 -1
- package/esm/compile/mark/compilable-mark.js +6 -10
- package/esm/compile/mark/compilable-mark.js.map +1 -1
- package/esm/component/axis/base-axis.d.ts +2 -1
- package/esm/component/axis/base-axis.js +5 -1
- package/esm/component/axis/base-axis.js.map +1 -1
- package/esm/component/axis/cartesian/axis.d.ts +1 -1
- package/esm/component/axis/cartesian/axis.js +1 -1
- package/esm/component/axis/cartesian/axis.js.map +1 -1
- package/esm/component/base/base-component.d.ts +2 -7
- package/esm/component/base/base-component.js +4 -4
- package/esm/component/base/base-component.js.map +1 -1
- package/esm/component/brush/brush.d.ts +1 -1
- package/esm/component/brush/brush.js +1 -1
- package/esm/component/brush/brush.js.map +1 -1
- package/esm/component/crosshair/cartesian.d.ts +1 -1
- package/esm/component/crosshair/cartesian.js +1 -1
- package/esm/component/crosshair/cartesian.js.map +1 -1
- package/esm/component/crosshair/polar.d.ts +1 -1
- package/esm/component/crosshair/polar.js +1 -1
- package/esm/component/crosshair/polar.js.map +1 -1
- package/esm/component/custom-mark/custom-mark.d.ts +1 -1
- package/esm/component/custom-mark/custom-mark.js +1 -1
- package/esm/component/custom-mark/custom-mark.js.map +1 -1
- package/esm/component/data-zoom/data-filter-base-component.d.ts +1 -1
- package/esm/component/data-zoom/data-filter-base-component.js +1 -1
- package/esm/component/data-zoom/data-filter-base-component.js.map +1 -1
- package/esm/component/data-zoom/data-zoom/data-zoom.d.ts +1 -1
- package/esm/component/data-zoom/data-zoom/data-zoom.js +1 -1
- package/esm/component/data-zoom/data-zoom/data-zoom.js.map +1 -1
- package/esm/component/data-zoom/scroll-bar/scroll-bar.d.ts +1 -1
- package/esm/component/data-zoom/scroll-bar/scroll-bar.js +1 -1
- package/esm/component/data-zoom/scroll-bar/scroll-bar.js.map +1 -1
- package/esm/component/geo/geo-coordinate.d.ts +1 -1
- package/esm/component/geo/geo-coordinate.js +1 -1
- package/esm/component/geo/geo-coordinate.js.map +1 -1
- package/esm/component/indicator/indicator.d.ts +1 -1
- package/esm/component/indicator/indicator.js +1 -1
- package/esm/component/indicator/indicator.js.map +1 -1
- package/esm/component/label/base-label.d.ts +1 -1
- package/esm/component/label/base-label.js +1 -1
- package/esm/component/label/base-label.js.map +1 -1
- package/esm/component/label/label.d.ts +1 -0
- package/esm/component/label/label.js +7 -0
- package/esm/component/label/label.js.map +1 -1
- package/esm/component/label/totalLabel.d.ts +1 -0
- package/esm/component/label/totalLabel.js +7 -0
- package/esm/component/label/totalLabel.js.map +1 -1
- package/esm/component/legend/base-legend.d.ts +1 -1
- package/esm/component/legend/base-legend.js +1 -1
- package/esm/component/legend/base-legend.js.map +1 -1
- package/esm/component/map-label/component.d.ts +1 -1
- package/esm/component/map-label/component.js +2 -2
- package/esm/component/map-label/component.js.map +1 -1
- package/esm/component/marker/base-marker.d.ts +1 -1
- package/esm/component/marker/base-marker.js +1 -1
- package/esm/component/marker/base-marker.js.map +1 -1
- package/esm/component/player/player.d.ts +1 -1
- package/esm/component/player/player.js +1 -1
- package/esm/component/player/player.js.map +1 -1
- package/esm/component/title/title.d.ts +1 -1
- package/esm/component/title/title.js +1 -1
- package/esm/component/title/title.js.map +1 -1
- package/esm/component/tooltip/tooltip.d.ts +1 -1
- package/esm/component/tooltip/tooltip.js +1 -1
- package/esm/component/tooltip/tooltip.js.map +1 -1
- package/esm/core/index.d.ts +1 -1
- package/esm/core/index.js +1 -1
- package/esm/core/index.js.map +1 -1
- package/esm/core/vchart.js +4 -4
- package/esm/core/vchart.js.map +1 -1
- package/esm/mark/base/base-mark.js +1 -4
- package/esm/mark/base/base-mark.js.map +1 -1
- package/esm/model/base-model.d.ts +1 -1
- package/esm/model/base-model.js +2 -34
- package/esm/model/base-model.js.map +1 -1
- package/esm/model/interface.d.ts +1 -1
- package/esm/model/interface.js.map +1 -1
- package/esm/series/base/base-series.js +6 -3
- package/esm/series/base/base-series.js.map +1 -1
- package/esm/series/gauge/gauge-pointer.d.ts +2 -1
- package/esm/series/gauge/gauge-pointer.js +16 -9
- package/esm/series/gauge/gauge-pointer.js.map +1 -1
- package/esm/series/gauge/gauge.js +13 -1
- package/esm/series/gauge/gauge.js.map +1 -1
- package/esm/series/gauge/interface.d.ts +2 -0
- package/esm/series/gauge/interface.js.map +1 -1
- package/package.json +9 -9
package/build/index.js
CHANGED
|
@@ -44803,7 +44803,7 @@
|
|
|
44803
44803
|
}
|
|
44804
44804
|
const groupMark = isString$1(spec.group) ? this.view.getMarkById(spec.group) : spec.group;
|
|
44805
44805
|
return this.attach(groupMark), this.join(null === (_a = spec.from) || void 0 === _a ? void 0 : _a.data, spec.key, spec.sort, spec.groupBy, spec.groupSort), this.coordinate(spec.coordinate), this.state(spec.state, this.spec.stateSort), Object.keys(null !== (_b = this.spec.encode) && void 0 !== _b ? _b : {}).forEach(state => {
|
|
44806
|
-
this.encodeState(state, {});
|
|
44806
|
+
this.encodeState(state, {}, !0);
|
|
44807
44807
|
}), Object.keys(null !== (_c = spec.encode) && void 0 !== _c ? _c : {}).forEach(state => {
|
|
44808
44808
|
this.encodeState(state, spec.encode[state]);
|
|
44809
44809
|
}), this.animation(spec.animation), this.animationState(spec.animationState), this.morph(spec.morph, spec.morphKey, spec.morphElementKey), this.layout(spec.layout), this.configure(spec), this.transform(spec.transform), this.parseAddition(spec), this.spec = spec, this.markType = spec.type, this.commit(), this;
|
|
@@ -44876,15 +44876,20 @@
|
|
|
44876
44876
|
state(state, stateSort) {
|
|
44877
44877
|
return this.spec.stateSort = stateSort, this.setFunctionSpec(state, "state");
|
|
44878
44878
|
}
|
|
44879
|
-
encode(channel, value) {
|
|
44880
|
-
return this.encodeState(DiffState.update, channel, value);
|
|
44879
|
+
encode(channel, value, clear) {
|
|
44880
|
+
return this.encodeState(DiffState.update, channel, value, clear);
|
|
44881
44881
|
}
|
|
44882
|
-
encodeState(state, channel, value) {
|
|
44882
|
+
encodeState(state, channel, value, clear) {
|
|
44883
44883
|
if (state === DiffState.enter && (this._isReentered = !0), this.spec.encode[state]) {
|
|
44884
44884
|
const lastEncoder = this.spec.encode[state];
|
|
44885
|
-
|
|
44886
|
-
|
|
44887
|
-
|
|
44885
|
+
if (isFunctionType(lastEncoder)) this.detach(parseEncodeType(lastEncoder, this.view));else {
|
|
44886
|
+
const isSingleChannel = isString$1(channel);
|
|
44887
|
+
isSingleChannel && clear || !isSingleChannel && value ? (Object.keys(lastEncoder).forEach(c => {
|
|
44888
|
+
this.detach(parseEncodeType(lastEncoder[c], this.view));
|
|
44889
|
+
}), this.spec.encode[state] = {}) : isSingleChannel ? this.detach(parseEncodeType(lastEncoder[channel], this.view)) : Object.keys(channel).forEach(c => {
|
|
44890
|
+
this.detach(parseEncodeType(lastEncoder[c], this.view));
|
|
44891
|
+
});
|
|
44892
|
+
}
|
|
44888
44893
|
} else this.spec.encode[state] = {};
|
|
44889
44894
|
return isString$1(channel) ? (this.spec.encode[state][channel] = value, this.attach(parseEncodeType(value, this.view))) : isFunctionType(channel) ? (this.spec.encode[state] = channel, this.attach(parseEncodeType(channel, this.view))) : (Object.assign(this.spec.encode[state], channel), channel && Object.values(channel).forEach(channelEncoder => {
|
|
44890
44895
|
this.attach(parseEncodeType(channelEncoder, this.view));
|
|
@@ -54856,19 +54861,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
54856
54861
|
_prepareSpecBeforeMergingTheme(obj) {
|
|
54857
54862
|
return obj;
|
|
54858
54863
|
}
|
|
54859
|
-
setCurrentTheme(
|
|
54860
|
-
|
|
54861
|
-
const modifyConfig = () => {
|
|
54862
|
-
this.reInit(this._getTheme());
|
|
54863
|
-
return { change: true, reMake: false };
|
|
54864
|
-
};
|
|
54865
|
-
if (noRender) {
|
|
54866
|
-
modifyConfig();
|
|
54867
|
-
}
|
|
54868
|
-
else {
|
|
54869
|
-
yield this._option.globalInstance.updateCustomConfigAndRerender(modifyConfig);
|
|
54870
|
-
}
|
|
54871
|
-
});
|
|
54864
|
+
setCurrentTheme() {
|
|
54865
|
+
this.reInit(this._getTheme());
|
|
54872
54866
|
}
|
|
54873
54867
|
updateLayoutAttribute() {
|
|
54874
54868
|
}
|
|
@@ -56515,9 +56509,6 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
56515
56509
|
}
|
|
56516
56510
|
}
|
|
56517
56511
|
|
|
56518
|
-
const keptInUpdateAttribute = {
|
|
56519
|
-
defined: true
|
|
56520
|
-
};
|
|
56521
56512
|
class CompilableMark extends GrammarItem {
|
|
56522
56513
|
getSkipTheme() {
|
|
56523
56514
|
return this._skipTheme;
|
|
@@ -56738,10 +56729,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
56738
56729
|
if (!this._product) {
|
|
56739
56730
|
return;
|
|
56740
56731
|
}
|
|
56741
|
-
const { enterStyles } = this._separateStyle();
|
|
56742
|
-
|
|
56743
|
-
|
|
56744
|
-
}
|
|
56732
|
+
const { enterStyles, updateStyles } = this._separateStyle();
|
|
56733
|
+
this._product.encodeState('group', enterStyles, true);
|
|
56734
|
+
this._product.encode(updateStyles, true);
|
|
56745
56735
|
}
|
|
56746
56736
|
_separateStyle() {
|
|
56747
56737
|
const _a = this.stateStyle, _b = STATE_VALUE_ENUM.STATE_NORMAL, normalStyle = _a[_b]; __rest$8(_a, [typeof _b === "symbol" ? _b : _b + ""]);
|
|
@@ -56751,10 +56741,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
56751
56741
|
if (this._unCompileChannel[key]) {
|
|
56752
56742
|
return;
|
|
56753
56743
|
}
|
|
56754
|
-
if (
|
|
56755
|
-
updateStyles[key] = normalStyle[key].style;
|
|
56756
|
-
}
|
|
56757
|
-
else if (this._option.noSeparateStyle || isStateAttrChangeable(key, normalStyle, this.getFacet())) {
|
|
56744
|
+
if (this._option.noSeparateStyle || isStateAttrChangeable(key, normalStyle, this.getFacet())) {
|
|
56758
56745
|
updateStyles[key] = {
|
|
56759
56746
|
callback: this.compileCommonAttributeCallback(key, 'normal'),
|
|
56760
56747
|
dependency: [this.stateKeyToSignalName('markUpdateRank')]
|
|
@@ -56769,10 +56756,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
56769
56756
|
compileEncode() {
|
|
56770
56757
|
const _a = this.stateStyle, _b = STATE_VALUE_ENUM.STATE_NORMAL; _a[_b]; const temp = __rest$8(_a, [typeof _b === "symbol" ? _b : _b + ""]);
|
|
56771
56758
|
const { enterStyles, updateStyles } = this._separateStyle();
|
|
56772
|
-
this._product.encode(updateStyles);
|
|
56773
|
-
|
|
56774
|
-
this._product.encodeState('group', enterStyles);
|
|
56775
|
-
}
|
|
56759
|
+
this._product.encode(updateStyles, true);
|
|
56760
|
+
this._product.encodeState('group', enterStyles, true);
|
|
56776
56761
|
Object.keys(temp).forEach(state => {
|
|
56777
56762
|
const styles = {};
|
|
56778
56763
|
Object.keys(temp[state]).forEach(key => {
|
|
@@ -56784,7 +56769,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
56784
56769
|
dependency: [this.stateKeyToSignalName('markUpdateRank')]
|
|
56785
56770
|
};
|
|
56786
56771
|
});
|
|
56787
|
-
this._product.encodeState(state, styles);
|
|
56772
|
+
this._product.encodeState(state, styles, true);
|
|
56788
56773
|
});
|
|
56789
56774
|
if (this._skipBeforeLayouted) {
|
|
56790
56775
|
this._product.layout({
|
|
@@ -57125,6 +57110,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
57125
57110
|
if (stateStyle.referer) {
|
|
57126
57111
|
return stateStyle.referer._computeAttribute(key, state);
|
|
57127
57112
|
}
|
|
57113
|
+
if (typeof stateStyle.style === 'function') {
|
|
57114
|
+
return (datum, opt) => stateStyle.style(datum, this._attributeContext, opt, this.getDataView());
|
|
57115
|
+
}
|
|
57128
57116
|
if (GradientType.includes(stateStyle.style.gradient)) {
|
|
57129
57117
|
return this._computeGradientAttr(stateStyle.style);
|
|
57130
57118
|
}
|
|
@@ -57135,10 +57123,6 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
57135
57123
|
return (datum, opt) => stateStyle.style.scale.scale(datum[stateStyle.style.field]);
|
|
57136
57124
|
}
|
|
57137
57125
|
return (datum, opt) => {
|
|
57138
|
-
var _a;
|
|
57139
|
-
if (typeof stateStyle.style === 'function') {
|
|
57140
|
-
return (_a = stateStyle.style) === null || _a === void 0 ? void 0 : _a.call(stateStyle, datum, this._attributeContext, opt, this.getDataView());
|
|
57141
|
-
}
|
|
57142
57126
|
return stateStyle.style;
|
|
57143
57127
|
};
|
|
57144
57128
|
}
|
|
@@ -58057,7 +58041,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
58057
58041
|
}
|
|
58058
58042
|
const reSize = this._shouldChartResize(lastSpec);
|
|
58059
58043
|
(_c = (_b = this._compiler) === null || _b === void 0 ? void 0 : _b.getVGrammarView()) === null || _c === void 0 ? void 0 : _c.updateLayoutTag();
|
|
58060
|
-
return mergeUpdateResult(this._chart.updateSpec(spec
|
|
58044
|
+
return mergeUpdateResult(this._chart.updateSpec(spec), {
|
|
58061
58045
|
change: reSize,
|
|
58062
58046
|
reMake: false,
|
|
58063
58047
|
reCompile: false,
|
|
@@ -58089,7 +58073,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
58089
58073
|
}
|
|
58090
58074
|
const reSize = this._shouldChartResize(lastSpec);
|
|
58091
58075
|
(_d = (_c = this._compiler) === null || _c === void 0 ? void 0 : _c.getVGrammarView()) === null || _d === void 0 ? void 0 : _d.updateLayoutTag();
|
|
58092
|
-
return mergeUpdateResult(this._chart.updateSpec(spec
|
|
58076
|
+
return mergeUpdateResult(this._chart.updateSpec(spec), {
|
|
58093
58077
|
change: reSize,
|
|
58094
58078
|
reMake: false,
|
|
58095
58079
|
reCompile: false,
|
|
@@ -58303,7 +58287,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
58303
58287
|
yield this.updateCustomConfigAndRerender(() => {
|
|
58304
58288
|
var _a;
|
|
58305
58289
|
this._updateCurrentTheme(name);
|
|
58306
|
-
(_a = this._chart) === null || _a === void 0 ? void 0 : _a.setCurrentTheme(
|
|
58290
|
+
(_a = this._chart) === null || _a === void 0 ? void 0 : _a.setCurrentTheme();
|
|
58307
58291
|
return { change: true, reMake: false };
|
|
58308
58292
|
});
|
|
58309
58293
|
return this;
|
|
@@ -58316,7 +58300,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
58316
58300
|
this.updateCustomConfigAndRerenderSync(() => {
|
|
58317
58301
|
var _a;
|
|
58318
58302
|
this._updateCurrentTheme(name);
|
|
58319
|
-
(_a = this._chart) === null || _a === void 0 ? void 0 : _a.setCurrentTheme(
|
|
58303
|
+
(_a = this._chart) === null || _a === void 0 ? void 0 : _a.setCurrentTheme();
|
|
58320
58304
|
return { change: true, reMake: false };
|
|
58321
58305
|
});
|
|
58322
58306
|
return this;
|
|
@@ -58626,7 +58610,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
58626
58610
|
};
|
|
58627
58611
|
registerVChartCore();
|
|
58628
58612
|
|
|
58629
|
-
const version = "1.7.
|
|
58613
|
+
const version = "1.7.2";
|
|
58630
58614
|
|
|
58631
58615
|
class ChartData {
|
|
58632
58616
|
get dataList() {
|
|
@@ -59594,7 +59578,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
59594
59578
|
this._globalScale.getScale('color').range(colorSpec.range);
|
|
59595
59579
|
}
|
|
59596
59580
|
}
|
|
59597
|
-
updateSpec(spec
|
|
59581
|
+
updateSpec(spec) {
|
|
59598
59582
|
const result = {
|
|
59599
59583
|
change: false,
|
|
59600
59584
|
reMake: false,
|
|
@@ -59602,7 +59586,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
59602
59586
|
reSize: false,
|
|
59603
59587
|
reCompile: false
|
|
59604
59588
|
};
|
|
59605
|
-
this.setLayoutTag(true,
|
|
59589
|
+
this.setLayoutTag(true, null, false);
|
|
59606
59590
|
if (spec.type !== this.type) {
|
|
59607
59591
|
result.reMake = true;
|
|
59608
59592
|
return result;
|
|
@@ -59763,29 +59747,14 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
59763
59747
|
this._layoutRect.y = this.padding.top;
|
|
59764
59748
|
this._event.emit(exports.ChartEvent.layoutRectUpdate, {});
|
|
59765
59749
|
}
|
|
59766
|
-
setCurrentTheme(
|
|
59750
|
+
setCurrentTheme() {
|
|
59767
59751
|
this.updateChartConfig({ change: true, reMake: false }, this._spec);
|
|
59768
|
-
this.setLayoutTag(true);
|
|
59752
|
+
this.setLayoutTag(true, null, false);
|
|
59769
59753
|
this.transformSpec(this._spec);
|
|
59770
59754
|
this.updateGlobalScaleTheme();
|
|
59771
|
-
this.
|
|
59772
|
-
this.
|
|
59773
|
-
this.
|
|
59774
|
-
}
|
|
59775
|
-
setRegionTheme(reInit = true) {
|
|
59776
|
-
this._regions.forEach((r) => __awaiter$h(this, void 0, void 0, function* () {
|
|
59777
|
-
yield r.setCurrentTheme(reInit);
|
|
59778
|
-
}));
|
|
59779
|
-
}
|
|
59780
|
-
setComponentTheme(reInit = true) {
|
|
59781
|
-
this._components.forEach((c) => __awaiter$h(this, void 0, void 0, function* () {
|
|
59782
|
-
yield c.setCurrentTheme(reInit);
|
|
59783
|
-
}));
|
|
59784
|
-
}
|
|
59785
|
-
setSeriesTheme(reInit = true) {
|
|
59786
|
-
this._series.forEach((s) => __awaiter$h(this, void 0, void 0, function* () {
|
|
59787
|
-
yield s.setCurrentTheme(reInit);
|
|
59788
|
-
}));
|
|
59755
|
+
this._regions.forEach(r => r.setCurrentTheme());
|
|
59756
|
+
this._components.forEach(c => c.setCurrentTheme());
|
|
59757
|
+
this._series.forEach(s => s.setCurrentTheme());
|
|
59789
59758
|
}
|
|
59790
59759
|
clear() {
|
|
59791
59760
|
this.getAllModels().forEach(i => { var _a; return (_a = i.clear) === null || _a === void 0 ? void 0 : _a.call(i); });
|
|
@@ -61555,12 +61524,14 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
61555
61524
|
}
|
|
61556
61525
|
reInit(theme, lastSpec) {
|
|
61557
61526
|
super.reInit(theme);
|
|
61558
|
-
|
|
61559
|
-
|
|
61560
|
-
|
|
61561
|
-
|
|
61562
|
-
}
|
|
61527
|
+
const marks = !lastSpec
|
|
61528
|
+
? this.getMarksWithoutRoot()
|
|
61529
|
+
: this.getMarksWithoutRoot().filter(mark => !isEqual$1(lastSpec[mark.name], this._spec[mark.name]));
|
|
61530
|
+
marks.forEach(mark => {
|
|
61563
61531
|
this._spec[mark.name] && this.initMarkStyleWithSpec(mark, this._spec[mark.name]);
|
|
61532
|
+
});
|
|
61533
|
+
this.initMarkStyle();
|
|
61534
|
+
marks.forEach(mark => {
|
|
61564
61535
|
mark.updateStaticEncode();
|
|
61565
61536
|
mark.updateLayoutState(true);
|
|
61566
61537
|
});
|
|
@@ -64777,10 +64748,6 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
64777
64748
|
chart: (_b = (_a = this._option) === null || _a === void 0 ? void 0 : _a.globalInstance) === null || _b === void 0 ? void 0 : _b.getChart()
|
|
64778
64749
|
}, 'model');
|
|
64779
64750
|
};
|
|
64780
|
-
this.getGraphicBounds = () => {
|
|
64781
|
-
var _a, _b, _c;
|
|
64782
|
-
return (_c = (_b = (_a = this.getVRenderComponents()) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.AABBBounds) !== null && _c !== void 0 ? _c : super.getGraphicBounds();
|
|
64783
|
-
};
|
|
64784
64751
|
if (this._option.animation) {
|
|
64785
64752
|
this.animate = new AnimateManager({
|
|
64786
64753
|
getCompiler: options.getCompiler
|
|
@@ -64793,6 +64760,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
64793
64760
|
this._regions = (_a = this._regions) !== null && _a !== void 0 ? _a : this._option.getRegionsInIndex();
|
|
64794
64761
|
this._layout && (this._layout.layoutBindRegionID = this._regions.map(x => x.id));
|
|
64795
64762
|
}
|
|
64763
|
+
getVRenderComponents() {
|
|
64764
|
+
return this._getNeedClearVRenderComponents();
|
|
64765
|
+
}
|
|
64796
64766
|
callPlugin(cb) {
|
|
64797
64767
|
if (this.pluginService) {
|
|
64798
64768
|
this.pluginService.getAll().forEach(plugin => cb(plugin));
|
|
@@ -64841,7 +64811,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
64841
64811
|
}
|
|
64842
64812
|
clear() {
|
|
64843
64813
|
var _a;
|
|
64844
|
-
const components = this.
|
|
64814
|
+
const components = this._getNeedClearVRenderComponents();
|
|
64845
64815
|
if (components && components.length) {
|
|
64846
64816
|
components.forEach(c => {
|
|
64847
64817
|
var _a;
|
|
@@ -65442,7 +65412,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
65442
65412
|
}
|
|
65443
65413
|
changeRegions(regions) {
|
|
65444
65414
|
}
|
|
65445
|
-
|
|
65415
|
+
_getNeedClearVRenderComponents() {
|
|
65446
65416
|
return [];
|
|
65447
65417
|
}
|
|
65448
65418
|
collectFeatures() {
|
|
@@ -69226,20 +69196,20 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
69226
69196
|
const pointerSpec = this._spec.pointer;
|
|
69227
69197
|
if (pointerMark) {
|
|
69228
69198
|
this.setMarkStyle(pointerMark, {
|
|
69229
|
-
x: () => {
|
|
69199
|
+
x: (datum) => {
|
|
69230
69200
|
var _a, _b;
|
|
69231
|
-
const { x } = this.
|
|
69201
|
+
const { x } = this._getPointerAnchor(datum, pointerSpec);
|
|
69232
69202
|
const dx = this._getPointerWidth() * ((_b = (_a = pointerSpec === null || pointerSpec === void 0 ? void 0 : pointerSpec.center) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : 0);
|
|
69233
69203
|
return x - dx;
|
|
69234
69204
|
},
|
|
69235
69205
|
y: (datum) => {
|
|
69236
69206
|
var _a, _b;
|
|
69237
|
-
const { y } = this.
|
|
69207
|
+
const { y } = this._getPointerAnchor(datum, pointerSpec);
|
|
69238
69208
|
const dy = this._getPointerHeight(datum) * ((_b = (_a = pointerSpec === null || pointerSpec === void 0 ? void 0 : pointerSpec.center) === null || _a === void 0 ? void 0 : _a[1]) !== null && _b !== void 0 ? _b : 0);
|
|
69239
69209
|
return y - dy;
|
|
69240
69210
|
},
|
|
69241
|
-
anchor: () => {
|
|
69242
|
-
const { x, y } = this.
|
|
69211
|
+
anchor: (datum) => {
|
|
69212
|
+
const { x, y } = this._getPointerAnchor(datum, pointerSpec);
|
|
69243
69213
|
return [x, y];
|
|
69244
69214
|
},
|
|
69245
69215
|
fill: this.getColorAttribute(),
|
|
@@ -69266,6 +69236,16 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
69266
69236
|
super.initTooltip();
|
|
69267
69237
|
this._pointerMark && this._tooltipHelper.activeTriggerSet.mark.add(this._pointerMark);
|
|
69268
69238
|
}
|
|
69239
|
+
_getPointerAnchor(datum, markSpec) {
|
|
69240
|
+
var _a;
|
|
69241
|
+
if ((_a = markSpec.isOnCenter) !== null && _a !== void 0 ? _a : true) {
|
|
69242
|
+
return this.angleAxisHelper.center();
|
|
69243
|
+
}
|
|
69244
|
+
return this.radiusAxisHelper.coordToPoint({
|
|
69245
|
+
radius: this._innerRadius * this._computeLayoutRadius(),
|
|
69246
|
+
angle: this.angleAxisHelper.dataToPosition([datum[this._angleField[0]]])
|
|
69247
|
+
});
|
|
69248
|
+
}
|
|
69269
69249
|
_getPointerWidth() {
|
|
69270
69250
|
return this._spec.pointer.width * this._computeLayoutRadius();
|
|
69271
69251
|
}
|
|
@@ -69303,8 +69283,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
69303
69283
|
const pinBackgroundSpec = this._spec.pinBackground;
|
|
69304
69284
|
if (pinBackgroundMark) {
|
|
69305
69285
|
this.setMarkStyle(pinBackgroundMark, {
|
|
69306
|
-
x: () => this.
|
|
69307
|
-
y: () => this.
|
|
69286
|
+
x: (datum) => this._getPointerAnchor(datum, pinBackgroundSpec).x,
|
|
69287
|
+
y: (datum) => this._getPointerAnchor(datum, pinBackgroundSpec).y,
|
|
69308
69288
|
scaleX: () => pinBackgroundSpec.width * this._computeLayoutRadius(),
|
|
69309
69289
|
scaleY: () => pinBackgroundSpec.height * this._computeLayoutRadius(),
|
|
69310
69290
|
fill: this.getColorAttribute(),
|
|
@@ -69317,8 +69297,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
69317
69297
|
const pinSpec = this._spec.pin;
|
|
69318
69298
|
if (pinMark) {
|
|
69319
69299
|
this.setMarkStyle(pinMark, {
|
|
69320
|
-
x: () => this.
|
|
69321
|
-
y: () => this.
|
|
69300
|
+
x: (datum) => this._getPointerAnchor(datum, pinSpec).x,
|
|
69301
|
+
y: (datum) => this._getPointerAnchor(datum, pinSpec).y,
|
|
69322
69302
|
scaleX: () => pinSpec.width * this._computeLayoutRadius(),
|
|
69323
69303
|
scaleY: () => pinSpec.height * this._computeLayoutRadius(),
|
|
69324
69304
|
fill: this.getColorAttribute(),
|
|
@@ -69388,7 +69368,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
69388
69368
|
initMark() {
|
|
69389
69369
|
super.initMark();
|
|
69390
69370
|
this._trackMark = this._createMark(GaugeSeries.mark.track, {
|
|
69391
|
-
parent: this._arcGroupMark
|
|
69371
|
+
parent: this._arcGroupMark,
|
|
69372
|
+
dataView: false
|
|
69392
69373
|
});
|
|
69393
69374
|
this._segmentMark = this._createMark(GaugeSeries.mark.segment, {
|
|
69394
69375
|
parent: this._arcGroupMark,
|
|
@@ -69428,6 +69409,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
69428
69409
|
this._segmentMark && this._tooltipHelper.activeTriggerSet.mark.add(this._segmentMark);
|
|
69429
69410
|
}
|
|
69430
69411
|
initTrackMarkStyle() {
|
|
69412
|
+
var _a;
|
|
69431
69413
|
const trackMark = this._trackMark;
|
|
69432
69414
|
if (trackMark) {
|
|
69433
69415
|
this.setMarkStyle(trackMark, {
|
|
@@ -69435,6 +69417,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
69435
69417
|
y: () => this.angleAxisHelper.center().y,
|
|
69436
69418
|
startAngle: this._startAngle,
|
|
69437
69419
|
endAngle: this._endAngle,
|
|
69420
|
+
innerRadius: () => { var _a; return this._computeLayoutRadius() * ((_a = this._spec.innerRadius) !== null && _a !== void 0 ? _a : 0); },
|
|
69421
|
+
outerRadius: () => { var _a, _b; return this._computeLayoutRadius() * ((_b = (_a = this._spec.radius) !== null && _a !== void 0 ? _a : this._spec.outerRadius) !== null && _b !== void 0 ? _b : 1); },
|
|
69422
|
+
cap: (_a = this._spec.roundCap) !== null && _a !== void 0 ? _a : false,
|
|
69423
|
+
boundsMode: 'imprecise',
|
|
69438
69424
|
cornerRadius: this._spec.cornerRadius,
|
|
69439
69425
|
zIndex: 100
|
|
69440
69426
|
});
|
|
@@ -80531,9 +80517,13 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
80531
80517
|
this._tick = undefined;
|
|
80532
80518
|
this._visible = (_a = spec.visible) !== null && _a !== void 0 ? _a : true;
|
|
80533
80519
|
}
|
|
80534
|
-
|
|
80520
|
+
_getNeedClearVRenderComponents() {
|
|
80535
80521
|
return [];
|
|
80536
80522
|
}
|
|
80523
|
+
getVRenderComponents() {
|
|
80524
|
+
var _a, _b;
|
|
80525
|
+
return array((_b = (_a = this._axisMark) === null || _a === void 0 ? void 0 : _a.getProduct()) === null || _b === void 0 ? void 0 : _b.getGroupGraphicItem());
|
|
80526
|
+
}
|
|
80537
80527
|
created() {
|
|
80538
80528
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
80539
80529
|
super.created();
|
|
@@ -81533,7 +81523,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
81533
81523
|
}
|
|
81534
81524
|
return bounds;
|
|
81535
81525
|
}
|
|
81536
|
-
|
|
81526
|
+
_getNeedClearVRenderComponents() {
|
|
81537
81527
|
return this._unitText ? [this._unitText] : [];
|
|
81538
81528
|
}
|
|
81539
81529
|
}
|
|
@@ -82902,7 +82892,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
82902
82892
|
(_b = (_a = this.effect).onSelectedDataChange) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
82903
82893
|
this.event.emit(exports.ChartEvent.legendSelectedDataChange, { model: this });
|
|
82904
82894
|
}
|
|
82905
|
-
|
|
82895
|
+
_getNeedClearVRenderComponents() {
|
|
82906
82896
|
return [this._legendComponent];
|
|
82907
82897
|
}
|
|
82908
82898
|
clear() {
|
|
@@ -86153,7 +86143,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
86153
86143
|
}
|
|
86154
86144
|
changeRegions(regions) {
|
|
86155
86145
|
}
|
|
86156
|
-
|
|
86146
|
+
_getNeedClearVRenderComponents() {
|
|
86157
86147
|
return [];
|
|
86158
86148
|
}
|
|
86159
86149
|
_registerEvent() {
|
|
@@ -87146,7 +87136,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
87146
87136
|
}
|
|
87147
87137
|
limitTagInBounds(label, this._getLimitBounds());
|
|
87148
87138
|
}
|
|
87149
|
-
|
|
87139
|
+
_getNeedClearVRenderComponents() {
|
|
87150
87140
|
return [
|
|
87151
87141
|
this._xCrosshair,
|
|
87152
87142
|
this._xTopLabel,
|
|
@@ -87506,7 +87496,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
87506
87496
|
}
|
|
87507
87497
|
limitTagInBounds(label, this._getLimitBounds());
|
|
87508
87498
|
}
|
|
87509
|
-
|
|
87499
|
+
_getNeedClearVRenderComponents() {
|
|
87510
87500
|
return [
|
|
87511
87501
|
this._radiusCrosshair,
|
|
87512
87502
|
this._radiusLabelCrosshair,
|
|
@@ -88209,7 +88199,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
88209
88199
|
this._cacheVisibility = isShown;
|
|
88210
88200
|
return isShown;
|
|
88211
88201
|
}
|
|
88212
|
-
|
|
88202
|
+
_getNeedClearVRenderComponents() {
|
|
88213
88203
|
return [this._component];
|
|
88214
88204
|
}
|
|
88215
88205
|
}
|
|
@@ -88526,7 +88516,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
88526
88516
|
}
|
|
88527
88517
|
};
|
|
88528
88518
|
}
|
|
88529
|
-
|
|
88519
|
+
_getNeedClearVRenderComponents() {
|
|
88530
88520
|
return [this._component];
|
|
88531
88521
|
}
|
|
88532
88522
|
}
|
|
@@ -88671,7 +88661,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
88671
88661
|
}
|
|
88672
88662
|
return attrs;
|
|
88673
88663
|
}
|
|
88674
|
-
|
|
88664
|
+
_getNeedClearVRenderComponents() {
|
|
88675
88665
|
return [this._component];
|
|
88676
88666
|
}
|
|
88677
88667
|
}
|
|
@@ -88871,7 +88861,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
88871
88861
|
isRelativeModel(model) {
|
|
88872
88862
|
return eachSeries(this._regions, s => model === s) || this._regions.includes(model);
|
|
88873
88863
|
}
|
|
88874
|
-
|
|
88864
|
+
_getNeedClearVRenderComponents() {
|
|
88875
88865
|
return [this._indicatorComponent];
|
|
88876
88866
|
}
|
|
88877
88867
|
clear() {
|
|
@@ -89264,7 +89254,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
89264
89254
|
(_a = this._option) === null || _a === void 0 ? void 0 : _a.onError('need at least one series');
|
|
89265
89255
|
return null;
|
|
89266
89256
|
}
|
|
89267
|
-
|
|
89257
|
+
_getNeedClearVRenderComponents() {
|
|
89268
89258
|
return [this._markerComponent];
|
|
89269
89259
|
}
|
|
89270
89260
|
onLayoutStart(layoutRect, chartViewRect, ctx) {
|
|
@@ -89722,7 +89712,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
89722
89712
|
this._cacheAttrs = attrs;
|
|
89723
89713
|
return this._titleComponent;
|
|
89724
89714
|
}
|
|
89725
|
-
|
|
89715
|
+
_getNeedClearVRenderComponents() {
|
|
89726
89716
|
return [this._titleComponent];
|
|
89727
89717
|
}
|
|
89728
89718
|
clear() {
|
|
@@ -90124,7 +90114,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
90124
90114
|
}
|
|
90125
90115
|
onRender(ctx) {
|
|
90126
90116
|
}
|
|
90127
|
-
|
|
90117
|
+
_getNeedClearVRenderComponents() {
|
|
90128
90118
|
return [this._playerComponent];
|
|
90129
90119
|
}
|
|
90130
90120
|
_computeLayoutRect(rect, width, height) {
|
|
@@ -90236,7 +90226,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
90236
90226
|
}
|
|
90237
90227
|
changeRegions(regions) {
|
|
90238
90228
|
}
|
|
90239
|
-
|
|
90229
|
+
_getNeedClearVRenderComponents() {
|
|
90240
90230
|
return [];
|
|
90241
90231
|
}
|
|
90242
90232
|
}
|
|
@@ -90497,6 +90487,16 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
90497
90487
|
});
|
|
90498
90488
|
});
|
|
90499
90489
|
}
|
|
90490
|
+
getVRenderComponents() {
|
|
90491
|
+
const labels = [];
|
|
90492
|
+
this._labelComponentMap.forEach((info, component) => {
|
|
90493
|
+
const graphicItem = component.getProduct().getGroupGraphicItem();
|
|
90494
|
+
if (graphicItem) {
|
|
90495
|
+
labels.push(graphicItem);
|
|
90496
|
+
}
|
|
90497
|
+
});
|
|
90498
|
+
return labels;
|
|
90499
|
+
}
|
|
90500
90500
|
}
|
|
90501
90501
|
Label.type = ComponentTypeEnum.label;
|
|
90502
90502
|
const registerLabel = () => {
|
|
@@ -90606,6 +90606,16 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
90606
90606
|
});
|
|
90607
90607
|
});
|
|
90608
90608
|
}
|
|
90609
|
+
getVRenderComponents() {
|
|
90610
|
+
const labels = [];
|
|
90611
|
+
this.getMarks().forEach(m => {
|
|
90612
|
+
const graphicItem = m.getProduct().getGroupGraphicItem();
|
|
90613
|
+
if (graphicItem) {
|
|
90614
|
+
labels.push(graphicItem);
|
|
90615
|
+
}
|
|
90616
|
+
});
|
|
90617
|
+
return labels;
|
|
90618
|
+
}
|
|
90609
90619
|
}
|
|
90610
90620
|
TotalLabel.type = ComponentTypeEnum.totalLabel;
|
|
90611
90621
|
function totalLabelPosition(series, type) {
|
|
@@ -91106,7 +91116,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
91106
91116
|
}
|
|
91107
91117
|
changeRegions(regions) {
|
|
91108
91118
|
}
|
|
91109
|
-
|
|
91119
|
+
_getNeedClearVRenderComponents() {
|
|
91110
91120
|
return this._brushComponents;
|
|
91111
91121
|
}
|
|
91112
91122
|
_compareSpec() {
|
|
@@ -91244,7 +91254,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
91244
91254
|
}
|
|
91245
91255
|
changeRegions(regions) {
|
|
91246
91256
|
}
|
|
91247
|
-
|
|
91257
|
+
_getNeedClearVRenderComponents() {
|
|
91248
91258
|
return [];
|
|
91249
91259
|
}
|
|
91250
91260
|
onRender(ctx) {
|
|
@@ -91770,8 +91780,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
91770
91780
|
}
|
|
91771
91781
|
changeRegions() {
|
|
91772
91782
|
}
|
|
91773
|
-
|
|
91774
|
-
return
|
|
91783
|
+
_getNeedClearVRenderComponents() {
|
|
91784
|
+
return this._markerComponents;
|
|
91775
91785
|
}
|
|
91776
91786
|
}
|
|
91777
91787
|
MapLabelComponent.type = ComponentTypeEnum.mapLabel;
|