vue-phaserjs 2.8.1 → 2.10.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.
@@ -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, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ declare const _default: import('vue').DefineComponent<CircleProps, void, {}, {}, {}, 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;
@@ -3,18 +3,10 @@ import { GameObjects } from 'phaser';
3
3
  interface ContainerProps {
4
4
  configuration?: Partial<ContainerConfiguration>;
5
5
  }
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: Readonly<{
9
- default: (props: Record<string, never>) => unknown;
10
- }> & {
11
- default: (props: Record<string, never>) => unknown;
12
- };
13
- refs: {};
14
- rootEl: any;
6
+ type __VLS_Slots = {
7
+ default: (props: Record<string, never>) => unknown;
15
8
  };
16
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
- declare const __VLS_component: import('vue').DefineComponent<ContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ declare const __VLS_component: import('vue').DefineComponent<ContainerProps, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
10
  clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
19
11
  drag: (...args: Phaser.Types.Input.EventData[]) => any;
20
12
  dragend: (...args: Phaser.Types.Input.EventData[]) => any;
@@ -259,9 +251,9 @@ declare const __VLS_component: import('vue').DefineComponent<ContainerProps, {},
259
251
  "onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.BitmapMask | Phaser.Display.Masks.GeometryMask | undefined) => any) | undefined;
260
252
  "onUpdate:children"?: ((args_0?: GameObjects.GameObject[] | undefined) => any) | undefined;
261
253
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
262
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
254
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
263
255
  export default _default;
264
- type __VLS_WithTemplateSlots<T, S> = T & {
256
+ type __VLS_WithSlots<T, S> = T & {
265
257
  new (): {
266
258
  $slots: S;
267
259
  };
@@ -3,25 +3,13 @@ import { Except } from 'type-fest';
3
3
  interface GameProps {
4
4
  configuration: Except<Types.Core.GameConfig, "scene">;
5
5
  }
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: Readonly<{
9
- default: (props: Record<string, never>) => unknown;
10
- }> & {
11
- default: (props: Record<string, never>) => unknown;
12
- };
13
- refs: {
14
- canvasRoot: HTMLDivElement;
15
- };
16
- rootEl: any;
6
+ type __VLS_Slots = {
7
+ default: (props: Record<string, never>) => unknown;
17
8
  };
18
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- 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, {
20
- canvasRoot: HTMLDivElement;
21
- }, any>;
22
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
9
+ declare const __VLS_component: import('vue').DefineComponent<GameProps, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GameProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
23
11
  export default _default;
24
- type __VLS_WithTemplateSlots<T, S> = T & {
12
+ type __VLS_WithSlots<T, S> = T & {
25
13
  new (): {
26
14
  $slots: S;
27
15
  };
@@ -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, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ declare const _default: import('vue').DefineComponent<ImageProps, void, {}, {}, {}, 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;
@@ -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, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ declare const _default: import('vue').DefineComponent<NineSliceProps, void, {}, {}, {}, 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;
@@ -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, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ declare const _default: import('vue').DefineComponent<PathFollowerProps, void, {}, {}, {}, 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;
@@ -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, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ declare const _default: import('vue').DefineComponent<RectangleProps, void, {}, {}, {}, 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;
@@ -1,17 +1,9 @@
1
1
  import { SceneProps } from '../models/scene/SceneProps';
2
2
  import { SceneWithPlugins } from '../models/scene/SceneWithPlugins';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: Readonly<{
6
- default: (props: Record<string, never>) => unknown;
7
- }> & {
8
- default: (props: Record<string, never>) => unknown;
9
- };
10
- refs: {};
11
- rootEl: any;
3
+ type __VLS_Slots = {
4
+ default: (props: Record<string, never>) => unknown;
12
5
  };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<SceneProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ declare const __VLS_component: import('vue').DefineComponent<SceneProps, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
7
  update: (args_0: SceneWithPlugins, time: number, delta: number) => any;
16
8
  shutdown: (args_0: SceneWithPlugins) => any;
17
9
  init: (args_0: SceneWithPlugins) => any;
@@ -24,9 +16,9 @@ declare const __VLS_component: import('vue').DefineComponent<SceneProps, {}, {},
24
16
  onCreate?: ((args_0: SceneWithPlugins) => any) | undefined;
25
17
  onPreload?: ((args_0: SceneWithPlugins) => any) | undefined;
26
18
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
28
20
  export default _default;
29
- type __VLS_WithTemplateSlots<T, S> = T & {
21
+ type __VLS_WithSlots<T, S> = T & {
30
22
  new (): {
31
23
  $slots: S;
32
24
  };
@@ -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, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ declare const _default: import('vue').DefineComponent<SpriteProps, void, {}, {}, {}, 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;
@@ -1,5 +1,5 @@
1
1
  import { TextProps } from '../models/text/TextProps';
2
- declare const _default: import('vue').DefineComponent<TextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
+ declare const _default: import('vue').DefineComponent<TextProps, void, {}, {}, {}, 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;
@@ -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, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ declare const _default: import('vue').DefineComponent<TileSpriteProps, void, {}, {}, {}, 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;
@@ -4,21 +4,13 @@ interface TilemapProps {
4
4
  configuration: Types.Tilemaps.TilemapConfig;
5
5
  onComplete?: (scene: SceneWithPlugins, tilemap: Tilemaps.Tilemap) => void;
6
6
  }
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: Readonly<{
10
- default: (props: Record<string, never>) => unknown;
11
- }> & {
12
- default: (props: Record<string, never>) => unknown;
13
- };
14
- refs: {};
15
- rootEl: any;
7
+ type __VLS_Slots = {
8
+ default: (props: Record<string, never>) => unknown;
16
9
  };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- 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>;
19
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
10
+ declare const __VLS_component: import('vue').DefineComponent<TilemapProps, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TilemapProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
20
12
  export default _default;
21
- type __VLS_WithTemplateSlots<T, S> = T & {
13
+ type __VLS_WithSlots<T, S> = T & {
22
14
  new (): {
23
15
  $slots: S;
24
16
  };
@@ -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, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ declare const _default: import('vue').DefineComponent<ZoneProps, void, {}, {}, {}, 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;