vue-phaserjs 2.17.0 → 2.19.2

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.
@@ -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 __VLS_export: 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;
@@ -277,4 +277,5 @@ declare const _default: import('vue').DefineComponent<RectangleProps, {}, {}, {}
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;
279
279
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
280
+ declare const _default: typeof __VLS_export;
280
281
  export default _default;
@@ -1,17 +1,10 @@
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: () => VNode;
7
- }> & {
8
- default: () => VNode;
9
- };
10
- refs: {};
11
- rootEl: any;
3
+ import { VNode } from 'vue';
4
+ type __VLS_Slots = {
5
+ default: () => VNode;
12
6
  };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<SceneProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ declare const __VLS_base: import('vue').DefineComponent<SceneProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
8
  update: (args_0: SceneWithPlugins, time: number, delta: number) => any;
16
9
  shutdown: (args_0: SceneWithPlugins) => any;
17
10
  init: (args_0: SceneWithPlugins) => any;
@@ -24,9 +17,10 @@ declare const __VLS_component: import('vue').DefineComponent<SceneProps, {}, {},
24
17
  onCreate?: ((args_0: SceneWithPlugins) => any) | undefined;
25
18
  onPreload?: ((args_0: SceneWithPlugins) => any) | undefined;
26
19
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
+ declare const _default: typeof __VLS_export;
28
22
  export default _default;
29
- type __VLS_WithTemplateSlots<T, S> = T & {
23
+ type __VLS_WithSlots<T, S> = T & {
30
24
  new (): {
31
25
  $slots: S;
32
26
  };
@@ -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 __VLS_export: 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;
@@ -310,4 +310,5 @@ declare const _default: import('vue').DefineComponent<SpriteProps, {}, {}, {}, {
310
310
  "onUpdate:animations"?: ((args_0?: Phaser.Types.Animations.Animation[] | undefined) => any) | undefined;
311
311
  "onUpdate:playAnimationKey"?: ((args_0?: string | undefined) => any) | undefined;
312
312
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
313
+ declare const _default: typeof __VLS_export;
313
314
  export default _default;
@@ -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 __VLS_export: 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;
@@ -296,4 +296,5 @@ declare const _default: import('vue').DefineComponent<TextProps, {}, {}, {}, {},
296
296
  "onUpdate:style"?: ((args_0?: Phaser.Types.GameObjects.Text.TextStyle | undefined) => any) | undefined;
297
297
  "onUpdate:padding"?: ((args_0?: Phaser.Types.GameObjects.Text.TextPadding | undefined) => any) | undefined;
298
298
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
299
+ declare const _default: typeof __VLS_export;
299
300
  export default _default;
@@ -3,9 +3,10 @@ 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 __VLS_export: 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;
10
10
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
@@ -1,24 +1,18 @@
1
1
  import { SceneWithPlugins } from '../models/scene/SceneWithPlugins';
2
2
  import { Tilemaps, Types } from 'phaser';
3
+ import { VNode } from 'vue';
3
4
  interface TilemapProps {
4
5
  configuration: Types.Tilemaps.TilemapConfig;
5
6
  onComplete?: (scene: SceneWithPlugins, tilemap: Tilemaps.Tilemap) => void;
6
7
  }
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: Readonly<{
10
- default: () => VNode;
11
- }> & {
12
- default: () => VNode;
13
- };
14
- refs: {};
15
- rootEl: any;
8
+ type __VLS_Slots = {
9
+ default: () => VNode;
16
10
  };
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"]>;
11
+ declare const __VLS_base: import('vue').DefineComponent<TilemapProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TilemapProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
20
14
  export default _default;
21
- type __VLS_WithTemplateSlots<T, S> = T & {
15
+ type __VLS_WithSlots<T, S> = T & {
22
16
  new (): {
23
17
  $slots: S;
24
18
  };
@@ -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 __VLS_export: 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;
@@ -256,4 +256,5 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
256
256
  interpolation?: (string | Function) | undefined;
257
257
  }[] | undefined) => any) | undefined;
258
258
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
259
+ declare const _default: typeof __VLS_export;
259
260
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { default as Zone } from './Zone.vue';
2
- import { default as TileSprite } from './TileSprite.vue';
3
2
  import { default as Tilemap } from './Tilemap.vue';
3
+ import { default as TileSprite } from './TileSprite.vue';
4
4
  import { default as Text } from './Text.vue';
5
5
  import { default as Sprite } from './Sprite.vue';
6
6
  import { default as Scene } from './Scene.vue';
@@ -11,4 +11,4 @@ import { default as Image } from './Image.vue';
11
11
  import { default as Game } from './Game.vue';
12
12
  import { default as Container } from './Container.vue';
13
13
  import { default as Circle } from './Circle.vue';
14
- export { Zone, TileSprite, Tilemap, Text, Sprite, Scene, Rectangle, PathFollower, Nineslice, Image, Game, Container, Circle, };
14
+ export { Zone, Tilemap, TileSprite, Text, Sprite, Scene, Rectangle, PathFollower, Nineslice, Image, Game, Container, Circle, };