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
|
@@ -5,154 +5,7 @@ export interface TileSpriteProps {
|
|
|
5
5
|
}
|
|
6
6
|
declare const _default: import('vue').DefineComponent<TileSpriteProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
[x: string]: (...args: unknown[]) => any;
|
|
8
|
-
|
|
9
|
-
"update:origin": (args_0?: number | undefined) => any;
|
|
10
|
-
"update:originX": (args_0?: number | undefined) => any;
|
|
11
|
-
"update:originY": (args_0?: number | undefined) => any;
|
|
12
|
-
"update:displayOriginX": (args_0?: number | undefined) => any;
|
|
13
|
-
"update:displayOriginY": (args_0?: number | undefined) => any;
|
|
14
|
-
"update:scrollFactor": (args_0?: number | undefined) => any;
|
|
15
|
-
"update:scrollFactorX": (args_0?: number | undefined) => any;
|
|
16
|
-
"update:scrollFactorY": (args_0?: number | undefined) => any;
|
|
17
|
-
"update:hasTransformComponent": (args_0?: boolean | undefined) => any;
|
|
18
|
-
"update:x": (args_0?: number | undefined) => any;
|
|
19
|
-
"update:y": (args_0?: number | undefined) => any;
|
|
20
|
-
"update:z": (args_0?: number | undefined) => any;
|
|
21
|
-
"update:w": (args_0?: number | undefined) => any;
|
|
22
|
-
"update:scale": (args_0?: number | undefined) => any;
|
|
23
|
-
"update:scaleX": (args_0?: number | undefined) => any;
|
|
24
|
-
"update:scaleY": (args_0?: number | undefined) => any;
|
|
25
|
-
"update:angle": (args_0?: number | undefined) => any;
|
|
26
|
-
"update:rotation": (args_0?: number | undefined) => any;
|
|
27
|
-
"update:visible": (args_0?: boolean | undefined) => any;
|
|
28
|
-
"update:active": (args_0?: boolean | undefined) => any;
|
|
29
|
-
"update:displayHeight": (args_0?: number | undefined) => any;
|
|
30
|
-
"update:displayWidth": (args_0?: number | undefined) => any;
|
|
31
|
-
"update:width": (args_0?: number | undefined) => any;
|
|
32
|
-
"update:height": (args_0?: number | undefined) => any;
|
|
33
|
-
"update:tween": (args_0?: {
|
|
34
|
-
[x: string]: any;
|
|
35
|
-
delay?: (number | Function) | undefined;
|
|
36
|
-
duration?: number | undefined;
|
|
37
|
-
ease?: (string | Function) | undefined;
|
|
38
|
-
easeParams?: any[] | undefined;
|
|
39
|
-
hold?: number | undefined;
|
|
40
|
-
repeat?: number | undefined;
|
|
41
|
-
repeatDelay?: number | undefined;
|
|
42
|
-
yoyo?: boolean | undefined;
|
|
43
|
-
flipX?: boolean | undefined;
|
|
44
|
-
flipY?: boolean | undefined;
|
|
45
|
-
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
46
|
-
loop?: (string | number | Function | object | any[]) | undefined;
|
|
47
|
-
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
48
|
-
paused?: boolean | undefined;
|
|
49
|
-
props?: {
|
|
50
|
-
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
51
|
-
} | undefined;
|
|
52
|
-
callbackScope?: any;
|
|
53
|
-
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
54
|
-
onCompleteParams?: any[] | undefined;
|
|
55
|
-
onLoop?: Phaser.Types.Tweens.TweenOnLoopCallback | undefined;
|
|
56
|
-
onLoopParams?: any[] | undefined;
|
|
57
|
-
onRepeat?: Phaser.Types.Tweens.TweenOnRepeatCallback | undefined;
|
|
58
|
-
onRepeatParams?: any[] | undefined;
|
|
59
|
-
onStart?: Phaser.Types.Tweens.TweenOnStartCallback | undefined;
|
|
60
|
-
onStartParams?: any[] | undefined;
|
|
61
|
-
onStop?: Phaser.Types.Tweens.TweenOnStopCallback | undefined;
|
|
62
|
-
onStopParams?: any[] | undefined;
|
|
63
|
-
onUpdate?: Phaser.Types.Tweens.TweenOnUpdateCallback | undefined;
|
|
64
|
-
onUpdateParams?: any[] | undefined;
|
|
65
|
-
onYoyo?: Phaser.Types.Tweens.TweenOnYoyoCallback | undefined;
|
|
66
|
-
onYoyoParams?: any[] | undefined;
|
|
67
|
-
onActive?: Phaser.Types.Tweens.TweenOnActiveCallback | undefined;
|
|
68
|
-
onActiveParams?: any[] | undefined;
|
|
69
|
-
onPause?: Phaser.Types.Tweens.TweenOnPauseCallback | undefined;
|
|
70
|
-
onPauseParams?: any[] | undefined;
|
|
71
|
-
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
72
|
-
onResumeParams?: any[] | undefined;
|
|
73
|
-
persist?: boolean | undefined;
|
|
74
|
-
interpolation?: (string | Function) | undefined;
|
|
75
|
-
} | undefined) => any;
|
|
76
|
-
"update:tweenchain": (args_0?: {
|
|
77
|
-
[x: string]: any;
|
|
78
|
-
delay?: (number | Function) | undefined;
|
|
79
|
-
duration?: number | undefined;
|
|
80
|
-
ease?: (string | Function) | undefined;
|
|
81
|
-
easeParams?: any[] | undefined;
|
|
82
|
-
hold?: number | undefined;
|
|
83
|
-
repeat?: number | undefined;
|
|
84
|
-
repeatDelay?: number | undefined;
|
|
85
|
-
yoyo?: boolean | undefined;
|
|
86
|
-
flipX?: boolean | undefined;
|
|
87
|
-
flipY?: boolean | undefined;
|
|
88
|
-
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
89
|
-
loop?: (string | number | Function | object | any[]) | undefined;
|
|
90
|
-
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
91
|
-
paused?: boolean | undefined;
|
|
92
|
-
props?: {
|
|
93
|
-
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
94
|
-
} | undefined;
|
|
95
|
-
callbackScope?: any;
|
|
96
|
-
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
97
|
-
onCompleteParams?: any[] | undefined;
|
|
98
|
-
onLoop?: Phaser.Types.Tweens.TweenOnLoopCallback | undefined;
|
|
99
|
-
onLoopParams?: any[] | undefined;
|
|
100
|
-
onRepeat?: Phaser.Types.Tweens.TweenOnRepeatCallback | undefined;
|
|
101
|
-
onRepeatParams?: any[] | undefined;
|
|
102
|
-
onStart?: Phaser.Types.Tweens.TweenOnStartCallback | undefined;
|
|
103
|
-
onStartParams?: any[] | undefined;
|
|
104
|
-
onStop?: Phaser.Types.Tweens.TweenOnStopCallback | undefined;
|
|
105
|
-
onStopParams?: any[] | undefined;
|
|
106
|
-
onUpdate?: Phaser.Types.Tweens.TweenOnUpdateCallback | undefined;
|
|
107
|
-
onUpdateParams?: any[] | undefined;
|
|
108
|
-
onYoyo?: Phaser.Types.Tweens.TweenOnYoyoCallback | undefined;
|
|
109
|
-
onYoyoParams?: any[] | undefined;
|
|
110
|
-
onActive?: Phaser.Types.Tweens.TweenOnActiveCallback | undefined;
|
|
111
|
-
onActiveParams?: any[] | undefined;
|
|
112
|
-
onPause?: Phaser.Types.Tweens.TweenOnPauseCallback | undefined;
|
|
113
|
-
onPauseParams?: any[] | undefined;
|
|
114
|
-
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
115
|
-
onResumeParams?: any[] | undefined;
|
|
116
|
-
persist?: boolean | undefined;
|
|
117
|
-
interpolation?: (string | Function) | undefined;
|
|
118
|
-
}[] | undefined) => any;
|
|
119
|
-
"update:flipX": (args_0?: boolean | undefined) => any;
|
|
120
|
-
"update:flipY": (args_0?: boolean | undefined) => any;
|
|
121
|
-
"update:alpha": (args_0?: number | undefined) => any;
|
|
122
|
-
"update:blendMode": (args_0?: string | number | Phaser.BlendModes | undefined) => any;
|
|
123
|
-
"update:key": (args_0?: string | undefined) => any;
|
|
124
|
-
"update:alphaTopLeft": (args_0?: number | undefined) => any;
|
|
125
|
-
"update:alphaTopRight": (args_0?: number | undefined) => any;
|
|
126
|
-
"update:alphaBottomLeft": (args_0?: number | undefined) => any;
|
|
127
|
-
"update:alphaBottomRight": (args_0?: number | undefined) => any;
|
|
128
|
-
"update:mask": (args_0?: Phaser.Display.Masks.BitmapMask | Phaser.Display.Masks.GeometryMask | undefined) => any;
|
|
129
|
-
"update:defaultPipeline": (args_0?: Phaser.Renderer.WebGL.WebGLPipeline | undefined) => any;
|
|
130
|
-
"update:pipeline": (args_0?: Phaser.Renderer.WebGL.WebGLPipeline | undefined) => any;
|
|
131
|
-
"update:pipelineData": (args_0?: object | undefined) => any;
|
|
132
|
-
"update:frame": (args_0?: string | number | (Phaser.Textures.Frame & string) | (Phaser.Textures.Frame & number) | undefined) => any;
|
|
133
|
-
"update:texture": (args_0?: string | undefined) => any;
|
|
134
|
-
"update:tintTopLeft": (args_0?: number | undefined) => any;
|
|
135
|
-
"update:tintTopRight": (args_0?: number | undefined) => any;
|
|
136
|
-
"update:tintBottomLeft": (args_0?: number | undefined) => any;
|
|
137
|
-
"update:tintBottomRight": (args_0?: number | undefined) => any;
|
|
138
|
-
"update:tintFill": (args_0?: boolean | undefined) => any;
|
|
139
|
-
"update:tint": (args_0?: number | undefined) => any;
|
|
140
|
-
"update:isTinted": (args_0?: boolean | undefined) => any;
|
|
141
|
-
readonly clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
142
|
-
readonly drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
143
|
-
readonly dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
144
|
-
readonly dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
145
|
-
readonly dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
146
|
-
readonly dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
147
|
-
readonly dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
148
|
-
readonly drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
149
|
-
readonly pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
150
|
-
readonly pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
151
|
-
readonly pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
152
|
-
readonly pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
153
|
-
readonly pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
154
|
-
readonly wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
155
|
-
}, string, import('vue').PublicProps, Readonly<TileSpriteProps & {
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<TileSpriteProps> & Readonly<{
|
|
156
9
|
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
157
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
158
11
|
export default _default;
|
|
@@ -14,7 +14,7 @@ declare function __VLS_template(): {
|
|
|
14
14
|
attrs: Partial<{}>;
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component: import('vue').DefineComponent<TilemapProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TilemapProps & {}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
17
|
+
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>;
|
|
18
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
19
|
export default _default;
|
|
20
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -4,6 +4,20 @@ interface ZoneProps {
|
|
|
4
4
|
configuration: SetRequired<Partial<ZoneConfiguration>, "height" | "width" | "x" | "y">;
|
|
5
5
|
}
|
|
6
6
|
declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {}, 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;
|
|
@@ -115,21 +129,7 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
|
|
|
115
129
|
persist?: boolean | undefined;
|
|
116
130
|
interpolation?: (string | Function) | undefined;
|
|
117
131
|
}[] | undefined) => any;
|
|
118
|
-
|
|
119
|
-
readonly drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
120
|
-
readonly dragend: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
121
|
-
readonly dragenter: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
122
|
-
readonly dragleave: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
123
|
-
readonly dragover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
124
|
-
readonly dragstart: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
125
|
-
readonly drop: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
126
|
-
readonly pointerdown: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
127
|
-
readonly pointermove: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
128
|
-
readonly pointerout: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
129
|
-
readonly pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
130
|
-
readonly pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
131
|
-
readonly wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
132
|
-
}, string, import('vue').PublicProps, Readonly<ZoneProps & {
|
|
132
|
+
}, string, import('vue').PublicProps, Readonly<ZoneProps> & Readonly<{
|
|
133
133
|
onClickoutside?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
134
134
|
onDrag?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
135
135
|
onDragend?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
@@ -255,5 +255,5 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
|
|
|
255
255
|
persist?: boolean | undefined;
|
|
256
256
|
interpolation?: (string | Function) | undefined;
|
|
257
257
|
}[] | undefined) => any) | undefined;
|
|
258
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
258
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
259
259
|
export default _default;
|