vue-phaserjs 1.20.0 → 1.20.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/dist/components/Circle.vue.d.ts +28 -28
- package/dist/components/Container.vue.d.ts +41 -34
- package/dist/components/Game.vue.d.ts +14 -5
- package/dist/components/Image.vue.d.ts +28 -28
- package/dist/components/Nineslice.vue.d.ts +28 -28
- package/dist/components/PathFollower.vue.d.ts +28 -28
- package/dist/components/Rectangle.vue.d.ts +28 -28
- package/dist/components/Scene.vue.d.ts +13 -6
- package/dist/components/Sprite.vue.d.ts +28 -28
- package/dist/components/Text.vue.d.ts +28 -28
- package/dist/components/TileSprite.vue.d.ts +14 -14
- package/dist/components/Tilemap.vue.d.ts +12 -5
- package/dist/components/Zone.vue.d.ts +28 -28
- package/dist/composables/useAnimations.d.ts +2 -2
- package/dist/utils/setterMap/global/GlobalSetterMap.d.ts +42 -42
- package/dist/utils/setterMap/global/TweenSetterMap.d.ts +42 -42
- package/dist/utils/setterMap/shared/AnimationSetterMap.d.ts +14 -14
- package/package.json +5 -5
|
@@ -28,9 +28,9 @@ declare const _default: import('vue').DefineComponent<CircleProps, {}, {}, {}, {
|
|
|
28
28
|
"update:displayWidth": (args_0?: number | undefined) => any;
|
|
29
29
|
"update:tween": (args_0?: {
|
|
30
30
|
[x: string]: any;
|
|
31
|
-
delay?: number | Function | undefined;
|
|
31
|
+
delay?: (number | Function) | undefined;
|
|
32
32
|
duration?: number | undefined;
|
|
33
|
-
ease?: string | Function | undefined;
|
|
33
|
+
ease?: (string | Function) | undefined;
|
|
34
34
|
easeParams?: any[] | undefined;
|
|
35
35
|
hold?: number | undefined;
|
|
36
36
|
repeat?: number | undefined;
|
|
@@ -38,12 +38,12 @@ declare const _default: import('vue').DefineComponent<CircleProps, {}, {}, {}, {
|
|
|
38
38
|
yoyo?: boolean | undefined;
|
|
39
39
|
flipX?: boolean | undefined;
|
|
40
40
|
flipY?: boolean | undefined;
|
|
41
|
-
completeDelay?: string | number |
|
|
42
|
-
loop?: string | number |
|
|
43
|
-
loopDelay?: string | number |
|
|
41
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
42
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
43
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
44
44
|
paused?: boolean | undefined;
|
|
45
45
|
props?: {
|
|
46
|
-
[key: string]:
|
|
46
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
47
47
|
} | undefined;
|
|
48
48
|
callbackScope?: any;
|
|
49
49
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -67,13 +67,13 @@ declare const _default: import('vue').DefineComponent<CircleProps, {}, {}, {}, {
|
|
|
67
67
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
68
68
|
onResumeParams?: any[] | undefined;
|
|
69
69
|
persist?: boolean | undefined;
|
|
70
|
-
interpolation?: string | Function | undefined;
|
|
70
|
+
interpolation?: (string | Function) | undefined;
|
|
71
71
|
} | undefined) => any;
|
|
72
72
|
"update:tweenchain": (args_0?: {
|
|
73
73
|
[x: string]: any;
|
|
74
|
-
delay?: number | Function | undefined;
|
|
74
|
+
delay?: (number | Function) | undefined;
|
|
75
75
|
duration?: number | undefined;
|
|
76
|
-
ease?: string | Function | undefined;
|
|
76
|
+
ease?: (string | Function) | undefined;
|
|
77
77
|
easeParams?: any[] | undefined;
|
|
78
78
|
hold?: number | undefined;
|
|
79
79
|
repeat?: number | undefined;
|
|
@@ -81,12 +81,12 @@ declare const _default: import('vue').DefineComponent<CircleProps, {}, {}, {}, {
|
|
|
81
81
|
yoyo?: boolean | undefined;
|
|
82
82
|
flipX?: boolean | undefined;
|
|
83
83
|
flipY?: boolean | undefined;
|
|
84
|
-
completeDelay?: string | number |
|
|
85
|
-
loop?: string | number |
|
|
86
|
-
loopDelay?: string | number |
|
|
84
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
85
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
86
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
87
87
|
paused?: boolean | undefined;
|
|
88
88
|
props?: {
|
|
89
|
-
[key: string]:
|
|
89
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
90
90
|
} | undefined;
|
|
91
91
|
callbackScope?: any;
|
|
92
92
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -110,7 +110,7 @@ declare const _default: import('vue').DefineComponent<CircleProps, {}, {}, {}, {
|
|
|
110
110
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
111
111
|
onResumeParams?: any[] | undefined;
|
|
112
112
|
persist?: boolean | undefined;
|
|
113
|
-
interpolation?: string | Function | undefined;
|
|
113
|
+
interpolation?: (string | Function) | undefined;
|
|
114
114
|
}[] | undefined) => any;
|
|
115
115
|
"update:alpha": (args_0?: number | undefined) => any;
|
|
116
116
|
"update:blendMode": (args_0?: string | number | Phaser.BlendModes | undefined) => any;
|
|
@@ -179,9 +179,9 @@ declare const _default: import('vue').DefineComponent<CircleProps, {}, {}, {}, {
|
|
|
179
179
|
"onUpdate:displayWidth"?: ((args_0?: number | undefined) => any) | undefined;
|
|
180
180
|
"onUpdate:tween"?: ((args_0?: {
|
|
181
181
|
[x: string]: any;
|
|
182
|
-
delay?: number | Function | undefined;
|
|
182
|
+
delay?: (number | Function) | undefined;
|
|
183
183
|
duration?: number | undefined;
|
|
184
|
-
ease?: string | Function | undefined;
|
|
184
|
+
ease?: (string | Function) | undefined;
|
|
185
185
|
easeParams?: any[] | undefined;
|
|
186
186
|
hold?: number | undefined;
|
|
187
187
|
repeat?: number | undefined;
|
|
@@ -189,12 +189,12 @@ declare const _default: import('vue').DefineComponent<CircleProps, {}, {}, {}, {
|
|
|
189
189
|
yoyo?: boolean | undefined;
|
|
190
190
|
flipX?: boolean | undefined;
|
|
191
191
|
flipY?: boolean | undefined;
|
|
192
|
-
completeDelay?: string | number |
|
|
193
|
-
loop?: string | number |
|
|
194
|
-
loopDelay?: string | number |
|
|
192
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
193
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
194
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
195
195
|
paused?: boolean | undefined;
|
|
196
196
|
props?: {
|
|
197
|
-
[key: string]:
|
|
197
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
198
198
|
} | undefined;
|
|
199
199
|
callbackScope?: any;
|
|
200
200
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -218,13 +218,13 @@ declare const _default: import('vue').DefineComponent<CircleProps, {}, {}, {}, {
|
|
|
218
218
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
219
219
|
onResumeParams?: any[] | undefined;
|
|
220
220
|
persist?: boolean | undefined;
|
|
221
|
-
interpolation?: string | Function | undefined;
|
|
221
|
+
interpolation?: (string | Function) | undefined;
|
|
222
222
|
} | undefined) => any) | undefined;
|
|
223
223
|
"onUpdate:tweenchain"?: ((args_0?: {
|
|
224
224
|
[x: string]: any;
|
|
225
|
-
delay?: number | Function | undefined;
|
|
225
|
+
delay?: (number | Function) | undefined;
|
|
226
226
|
duration?: number | undefined;
|
|
227
|
-
ease?: string | Function | undefined;
|
|
227
|
+
ease?: (string | Function) | undefined;
|
|
228
228
|
easeParams?: any[] | undefined;
|
|
229
229
|
hold?: number | undefined;
|
|
230
230
|
repeat?: number | undefined;
|
|
@@ -232,12 +232,12 @@ declare const _default: import('vue').DefineComponent<CircleProps, {}, {}, {}, {
|
|
|
232
232
|
yoyo?: boolean | undefined;
|
|
233
233
|
flipX?: boolean | undefined;
|
|
234
234
|
flipY?: boolean | undefined;
|
|
235
|
-
completeDelay?: string | number |
|
|
236
|
-
loop?: string | number |
|
|
237
|
-
loopDelay?: string | number |
|
|
235
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
236
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
237
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
238
238
|
paused?: boolean | undefined;
|
|
239
239
|
props?: {
|
|
240
|
-
[key: string]:
|
|
240
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
241
241
|
} | undefined;
|
|
242
242
|
callbackScope?: any;
|
|
243
243
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -261,7 +261,7 @@ declare const _default: import('vue').DefineComponent<CircleProps, {}, {}, {}, {
|
|
|
261
261
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
262
262
|
onResumeParams?: any[] | undefined;
|
|
263
263
|
persist?: boolean | undefined;
|
|
264
|
-
interpolation?: string | Function | undefined;
|
|
264
|
+
interpolation?: (string | Function) | undefined;
|
|
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;
|
|
@@ -3,7 +3,17 @@ import { GameObjects } from 'phaser';
|
|
|
3
3
|
interface ContainerProps {
|
|
4
4
|
configuration?: Partial<ContainerConfiguration>;
|
|
5
5
|
}
|
|
6
|
-
declare
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
slots: Readonly<{
|
|
8
|
+
default: (props: Record<string, never>) => unknown;
|
|
9
|
+
}> & {
|
|
10
|
+
default: (props: Record<string, never>) => unknown;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<ContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
17
|
"update:depth": (args_0?: number | undefined) => any;
|
|
8
18
|
"update:hasTransformComponent": (args_0?: boolean | undefined) => any;
|
|
9
19
|
"update:x": (args_0?: number | undefined) => any;
|
|
@@ -23,9 +33,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
23
33
|
"update:height": (args_0?: number | undefined) => any;
|
|
24
34
|
"update:tween": (args_0?: {
|
|
25
35
|
[x: string]: any;
|
|
26
|
-
delay?: number | Function | undefined;
|
|
36
|
+
delay?: (number | Function) | undefined;
|
|
27
37
|
duration?: number | undefined;
|
|
28
|
-
ease?: string | Function | undefined;
|
|
38
|
+
ease?: (string | Function) | undefined;
|
|
29
39
|
easeParams?: any[] | undefined;
|
|
30
40
|
hold?: number | undefined;
|
|
31
41
|
repeat?: number | undefined;
|
|
@@ -33,12 +43,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
33
43
|
yoyo?: boolean | undefined;
|
|
34
44
|
flipX?: boolean | undefined;
|
|
35
45
|
flipY?: boolean | undefined;
|
|
36
|
-
completeDelay?: string | number |
|
|
37
|
-
loop?: string | number |
|
|
38
|
-
loopDelay?: string | number |
|
|
46
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
47
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
48
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
39
49
|
paused?: boolean | undefined;
|
|
40
50
|
props?: {
|
|
41
|
-
[key: string]:
|
|
51
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
42
52
|
} | undefined;
|
|
43
53
|
callbackScope?: any;
|
|
44
54
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -62,13 +72,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
62
72
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
63
73
|
onResumeParams?: any[] | undefined;
|
|
64
74
|
persist?: boolean | undefined;
|
|
65
|
-
interpolation?: string | Function | undefined;
|
|
75
|
+
interpolation?: (string | Function) | undefined;
|
|
66
76
|
} | undefined) => any;
|
|
67
77
|
"update:tweenchain": (args_0?: {
|
|
68
78
|
[x: string]: any;
|
|
69
|
-
delay?: number | Function | undefined;
|
|
79
|
+
delay?: (number | Function) | undefined;
|
|
70
80
|
duration?: number | undefined;
|
|
71
|
-
ease?: string | Function | undefined;
|
|
81
|
+
ease?: (string | Function) | undefined;
|
|
72
82
|
easeParams?: any[] | undefined;
|
|
73
83
|
hold?: number | undefined;
|
|
74
84
|
repeat?: number | undefined;
|
|
@@ -76,12 +86,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
76
86
|
yoyo?: boolean | undefined;
|
|
77
87
|
flipX?: boolean | undefined;
|
|
78
88
|
flipY?: boolean | undefined;
|
|
79
|
-
completeDelay?: string | number |
|
|
80
|
-
loop?: string | number |
|
|
81
|
-
loopDelay?: string | number |
|
|
89
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
90
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
91
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
82
92
|
paused?: boolean | undefined;
|
|
83
93
|
props?: {
|
|
84
|
-
[key: string]:
|
|
94
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
85
95
|
} | undefined;
|
|
86
96
|
callbackScope?: any;
|
|
87
97
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -105,7 +115,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
105
115
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
106
116
|
onResumeParams?: any[] | undefined;
|
|
107
117
|
persist?: boolean | undefined;
|
|
108
|
-
interpolation?: string | Function | undefined;
|
|
118
|
+
interpolation?: (string | Function) | undefined;
|
|
109
119
|
}[] | undefined) => any;
|
|
110
120
|
"update:alpha": (args_0?: number | undefined) => any;
|
|
111
121
|
"update:blendMode": (args_0?: string | number | Phaser.BlendModes | undefined) => any;
|
|
@@ -159,9 +169,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
159
169
|
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
160
170
|
"onUpdate:tween"?: ((args_0?: {
|
|
161
171
|
[x: string]: any;
|
|
162
|
-
delay?: number | Function | undefined;
|
|
172
|
+
delay?: (number | Function) | undefined;
|
|
163
173
|
duration?: number | undefined;
|
|
164
|
-
ease?: string | Function | undefined;
|
|
174
|
+
ease?: (string | Function) | undefined;
|
|
165
175
|
easeParams?: any[] | undefined;
|
|
166
176
|
hold?: number | undefined;
|
|
167
177
|
repeat?: number | undefined;
|
|
@@ -169,12 +179,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
169
179
|
yoyo?: boolean | undefined;
|
|
170
180
|
flipX?: boolean | undefined;
|
|
171
181
|
flipY?: boolean | undefined;
|
|
172
|
-
completeDelay?: string | number |
|
|
173
|
-
loop?: string | number |
|
|
174
|
-
loopDelay?: string | number |
|
|
182
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
183
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
184
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
175
185
|
paused?: boolean | undefined;
|
|
176
186
|
props?: {
|
|
177
|
-
[key: string]:
|
|
187
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
178
188
|
} | undefined;
|
|
179
189
|
callbackScope?: any;
|
|
180
190
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -198,13 +208,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
198
208
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
199
209
|
onResumeParams?: any[] | undefined;
|
|
200
210
|
persist?: boolean | undefined;
|
|
201
|
-
interpolation?: string | Function | undefined;
|
|
211
|
+
interpolation?: (string | Function) | undefined;
|
|
202
212
|
} | undefined) => any) | undefined;
|
|
203
213
|
"onUpdate:tweenchain"?: ((args_0?: {
|
|
204
214
|
[x: string]: any;
|
|
205
|
-
delay?: number | Function | undefined;
|
|
215
|
+
delay?: (number | Function) | undefined;
|
|
206
216
|
duration?: number | undefined;
|
|
207
|
-
ease?: string | Function | undefined;
|
|
217
|
+
ease?: (string | Function) | undefined;
|
|
208
218
|
easeParams?: any[] | undefined;
|
|
209
219
|
hold?: number | undefined;
|
|
210
220
|
repeat?: number | undefined;
|
|
@@ -212,12 +222,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
212
222
|
yoyo?: boolean | undefined;
|
|
213
223
|
flipX?: boolean | undefined;
|
|
214
224
|
flipY?: boolean | undefined;
|
|
215
|
-
completeDelay?: string | number |
|
|
216
|
-
loop?: string | number |
|
|
217
|
-
loopDelay?: string | number |
|
|
225
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
226
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
227
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
218
228
|
paused?: boolean | undefined;
|
|
219
229
|
props?: {
|
|
220
|
-
[key: string]:
|
|
230
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
221
231
|
} | undefined;
|
|
222
232
|
callbackScope?: any;
|
|
223
233
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -241,17 +251,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Co
|
|
|
241
251
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
242
252
|
onResumeParams?: any[] | undefined;
|
|
243
253
|
persist?: boolean | undefined;
|
|
244
|
-
interpolation?: string | Function | undefined;
|
|
254
|
+
interpolation?: (string | Function) | undefined;
|
|
245
255
|
}[] | undefined) => any) | undefined;
|
|
246
256
|
"onUpdate:alpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
247
257
|
"onUpdate:blendMode"?: ((args_0?: string | number | Phaser.BlendModes | undefined) => any) | undefined;
|
|
248
258
|
"onUpdate:mask"?: ((args_0?: Phaser.Display.Masks.BitmapMask | Phaser.Display.Masks.GeometryMask | undefined) => any) | undefined;
|
|
249
259
|
"onUpdate:children"?: ((args_0?: GameObjects.GameObject[] | undefined) => any) | undefined;
|
|
250
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}
|
|
251
|
-
|
|
252
|
-
}> & {
|
|
253
|
-
default: (props: Record<string, never>) => unknown;
|
|
254
|
-
}>;
|
|
260
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
261
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
255
262
|
export default _default;
|
|
256
263
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
257
264
|
new (): {
|
|
@@ -3,11 +3,20 @@ import { Except } from 'type-fest';
|
|
|
3
3
|
interface GameProps {
|
|
4
4
|
configuration: Except<Types.Core.GameConfig, "scene">;
|
|
5
5
|
}
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
slots: Readonly<{
|
|
8
|
+
default: (props: Record<string, never>) => unknown;
|
|
9
|
+
}> & {
|
|
10
|
+
default: (props: Record<string, never>) => unknown;
|
|
11
|
+
};
|
|
12
|
+
refs: {
|
|
13
|
+
canvasRoot: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
};
|
|
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, {}>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
20
|
export default _default;
|
|
12
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
22
|
new (): {
|
|
@@ -34,9 +34,9 @@ declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}
|
|
|
34
34
|
"update:height": (args_0?: number | undefined) => any;
|
|
35
35
|
"update:tween": (args_0?: {
|
|
36
36
|
[x: string]: any;
|
|
37
|
-
delay?: number | Function | undefined;
|
|
37
|
+
delay?: (number | Function) | undefined;
|
|
38
38
|
duration?: number | undefined;
|
|
39
|
-
ease?: string | Function | undefined;
|
|
39
|
+
ease?: (string | Function) | undefined;
|
|
40
40
|
easeParams?: any[] | undefined;
|
|
41
41
|
hold?: number | undefined;
|
|
42
42
|
repeat?: number | undefined;
|
|
@@ -44,12 +44,12 @@ declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}
|
|
|
44
44
|
yoyo?: boolean | undefined;
|
|
45
45
|
flipX?: boolean | undefined;
|
|
46
46
|
flipY?: boolean | undefined;
|
|
47
|
-
completeDelay?: string | number |
|
|
48
|
-
loop?: string | number |
|
|
49
|
-
loopDelay?: string | number |
|
|
47
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
48
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
49
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
50
50
|
paused?: boolean | undefined;
|
|
51
51
|
props?: {
|
|
52
|
-
[key: string]:
|
|
52
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
53
53
|
} | undefined;
|
|
54
54
|
callbackScope?: any;
|
|
55
55
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -73,13 +73,13 @@ declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}
|
|
|
73
73
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
74
74
|
onResumeParams?: any[] | undefined;
|
|
75
75
|
persist?: boolean | undefined;
|
|
76
|
-
interpolation?: string | Function | undefined;
|
|
76
|
+
interpolation?: (string | Function) | undefined;
|
|
77
77
|
} | undefined) => any;
|
|
78
78
|
"update:tweenchain": (args_0?: {
|
|
79
79
|
[x: string]: any;
|
|
80
|
-
delay?: number | Function | undefined;
|
|
80
|
+
delay?: (number | Function) | undefined;
|
|
81
81
|
duration?: number | undefined;
|
|
82
|
-
ease?: string | Function | undefined;
|
|
82
|
+
ease?: (string | Function) | undefined;
|
|
83
83
|
easeParams?: any[] | undefined;
|
|
84
84
|
hold?: number | undefined;
|
|
85
85
|
repeat?: number | undefined;
|
|
@@ -87,12 +87,12 @@ declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}
|
|
|
87
87
|
yoyo?: boolean | undefined;
|
|
88
88
|
flipX?: boolean | undefined;
|
|
89
89
|
flipY?: boolean | undefined;
|
|
90
|
-
completeDelay?: string | number |
|
|
91
|
-
loop?: string | number |
|
|
92
|
-
loopDelay?: string | number |
|
|
90
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
91
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
92
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
93
93
|
paused?: boolean | undefined;
|
|
94
94
|
props?: {
|
|
95
|
-
[key: string]:
|
|
95
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
96
96
|
} | undefined;
|
|
97
97
|
callbackScope?: any;
|
|
98
98
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -116,7 +116,7 @@ declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}
|
|
|
116
116
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
117
117
|
onResumeParams?: any[] | undefined;
|
|
118
118
|
persist?: boolean | undefined;
|
|
119
|
-
interpolation?: string | Function | undefined;
|
|
119
|
+
interpolation?: (string | Function) | undefined;
|
|
120
120
|
}[] | undefined) => any;
|
|
121
121
|
"update:flipX": (args_0?: boolean | undefined) => any;
|
|
122
122
|
"update:flipY": (args_0?: boolean | undefined) => any;
|
|
@@ -199,9 +199,9 @@ declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}
|
|
|
199
199
|
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
200
200
|
"onUpdate:tween"?: ((args_0?: {
|
|
201
201
|
[x: string]: any;
|
|
202
|
-
delay?: number | Function | undefined;
|
|
202
|
+
delay?: (number | Function) | undefined;
|
|
203
203
|
duration?: number | undefined;
|
|
204
|
-
ease?: string | Function | undefined;
|
|
204
|
+
ease?: (string | Function) | undefined;
|
|
205
205
|
easeParams?: any[] | undefined;
|
|
206
206
|
hold?: number | undefined;
|
|
207
207
|
repeat?: number | undefined;
|
|
@@ -209,12 +209,12 @@ declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}
|
|
|
209
209
|
yoyo?: boolean | undefined;
|
|
210
210
|
flipX?: boolean | undefined;
|
|
211
211
|
flipY?: boolean | undefined;
|
|
212
|
-
completeDelay?: string | number |
|
|
213
|
-
loop?: string | number |
|
|
214
|
-
loopDelay?: string | number |
|
|
212
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
213
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
214
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
215
215
|
paused?: boolean | undefined;
|
|
216
216
|
props?: {
|
|
217
|
-
[key: string]:
|
|
217
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
218
218
|
} | undefined;
|
|
219
219
|
callbackScope?: any;
|
|
220
220
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -238,13 +238,13 @@ declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}
|
|
|
238
238
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
239
239
|
onResumeParams?: any[] | undefined;
|
|
240
240
|
persist?: boolean | undefined;
|
|
241
|
-
interpolation?: string | Function | undefined;
|
|
241
|
+
interpolation?: (string | Function) | undefined;
|
|
242
242
|
} | undefined) => any) | undefined;
|
|
243
243
|
"onUpdate:tweenchain"?: ((args_0?: {
|
|
244
244
|
[x: string]: any;
|
|
245
|
-
delay?: number | Function | undefined;
|
|
245
|
+
delay?: (number | Function) | undefined;
|
|
246
246
|
duration?: number | undefined;
|
|
247
|
-
ease?: string | Function | undefined;
|
|
247
|
+
ease?: (string | Function) | undefined;
|
|
248
248
|
easeParams?: any[] | undefined;
|
|
249
249
|
hold?: number | undefined;
|
|
250
250
|
repeat?: number | undefined;
|
|
@@ -252,12 +252,12 @@ declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}
|
|
|
252
252
|
yoyo?: boolean | undefined;
|
|
253
253
|
flipX?: boolean | undefined;
|
|
254
254
|
flipY?: boolean | undefined;
|
|
255
|
-
completeDelay?: string | number |
|
|
256
|
-
loop?: string | number |
|
|
257
|
-
loopDelay?: string | number |
|
|
255
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
256
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
257
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
258
258
|
paused?: boolean | undefined;
|
|
259
259
|
props?: {
|
|
260
|
-
[key: string]:
|
|
260
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
261
261
|
} | undefined;
|
|
262
262
|
callbackScope?: any;
|
|
263
263
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -281,7 +281,7 @@ declare const _default: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}
|
|
|
281
281
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
282
282
|
onResumeParams?: any[] | undefined;
|
|
283
283
|
persist?: boolean | undefined;
|
|
284
|
-
interpolation?: string | Function | undefined;
|
|
284
|
+
interpolation?: (string | Function) | undefined;
|
|
285
285
|
}[] | undefined) => any) | undefined;
|
|
286
286
|
"onUpdate:flipX"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
287
287
|
"onUpdate:flipY"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
@@ -29,9 +29,9 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}
|
|
|
29
29
|
"update:height": (args_0?: number | undefined) => any;
|
|
30
30
|
"update:tween": (args_0?: {
|
|
31
31
|
[x: string]: any;
|
|
32
|
-
delay?: number | Function | undefined;
|
|
32
|
+
delay?: (number | Function) | undefined;
|
|
33
33
|
duration?: number | undefined;
|
|
34
|
-
ease?: string | Function | undefined;
|
|
34
|
+
ease?: (string | Function) | undefined;
|
|
35
35
|
easeParams?: any[] | undefined;
|
|
36
36
|
hold?: number | undefined;
|
|
37
37
|
repeat?: number | undefined;
|
|
@@ -39,12 +39,12 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}
|
|
|
39
39
|
yoyo?: boolean | undefined;
|
|
40
40
|
flipX?: boolean | undefined;
|
|
41
41
|
flipY?: boolean | undefined;
|
|
42
|
-
completeDelay?: string | number |
|
|
43
|
-
loop?: string | number |
|
|
44
|
-
loopDelay?: string | number |
|
|
42
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
43
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
44
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
45
45
|
paused?: boolean | undefined;
|
|
46
46
|
props?: {
|
|
47
|
-
[key: string]:
|
|
47
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
48
48
|
} | undefined;
|
|
49
49
|
callbackScope?: any;
|
|
50
50
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -68,13 +68,13 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}
|
|
|
68
68
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
69
69
|
onResumeParams?: any[] | undefined;
|
|
70
70
|
persist?: boolean | undefined;
|
|
71
|
-
interpolation?: string | Function | undefined;
|
|
71
|
+
interpolation?: (string | Function) | undefined;
|
|
72
72
|
} | undefined) => any;
|
|
73
73
|
"update:tweenchain": (args_0?: {
|
|
74
74
|
[x: string]: any;
|
|
75
|
-
delay?: number | Function | undefined;
|
|
75
|
+
delay?: (number | Function) | undefined;
|
|
76
76
|
duration?: number | undefined;
|
|
77
|
-
ease?: string | Function | undefined;
|
|
77
|
+
ease?: (string | Function) | undefined;
|
|
78
78
|
easeParams?: any[] | undefined;
|
|
79
79
|
hold?: number | undefined;
|
|
80
80
|
repeat?: number | undefined;
|
|
@@ -82,12 +82,12 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}
|
|
|
82
82
|
yoyo?: boolean | undefined;
|
|
83
83
|
flipX?: boolean | undefined;
|
|
84
84
|
flipY?: boolean | undefined;
|
|
85
|
-
completeDelay?: string | number |
|
|
86
|
-
loop?: string | number |
|
|
87
|
-
loopDelay?: string | number |
|
|
85
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
86
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
87
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
88
88
|
paused?: boolean | undefined;
|
|
89
89
|
props?: {
|
|
90
|
-
[key: string]:
|
|
90
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
91
91
|
} | undefined;
|
|
92
92
|
callbackScope?: any;
|
|
93
93
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -111,7 +111,7 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}
|
|
|
111
111
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
112
112
|
onResumeParams?: any[] | undefined;
|
|
113
113
|
persist?: boolean | undefined;
|
|
114
|
-
interpolation?: string | Function | undefined;
|
|
114
|
+
interpolation?: (string | Function) | undefined;
|
|
115
115
|
}[] | undefined) => any;
|
|
116
116
|
"update:alpha": (args_0?: number | undefined) => any;
|
|
117
117
|
"update:blendMode": (args_0?: string | number | Phaser.BlendModes | undefined) => any;
|
|
@@ -180,9 +180,9 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}
|
|
|
180
180
|
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
181
181
|
"onUpdate:tween"?: ((args_0?: {
|
|
182
182
|
[x: string]: any;
|
|
183
|
-
delay?: number | Function | undefined;
|
|
183
|
+
delay?: (number | Function) | undefined;
|
|
184
184
|
duration?: number | undefined;
|
|
185
|
-
ease?: string | Function | undefined;
|
|
185
|
+
ease?: (string | Function) | undefined;
|
|
186
186
|
easeParams?: any[] | undefined;
|
|
187
187
|
hold?: number | undefined;
|
|
188
188
|
repeat?: number | undefined;
|
|
@@ -190,12 +190,12 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}
|
|
|
190
190
|
yoyo?: boolean | undefined;
|
|
191
191
|
flipX?: boolean | undefined;
|
|
192
192
|
flipY?: boolean | undefined;
|
|
193
|
-
completeDelay?: string | number |
|
|
194
|
-
loop?: string | number |
|
|
195
|
-
loopDelay?: string | number |
|
|
193
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
194
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
195
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
196
196
|
paused?: boolean | undefined;
|
|
197
197
|
props?: {
|
|
198
|
-
[key: string]:
|
|
198
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
199
199
|
} | undefined;
|
|
200
200
|
callbackScope?: any;
|
|
201
201
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -219,13 +219,13 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}
|
|
|
219
219
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
220
220
|
onResumeParams?: any[] | undefined;
|
|
221
221
|
persist?: boolean | undefined;
|
|
222
|
-
interpolation?: string | Function | undefined;
|
|
222
|
+
interpolation?: (string | Function) | undefined;
|
|
223
223
|
} | undefined) => any) | undefined;
|
|
224
224
|
"onUpdate:tweenchain"?: ((args_0?: {
|
|
225
225
|
[x: string]: any;
|
|
226
|
-
delay?: number | Function | undefined;
|
|
226
|
+
delay?: (number | Function) | undefined;
|
|
227
227
|
duration?: number | undefined;
|
|
228
|
-
ease?: string | Function | undefined;
|
|
228
|
+
ease?: (string | Function) | undefined;
|
|
229
229
|
easeParams?: any[] | undefined;
|
|
230
230
|
hold?: number | undefined;
|
|
231
231
|
repeat?: number | undefined;
|
|
@@ -233,12 +233,12 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}
|
|
|
233
233
|
yoyo?: boolean | undefined;
|
|
234
234
|
flipX?: boolean | undefined;
|
|
235
235
|
flipY?: boolean | undefined;
|
|
236
|
-
completeDelay?: string | number |
|
|
237
|
-
loop?: string | number |
|
|
238
|
-
loopDelay?: string | number |
|
|
236
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
237
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
238
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
239
239
|
paused?: boolean | undefined;
|
|
240
240
|
props?: {
|
|
241
|
-
[key: string]:
|
|
241
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
242
242
|
} | undefined;
|
|
243
243
|
callbackScope?: any;
|
|
244
244
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -262,7 +262,7 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}
|
|
|
262
262
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
263
263
|
onResumeParams?: any[] | undefined;
|
|
264
264
|
persist?: boolean | undefined;
|
|
265
|
-
interpolation?: string | Function | undefined;
|
|
265
|
+
interpolation?: (string | Function) | undefined;
|
|
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;
|