@visactor/react-vchart 2.1.2-alpha.1 → 2.1.2-alpha.11

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.
Files changed (2) hide show
  1. package/build/index.js +5 -5
  2. package/package.json +7 -7
package/build/index.js CHANGED
@@ -18646,14 +18646,14 @@
18646
18646
  get dpr() {
18647
18647
  return this._handler.getDpr();
18648
18648
  }
18649
- constructor(global = application.global, handlerFactory = defaultWindowHandlerFactory) {
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 global = this.global;
18654
- if (!global.env || this.actived) return;
18655
- this.handlerFactory(global.env).configure(this, global), this.actived = !0;
18656
- }, this._uid = Generator.GenAutoIncrementId(), this.global = global, this.postInit();
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/react-vchart",
3
- "version": "2.1.2-alpha.1",
3
+ "version": "2.1.2-alpha.11",
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.1",
32
- "@visactor/vchart-extension": "2.1.2-alpha.1",
31
+ "@visactor/vchart": "2.1.2-alpha.11",
32
+ "@visactor/vchart-extension": "2.1.2-alpha.11",
33
33
  "@visactor/vutils": "~1.0.23",
34
- "@visactor/vrender-core": "1.1.2-alpha.1",
35
- "@visactor/vrender-kits": "1.1.2-alpha.1",
34
+ "@visactor/vrender-core": "1.1.3-alpha.5",
35
+ "@visactor/vrender-kits": "1.1.3-alpha.5",
36
36
  "react-is": "^18.2.0"
37
37
  },
38
38
  "devDependencies": {
@@ -59,9 +59,9 @@
59
59
  "@types/node": "*",
60
60
  "@vitejs/plugin-react": "3.1.0",
61
61
  "vite": "3.2.6",
62
+ "@internal/ts-config": "0.0.1",
62
63
  "@internal/eslint-config": "0.0.1",
63
- "@internal/bundler": "0.0.1",
64
- "@internal/ts-config": "0.0.1"
64
+ "@internal/bundler": "0.0.1"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "react": ">=16.0.0",