vue-phaserjs 2.11.0 → 2.13.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.
- package/README.md +1 -1
- package/dist/components/Circle.vue.d.ts +9 -9
- package/dist/components/Container.vue.d.ts +3 -3
- package/dist/components/Game.vue.d.ts +1 -1
- package/dist/components/Image.vue.d.ts +9 -9
- package/dist/components/Nineslice.vue.d.ts +9 -9
- package/dist/components/PathFollower.vue.d.ts +9 -9
- package/dist/components/Rectangle.vue.d.ts +9 -9
- package/dist/components/Scene.vue.d.ts +1 -1
- package/dist/components/Sprite.vue.d.ts +9 -9
- package/dist/components/Text.vue.d.ts +9 -9
- package/dist/components/TileSprite.vue.d.ts +1 -1
- package/dist/components/Tilemap.vue.d.ts +1 -1
- package/dist/components/Zone.vue.d.ts +1 -1
- package/dist/composables/useAnimations.d.ts +1 -43
- package/dist/composables/useGame.d.ts +1 -2
- package/dist/index.d.ts +3 -6
- package/dist/index.js +734 -767
- package/dist/models/configuration/ImageConfiguration.d.ts +2 -2
- package/dist/models/configuration/NineSliceConfiguration.d.ts +2 -2
- package/dist/models/configuration/PathFollowerConfiguration.d.ts +2 -2
- package/dist/models/configuration/SpriteConfiguration.d.ts +2 -2
- package/dist/models/configuration/TextConfiguration.d.ts +2 -2
- package/dist/models/configuration/TileSpriteConfiguration.d.ts +2 -2
- package/dist/models/configuration/components/RenderNodesConfiguration.d.ts +4 -0
- package/dist/models/configuration/shared/ShapeConfiguration.d.ts +2 -2
- package/dist/models/emit/components/RenderNodesEventEmitsOptions.d.ts +6 -0
- package/dist/store/camera.d.ts +1 -14
- package/dist/store/index.d.ts +1 -30
- package/dist/store/input.d.ts +1 -7
- package/dist/store/text.d.ts +1 -8
- package/dist/util/setterMap/components/MaskSetterMap.d.ts +1 -1
- package/dist/util/setterMap/components/RenderNodesSetterMap.d.ts +1 -0
- package/dist/util/setterMap/shared/AnimationSetterMap.d.ts +1 -1
- package/dist/util/setterMap/shared/ShapeSetterMap.d.ts +1 -2
- package/package.json +4 -4
- package/dist/models/configuration/components/FXConfiguration.d.ts +0 -4
- package/dist/models/configuration/components/PipelineConfiguration.d.ts +0 -4
- package/dist/models/emit/components/FXEventEmitsOptions.d.ts +0 -6
- package/dist/models/emit/components/PipelineEventEmitsOptions.d.ts +0 -6
- package/dist/util/setterMap/components/FXSetterMap.d.ts +0 -4
- package/dist/util/setterMap/components/PipelineSetterMap.d.ts +0 -4
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ Add [phaser.d.ts](https://github.com/Esposter/Esposter/blob/main/packages/app/sh
|
|
|
25
25
|
|
|
26
26
|
## <a name="documentation">📖 Documentation</a>
|
|
27
27
|
|
|
28
|
-
We highly recommend you take a look at the [documentation](https://esposter.com/docs/modules/
|
|
28
|
+
We highly recommend you take a look at the [documentation](https://esposter.com/docs/modules/vue-phaserjs.html) to level up.
|
|
29
29
|
|
|
30
30
|
### Usage
|
|
31
31
|
|
|
@@ -2,7 +2,7 @@ import { ArcConfiguration } from '../models/configuration/ArcConfiguration';
|
|
|
2
2
|
interface CircleProps {
|
|
3
3
|
configuration: Partial<ArcConfiguration>;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import('vue').DefineComponent<CircleProps,
|
|
5
|
+
declare const _default: import('vue').DefineComponent<CircleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
6
|
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
7
7
|
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
8
8
|
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
@@ -128,10 +128,10 @@ declare const _default: import('vue').DefineComponent<CircleProps, void, {}, {},
|
|
|
128
128
|
}[] | undefined) => any;
|
|
129
129
|
"update:alpha": (args_0?: number | undefined) => any;
|
|
130
130
|
"update:blendMode": (args_0?: string | number | Phaser.BlendModes | undefined) => any;
|
|
131
|
-
"update:mask": (args_0?: Phaser.Display.Masks.
|
|
132
|
-
"update:
|
|
133
|
-
"update:
|
|
134
|
-
"update:
|
|
131
|
+
"update:mask": (args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any;
|
|
132
|
+
"update:customRenderNodes": (args_0?: object | undefined) => any;
|
|
133
|
+
"update:defaultRenderNodes": (args_0?: object | undefined) => any;
|
|
134
|
+
"update:renderNodeData": (args_0?: object | undefined) => any;
|
|
135
135
|
"update:fillAlpha": (args_0?: number | undefined) => any;
|
|
136
136
|
"update:fillColor": (args_0?: number | undefined) => any;
|
|
137
137
|
"update:strokeStyle": (args_0?: [lineWidth?: number | undefined, color?: number | undefined, alpha?: number | undefined] | undefined) => any;
|
|
@@ -265,10 +265,10 @@ declare const _default: import('vue').DefineComponent<CircleProps, void, {}, {},
|
|
|
265
265
|
}[] | undefined) => any) | undefined;
|
|
266
266
|
"onUpdate:alpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
267
267
|
"onUpdate:blendMode"?: ((args_0?: string | number | Phaser.BlendModes | undefined) => any) | undefined;
|
|
268
|
-
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.
|
|
269
|
-
"onUpdate:
|
|
270
|
-
"onUpdate:
|
|
271
|
-
"onUpdate:
|
|
268
|
+
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any) | undefined;
|
|
269
|
+
"onUpdate:customRenderNodes"?: ((args_0?: object | undefined) => any) | undefined;
|
|
270
|
+
"onUpdate:defaultRenderNodes"?: ((args_0?: object | undefined) => any) | undefined;
|
|
271
|
+
"onUpdate:renderNodeData"?: ((args_0?: object | undefined) => any) | undefined;
|
|
272
272
|
"onUpdate:fillAlpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
273
273
|
"onUpdate:fillColor"?: ((args_0?: number | undefined) => any) | undefined;
|
|
274
274
|
"onUpdate:strokeStyle"?: ((args_0?: [lineWidth?: number | undefined, color?: number | undefined, alpha?: number | undefined] | undefined) => any) | undefined;
|
|
@@ -6,7 +6,7 @@ interface ContainerProps {
|
|
|
6
6
|
type __VLS_Slots = {
|
|
7
7
|
default: (props: Record<string, never>) => unknown;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_component: import('vue').DefineComponent<ContainerProps,
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<ContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
10
|
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
11
11
|
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
12
12
|
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
@@ -126,7 +126,7 @@ declare const __VLS_component: import('vue').DefineComponent<ContainerProps, voi
|
|
|
126
126
|
}[] | undefined) => any;
|
|
127
127
|
"update:alpha": (args_0?: number | undefined) => any;
|
|
128
128
|
"update:blendMode": (args_0?: string | number | Phaser.BlendModes | undefined) => any;
|
|
129
|
-
"update:mask": (args_0?: Phaser.Display.Masks.
|
|
129
|
+
"update:mask": (args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any;
|
|
130
130
|
"update:children": (args_0?: GameObjects.GameObject[] | undefined) => any;
|
|
131
131
|
}, string, import('vue').PublicProps, Readonly<ContainerProps> & Readonly<{
|
|
132
132
|
onClickoutside?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
@@ -248,7 +248,7 @@ declare const __VLS_component: import('vue').DefineComponent<ContainerProps, voi
|
|
|
248
248
|
}[] | undefined) => any) | undefined;
|
|
249
249
|
"onUpdate:alpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
250
250
|
"onUpdate:blendMode"?: ((args_0?: string | number | Phaser.BlendModes | undefined) => any) | undefined;
|
|
251
|
-
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.
|
|
251
|
+
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any) | undefined;
|
|
252
252
|
"onUpdate:children"?: ((args_0?: GameObjects.GameObject[] | undefined) => any) | undefined;
|
|
253
253
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
254
254
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -6,7 +6,7 @@ interface GameProps {
|
|
|
6
6
|
type __VLS_Slots = {
|
|
7
7
|
default: (props: Record<string, never>) => unknown;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_component: import('vue').DefineComponent<GameProps,
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<GameProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GameProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
11
11
|
export default _default;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -6,7 +6,7 @@ export interface ImageProps {
|
|
|
6
6
|
configuration: SetRequired<Partial<ImageConfiguration>, "texture">;
|
|
7
7
|
onComplete?: (scene: SceneWithPlugins, image: GameObjects.Image) => void;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: import('vue').DefineComponent<ImageProps,
|
|
9
|
+
declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
10
|
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
11
11
|
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
12
12
|
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
@@ -141,10 +141,10 @@ declare const _default: import('vue').DefineComponent<ImageProps, void, {}, {},
|
|
|
141
141
|
"update:alphaTopRight": (args_0?: number | undefined) => any;
|
|
142
142
|
"update:alphaBottomLeft": (args_0?: number | undefined) => any;
|
|
143
143
|
"update:alphaBottomRight": (args_0?: number | undefined) => any;
|
|
144
|
-
"update:mask": (args_0?: Phaser.Display.Masks.
|
|
145
|
-
"update:
|
|
146
|
-
"update:
|
|
147
|
-
"update:
|
|
144
|
+
"update:mask": (args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any;
|
|
145
|
+
"update:customRenderNodes": (args_0?: object | undefined) => any;
|
|
146
|
+
"update:defaultRenderNodes": (args_0?: object | undefined) => any;
|
|
147
|
+
"update:renderNodeData": (args_0?: object | undefined) => any;
|
|
148
148
|
"update:frame": (args_0?: string | number | undefined) => any;
|
|
149
149
|
"update:texture": (args_0?: string | undefined) => any;
|
|
150
150
|
"update:tintTopLeft": (args_0?: number | undefined) => any;
|
|
@@ -292,10 +292,10 @@ declare const _default: import('vue').DefineComponent<ImageProps, void, {}, {},
|
|
|
292
292
|
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
293
293
|
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
294
294
|
"onUpdate:alphaBottomRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
295
|
-
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.
|
|
296
|
-
"onUpdate:
|
|
297
|
-
"onUpdate:
|
|
298
|
-
"onUpdate:
|
|
295
|
+
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any) | undefined;
|
|
296
|
+
"onUpdate:customRenderNodes"?: ((args_0?: object | undefined) => any) | undefined;
|
|
297
|
+
"onUpdate:defaultRenderNodes"?: ((args_0?: object | undefined) => any) | undefined;
|
|
298
|
+
"onUpdate:renderNodeData"?: ((args_0?: object | undefined) => any) | undefined;
|
|
299
299
|
"onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
|
|
300
300
|
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
301
301
|
"onUpdate:tintTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -3,7 +3,7 @@ import { SetRequired } from 'type-fest';
|
|
|
3
3
|
export interface NineSliceProps {
|
|
4
4
|
configuration: SetRequired<Partial<NineSliceConfiguration>, "texture">;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: import('vue').DefineComponent<NineSliceProps,
|
|
6
|
+
declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
8
8
|
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
9
9
|
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
@@ -130,10 +130,10 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, void, {},
|
|
|
130
130
|
"update:alpha": (args_0?: number | undefined) => any;
|
|
131
131
|
"update:blendMode": (args_0?: string | number | Phaser.BlendModes | undefined) => any;
|
|
132
132
|
"update:key": (args_0?: string | Phaser.Textures.Texture | undefined) => any;
|
|
133
|
-
"update:mask": (args_0?: Phaser.Display.Masks.
|
|
134
|
-
"update:
|
|
135
|
-
"update:
|
|
136
|
-
"update:
|
|
133
|
+
"update:mask": (args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any;
|
|
134
|
+
"update:customRenderNodes": (args_0?: object | undefined) => any;
|
|
135
|
+
"update:defaultRenderNodes": (args_0?: object | undefined) => any;
|
|
136
|
+
"update:renderNodeData": (args_0?: object | undefined) => any;
|
|
137
137
|
"update:frame": (args_0?: string | number | undefined) => any;
|
|
138
138
|
"update:texture": (args_0?: string | undefined) => any;
|
|
139
139
|
"update:leftWidth": (args_0?: number | undefined) => any;
|
|
@@ -267,10 +267,10 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, void, {},
|
|
|
267
267
|
"onUpdate:alpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
268
268
|
"onUpdate:blendMode"?: ((args_0?: string | number | Phaser.BlendModes | undefined) => any) | undefined;
|
|
269
269
|
"onUpdate:key"?: ((args_0?: string | Phaser.Textures.Texture | undefined) => any) | undefined;
|
|
270
|
-
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.
|
|
271
|
-
"onUpdate:
|
|
272
|
-
"onUpdate:
|
|
273
|
-
"onUpdate:
|
|
270
|
+
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any) | undefined;
|
|
271
|
+
"onUpdate:customRenderNodes"?: ((args_0?: object | undefined) => any) | undefined;
|
|
272
|
+
"onUpdate:defaultRenderNodes"?: ((args_0?: object | undefined) => any) | undefined;
|
|
273
|
+
"onUpdate:renderNodeData"?: ((args_0?: object | undefined) => any) | undefined;
|
|
274
274
|
"onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
|
|
275
275
|
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
276
276
|
"onUpdate:leftWidth"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -6,7 +6,7 @@ export interface PathFollowerProps {
|
|
|
6
6
|
configuration: SetRequired<Partial<PathFollowerConfiguration>, "path" | "texture">;
|
|
7
7
|
onComplete?: (scene: SceneWithPlugins, pathFollower: GameObjects.PathFollower) => void;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: import('vue').DefineComponent<PathFollowerProps,
|
|
9
|
+
declare const _default: import('vue').DefineComponent<PathFollowerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
10
|
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
11
11
|
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
12
12
|
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
@@ -140,10 +140,10 @@ declare const _default: import('vue').DefineComponent<PathFollowerProps, void, {
|
|
|
140
140
|
"update:alphaTopRight": (args_0?: number | undefined) => any;
|
|
141
141
|
"update:alphaBottomLeft": (args_0?: number | undefined) => any;
|
|
142
142
|
"update:alphaBottomRight": (args_0?: number | undefined) => any;
|
|
143
|
-
"update:mask": (args_0?: Phaser.Display.Masks.
|
|
144
|
-
"update:
|
|
145
|
-
"update:
|
|
146
|
-
"update:
|
|
143
|
+
"update:mask": (args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any;
|
|
144
|
+
"update:customRenderNodes": (args_0?: object | undefined) => any;
|
|
145
|
+
"update:defaultRenderNodes": (args_0?: object | undefined) => any;
|
|
146
|
+
"update:renderNodeData": (args_0?: object | undefined) => any;
|
|
147
147
|
"update:frame": (args_0?: string | number | undefined) => any;
|
|
148
148
|
"update:texture": (args_0?: string | undefined) => any;
|
|
149
149
|
"update:tintTopLeft": (args_0?: number | undefined) => any;
|
|
@@ -295,10 +295,10 @@ declare const _default: import('vue').DefineComponent<PathFollowerProps, void, {
|
|
|
295
295
|
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
296
296
|
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
297
297
|
"onUpdate:alphaBottomRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
298
|
-
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.
|
|
299
|
-
"onUpdate:
|
|
300
|
-
"onUpdate:
|
|
301
|
-
"onUpdate:
|
|
298
|
+
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any) | undefined;
|
|
299
|
+
"onUpdate:customRenderNodes"?: ((args_0?: object | undefined) => any) | undefined;
|
|
300
|
+
"onUpdate:defaultRenderNodes"?: ((args_0?: object | undefined) => any) | undefined;
|
|
301
|
+
"onUpdate:renderNodeData"?: ((args_0?: object | undefined) => any) | undefined;
|
|
302
302
|
"onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
|
|
303
303
|
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
304
304
|
"onUpdate:tintTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -6,7 +6,7 @@ interface RectangleProps {
|
|
|
6
6
|
immediate?: true;
|
|
7
7
|
onComplete?: (scene: SceneWithPlugins, rectangle: GameObjects.Rectangle) => void;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: import('vue').DefineComponent<RectangleProps,
|
|
9
|
+
declare const _default: import('vue').DefineComponent<RectangleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
10
|
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
11
11
|
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
12
12
|
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
@@ -134,10 +134,10 @@ declare const _default: import('vue').DefineComponent<RectangleProps, void, {},
|
|
|
134
134
|
}[] | undefined) => any;
|
|
135
135
|
"update:alpha": (args_0?: number | undefined) => any;
|
|
136
136
|
"update:blendMode": (args_0?: string | number | Phaser.BlendModes | undefined) => any;
|
|
137
|
-
"update:mask": (args_0?: Phaser.Display.Masks.
|
|
138
|
-
"update:
|
|
139
|
-
"update:
|
|
140
|
-
"update:
|
|
137
|
+
"update:mask": (args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any;
|
|
138
|
+
"update:customRenderNodes": (args_0?: object | undefined) => any;
|
|
139
|
+
"update:defaultRenderNodes": (args_0?: object | undefined) => any;
|
|
140
|
+
"update:renderNodeData": (args_0?: object | undefined) => any;
|
|
141
141
|
"update:fillAlpha": (args_0?: number | undefined) => any;
|
|
142
142
|
"update:fillColor": (args_0?: number | undefined) => any;
|
|
143
143
|
"update:strokeStyle": (args_0?: [lineWidth?: number | undefined, color?: number | undefined, alpha?: number | undefined] | undefined) => any;
|
|
@@ -269,10 +269,10 @@ declare const _default: import('vue').DefineComponent<RectangleProps, void, {},
|
|
|
269
269
|
}[] | undefined) => any) | undefined;
|
|
270
270
|
"onUpdate:alpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
271
271
|
"onUpdate:blendMode"?: ((args_0?: string | number | Phaser.BlendModes | undefined) => any) | undefined;
|
|
272
|
-
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.
|
|
273
|
-
"onUpdate:
|
|
274
|
-
"onUpdate:
|
|
275
|
-
"onUpdate:
|
|
272
|
+
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any) | undefined;
|
|
273
|
+
"onUpdate:customRenderNodes"?: ((args_0?: object | undefined) => any) | undefined;
|
|
274
|
+
"onUpdate:defaultRenderNodes"?: ((args_0?: object | undefined) => any) | undefined;
|
|
275
|
+
"onUpdate:renderNodeData"?: ((args_0?: object | undefined) => any) | undefined;
|
|
276
276
|
"onUpdate:fillAlpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
277
277
|
"onUpdate:fillColor"?: ((args_0?: number | undefined) => any) | undefined;
|
|
278
278
|
"onUpdate:strokeStyle"?: ((args_0?: [lineWidth?: number | undefined, color?: number | undefined, alpha?: number | undefined] | undefined) => any) | undefined;
|
|
@@ -3,7 +3,7 @@ import { SceneWithPlugins } from '../models/scene/SceneWithPlugins';
|
|
|
3
3
|
type __VLS_Slots = {
|
|
4
4
|
default: (props: Record<string, never>) => unknown;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<SceneProps,
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<SceneProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
update: (args_0: SceneWithPlugins, time: number, delta: number) => any;
|
|
8
8
|
shutdown: (args_0: SceneWithPlugins) => any;
|
|
9
9
|
init: (args_0: SceneWithPlugins) => any;
|
|
@@ -7,7 +7,7 @@ export interface SpriteProps {
|
|
|
7
7
|
immediate?: true;
|
|
8
8
|
onComplete?: (scene: SceneWithPlugins, sprite: GameObjects.Sprite) => void;
|
|
9
9
|
}
|
|
10
|
-
declare const _default: import('vue').DefineComponent<SpriteProps,
|
|
10
|
+
declare const _default: import('vue').DefineComponent<SpriteProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
11
|
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
12
12
|
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
13
13
|
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
@@ -142,10 +142,10 @@ declare const _default: import('vue').DefineComponent<SpriteProps, void, {}, {},
|
|
|
142
142
|
"update:alphaTopRight": (args_0?: number | undefined) => any;
|
|
143
143
|
"update:alphaBottomLeft": (args_0?: number | undefined) => any;
|
|
144
144
|
"update:alphaBottomRight": (args_0?: number | undefined) => any;
|
|
145
|
-
"update:mask": (args_0?: Phaser.Display.Masks.
|
|
146
|
-
"update:
|
|
147
|
-
"update:
|
|
148
|
-
"update:
|
|
145
|
+
"update:mask": (args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any;
|
|
146
|
+
"update:customRenderNodes": (args_0?: object | undefined) => any;
|
|
147
|
+
"update:defaultRenderNodes": (args_0?: object | undefined) => any;
|
|
148
|
+
"update:renderNodeData": (args_0?: object | undefined) => any;
|
|
149
149
|
"update:frame": (args_0?: string | number | undefined) => any;
|
|
150
150
|
"update:texture": (args_0?: string | undefined) => any;
|
|
151
151
|
"update:tintTopLeft": (args_0?: number | undefined) => any;
|
|
@@ -293,10 +293,10 @@ declare const _default: import('vue').DefineComponent<SpriteProps, void, {}, {},
|
|
|
293
293
|
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
294
294
|
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
295
295
|
"onUpdate:alphaBottomRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
296
|
-
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.
|
|
297
|
-
"onUpdate:
|
|
298
|
-
"onUpdate:
|
|
299
|
-
"onUpdate:
|
|
296
|
+
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any) | undefined;
|
|
297
|
+
"onUpdate:customRenderNodes"?: ((args_0?: object | undefined) => any) | undefined;
|
|
298
|
+
"onUpdate:defaultRenderNodes"?: ((args_0?: object | undefined) => any) | undefined;
|
|
299
|
+
"onUpdate:renderNodeData"?: ((args_0?: object | undefined) => any) | undefined;
|
|
300
300
|
"onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
|
|
301
301
|
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
302
302
|
"onUpdate:tintTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TextProps } from '../models/text/TextProps';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<TextProps,
|
|
2
|
+
declare const _default: import('vue').DefineComponent<TextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
3
|
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
4
4
|
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
5
5
|
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
@@ -133,10 +133,10 @@ declare const _default: import('vue').DefineComponent<TextProps, void, {}, {}, {
|
|
|
133
133
|
"update:alphaTopRight": (args_0?: number | undefined) => any;
|
|
134
134
|
"update:alphaBottomLeft": (args_0?: number | undefined) => any;
|
|
135
135
|
"update:alphaBottomRight": (args_0?: number | undefined) => any;
|
|
136
|
-
"update:mask": (args_0?: Phaser.Display.Masks.
|
|
137
|
-
"update:
|
|
138
|
-
"update:
|
|
139
|
-
"update:
|
|
136
|
+
"update:mask": (args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any;
|
|
137
|
+
"update:customRenderNodes": (args_0?: object | undefined) => any;
|
|
138
|
+
"update:defaultRenderNodes": (args_0?: object | undefined) => any;
|
|
139
|
+
"update:renderNodeData": (args_0?: object | undefined) => any;
|
|
140
140
|
"update:tintTopLeft": (args_0?: number | undefined) => any;
|
|
141
141
|
"update:tintTopRight": (args_0?: number | undefined) => any;
|
|
142
142
|
"update:tintBottomLeft": (args_0?: number | undefined) => any;
|
|
@@ -281,10 +281,10 @@ declare const _default: import('vue').DefineComponent<TextProps, void, {}, {}, {
|
|
|
281
281
|
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
282
282
|
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
283
283
|
"onUpdate:alphaBottomRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
284
|
-
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.
|
|
285
|
-
"onUpdate:
|
|
286
|
-
"onUpdate:
|
|
287
|
-
"onUpdate:
|
|
284
|
+
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.GeometryMask | undefined) => any) | undefined;
|
|
285
|
+
"onUpdate:customRenderNodes"?: ((args_0?: object | undefined) => any) | undefined;
|
|
286
|
+
"onUpdate:defaultRenderNodes"?: ((args_0?: object | undefined) => any) | undefined;
|
|
287
|
+
"onUpdate:renderNodeData"?: ((args_0?: object | undefined) => any) | undefined;
|
|
288
288
|
"onUpdate:tintTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
289
289
|
"onUpdate:tintTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
290
290
|
"onUpdate:tintBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -3,7 +3,7 @@ import { SetRequired } from 'type-fest';
|
|
|
3
3
|
export interface TileSpriteProps {
|
|
4
4
|
configuration: SetRequired<Partial<TileSpriteConfiguration>, "texture">;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: import('vue').DefineComponent<TileSpriteProps,
|
|
6
|
+
declare const _default: import('vue').DefineComponent<TileSpriteProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
[x: string]: (...args: unknown[]) => any;
|
|
8
8
|
}, string, import('vue').PublicProps, Readonly<TileSpriteProps> & Readonly<{
|
|
9
9
|
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
@@ -7,7 +7,7 @@ interface TilemapProps {
|
|
|
7
7
|
type __VLS_Slots = {
|
|
8
8
|
default: (props: Record<string, never>) => unknown;
|
|
9
9
|
};
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<TilemapProps,
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<TilemapProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TilemapProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
12
|
export default _default;
|
|
13
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,7 +3,7 @@ import { SetRequired } from 'type-fest';
|
|
|
3
3
|
interface ZoneProps {
|
|
4
4
|
configuration: SetRequired<Partial<ZoneConfiguration>, "height" | "width" | "x" | "y">;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: import('vue').DefineComponent<ZoneProps,
|
|
6
|
+
declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
8
8
|
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
9
9
|
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
@@ -1,45 +1,3 @@
|
|
|
1
1
|
import { SceneWithPlugins } from '../models/scene/SceneWithPlugins';
|
|
2
2
|
import { Types } from 'phaser';
|
|
3
|
-
export declare const useAnimations: (createConfigurations: (scene: SceneWithPlugins) => Types.Animations.Animation[], immediate?: true) =>
|
|
4
|
-
key?: string | undefined;
|
|
5
|
-
frames?: string | {
|
|
6
|
-
key?: string | undefined;
|
|
7
|
-
frame?: string | number | undefined;
|
|
8
|
-
duration?: number | undefined;
|
|
9
|
-
visible?: boolean | undefined;
|
|
10
|
-
}[] | undefined;
|
|
11
|
-
sortFrames?: boolean | undefined;
|
|
12
|
-
defaultTextureKey?: string | undefined;
|
|
13
|
-
frameRate?: number | undefined;
|
|
14
|
-
duration?: number | undefined;
|
|
15
|
-
skipMissedFrames?: boolean | undefined;
|
|
16
|
-
delay?: number | undefined;
|
|
17
|
-
repeat?: number | undefined;
|
|
18
|
-
repeatDelay?: number | undefined;
|
|
19
|
-
yoyo?: boolean | undefined;
|
|
20
|
-
showBeforeDelay?: boolean | undefined;
|
|
21
|
-
showOnStart?: boolean | undefined;
|
|
22
|
-
hideOnComplete?: boolean | undefined;
|
|
23
|
-
randomFrame?: boolean | undefined;
|
|
24
|
-
}[], Types.Animations.Animation[] | {
|
|
25
|
-
key?: string | undefined;
|
|
26
|
-
frames?: string | {
|
|
27
|
-
key?: string | undefined;
|
|
28
|
-
frame?: string | number | undefined;
|
|
29
|
-
duration?: number | undefined;
|
|
30
|
-
visible?: boolean | undefined;
|
|
31
|
-
}[] | undefined;
|
|
32
|
-
sortFrames?: boolean | undefined;
|
|
33
|
-
defaultTextureKey?: string | undefined;
|
|
34
|
-
frameRate?: number | undefined;
|
|
35
|
-
duration?: number | undefined;
|
|
36
|
-
skipMissedFrames?: boolean | undefined;
|
|
37
|
-
delay?: number | undefined;
|
|
38
|
-
repeat?: number | undefined;
|
|
39
|
-
repeatDelay?: number | undefined;
|
|
40
|
-
yoyo?: boolean | undefined;
|
|
41
|
-
showBeforeDelay?: boolean | undefined;
|
|
42
|
-
showOnStart?: boolean | undefined;
|
|
43
|
-
hideOnComplete?: boolean | undefined;
|
|
44
|
-
randomFrame?: boolean | undefined;
|
|
45
|
-
}[]>;
|
|
3
|
+
export declare const useAnimations: (createConfigurations: (scene: SceneWithPlugins) => Types.Animations.Animation[], immediate?: true) => any;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const useGame: () => Game;
|
|
1
|
+
export declare const useGame: () => any;
|
package/dist/index.d.ts
CHANGED
|
@@ -82,11 +82,10 @@ export * from './models/configuration/components/BlendModeConfiguration';
|
|
|
82
82
|
export * from './models/configuration/components/ComputedSizeConfiguration';
|
|
83
83
|
export * from './models/configuration/components/DepthConfiguration';
|
|
84
84
|
export * from './models/configuration/components/FlipConfiguration';
|
|
85
|
-
export * from './models/configuration/components/FXConfiguration';
|
|
86
85
|
export * from './models/configuration/components/MaskConfiguration';
|
|
87
86
|
export * from './models/configuration/components/OriginConfiguration';
|
|
88
87
|
export * from './models/configuration/components/PathFollowerComponentConfiguration';
|
|
89
|
-
export * from './models/configuration/components/
|
|
88
|
+
export * from './models/configuration/components/RenderNodesConfiguration';
|
|
90
89
|
export * from './models/configuration/components/ScrollFactorConfiguration';
|
|
91
90
|
export * from './models/configuration/components/SizeConfiguration';
|
|
92
91
|
export * from './models/configuration/components/TextureConfiguration';
|
|
@@ -107,11 +106,10 @@ export * from './models/emit/components/BlendModeEventEmitsOptions';
|
|
|
107
106
|
export * from './models/emit/components/ComputedSizeEventEmitsOptions';
|
|
108
107
|
export * from './models/emit/components/DepthEventEmitsOptions';
|
|
109
108
|
export * from './models/emit/components/FlipEventEmitsOptions';
|
|
110
|
-
export * from './models/emit/components/FXEventEmitsOptions';
|
|
111
109
|
export * from './models/emit/components/MaskEventEmitsOptions';
|
|
112
110
|
export * from './models/emit/components/OriginEventEmitsOptions';
|
|
113
111
|
export * from './models/emit/components/PathFollowerComponentEventEmitsOptions';
|
|
114
|
-
export * from './models/emit/components/
|
|
112
|
+
export * from './models/emit/components/RenderNodesEventEmitsOptions';
|
|
115
113
|
export * from './models/emit/components/ScrollFactorEventEmitsOptions';
|
|
116
114
|
export * from './models/emit/components/SizeEventEmitsOptions';
|
|
117
115
|
export * from './models/emit/components/TextureCropEventEmitsOptions';
|
|
@@ -131,11 +129,10 @@ export * from './util/setterMap/components/BlendModeSetterMap';
|
|
|
131
129
|
export * from './util/setterMap/components/ComputedSizeSetterMap';
|
|
132
130
|
export * from './util/setterMap/components/DepthSetterMap';
|
|
133
131
|
export * from './util/setterMap/components/FlipSetterMap';
|
|
134
|
-
export * from './util/setterMap/components/FXSetterMap';
|
|
135
132
|
export * from './util/setterMap/components/MaskSetterMap';
|
|
136
133
|
export * from './util/setterMap/components/OriginSetterMap';
|
|
137
134
|
export * from './util/setterMap/components/PathFollowerComponentSetterMap';
|
|
138
|
-
export * from './util/setterMap/components/
|
|
135
|
+
export * from './util/setterMap/components/RenderNodesSetterMap';
|
|
139
136
|
export * from './util/setterMap/components/ScrollFactorSetterMap';
|
|
140
137
|
export * from './util/setterMap/components/SizeSetterMap';
|
|
141
138
|
export * from './util/setterMap/components/TextureCropSetterMap';
|