@visactor/react-vchart 2.1.2-alpha.1 → 2.1.2-alpha.10
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/index.js +5 -5
- package/cjs/components/MarkArea.js +1 -2
- package/cjs/components/ScrollBar.js +2 -1
- package/cjs/containers/withContainer.js +1 -1
- package/cjs/context/chart.js +1 -1
- package/esm/components/MarkArea.js +1 -2
- package/esm/components/ScrollBar.js +2 -1
- package/esm/containers/withContainer.js +1 -1
- package/esm/context/chart.js +1 -1
- package/package.json +6 -6
package/build/index.js
CHANGED
|
@@ -18646,14 +18646,14 @@
|
|
|
18646
18646
|
get dpr() {
|
|
18647
18647
|
return this._handler.getDpr();
|
|
18648
18648
|
}
|
|
18649
|
-
constructor(
|
|
18649
|
+
constructor(vRenderGlobal = application.global, handlerFactory = defaultWindowHandlerFactory) {
|
|
18650
18650
|
super(), this.handlerFactory = handlerFactory, this.hooks = {
|
|
18651
18651
|
onChange: new SyncHook(["x", "y", "width", "height"])
|
|
18652
18652
|
}, this.active = () => {
|
|
18653
|
-
const
|
|
18654
|
-
if (!
|
|
18655
|
-
this.handlerFactory(
|
|
18656
|
-
}, this._uid = Generator.GenAutoIncrementId(), this.global =
|
|
18653
|
+
const vRenderGlobal = this.global;
|
|
18654
|
+
if (!vRenderGlobal.env || this.actived) return;
|
|
18655
|
+
this.handlerFactory(vRenderGlobal.env).configure(this, vRenderGlobal), this.actived = !0;
|
|
18656
|
+
}, this._uid = Generator.GenAutoIncrementId(), this.global = vRenderGlobal, this.postInit();
|
|
18657
18657
|
}
|
|
18658
18658
|
_nativeAddEventListener(type, listener, options) {
|
|
18659
18659
|
return this._handler.addEventListener(type, listener, options);
|
|
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
|
|
7
7
|
const BaseComponent_1 = require("./BaseComponent"), vchart_1 = require("@visactor/vchart");
|
|
8
8
|
|
|
9
|
-
exports.MarkArea = (0, BaseComponent_1.createComponent)("MarkArea", "markArea", null, !1, [ vchart_1.registerMarkArea ]);
|
|
10
|
-
//# sourceMappingURL=MarkArea.js.map
|
|
9
|
+
exports.MarkArea = (0, BaseComponent_1.createComponent)("MarkArea", "markArea", null, !1, [ vchart_1.registerMarkArea ]);
|
|
@@ -6,4 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
|
|
7
7
|
const eventsUtils_1 = require("../eventsUtils"), BaseComponent_1 = require("./BaseComponent"), vchart_1 = require("@visactor/vchart");
|
|
8
8
|
|
|
9
|
-
exports.ScrollBar = (0, BaseComponent_1.createComponent)("ScrollBar", "scrollBar", eventsUtils_1.SCROLLBAR_CUSTOMIZED_EVENTS, !1, [ vchart_1.registerScrollBar ]);
|
|
9
|
+
exports.ScrollBar = (0, BaseComponent_1.createComponent)("ScrollBar", "scrollBar", eventsUtils_1.SCROLLBAR_CUSTOMIZED_EVENTS, !1, [ vchart_1.registerScrollBar ]);
|
|
10
|
+
//# sourceMappingURL=ScrollBar.js.map
|
package/cjs/context/chart.js
CHANGED
|
@@ -2,5 +2,4 @@ import { createComponent } from "./BaseComponent";
|
|
|
2
2
|
|
|
3
3
|
import { registerMarkArea } from "@visactor/vchart";
|
|
4
4
|
|
|
5
|
-
export const MarkArea = createComponent("MarkArea", "markArea", null, !1, [ registerMarkArea ]);
|
|
6
|
-
//# sourceMappingURL=MarkArea.js.map
|
|
5
|
+
export const MarkArea = createComponent("MarkArea", "markArea", null, !1, [ registerMarkArea ]);
|
|
@@ -4,4 +4,5 @@ import { createComponent } from "./BaseComponent";
|
|
|
4
4
|
|
|
5
5
|
import { registerScrollBar } from "@visactor/vchart";
|
|
6
6
|
|
|
7
|
-
export const ScrollBar = createComponent("ScrollBar", "scrollBar", SCROLLBAR_CUSTOMIZED_EVENTS, !1, [ registerScrollBar ]);
|
|
7
|
+
export const ScrollBar = createComponent("ScrollBar", "scrollBar", SCROLLBAR_CUSTOMIZED_EVENTS, !1, [ registerScrollBar ]);
|
|
8
|
+
//# sourceMappingURL=ScrollBar.js.map
|
package/esm/context/chart.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/react-vchart",
|
|
3
|
-
"version": "2.1.2-alpha.
|
|
3
|
+
"version": "2.1.2-alpha.10",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "The react version of VChart 4.x",
|
|
6
6
|
"keywords": [
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"build"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@visactor/vchart": "2.1.2-alpha.
|
|
32
|
-
"@visactor/vchart-extension": "2.1.2-alpha.
|
|
31
|
+
"@visactor/vchart": "2.1.2-alpha.10",
|
|
32
|
+
"@visactor/vchart-extension": "2.1.2-alpha.10",
|
|
33
33
|
"@visactor/vutils": "~1.0.23",
|
|
34
|
-
"@visactor/vrender-core": "1.1.
|
|
35
|
-
"@visactor/vrender-kits": "1.1.
|
|
34
|
+
"@visactor/vrender-core": "1.1.3-alpha.4",
|
|
35
|
+
"@visactor/vrender-kits": "1.1.3-alpha.4",
|
|
36
36
|
"react-is": "^18.2.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"@types/node": "*",
|
|
60
60
|
"@vitejs/plugin-react": "3.1.0",
|
|
61
61
|
"vite": "3.2.6",
|
|
62
|
-
"@internal/eslint-config": "0.0.1",
|
|
63
62
|
"@internal/bundler": "0.0.1",
|
|
63
|
+
"@internal/eslint-config": "0.0.1",
|
|
64
64
|
"@internal/ts-config": "0.0.1"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|