vue-phaserjs 1.20.2 → 1.21.1
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/LICENSE +1 -1
- package/README.md +43 -0
- package/dist/components/Circle.vue.d.ts +16 -16
- package/dist/components/Container.vue.d.ts +16 -16
- package/dist/components/Game.vue.d.ts +1 -1
- package/dist/components/Image.vue.d.ts +19 -19
- package/dist/components/Nineslice.vue.d.ts +17 -17
- package/dist/components/PathFollower.vue.d.ts +18 -18
- package/dist/components/Rectangle.vue.d.ts +16 -16
- package/dist/components/Scene.vue.d.ts +7 -7
- package/dist/components/Sprite.vue.d.ts +19 -19
- package/dist/components/Text.vue.d.ts +16 -16
- package/dist/components/TileSprite.vue.d.ts +2 -149
- package/dist/components/Tilemap.vue.d.ts +1 -1
- package/dist/components/Zone.vue.d.ts +16 -16
- package/dist/index.js +978 -973
- package/dist/store/index.d.ts +3 -3
- package/dist/utils/types/ExcludeFunctionProperties.d.ts +1 -3
- package/package.json +6 -9
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright
|
|
189
|
+
Copyright 2020-present Jimmy Chen
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# vue-phaserjs
|
|
2
|
+
|
|
3
|
+
<p>
|
|
4
|
+
<a href="https://www.npmjs.com/package/vue-phaserjs">
|
|
5
|
+
<img src="https://img.shields.io/npm/v/vue-phaserjs.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="Version">
|
|
6
|
+
</a>
|
|
7
|
+
<a href="https://www.npmjs.com/package/vue-phaserjs">
|
|
8
|
+
<img src="https://img.shields.io/npm/dm/vue-phaserjs.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="Downloads">
|
|
9
|
+
</a>
|
|
10
|
+
<a href="https://github.com/Esposter/Esposter/blob/main/LICENSE">
|
|
11
|
+
<img src="https://img.shields.io/github/license/Esposter/Esposter.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="License">
|
|
12
|
+
</a>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
Inspired by [phavuer](https://github.com/laineus/phavuer).
|
|
16
|
+
|
|
17
|
+
### Table of Contents
|
|
18
|
+
|
|
19
|
+
- 🚀 [Getting Started](#getting-started)
|
|
20
|
+
- 📖 [Documentation](#documentation)
|
|
21
|
+
- ⚖️ [License](#license)
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## <a name="getting-started">🚀 Getting Started</a>
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pnpm i vue-phaserjs
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Add [phaser.d.ts](https://github.com/Esposter/Esposter/blob/main/packages/app/types/phaser.d.ts) and [vue-phaserjs.d.ts](https://github.com/Esposter/Esposter/blob/main/packages/app/types/vue-phaser.d.ts) so `vue-phaserjs` can narrow down your scene key types + provide intellisense for custom plugins.
|
|
32
|
+
|
|
33
|
+
## <a name="documentation">📖 Documentation</a>
|
|
34
|
+
|
|
35
|
+
We highly recommend you take a look at the [documentation](https://esposter.com/docs/modules/vue_phaserjs.html) to level up.
|
|
36
|
+
|
|
37
|
+
### Usage
|
|
38
|
+
|
|
39
|
+
An example [implementation](https://github.com/Esposter/Esposter/blob/main/packages/app/pages/dungeons.vue).
|
|
40
|
+
|
|
41
|
+
## <a name="license">⚖️ License</a>
|
|
42
|
+
|
|
43
|
+
[Apache-2.0 licensed](https://github.com/Esposter/Esposter/blob/main/LICENSE)
|
|
@@ -3,6 +3,20 @@ interface CircleProps {
|
|
|
3
3
|
configuration: Partial<ArcConfiguration>;
|
|
4
4
|
}
|
|
5
5
|
declare const _default: import('vue').DefineComponent<CircleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
7
|
+
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
8
|
+
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
9
|
+
dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
10
|
+
dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
11
|
+
dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
12
|
+
dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
13
|
+
drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
14
|
+
pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
15
|
+
pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
16
|
+
pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
17
|
+
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
18
|
+
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
19
|
+
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
6
20
|
"update:depth": (args_0?: number | undefined) => any;
|
|
7
21
|
"update:origin": (args_0?: number | undefined) => any;
|
|
8
22
|
"update:originX": (args_0?: number | undefined) => any;
|
|
@@ -125,21 +139,7 @@ declare const _default: import('vue').DefineComponent<CircleProps, {}, {}, {}, {
|
|
|
125
139
|
"update:endAngle": (args_0?: number | undefined) => any;
|
|
126
140
|
"update:radius": (args_0?: number | undefined) => any;
|
|
127
141
|
"update:startAngle": (args_0?: number | undefined) => any;
|
|
128
|
-
|
|
129
|
-
readonly drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
130
|
-
readonly dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
131
|
-
readonly dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
132
|
-
readonly dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
133
|
-
readonly dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
134
|
-
readonly dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
135
|
-
readonly drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
136
|
-
readonly pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
137
|
-
readonly pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
138
|
-
readonly pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
139
|
-
readonly pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
140
|
-
readonly pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
141
|
-
readonly wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
142
|
-
}, string, import('vue').PublicProps, Readonly<CircleProps & {
|
|
142
|
+
}, string, import('vue').PublicProps, Readonly<CircleProps> & Readonly<{
|
|
143
143
|
onClickoutside?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
144
144
|
onDrag?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
145
145
|
onDragend?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
@@ -276,5 +276,5 @@ declare const _default: import('vue').DefineComponent<CircleProps, {}, {}, {}, {
|
|
|
276
276
|
"onUpdate:endAngle"?: ((args_0?: number | undefined) => any) | undefined;
|
|
277
277
|
"onUpdate:radius"?: ((args_0?: number | undefined) => any) | undefined;
|
|
278
278
|
"onUpdate:startAngle"?: ((args_0?: number | undefined) => any) | undefined;
|
|
279
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
279
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
280
280
|
export default _default;
|
|
@@ -14,6 +14,20 @@ declare function __VLS_template(): {
|
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
16
|
declare const __VLS_component: import('vue').DefineComponent<ContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
18
|
+
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
19
|
+
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
20
|
+
dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
21
|
+
dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
22
|
+
dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
23
|
+
dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
24
|
+
drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
25
|
+
pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
26
|
+
pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
27
|
+
pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
28
|
+
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
29
|
+
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
30
|
+
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
17
31
|
"update:depth": (args_0?: number | undefined) => any;
|
|
18
32
|
"update:hasTransformComponent": (args_0?: boolean | undefined) => any;
|
|
19
33
|
"update:x": (args_0?: number | undefined) => any;
|
|
@@ -121,21 +135,7 @@ declare const __VLS_component: import('vue').DefineComponent<ContainerProps, {},
|
|
|
121
135
|
"update:blendMode": (args_0?: string | number | Phaser.BlendModes | undefined) => any;
|
|
122
136
|
"update:mask": (args_0?: Phaser.Display.Masks.BitmapMask | Phaser.Display.Masks.GeometryMask | undefined) => any;
|
|
123
137
|
"update:children": (args_0?: GameObjects.GameObject[] | undefined) => any;
|
|
124
|
-
|
|
125
|
-
readonly drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
126
|
-
readonly dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
127
|
-
readonly dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
128
|
-
readonly dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
129
|
-
readonly dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
130
|
-
readonly dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
131
|
-
readonly drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
132
|
-
readonly pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
133
|
-
readonly pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
134
|
-
readonly pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
135
|
-
readonly pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
136
|
-
readonly pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
137
|
-
readonly wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
138
|
-
}, string, import('vue').PublicProps, Readonly<ContainerProps & {
|
|
138
|
+
}, string, import('vue').PublicProps, Readonly<ContainerProps> & Readonly<{
|
|
139
139
|
onClickoutside?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
140
140
|
onDrag?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
141
141
|
onDragend?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
@@ -257,7 +257,7 @@ declare const __VLS_component: import('vue').DefineComponent<ContainerProps, {},
|
|
|
257
257
|
"onUpdate:blendMode"?: ((args_0?: string | number | Phaser.BlendModes | undefined) => any) | undefined;
|
|
258
258
|
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.BitmapMask | Phaser.Display.Masks.GeometryMask | undefined) => any) | undefined;
|
|
259
259
|
"onUpdate:children"?: ((args_0?: GameObjects.GameObject[] | undefined) => any) | undefined;
|
|
260
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
260
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
261
261
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
262
262
|
export default _default;
|
|
263
263
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
15
15
|
attrs: Partial<{}>;
|
|
16
16
|
};
|
|
17
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<GameProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GameProps & {}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
18
|
+
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>;
|
|
19
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
20
|
export default _default;
|
|
21
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -7,6 +7,20 @@ export interface ImageProps {
|
|
|
7
7
|
onComplete?: (scene: SceneWithPlugins, image: GameObjects.Image) => void;
|
|
8
8
|
}
|
|
9
9
|
declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
11
|
+
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
12
|
+
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
13
|
+
dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
14
|
+
dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
15
|
+
dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
16
|
+
dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
17
|
+
drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
18
|
+
pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
19
|
+
pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
20
|
+
pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
21
|
+
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
22
|
+
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
23
|
+
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
10
24
|
"update:depth": (args_0?: number | undefined) => any;
|
|
11
25
|
"update:origin": (args_0?: number | undefined) => any;
|
|
12
26
|
"update:originX": (args_0?: number | undefined) => any;
|
|
@@ -143,21 +157,7 @@ declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}
|
|
|
143
157
|
"update:useSpriteSheet": (args_0?: boolean | undefined) => any;
|
|
144
158
|
"update:anims": (args_0?: string | Phaser.Animations.Animation | Phaser.Types.Animations.PlayAnimationConfig | undefined) => any;
|
|
145
159
|
"update:isCropped": (args_0?: boolean | undefined) => any;
|
|
146
|
-
|
|
147
|
-
readonly drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
148
|
-
readonly dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
149
|
-
readonly dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
150
|
-
readonly dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
151
|
-
readonly dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
152
|
-
readonly dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
153
|
-
readonly drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
154
|
-
readonly pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
155
|
-
readonly pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
156
|
-
readonly pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
157
|
-
readonly pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
158
|
-
readonly pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
159
|
-
readonly wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
160
|
-
}, string, import('vue').PublicProps, Readonly<ImageProps & {
|
|
160
|
+
}, string, import('vue').PublicProps, Readonly<ImageProps> & Readonly<{
|
|
161
161
|
onClickoutside?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
162
162
|
onDrag?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
163
163
|
onDragend?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
@@ -287,6 +287,7 @@ declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}
|
|
|
287
287
|
"onUpdate:flipY"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
288
288
|
"onUpdate:alpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
289
289
|
"onUpdate:blendMode"?: ((args_0?: string | number | Phaser.BlendModes | undefined) => any) | undefined;
|
|
290
|
+
"onUpdate:key"?: ((args_0?: string | Phaser.Textures.Texture | undefined) => any) | undefined;
|
|
290
291
|
"onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
291
292
|
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
292
293
|
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -295,6 +296,8 @@ declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}
|
|
|
295
296
|
"onUpdate:defaultPipeline"?: ((args_0?: Phaser.Renderer.WebGL.WebGLPipeline | undefined) => any) | undefined;
|
|
296
297
|
"onUpdate:pipeline"?: ((args_0?: Phaser.Renderer.WebGL.WebGLPipeline | undefined) => any) | undefined;
|
|
297
298
|
"onUpdate:pipelineData"?: ((args_0?: object | undefined) => any) | undefined;
|
|
299
|
+
"onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
|
|
300
|
+
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
298
301
|
"onUpdate:tintTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
299
302
|
"onUpdate:tintTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
300
303
|
"onUpdate:tintBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -302,11 +305,8 @@ declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}
|
|
|
302
305
|
"onUpdate:tintFill"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
303
306
|
"onUpdate:tint"?: ((args_0?: number | undefined) => any) | undefined;
|
|
304
307
|
"onUpdate:isTinted"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
305
|
-
"onUpdate:key"?: ((args_0?: string | Phaser.Textures.Texture | undefined) => any) | undefined;
|
|
306
|
-
"onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
|
|
307
|
-
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
308
308
|
"onUpdate:useSpriteSheet"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
309
309
|
"onUpdate:anims"?: ((args_0?: string | Phaser.Animations.Animation | Phaser.Types.Animations.PlayAnimationConfig | undefined) => any) | undefined;
|
|
310
310
|
"onUpdate:isCropped"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
311
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
311
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
312
312
|
export default _default;
|
|
@@ -4,6 +4,20 @@ export interface NineSliceProps {
|
|
|
4
4
|
configuration: SetRequired<Partial<NineSliceConfiguration>, "texture">;
|
|
5
5
|
}
|
|
6
6
|
declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
8
|
+
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
9
|
+
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
10
|
+
dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
11
|
+
dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
12
|
+
dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
13
|
+
dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
14
|
+
drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
15
|
+
pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
16
|
+
pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
17
|
+
pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
18
|
+
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
19
|
+
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
20
|
+
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
7
21
|
"update:depth": (args_0?: number | undefined) => any;
|
|
8
22
|
"update:origin": (args_0?: number | undefined) => any;
|
|
9
23
|
"update:originX": (args_0?: number | undefined) => any;
|
|
@@ -126,21 +140,7 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}
|
|
|
126
140
|
"update:rightWidth": (args_0?: number | undefined) => any;
|
|
127
141
|
"update:topHeight": (args_0?: number | undefined) => any;
|
|
128
142
|
"update:bottomHeight": (args_0?: number | undefined) => any;
|
|
129
|
-
|
|
130
|
-
readonly drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
131
|
-
readonly dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
132
|
-
readonly dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
133
|
-
readonly dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
134
|
-
readonly dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
135
|
-
readonly dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
136
|
-
readonly drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
137
|
-
readonly pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
138
|
-
readonly pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
139
|
-
readonly pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
140
|
-
readonly pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
141
|
-
readonly pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
142
|
-
readonly wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
143
|
-
}, string, import('vue').PublicProps, Readonly<NineSliceProps & {
|
|
143
|
+
}, string, import('vue').PublicProps, Readonly<NineSliceProps> & Readonly<{
|
|
144
144
|
onClickoutside?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
145
145
|
onDrag?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
146
146
|
onDragend?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
@@ -266,16 +266,16 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}
|
|
|
266
266
|
}[] | undefined) => any) | undefined;
|
|
267
267
|
"onUpdate:alpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
268
268
|
"onUpdate:blendMode"?: ((args_0?: string | number | Phaser.BlendModes | undefined) => any) | undefined;
|
|
269
|
+
"onUpdate:key"?: ((args_0?: string | Phaser.Textures.Texture | undefined) => any) | undefined;
|
|
269
270
|
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.BitmapMask | Phaser.Display.Masks.GeometryMask | undefined) => any) | undefined;
|
|
270
271
|
"onUpdate:defaultPipeline"?: ((args_0?: Phaser.Renderer.WebGL.WebGLPipeline | undefined) => any) | undefined;
|
|
271
272
|
"onUpdate:pipeline"?: ((args_0?: Phaser.Renderer.WebGL.WebGLPipeline | undefined) => any) | undefined;
|
|
272
273
|
"onUpdate:pipelineData"?: ((args_0?: object | undefined) => any) | undefined;
|
|
273
|
-
"onUpdate:key"?: ((args_0?: string | Phaser.Textures.Texture | 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;
|
|
277
277
|
"onUpdate:rightWidth"?: ((args_0?: number | undefined) => any) | undefined;
|
|
278
278
|
"onUpdate:topHeight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
279
279
|
"onUpdate:bottomHeight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
280
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
280
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
281
281
|
export default _default;
|
|
@@ -7,6 +7,20 @@ export interface PathFollowerProps {
|
|
|
7
7
|
onComplete?: (scene: SceneWithPlugins, pathFollower: GameObjects.PathFollower) => void;
|
|
8
8
|
}
|
|
9
9
|
declare const _default: import('vue').DefineComponent<PathFollowerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
11
|
+
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
12
|
+
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
13
|
+
dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
14
|
+
dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
15
|
+
dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
16
|
+
dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
17
|
+
drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
18
|
+
pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
19
|
+
pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
20
|
+
pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
21
|
+
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
22
|
+
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
23
|
+
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
10
24
|
"update:depth": (args_0?: number | undefined) => any;
|
|
11
25
|
"update:origin": (args_0?: number | undefined) => any;
|
|
12
26
|
"update:originX": (args_0?: number | undefined) => any;
|
|
@@ -147,21 +161,7 @@ declare const _default: import('vue').DefineComponent<PathFollowerProps, {}, {},
|
|
|
147
161
|
"update:positionOnPath": (args_0?: boolean | undefined) => any;
|
|
148
162
|
"update:rotationOffset": (args_0?: number | undefined) => any;
|
|
149
163
|
"update:startAt": (args_0?: number | undefined) => any;
|
|
150
|
-
|
|
151
|
-
readonly drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
152
|
-
readonly dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
153
|
-
readonly dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
154
|
-
readonly dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
155
|
-
readonly dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
156
|
-
readonly dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
157
|
-
readonly drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
158
|
-
readonly pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
159
|
-
readonly pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
160
|
-
readonly pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
161
|
-
readonly pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
162
|
-
readonly pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
163
|
-
readonly wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
164
|
-
}, string, import('vue').PublicProps, Readonly<PathFollowerProps & {
|
|
164
|
+
}, string, import('vue').PublicProps, Readonly<PathFollowerProps> & Readonly<{
|
|
165
165
|
onClickoutside?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
166
166
|
onDrag?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
167
167
|
onDragend?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
@@ -299,6 +299,8 @@ declare const _default: import('vue').DefineComponent<PathFollowerProps, {}, {},
|
|
|
299
299
|
"onUpdate:defaultPipeline"?: ((args_0?: Phaser.Renderer.WebGL.WebGLPipeline | undefined) => any) | undefined;
|
|
300
300
|
"onUpdate:pipeline"?: ((args_0?: Phaser.Renderer.WebGL.WebGLPipeline | undefined) => any) | undefined;
|
|
301
301
|
"onUpdate:pipelineData"?: ((args_0?: object | undefined) => any) | undefined;
|
|
302
|
+
"onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
|
|
303
|
+
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
302
304
|
"onUpdate:tintTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
303
305
|
"onUpdate:tintTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
304
306
|
"onUpdate:tintBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -306,8 +308,6 @@ declare const _default: import('vue').DefineComponent<PathFollowerProps, {}, {},
|
|
|
306
308
|
"onUpdate:tintFill"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
307
309
|
"onUpdate:tint"?: ((args_0?: number | undefined) => any) | undefined;
|
|
308
310
|
"onUpdate:isTinted"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
309
|
-
"onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
|
|
310
|
-
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
311
311
|
"onUpdate:path"?: ((args_0?: Phaser.Curves.Path | undefined) => any) | undefined;
|
|
312
312
|
"onUpdate:duration"?: ((args_0?: number | undefined) => any) | undefined;
|
|
313
313
|
"onUpdate:rotateToPath"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
@@ -316,5 +316,5 @@ declare const _default: import('vue').DefineComponent<PathFollowerProps, {}, {},
|
|
|
316
316
|
"onUpdate:positionOnPath"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
317
317
|
"onUpdate:rotationOffset"?: ((args_0?: number | undefined) => any) | undefined;
|
|
318
318
|
"onUpdate:startAt"?: ((args_0?: number | undefined) => any) | undefined;
|
|
319
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
319
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
320
320
|
export default _default;
|
|
@@ -7,6 +7,20 @@ interface RectangleProps {
|
|
|
7
7
|
onComplete?: (scene: SceneWithPlugins, rectangle: GameObjects.Rectangle) => void;
|
|
8
8
|
}
|
|
9
9
|
declare const _default: import('vue').DefineComponent<RectangleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
11
|
+
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
12
|
+
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
13
|
+
dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
14
|
+
dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
15
|
+
dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
16
|
+
dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
17
|
+
drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
18
|
+
pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
19
|
+
pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
20
|
+
pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
21
|
+
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
22
|
+
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
23
|
+
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
10
24
|
"update:depth": (args_0?: number | undefined) => any;
|
|
11
25
|
"update:origin": (args_0?: number | undefined) => any;
|
|
12
26
|
"update:originX": (args_0?: number | undefined) => any;
|
|
@@ -127,21 +141,7 @@ declare const _default: import('vue').DefineComponent<RectangleProps, {}, {}, {}
|
|
|
127
141
|
"update:fillAlpha": (args_0?: number | undefined) => any;
|
|
128
142
|
"update:fillColor": (args_0?: number | undefined) => any;
|
|
129
143
|
"update:strokeStyle": (args_0?: [lineWidth?: number | undefined, color?: number | undefined, alpha?: number | undefined] | undefined) => any;
|
|
130
|
-
|
|
131
|
-
readonly drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
132
|
-
readonly dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
133
|
-
readonly dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
134
|
-
readonly dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
135
|
-
readonly dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
136
|
-
readonly dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
137
|
-
readonly drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
138
|
-
readonly pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
139
|
-
readonly pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
140
|
-
readonly pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
141
|
-
readonly pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
142
|
-
readonly pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
143
|
-
readonly wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
144
|
-
}, string, import('vue').PublicProps, Readonly<RectangleProps & {
|
|
144
|
+
}, string, import('vue').PublicProps, Readonly<RectangleProps> & Readonly<{
|
|
145
145
|
onClickoutside?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
146
146
|
onDrag?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
147
147
|
onDragend?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
@@ -276,5 +276,5 @@ declare const _default: import('vue').DefineComponent<RectangleProps, {}, {}, {}
|
|
|
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;
|
|
279
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
279
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
280
280
|
export default _default;
|
|
@@ -11,18 +11,18 @@ declare function __VLS_template(): {
|
|
|
11
11
|
};
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
13
|
declare const __VLS_component: import('vue').DefineComponent<SceneProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
-
|
|
14
|
+
update: (args_0: SceneWithPlugins, time: number, delta: number) => any;
|
|
15
|
+
shutdown: (args_0: SceneWithPlugins) => any;
|
|
15
16
|
init: (args_0: SceneWithPlugins) => any;
|
|
17
|
+
create: (args_0: SceneWithPlugins) => any;
|
|
16
18
|
preload: (args_0: SceneWithPlugins) => any;
|
|
17
|
-
|
|
18
|
-
update: (args_0: SceneWithPlugins, time: number, delta: number) => any;
|
|
19
|
-
}, string, import('vue').PublicProps, Readonly<SceneProps & {
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<SceneProps> & Readonly<{
|
|
20
20
|
onUpdate?: ((args_0: SceneWithPlugins, time: number, delta: number) => any) | undefined;
|
|
21
|
-
|
|
21
|
+
onShutdown?: ((args_0: SceneWithPlugins) => any) | undefined;
|
|
22
22
|
onInit?: ((args_0: SceneWithPlugins) => any) | undefined;
|
|
23
|
+
onCreate?: ((args_0: SceneWithPlugins) => any) | undefined;
|
|
23
24
|
onPreload?: ((args_0: SceneWithPlugins) => any) | undefined;
|
|
24
|
-
|
|
25
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
25
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
27
|
export default _default;
|
|
28
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -8,6 +8,20 @@ export interface SpriteProps {
|
|
|
8
8
|
onComplete?: (scene: SceneWithPlugins, sprite: GameObjects.Sprite) => void;
|
|
9
9
|
}
|
|
10
10
|
declare const _default: import('vue').DefineComponent<SpriteProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
12
|
+
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
13
|
+
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
14
|
+
dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
15
|
+
dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
16
|
+
dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
17
|
+
dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
18
|
+
drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
19
|
+
pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
20
|
+
pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
21
|
+
pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
22
|
+
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
23
|
+
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
24
|
+
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
11
25
|
"update:depth": (args_0?: number | undefined) => any;
|
|
12
26
|
"update:origin": (args_0?: number | undefined) => any;
|
|
13
27
|
"update:originX": (args_0?: number | undefined) => any;
|
|
@@ -144,21 +158,7 @@ declare const _default: import('vue').DefineComponent<SpriteProps, {}, {}, {}, {
|
|
|
144
158
|
"update:useSpriteSheet": (args_0?: boolean | undefined) => any;
|
|
145
159
|
"update:animations": (args_0?: Phaser.Types.Animations.Animation[] | undefined) => any;
|
|
146
160
|
"update:playAnimationKey": (args_0?: undefined) => any;
|
|
147
|
-
|
|
148
|
-
readonly drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
149
|
-
readonly dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
150
|
-
readonly dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
151
|
-
readonly dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
152
|
-
readonly dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
153
|
-
readonly dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
154
|
-
readonly drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
155
|
-
readonly pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
156
|
-
readonly pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
157
|
-
readonly pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
158
|
-
readonly pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
159
|
-
readonly pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
160
|
-
readonly wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
161
|
-
}, string, import('vue').PublicProps, Readonly<SpriteProps & {
|
|
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;
|
|
164
164
|
onDragend?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
@@ -288,6 +288,7 @@ declare const _default: import('vue').DefineComponent<SpriteProps, {}, {}, {}, {
|
|
|
288
288
|
"onUpdate:flipY"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
289
289
|
"onUpdate:alpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
290
290
|
"onUpdate:blendMode"?: ((args_0?: string | number | Phaser.BlendModes | undefined) => any) | undefined;
|
|
291
|
+
"onUpdate:key"?: ((args_0?: string | Phaser.Textures.Texture | undefined) => any) | undefined;
|
|
291
292
|
"onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
292
293
|
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
293
294
|
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -296,6 +297,8 @@ declare const _default: import('vue').DefineComponent<SpriteProps, {}, {}, {}, {
|
|
|
296
297
|
"onUpdate:defaultPipeline"?: ((args_0?: Phaser.Renderer.WebGL.WebGLPipeline | undefined) => any) | undefined;
|
|
297
298
|
"onUpdate:pipeline"?: ((args_0?: Phaser.Renderer.WebGL.WebGLPipeline | undefined) => any) | undefined;
|
|
298
299
|
"onUpdate:pipelineData"?: ((args_0?: object | undefined) => any) | undefined;
|
|
300
|
+
"onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
|
|
301
|
+
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
299
302
|
"onUpdate:tintTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
300
303
|
"onUpdate:tintTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
301
304
|
"onUpdate:tintBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -303,11 +306,8 @@ declare const _default: import('vue').DefineComponent<SpriteProps, {}, {}, {}, {
|
|
|
303
306
|
"onUpdate:tintFill"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
304
307
|
"onUpdate:tint"?: ((args_0?: number | undefined) => any) | undefined;
|
|
305
308
|
"onUpdate:isTinted"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
306
|
-
"onUpdate:key"?: ((args_0?: string | Phaser.Textures.Texture | undefined) => any) | undefined;
|
|
307
|
-
"onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
|
|
308
|
-
"onUpdate:texture"?: ((args_0?: string | 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
311
|
"onUpdate:playAnimationKey"?: ((args_0?: undefined) => any) | undefined;
|
|
312
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
312
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
313
313
|
export default _default;
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import { TextProps } from '../models/text/TextProps';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<TextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
4
|
+
drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
5
|
+
dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
6
|
+
dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
7
|
+
dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
8
|
+
dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
9
|
+
dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
10
|
+
drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
11
|
+
pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
12
|
+
pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
13
|
+
pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
14
|
+
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
15
|
+
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
16
|
+
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
3
17
|
"update:depth": (args_0?: number | undefined) => any;
|
|
4
18
|
"update:origin": (args_0?: number | undefined) => any;
|
|
5
19
|
"update:originX": (args_0?: number | undefined) => any;
|
|
@@ -133,21 +147,7 @@ declare const _default: import('vue').DefineComponent<TextProps, {}, {}, {}, {},
|
|
|
133
147
|
"update:style": (args_0?: Phaser.Types.GameObjects.Text.TextStyle | undefined) => any;
|
|
134
148
|
"update:text": (args_0?: string | (string & string[]) | undefined) => any;
|
|
135
149
|
"update:padding": (args_0?: Phaser.Types.GameObjects.Text.TextPadding | undefined) => any;
|
|
136
|
-
|
|
137
|
-
readonly drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
138
|
-
readonly dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
139
|
-
readonly dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
140
|
-
readonly dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
141
|
-
readonly dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
142
|
-
readonly dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
143
|
-
readonly drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
144
|
-
readonly pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
145
|
-
readonly pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
146
|
-
readonly pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
147
|
-
readonly pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
148
|
-
readonly pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
149
|
-
readonly wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
150
|
-
}, string, import('vue').PublicProps, Readonly<TextProps & {
|
|
150
|
+
}, string, import('vue').PublicProps, Readonly<TextProps> & Readonly<{
|
|
151
151
|
onClickoutside?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
152
152
|
onDrag?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
153
153
|
onDragend?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
@@ -295,5 +295,5 @@ declare const _default: import('vue').DefineComponent<TextProps, {}, {}, {}, {},
|
|
|
295
295
|
"onUpdate:style"?: ((args_0?: Phaser.Types.GameObjects.Text.TextStyle | undefined) => any) | undefined;
|
|
296
296
|
"onUpdate:text"?: ((args_0?: string | (string & string[]) | undefined) => any) | undefined;
|
|
297
297
|
"onUpdate:padding"?: ((args_0?: Phaser.Types.GameObjects.Text.TextPadding | undefined) => any) | undefined;
|
|
298
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
298
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
299
299
|
export default _default;
|