@visactor/vchart 1.13.21 → 1.13.22-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 +5 -3
- package/build/index.js +5 -3
- package/build/index.min.js +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/core/index.d.ts +1 -1
- package/cjs/core/index.js +2 -3
- package/cjs/core/index.js.map +1 -1
- package/cjs/core/interface.js +2 -1
- package/cjs/plugin/chart/scroll/interface.d.ts +1 -0
- package/cjs/plugin/chart/scroll/interface.js.map +1 -1
- package/cjs/plugin/chart/scroll/scroll.js +1 -1
- package/cjs/plugin/chart/scroll/scroll.js.map +1 -1
- package/esm/core/index.d.ts +1 -1
- package/esm/core/index.js +2 -3
- package/esm/core/index.js.map +1 -1
- package/esm/core/interface.js +2 -1
- package/esm/plugin/chart/scroll/interface.d.ts +1 -0
- package/esm/plugin/chart/scroll/interface.js.map +1 -1
- package/esm/plugin/chart/scroll/scroll.js +1 -1
- package/esm/plugin/chart/scroll/scroll.js.map +1 -1
- package/package.json +5 -5
package/build/index.es.js
CHANGED
|
@@ -64288,7 +64288,7 @@ const registerVChartCore = () => {
|
|
|
64288
64288
|
};
|
|
64289
64289
|
registerVChartCore();
|
|
64290
64290
|
|
|
64291
|
-
const version = "1.13.
|
|
64291
|
+
const version = "1.13.22-alpha.0";
|
|
64292
64292
|
|
|
64293
64293
|
const addVChartProperty = (data, op) => {
|
|
64294
64294
|
const context = op.beforeCall();
|
|
@@ -104735,8 +104735,10 @@ class ScrollPlugin extends BasePlugin {
|
|
|
104735
104735
|
};
|
|
104736
104736
|
this.onWheel = (e) => {
|
|
104737
104737
|
var _a, _b;
|
|
104738
|
-
|
|
104739
|
-
|
|
104738
|
+
if (this._spec.preventDefault !== false) {
|
|
104739
|
+
e.preventDefault();
|
|
104740
|
+
e.stopPropagation();
|
|
104741
|
+
}
|
|
104740
104742
|
const scrollX = e.deltaX;
|
|
104741
104743
|
const scrollY = e.deltaY;
|
|
104742
104744
|
const rootMark = this.getRootMark();
|
package/build/index.js
CHANGED
|
@@ -64294,7 +64294,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
64294
64294
|
};
|
|
64295
64295
|
registerVChartCore();
|
|
64296
64296
|
|
|
64297
|
-
const version = "1.13.
|
|
64297
|
+
const version = "1.13.22-alpha.0";
|
|
64298
64298
|
|
|
64299
64299
|
const addVChartProperty = (data, op) => {
|
|
64300
64300
|
const context = op.beforeCall();
|
|
@@ -104741,8 +104741,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
104741
104741
|
};
|
|
104742
104742
|
this.onWheel = (e) => {
|
|
104743
104743
|
var _a, _b;
|
|
104744
|
-
|
|
104745
|
-
|
|
104744
|
+
if (this._spec.preventDefault !== false) {
|
|
104745
|
+
e.preventDefault();
|
|
104746
|
+
e.stopPropagation();
|
|
104747
|
+
}
|
|
104746
104748
|
const scrollX = e.deltaX;
|
|
104747
104749
|
const scrollY = e.deltaY;
|
|
104748
104750
|
const rootMark = this.getRootMark();
|