From 9be21e0a546ce4ab05d811b2d2501050a4e01705 Mon Sep 17 00:00:00 2001 From: "Mr.Mao" <951416545@qq.com> Date: Wed, 10 Jul 2024 00:28:13 +0800 Subject: [PATCH] chore: update all renderer type error and run docs [ci skip] --- docs/.vitepress/config.ts | 2 +- .../theme/components/Markdown/ApiDrawMode.md | 2 +- docs/guide/api-reference/renderer.md | 2 +- .../demo/{simple-rope.vue => mesh-rope.vue} | 2 +- .../elements/{simple-rope.md => mesh-rope.md} | 16 +- docs/guide/elements/mesh.md | 2 +- docs/guide/elements/nine-slice-plane.md | 2 +- docs/guide/elements/simple-plane.md | 2 +- packages/vue3-pixi/README.md | 2 +- packages/vue3-pixi/src/compiler.ts | 2 +- .../src/components/application/index.ts | 9 +- .../vue3-pixi/src/composables/useStage.ts | 4 +- .../vue3-pixi/src/elements/animatedSprite.ts | 4 +- packages/vue3-pixi/src/elements/bitmapText.ts | 5 +- .../src/elements/displacementFilter.ts | 4 +- packages/vue3-pixi/src/elements/graphics.ts | 6 +- packages/vue3-pixi/src/elements/mesh.ts | 4 +- .../elements/{simpleRope.ts => meshRope.ts} | 26 +- .../vue3-pixi/src/elements/nineSliceSprite.ts | 4 +- .../vue3-pixi/src/elements/simplePlane.ts | 2 +- packages/vue3-pixi/src/elements/sprite.ts | 2 +- packages/vue3-pixi/src/elements/text.ts | 2 - .../vue3-pixi/src/elements/tilingSprite.ts | 2 +- packages/vue3-pixi/src/global.ts | 8 +- .../src/renderer/internal/default-renderer.ts | 161 +- .../vue3-pixi/src/renderer/utils/index.ts | 4 +- packages/vue3-pixi/src/types/index.ts | 4 + pnpm-lock.yaml | 15638 +++++----------- 28 files changed, 4662 insertions(+), 11261 deletions(-) rename docs/guide/elements/demo/{simple-rope.vue => mesh-rope.vue} (97%) rename docs/guide/elements/{simple-rope.md => mesh-rope.md} (58%) rename packages/vue3-pixi/src/elements/{simpleRope.ts => meshRope.ts} (56%) create mode 100644 packages/vue3-pixi/src/types/index.ts diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 42e55821..82264300 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -78,7 +78,7 @@ const themeConfig: DefaultTheme.Config = { { text: 'NineSlicePlane', link: '/guide/elements/nine-slice-plane' }, { text: 'ParticleContainer', link: '/guide/elements/particle-container' }, { text: 'SimplePlane', link: '/guide/elements/simple-plane' }, - { text: 'SimpleRope', link: '/guide/elements/simple-rope' }, + { text: 'MeshRope', link: '/guide/elements/mesh-rope' }, { text: 'Sprite', link: '/guide/elements/sprite' }, { text: 'Text', link: '/guide/elements/text' }, { text: 'TilingSprite', link: '/guide/elements/tiling-sprite' }, diff --git a/docs/.vitepress/theme/components/Markdown/ApiDrawMode.md b/docs/.vitepress/theme/components/Markdown/ApiDrawMode.md index b30dbdfb..885e8965 100644 --- a/docs/.vitepress/theme/components/Markdown/ApiDrawMode.md +++ b/docs/.vitepress/theme/components/Markdown/ApiDrawMode.md @@ -1 +1 @@ -^[number] [DRAW_MODES](https://pixijs.download/release/docs/PIXI.html#DRAW_MODES) \ No newline at end of file +^[number] [Topology](https://pixijs.download/release/docs/PIXI.html#Topology) \ No newline at end of file diff --git a/docs/guide/api-reference/renderer.md b/docs/guide/api-reference/renderer.md index 4cfe8f39..704ae704 100644 --- a/docs/guide/api-reference/renderer.md +++ b/docs/guide/api-reference/renderer.md @@ -14,7 +14,7 @@ Currently, the following PixiJS objects are supported out of the box: - [SimplePlane](http://pixijs.download/release/docs/PIXI.SimplePlane.html) - [TilingSprite](http://pixijs.download/release/docs/PIXI.TilingSprite.html) - [NineSlicePlane](http://pixijs.download/release/docs/PIXI.NineSlicePlane.html) -- [SimpleRope](http://pixijs.download/release/docs/PIXI.SimpleRope.html) +- [MeshRope](http://pixijs.download/release/docs/PIXI.MeshRope.html) - [Mesh](http://pixijs.download/release/docs/PIXI.AnimatedSprite.html) - [BlurFilter](https://pixijs.download/release/docs/PIXI.BlurFilter.html) - [AlphaFilter](https://pixijs.download/release/docs/PIXI.AlphaFilter.html) diff --git a/docs/guide/elements/demo/simple-rope.vue b/docs/guide/elements/demo/mesh-rope.vue similarity index 97% rename from docs/guide/elements/demo/simple-rope.vue rename to docs/guide/elements/demo/mesh-rope.vue index ea0687dd..052584b9 100644 --- a/docs/guide/elements/demo/simple-rope.vue +++ b/docs/guide/elements/demo/mesh-rope.vue @@ -20,7 +20,7 @@ onTick(() => {