vue-phaserjs 1.24.1 → 1.25.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.
|
@@ -157,7 +157,7 @@ declare const _default: import('vue').DefineComponent<SpriteProps, {}, {}, {}, {
|
|
|
157
157
|
"update:isTinted": (args_0?: boolean | undefined) => any;
|
|
158
158
|
"update:useSpriteSheet": (args_0?: boolean | undefined) => any;
|
|
159
159
|
"update:animations": (args_0?: Phaser.Types.Animations.Animation[] | undefined) => any;
|
|
160
|
-
"update:playAnimationKey": (args_0?: undefined) => any;
|
|
160
|
+
"update:playAnimationKey": (args_0?: string | undefined) => any;
|
|
161
161
|
}, string, import('vue').PublicProps, Readonly<SpriteProps> & Readonly<{
|
|
162
162
|
onClickoutside?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
163
163
|
onDrag?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
@@ -308,6 +308,6 @@ declare const _default: import('vue').DefineComponent<SpriteProps, {}, {}, {}, {
|
|
|
308
308
|
"onUpdate:isTinted"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
309
309
|
"onUpdate:useSpriteSheet"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
310
310
|
"onUpdate:animations"?: ((args_0?: Phaser.Types.Animations.Animation[] | undefined) => any) | undefined;
|
|
311
|
-
"onUpdate:playAnimationKey"?: ((args_0?: undefined) => any) | undefined;
|
|
311
|
+
"onUpdate:playAnimationKey"?: ((args_0?: string | undefined) => any) | undefined;
|
|
312
312
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
313
313
|
export default _default;
|
package/dist/index.js
CHANGED
|
@@ -55846,7 +55846,7 @@ const Xo = "|", H0 = (E) => {
|
|
|
55846
55846
|
if (!E || typeof E != "object" || Object.hasOwn(E, "TMXNodeType") || Object.hasOwn(E, "window"))
|
|
55847
55847
|
return !1;
|
|
55848
55848
|
try {
|
|
55849
|
-
if (
|
|
55849
|
+
if (!Object.hasOwn(E.constructor.prototype, "isPrototypeOf"))
|
|
55850
55850
|
return !1;
|
|
55851
55851
|
} catch {
|
|
55852
55852
|
return !1;
|
|
@@ -163615,11 +163615,12 @@ const Li = () => {
|
|
|
163615
163615
|
Dn(() => {
|
|
163616
163616
|
for (const i of h) i();
|
|
163617
163617
|
for (const i of v) i();
|
|
163618
|
-
b
|
|
163618
|
+
b.destroy();
|
|
163619
163619
|
});
|
|
163620
163620
|
}, Fe = {
|
|
163621
163621
|
depth: (E) => (F) => {
|
|
163622
|
-
if (F === void 0
|
|
163622
|
+
if (F === void 0) return;
|
|
163623
|
+
E.setDepth(F);
|
|
163623
163624
|
const P = E.parentContainer.list.findIndex(
|
|
163624
163625
|
(M) => "depth" in M && typeof M.depth == "number" && M.depth > E.depth
|
|
163625
163626
|
);
|
|
@@ -168727,7 +168728,7 @@ const $2 = (E) => "source" in E, j2 = (E) => {
|
|
|
168727
168728
|
if ($2(E.$))
|
|
168728
168729
|
return structuredClone(E.$);
|
|
168729
168730
|
const { $: F, $$: P, tile: M } = E;
|
|
168730
|
-
for (const Y of P
|
|
168731
|
+
for (const Y of P) {
|
|
168731
168732
|
if (Y["#name"] !== Ns.Image)
|
|
168732
168733
|
continue;
|
|
168733
168734
|
const c = structuredClone(Y.$), y = (M == null ? void 0 : M.map((t) => j2(t))) ?? [];
|
|
@@ -84,6 +84,6 @@ export declare const AnimationSetterMap: {
|
|
|
84
84
|
onResumeParams?: any[] | undefined;
|
|
85
85
|
persist?: boolean | undefined;
|
|
86
86
|
interpolation?: (string | Function) | undefined;
|
|
87
|
-
}[] | undefined) => void) & ((event: "update:flipX", args_0?: boolean | undefined) => void) & ((event: "update:flipY", args_0?: boolean | undefined) => void) & ((event: "update:alpha", args_0?: number | undefined) => void) & ((event: "update:blendMode", args_0?: string | number | Phaser.BlendModes | undefined) => void) & ((event: "update:key", args_0?: string | Phaser.Textures.Texture | undefined) => void) & ((event: "update:alphaTopLeft", args_0?: number | undefined) => void) & ((event: "update:alphaTopRight", args_0?: number | undefined) => void) & ((event: "update:alphaBottomLeft", args_0?: number | undefined) => void) & ((event: "update:alphaBottomRight", args_0?: number | undefined) => void) & ((event: "update:mask", args_0?: Phaser.Display.Masks.BitmapMask | Phaser.Display.Masks.GeometryMask | undefined) => void) & ((event: "update:defaultPipeline", args_0?: Phaser.Renderer.WebGL.WebGLPipeline | undefined) => void) & ((event: "update:pipeline", args_0?: Phaser.Renderer.WebGL.WebGLPipeline | undefined) => void) & ((event: "update:pipelineData", args_0?: object | undefined) => void) & ((event: "update:frame", args_0?: string | number | undefined) => void) & ((event: "update:texture", args_0?: string | undefined) => void) & ((event: "update:tintTopLeft", args_0?: number | undefined) => void) & ((event: "update:tintTopRight", args_0?: number | undefined) => void) & ((event: "update:tintBottomLeft", args_0?: number | undefined) => void) & ((event: "update:tintBottomRight", args_0?: number | undefined) => void) & ((event: "update:tintFill", args_0?: boolean | undefined) => void) & ((event: "update:tint", args_0?: number | undefined) => void) & ((event: "update:isTinted", args_0?: boolean | undefined) => void) & ((event: "update:useSpriteSheet", args_0?: boolean | undefined) => void) & ((event: "update:animations", args_0?: Phaser.Types.Animations.Animation[] | undefined) => void) & ((event: "update:playAnimationKey", args_0?: undefined) => void)) => (configurations: Phaser.Types.Animations.Animation[] | undefined) => void;
|
|
88
|
-
readonly playAnimationKey: (gameObject: GameObjects.Sprite) => (value: undefined) => void;
|
|
87
|
+
}[] | undefined) => void) & ((event: "update:flipX", args_0?: boolean | undefined) => void) & ((event: "update:flipY", args_0?: boolean | undefined) => void) & ((event: "update:alpha", args_0?: number | undefined) => void) & ((event: "update:blendMode", args_0?: string | number | Phaser.BlendModes | undefined) => void) & ((event: "update:key", args_0?: string | Phaser.Textures.Texture | undefined) => void) & ((event: "update:alphaTopLeft", args_0?: number | undefined) => void) & ((event: "update:alphaTopRight", args_0?: number | undefined) => void) & ((event: "update:alphaBottomLeft", args_0?: number | undefined) => void) & ((event: "update:alphaBottomRight", args_0?: number | undefined) => void) & ((event: "update:mask", args_0?: Phaser.Display.Masks.BitmapMask | Phaser.Display.Masks.GeometryMask | undefined) => void) & ((event: "update:defaultPipeline", args_0?: Phaser.Renderer.WebGL.WebGLPipeline | undefined) => void) & ((event: "update:pipeline", args_0?: Phaser.Renderer.WebGL.WebGLPipeline | undefined) => void) & ((event: "update:pipelineData", args_0?: object | undefined) => void) & ((event: "update:frame", args_0?: string | number | undefined) => void) & ((event: "update:texture", args_0?: string | undefined) => void) & ((event: "update:tintTopLeft", args_0?: number | undefined) => void) & ((event: "update:tintTopRight", args_0?: number | undefined) => void) & ((event: "update:tintBottomLeft", args_0?: number | undefined) => void) & ((event: "update:tintBottomRight", args_0?: number | undefined) => void) & ((event: "update:tintFill", args_0?: boolean | undefined) => void) & ((event: "update:tint", args_0?: number | undefined) => void) & ((event: "update:isTinted", args_0?: boolean | undefined) => void) & ((event: "update:useSpriteSheet", args_0?: boolean | undefined) => void) & ((event: "update:animations", args_0?: Phaser.Types.Animations.Animation[] | undefined) => void) & ((event: "update:playAnimationKey", args_0?: string | undefined) => void)) => (configurations: Phaser.Types.Animations.Animation[] | undefined) => void;
|
|
88
|
+
readonly playAnimationKey: (gameObject: GameObjects.Sprite) => (value: string | undefined) => void;
|
|
89
89
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-phaserjs",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.25.0",
|
|
4
4
|
"description": "A component library to integrate Phaser Framework with Vue.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"export:gen": "ctix build --config ../configuration/.ctirc-vue && ctix build --config ../configuration/.ctirc-ts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@esposter/shared": "1.
|
|
36
|
-
"parse-tmx": "1.
|
|
35
|
+
"@esposter/shared": "1.25.0",
|
|
36
|
+
"parse-tmx": "1.25.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@esposter/configuration": "1.
|
|
39
|
+
"@esposter/configuration": "1.25.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"phaser": "^3.86.0",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"pinia": "^2.2.4",
|
|
45
45
|
"vue": "^3.5.12"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "3acb111aaf7fcdfd08a402fca3c028e97f61176f"
|
|
48
48
|
}
|