Skip to content

Commit 01b9179

Browse files
committed
fix: stabilize BytePack registry singletons
1 parent 6f67ba7 commit 01b9179

67 files changed

Lines changed: 437 additions & 214 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

common/config/rush/pnpm-lock.yaml

Lines changed: 84 additions & 84 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"@visactor/vchart-theme": "~1.6.6",
2020
"@visactor/vmind": "1.2.4-alpha.5",
2121
"@visactor/vutils": "~1.0.23",
22-
"@visactor/vrender": "~1.1.3",
23-
"@visactor/vrender-kits": "~1.1.3",
22+
"@visactor/vrender": "~1.1.4-alpha.0",
23+
"@visactor/vrender-kits": "~1.1.4-alpha.0",
2424
"@visactor/vtable": "1.19.0-alpha.0",
2525
"@visactor/vtable-editors": "1.19.0-alpha.0",
2626
"@visactor/vtable-gantt": "1.19.0-alpha.0",

packages/openinula-vchart/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"dependencies": {
3131
"@visactor/vchart": "workspace:2.1.1",
3232
"@visactor/vutils": "~1.0.23",
33-
"@visactor/vrender-core": "~1.1.3",
34-
"@visactor/vrender-kits": "~1.1.3",
33+
"@visactor/vrender-core": "~1.1.4-alpha.0",
34+
"@visactor/vrender-kits": "~1.1.4-alpha.0",
3535
"react-is": "^18.2.0"
3636
},
3737
"devDependencies": {

packages/react-vchart/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"@visactor/vchart": "workspace:2.1.1",
3737
"@visactor/vchart-extension": "workspace:2.1.1",
3838
"@visactor/vutils": "~1.0.23",
39-
"@visactor/vrender-core": "~1.1.3",
40-
"@visactor/vrender-kits": "~1.1.3",
39+
"@visactor/vrender-core": "~1.1.4-alpha.0",
40+
"@visactor/vrender-kits": "~1.1.4-alpha.0",
4141
"react-is": "^18.2.0"
4242
},
4343
"devDependencies": {

packages/vchart-extension/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
"start": "ts-node __tests__/runtime/browser/scripts/initVite.ts && vite serve __tests__/runtime/browser"
2727
},
2828
"dependencies": {
29-
"@visactor/vrender-core": "~1.1.3",
30-
"@visactor/vrender-kits": "~1.1.3",
31-
"@visactor/vrender-components": "~1.1.3",
32-
"@visactor/vrender-animate": "~1.1.3",
29+
"@visactor/vrender-core": "~1.1.4-alpha.0",
30+
"@visactor/vrender-kits": "~1.1.4-alpha.0",
31+
"@visactor/vrender-components": "~1.1.4-alpha.0",
32+
"@visactor/vrender-animate": "~1.1.4-alpha.0",
3333
"@visactor/vchart": "workspace:2.1.1",
3434
"@visactor/vutils": "~1.0.23",
3535
"@visactor/vdataset": "~1.0.23",

packages/vchart-extension/src/charts/3d/arc-3d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { registerArc3d } from '@visactor/vrender-kits/register/register-arc3d';
2-
import { registerShadowRoot } from '@visactor/vrender-kits/register/register-shadowRoot';
3-
import { createArc3d } from '@visactor/vrender-core';
1+
import { createArc3d } from './graphic-creator';
42
import { registerArcAnimation } from '@visactor/vchart/esm/animation/config';
53
import { Factory } from '@visactor/vchart/esm/core/factory';
64
import { BaseArcMark } from '@visactor/vchart/esm/mark/arc';
5+
import { registerArc3d, registerShadowRoot } from '@visactor/vchart/esm/vrender-bridge';
76
import { MarkType3dEnum } from './enum';
87
import type { IArc3dMark, IArc3dMarkSpec } from './interface';
98

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { createArc3d, createPyramid3d, createRect3d } from '@visactor/vchart/esm/vrender-bridge';

packages/vchart-extension/src/charts/3d/plugin.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
import { registerDirectionalLight, registerOrthoCamera, registerViewTransform3dPlugin } from '@visactor/vrender-core';
1+
import {
2+
registerDirectionalLight,
3+
registerOrthoCamera,
4+
registerViewTransform3dPlugin
5+
} from '@visactor/vrender-core/plugin/3d';
26
import type { VChartRenderActionSource } from '@visactor/vchart/esm/core/interface';
37
import { BasePlugin } from '@visactor/vchart/esm/plugin/base/base-plugin';
48
import type { IChartPlugin, IChartPluginService } from '@visactor/vchart/esm/plugin/chart/interface';

packages/vchart-extension/src/charts/3d/pyramid-3d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { createPyramid3d } from '@visactor/vrender-core';
2-
import { registerPyramid3d } from '@visactor/vrender-kits/register/register-pyramid3d';
3-
import { registerShadowRoot } from '@visactor/vrender-kits/register/register-shadowRoot';
1+
import { createPyramid3d } from './graphic-creator';
42
import { registerPolygonAnimation } from '@visactor/vchart/esm/animation/config';
53
import { Factory } from '@visactor/vchart/esm/core/factory';
64
import { BasePolygonMark } from '@visactor/vchart/esm/mark/polygon/base-polygon';
5+
import { registerPyramid3d, registerShadowRoot } from '@visactor/vchart/esm/vrender-bridge';
76
import type { IPyramid3dMark, IPyramid3dMarkSpec } from './interface';
87
import { MarkType3dEnum } from './enum';
98

packages/vchart-extension/src/charts/3d/rect-3d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { createRect3d } from '@visactor/vrender-core';
2-
import { registerRect3d } from '@visactor/vrender-kits/register/register-rect3d';
3-
import { registerShadowRoot } from '@visactor/vrender-kits/register/register-shadowRoot';
1+
import { createRect3d } from './graphic-creator';
42
import { registerRectAnimation } from '@visactor/vchart/esm/animation/config';
53
import { Factory } from '@visactor/vchart/esm/core/factory';
64
import { BaseMark } from '@visactor/vchart/esm/mark/base/base-mark';
5+
import { registerRect3d, registerShadowRoot } from '@visactor/vchart/esm/vrender-bridge';
76
import type { IMarkStyle } from '@visactor/vchart/esm/mark/interface/common';
87
import type { IRect3dMark, IRect3dMarkSpec } from './interface';
98
import { MarkType3dEnum } from './enum';

0 commit comments

Comments
 (0)