@visactor/vchart 2.0.20-alpha.7 → 2.0.20
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 +8 -3
- package/build/index.js +8 -3
- package/build/index.min.js +2 -2
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/compile/util.js +2 -1
- package/cjs/component/data-zoom/scroll-bar/scroll-bar.js +2 -2
- package/cjs/component/data-zoom/scroll-bar/scroll-bar.js.map +1 -1
- package/cjs/component/util.js +1 -2
- package/cjs/constant/gradient.js +1 -2
- package/cjs/constant/scroll-bar.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.d.ts +1 -1
- package/cjs/core/index.js +1 -1
- package/cjs/core/index.js.map +1 -1
- package/cjs/core/interface.js +1 -1
- package/cjs/core/util.js +1 -1
- package/cjs/core/vchart.js +1 -1
- package/cjs/mark/base/base-mark.js +2 -2
- package/cjs/mark/base/base-mark.js.map +1 -1
- package/esm/compile/util.js +2 -1
- package/esm/component/data-zoom/scroll-bar/scroll-bar.js +2 -2
- package/esm/component/data-zoom/scroll-bar/scroll-bar.js.map +1 -1
- package/esm/component/util.js +1 -2
- package/esm/constant/gradient.js +1 -2
- package/esm/constant/scroll-bar.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.d.ts +1 -1
- package/esm/core/index.js +1 -1
- package/esm/core/index.js.map +1 -1
- package/esm/core/interface.js +1 -1
- package/esm/core/util.js +1 -1
- package/esm/core/vchart.js +1 -1
- package/esm/mark/base/base-mark.js +2 -2
- package/esm/mark/base/base-mark.js.map +1 -1
- package/package.json +4 -4
package/build/index.es.js
CHANGED
|
@@ -58776,6 +58776,9 @@ class BaseMark extends GrammarItem {
|
|
|
58776
58776
|
return;
|
|
58777
58777
|
}
|
|
58778
58778
|
this._product = mark.getProduct();
|
|
58779
|
+
if (!this._product) {
|
|
58780
|
+
return;
|
|
58781
|
+
}
|
|
58779
58782
|
this._product.clearStates();
|
|
58780
58783
|
this._graphics = mark.getGraphics();
|
|
58781
58784
|
this._graphics.forEach(g => {
|
|
@@ -61926,7 +61929,7 @@ const lookup = (data, opt) => {
|
|
|
61926
61929
|
});
|
|
61927
61930
|
};
|
|
61928
61931
|
|
|
61929
|
-
const version = "2.0.
|
|
61932
|
+
const version = "2.0.20";
|
|
61930
61933
|
|
|
61931
61934
|
const addVChartProperty = (data, op) => {
|
|
61932
61935
|
const context = op.beforeCall();
|
|
@@ -99755,8 +99758,10 @@ class ScrollBar extends DataFilterBaseComponent {
|
|
|
99755
99758
|
}
|
|
99756
99759
|
this._start = start;
|
|
99757
99760
|
this._end = end;
|
|
99758
|
-
const
|
|
99759
|
-
const
|
|
99761
|
+
const axis = this._relatedAxisComponent;
|
|
99762
|
+
const reverse = isReverse(axis, this._isHorizontal);
|
|
99763
|
+
const startValue = statePointToData(start, this._stateScale, reverse);
|
|
99764
|
+
const endValue = statePointToData(end, this._stateScale, reverse);
|
|
99760
99765
|
const hasChange = isFunction$1(this._spec.updateDataAfterChange)
|
|
99761
99766
|
? this._spec.updateDataAfterChange(start, end, startValue, endValue)
|
|
99762
99767
|
: this._handleStateChange(startValue, endValue);
|
package/build/index.js
CHANGED
|
@@ -58782,6 +58782,9 @@
|
|
|
58782
58782
|
return;
|
|
58783
58783
|
}
|
|
58784
58784
|
this._product = mark.getProduct();
|
|
58785
|
+
if (!this._product) {
|
|
58786
|
+
return;
|
|
58787
|
+
}
|
|
58785
58788
|
this._product.clearStates();
|
|
58786
58789
|
this._graphics = mark.getGraphics();
|
|
58787
58790
|
this._graphics.forEach(g => {
|
|
@@ -61932,7 +61935,7 @@
|
|
|
61932
61935
|
});
|
|
61933
61936
|
};
|
|
61934
61937
|
|
|
61935
|
-
const version = "2.0.
|
|
61938
|
+
const version = "2.0.20";
|
|
61936
61939
|
|
|
61937
61940
|
const addVChartProperty = (data, op) => {
|
|
61938
61941
|
const context = op.beforeCall();
|
|
@@ -99761,8 +99764,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
99761
99764
|
}
|
|
99762
99765
|
this._start = start;
|
|
99763
99766
|
this._end = end;
|
|
99764
|
-
const
|
|
99765
|
-
const
|
|
99767
|
+
const axis = this._relatedAxisComponent;
|
|
99768
|
+
const reverse = isReverse(axis, this._isHorizontal);
|
|
99769
|
+
const startValue = statePointToData(start, this._stateScale, reverse);
|
|
99770
|
+
const endValue = statePointToData(end, this._stateScale, reverse);
|
|
99766
99771
|
const hasChange = isFunction$1(this._spec.updateDataAfterChange)
|
|
99767
99772
|
? this._spec.updateDataAfterChange(start, end, startValue, endValue)
|
|
99768
99773
|
: this._handleStateChange(startValue, endValue);
|