vue-phaserjs 3.3.0 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +55 -55
- package/dist/index.js +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -2043,8 +2043,8 @@ declare const __VLS_export$26: import("vue").DefineComponent<Props$24, {}, {}, {
|
|
|
2043
2043
|
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
2044
2044
|
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
2045
2045
|
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
2046
|
-
"update:width": (args_0?: number | undefined) => any;
|
|
2047
2046
|
"update:height": (args_0?: number | undefined) => any;
|
|
2047
|
+
"update:width": (args_0?: number | undefined) => any;
|
|
2048
2048
|
}, string, import("vue").PublicProps, Readonly<Props$24> & Readonly<{
|
|
2049
2049
|
"onUpdate:visible"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
2050
2050
|
"onUpdate:depth"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -2169,8 +2169,8 @@ declare const __VLS_export$26: import("vue").DefineComponent<Props$24, {}, {}, {
|
|
|
2169
2169
|
onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
2170
2170
|
onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
2171
2171
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
2172
|
-
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
2173
2172
|
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
2173
|
+
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
2174
2174
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2175
2175
|
declare const _default$26: typeof __VLS_export$26;
|
|
2176
2176
|
//#endregion
|
|
@@ -2960,6 +2960,8 @@ declare const __VLS_export$23: import("vue").DefineComponent<Props$21, {}, {}, {
|
|
|
2960
2960
|
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
2961
2961
|
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
2962
2962
|
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
2963
|
+
"update:height": (args_0?: number | undefined) => any;
|
|
2964
|
+
"update:width": (args_0?: number | undefined) => any;
|
|
2963
2965
|
"update:alphaTopLeft": (args_0?: number | undefined) => any;
|
|
2964
2966
|
"update:alphaTopRight": (args_0?: number | undefined) => any;
|
|
2965
2967
|
"update:alphaBottomLeft": (args_0?: number | undefined) => any;
|
|
@@ -2979,8 +2981,6 @@ declare const __VLS_export$23: import("vue").DefineComponent<Props$21, {}, {}, {
|
|
|
2979
2981
|
"update:frame": (args_0?: string | number | undefined) => any;
|
|
2980
2982
|
"update:flipX": (args_0?: boolean | undefined) => any;
|
|
2981
2983
|
"update:flipY": (args_0?: boolean | undefined) => any;
|
|
2982
|
-
"update:width": (args_0?: number | undefined) => any;
|
|
2983
|
-
"update:height": (args_0?: number | undefined) => any;
|
|
2984
2984
|
"update:texture": (args_0?: string | undefined) => any;
|
|
2985
2985
|
}, string, import("vue").PublicProps, Readonly<Props$21> & Readonly<{
|
|
2986
2986
|
"onUpdate:visible"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
@@ -3112,6 +3112,8 @@ declare const __VLS_export$23: import("vue").DefineComponent<Props$21, {}, {}, {
|
|
|
3112
3112
|
onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
3113
3113
|
onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
3114
3114
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
3115
|
+
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3116
|
+
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3115
3117
|
"onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3116
3118
|
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3117
3119
|
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -3131,8 +3133,6 @@ declare const __VLS_export$23: import("vue").DefineComponent<Props$21, {}, {}, {
|
|
|
3131
3133
|
"onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
|
|
3132
3134
|
"onUpdate:flipX"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
3133
3135
|
"onUpdate:flipY"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
3134
|
-
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3135
|
-
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3136
3136
|
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
3137
3137
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3138
3138
|
declare const _default$22: typeof __VLS_export$23;
|
|
@@ -3296,6 +3296,8 @@ declare const __VLS_export$21: import("vue").DefineComponent<TextProps, {}, {},
|
|
|
3296
3296
|
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
3297
3297
|
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
3298
3298
|
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
3299
|
+
"update:height": (args_0?: number | undefined) => any;
|
|
3300
|
+
"update:width": (args_0?: number | undefined) => any;
|
|
3299
3301
|
"update:alphaTopLeft": (args_0?: number | undefined) => any;
|
|
3300
3302
|
"update:alphaTopRight": (args_0?: number | undefined) => any;
|
|
3301
3303
|
"update:alphaBottomLeft": (args_0?: number | undefined) => any;
|
|
@@ -3314,8 +3316,6 @@ declare const __VLS_export$21: import("vue").DefineComponent<TextProps, {}, {},
|
|
|
3314
3316
|
"update:isTinted": (args_0?: boolean | undefined) => any;
|
|
3315
3317
|
"update:flipX": (args_0?: boolean | undefined) => any;
|
|
3316
3318
|
"update:flipY": (args_0?: boolean | undefined) => any;
|
|
3317
|
-
"update:width": (args_0?: number | undefined) => any;
|
|
3318
|
-
"update:height": (args_0?: number | undefined) => any;
|
|
3319
3319
|
"update:style": (args_0?: Phaser.Types.GameObjects.Text.TextStyle | undefined) => any;
|
|
3320
3320
|
"update:padding": (args_0?: Phaser.Types.GameObjects.Text.TextPadding | undefined) => any;
|
|
3321
3321
|
}, string, import("vue").PublicProps, Readonly<TextProps> & Readonly<{
|
|
@@ -3448,6 +3448,8 @@ declare const __VLS_export$21: import("vue").DefineComponent<TextProps, {}, {},
|
|
|
3448
3448
|
onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
3449
3449
|
onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
3450
3450
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
3451
|
+
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3452
|
+
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3451
3453
|
"onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3452
3454
|
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3453
3455
|
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -3466,8 +3468,6 @@ declare const __VLS_export$21: import("vue").DefineComponent<TextProps, {}, {},
|
|
|
3466
3468
|
"onUpdate:isTinted"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
3467
3469
|
"onUpdate:flipX"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
3468
3470
|
"onUpdate:flipY"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
3469
|
-
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3470
|
-
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3471
3471
|
"onUpdate:style"?: ((args_0?: Phaser.Types.GameObjects.Text.TextStyle | undefined) => any) | undefined;
|
|
3472
3472
|
"onUpdate:padding"?: ((args_0?: Phaser.Types.GameObjects.Text.TextPadding | undefined) => any) | undefined;
|
|
3473
3473
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -3909,6 +3909,8 @@ declare const __VLS_export$19: import("vue").DefineComponent<Props$18, {}, {}, {
|
|
|
3909
3909
|
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
3910
3910
|
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
3911
3911
|
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
3912
|
+
"update:height": (args_0?: number | undefined) => any;
|
|
3913
|
+
"update:width": (args_0?: number | undefined) => any;
|
|
3912
3914
|
"update:alphaTopLeft": (args_0?: number | undefined) => any;
|
|
3913
3915
|
"update:alphaTopRight": (args_0?: number | undefined) => any;
|
|
3914
3916
|
"update:alphaBottomLeft": (args_0?: number | undefined) => any;
|
|
@@ -3929,8 +3931,6 @@ declare const __VLS_export$19: import("vue").DefineComponent<Props$18, {}, {}, {
|
|
|
3929
3931
|
"update:flipX": (args_0?: boolean | undefined) => any;
|
|
3930
3932
|
"update:flipY": (args_0?: boolean | undefined) => any;
|
|
3931
3933
|
"update:useSpriteSheet": (args_0?: boolean | undefined) => any;
|
|
3932
|
-
"update:width": (args_0?: number | undefined) => any;
|
|
3933
|
-
"update:height": (args_0?: number | undefined) => any;
|
|
3934
3934
|
"update:texture": (args_0?: string | undefined) => any;
|
|
3935
3935
|
"update:animations": (args_0?: Phaser.Types.Animations.Animation[] | undefined) => any;
|
|
3936
3936
|
"update:playAnimationKey": (args_0?: undefined) => any;
|
|
@@ -4064,6 +4064,8 @@ declare const __VLS_export$19: import("vue").DefineComponent<Props$18, {}, {}, {
|
|
|
4064
4064
|
onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
4065
4065
|
onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
4066
4066
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
4067
|
+
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4068
|
+
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4067
4069
|
"onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4068
4070
|
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4069
4071
|
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -4084,8 +4086,6 @@ declare const __VLS_export$19: import("vue").DefineComponent<Props$18, {}, {}, {
|
|
|
4084
4086
|
"onUpdate:flipX"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
4085
4087
|
"onUpdate:flipY"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
4086
4088
|
"onUpdate:useSpriteSheet"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
4087
|
-
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4088
|
-
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4089
4089
|
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
4090
4090
|
"onUpdate:animations"?: ((args_0?: Phaser.Types.Animations.Animation[] | undefined) => any) | undefined;
|
|
4091
4091
|
"onUpdate:playAnimationKey"?: ((args_0?: undefined) => any) | undefined;
|
|
@@ -4265,6 +4265,8 @@ declare const __VLS_export$17: import("vue").DefineComponent<Props$17, {}, {}, {
|
|
|
4265
4265
|
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
4266
4266
|
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
4267
4267
|
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
4268
|
+
"update:height": (args_0?: number | undefined) => any;
|
|
4269
|
+
"update:width": (args_0?: number | undefined) => any;
|
|
4268
4270
|
"update:alphaTopLeft": (args_0?: number | undefined) => any;
|
|
4269
4271
|
"update:alphaTopRight": (args_0?: number | undefined) => any;
|
|
4270
4272
|
"update:alphaBottomLeft": (args_0?: number | undefined) => any;
|
|
@@ -4282,8 +4284,6 @@ declare const __VLS_export$17: import("vue").DefineComponent<Props$17, {}, {}, {
|
|
|
4282
4284
|
"update:isTinted": (args_0?: boolean | undefined) => any;
|
|
4283
4285
|
"update:flipX": (args_0?: boolean | undefined) => any;
|
|
4284
4286
|
"update:flipY": (args_0?: boolean | undefined) => any;
|
|
4285
|
-
"update:width": (args_0?: number | undefined) => any;
|
|
4286
|
-
"update:height": (args_0?: number | undefined) => any;
|
|
4287
4287
|
}, string, import("vue").PublicProps, Readonly<Props$17> & Readonly<{
|
|
4288
4288
|
"onUpdate:visible"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
4289
4289
|
"onUpdate:alpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -4414,6 +4414,8 @@ declare const __VLS_export$17: import("vue").DefineComponent<Props$17, {}, {}, {
|
|
|
4414
4414
|
onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
4415
4415
|
onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
4416
4416
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
4417
|
+
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4418
|
+
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4417
4419
|
"onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4418
4420
|
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4419
4421
|
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -4431,8 +4433,6 @@ declare const __VLS_export$17: import("vue").DefineComponent<Props$17, {}, {}, {
|
|
|
4431
4433
|
"onUpdate:isTinted"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
4432
4434
|
"onUpdate:flipX"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
4433
4435
|
"onUpdate:flipY"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
4434
|
-
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4435
|
-
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4436
4436
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4437
4437
|
declare const _default$17: typeof __VLS_export$17;
|
|
4438
4438
|
//#endregion
|
|
@@ -4578,8 +4578,8 @@ declare const __VLS_export$16: import("vue").DefineComponent<Props$16, {}, {}, {
|
|
|
4578
4578
|
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
4579
4579
|
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
4580
4580
|
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
4581
|
-
"update:width": (args_0?: number | undefined) => any;
|
|
4582
4581
|
"update:height": (args_0?: number | undefined) => any;
|
|
4582
|
+
"update:width": (args_0?: number | undefined) => any;
|
|
4583
4583
|
}, string, import("vue").PublicProps, Readonly<Props$16> & Readonly<{
|
|
4584
4584
|
"onUpdate:visible"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
4585
4585
|
"onUpdate:alpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -4713,8 +4713,8 @@ declare const __VLS_export$16: import("vue").DefineComponent<Props$16, {}, {}, {
|
|
|
4713
4713
|
onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
4714
4714
|
onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
4715
4715
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
4716
|
-
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4717
4716
|
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4717
|
+
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4718
4718
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4719
4719
|
declare const _default$16: typeof __VLS_export$16;
|
|
4720
4720
|
//#endregion
|
|
@@ -5141,6 +5141,8 @@ declare const __VLS_export$14: import("vue").DefineComponent<Props$14, {}, {}, {
|
|
|
5141
5141
|
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
5142
5142
|
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
5143
5143
|
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
5144
|
+
"update:height": (args_0?: number | undefined) => any;
|
|
5145
|
+
"update:width": (args_0?: number | undefined) => any;
|
|
5144
5146
|
"update:alphaTopLeft": (args_0?: number | undefined) => any;
|
|
5145
5147
|
"update:alphaTopRight": (args_0?: number | undefined) => any;
|
|
5146
5148
|
"update:alphaBottomLeft": (args_0?: number | undefined) => any;
|
|
@@ -5159,8 +5161,6 @@ declare const __VLS_export$14: import("vue").DefineComponent<Props$14, {}, {}, {
|
|
|
5159
5161
|
"update:frame": (args_0?: string | number | undefined) => any;
|
|
5160
5162
|
"update:flipX": (args_0?: boolean | undefined) => any;
|
|
5161
5163
|
"update:flipY": (args_0?: boolean | undefined) => any;
|
|
5162
|
-
"update:width": (args_0?: number | undefined) => any;
|
|
5163
|
-
"update:height": (args_0?: number | undefined) => any;
|
|
5164
5164
|
"update:texture": (args_0?: string | undefined) => any;
|
|
5165
5165
|
"update:to": (args_0?: number | undefined) => any;
|
|
5166
5166
|
"update:duration": (args_0?: number | undefined) => any;
|
|
@@ -5301,6 +5301,8 @@ declare const __VLS_export$14: import("vue").DefineComponent<Props$14, {}, {}, {
|
|
|
5301
5301
|
onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
5302
5302
|
onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
5303
5303
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
5304
|
+
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5305
|
+
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5304
5306
|
"onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5305
5307
|
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5306
5308
|
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -5319,8 +5321,6 @@ declare const __VLS_export$14: import("vue").DefineComponent<Props$14, {}, {}, {
|
|
|
5319
5321
|
"onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
|
|
5320
5322
|
"onUpdate:flipX"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
5321
5323
|
"onUpdate:flipY"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
5322
|
-
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5323
|
-
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5324
5324
|
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
5325
5325
|
"onUpdate:to"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5326
5326
|
"onUpdate:duration"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -5737,10 +5737,10 @@ declare const __VLS_export$12: import("vue").DefineComponent<Props$12, {}, {}, {
|
|
|
5737
5737
|
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
5738
5738
|
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
5739
5739
|
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
5740
|
+
"update:height": (args_0?: number | undefined) => any;
|
|
5741
|
+
"update:width": (args_0?: number | undefined) => any;
|
|
5740
5742
|
"update:key": (args_0?: string | Phaser.Textures.Texture | undefined) => any;
|
|
5741
5743
|
"update:frame": (args_0?: string | number | undefined) => any;
|
|
5742
|
-
"update:width": (args_0?: number | undefined) => any;
|
|
5743
|
-
"update:height": (args_0?: number | undefined) => any;
|
|
5744
5744
|
"update:texture": (args_0?: string | undefined) => any;
|
|
5745
5745
|
"update:leftWidth": (args_0?: number | undefined) => any;
|
|
5746
5746
|
"update:rightWidth": (args_0?: number | undefined) => any;
|
|
@@ -5876,10 +5876,10 @@ declare const __VLS_export$12: import("vue").DefineComponent<Props$12, {}, {}, {
|
|
|
5876
5876
|
onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
5877
5877
|
onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
5878
5878
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
5879
|
+
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5880
|
+
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5879
5881
|
"onUpdate:key"?: ((args_0?: string | Phaser.Textures.Texture | undefined) => any) | undefined;
|
|
5880
5882
|
"onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
|
|
5881
|
-
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5882
|
-
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5883
5883
|
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
5884
5884
|
"onUpdate:leftWidth"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5885
5885
|
"onUpdate:rightWidth"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -6912,6 +6912,8 @@ declare const __VLS_export$8: import("vue").DefineComponent<Props$8, {}, {}, {},
|
|
|
6912
6912
|
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
6913
6913
|
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
6914
6914
|
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
6915
|
+
"update:height": (args_0?: number | undefined) => any;
|
|
6916
|
+
"update:width": (args_0?: number | undefined) => any;
|
|
6915
6917
|
"update:alphaTopLeft": (args_0?: number | undefined) => any;
|
|
6916
6918
|
"update:alphaTopRight": (args_0?: number | undefined) => any;
|
|
6917
6919
|
"update:alphaBottomLeft": (args_0?: number | undefined) => any;
|
|
@@ -6933,8 +6935,6 @@ declare const __VLS_export$8: import("vue").DefineComponent<Props$8, {}, {}, {},
|
|
|
6933
6935
|
"update:flipY": (args_0?: boolean | undefined) => any;
|
|
6934
6936
|
"update:anims": (args_0?: string | Phaser.Animations.Animation | Phaser.Types.Animations.PlayAnimationConfig | undefined) => any;
|
|
6935
6937
|
"update:useSpriteSheet": (args_0?: boolean | undefined) => any;
|
|
6936
|
-
"update:width": (args_0?: number | undefined) => any;
|
|
6937
|
-
"update:height": (args_0?: number | undefined) => any;
|
|
6938
6938
|
"update:texture": (args_0?: string | undefined) => any;
|
|
6939
6939
|
"update:isCropped": (args_0?: boolean | undefined) => any;
|
|
6940
6940
|
}, string, import("vue").PublicProps, Readonly<Props$8> & Readonly<{
|
|
@@ -7067,6 +7067,8 @@ declare const __VLS_export$8: import("vue").DefineComponent<Props$8, {}, {}, {},
|
|
|
7067
7067
|
onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
7068
7068
|
onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
7069
7069
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
7070
|
+
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7071
|
+
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7070
7072
|
"onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7071
7073
|
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7072
7074
|
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -7088,8 +7090,6 @@ declare const __VLS_export$8: import("vue").DefineComponent<Props$8, {}, {}, {},
|
|
|
7088
7090
|
"onUpdate:flipY"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
7089
7091
|
"onUpdate:anims"?: ((args_0?: string | Phaser.Animations.Animation | Phaser.Types.Animations.PlayAnimationConfig | undefined) => any) | undefined;
|
|
7090
7092
|
"onUpdate:useSpriteSheet"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
7091
|
-
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7092
|
-
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7093
7093
|
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
7094
7094
|
"onUpdate:isCropped"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
7095
7095
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -7511,9 +7511,9 @@ declare const __VLS_export$5: import("vue").DefineComponent<Props$5, {}, {}, {},
|
|
|
7511
7511
|
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
7512
7512
|
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
7513
7513
|
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
7514
|
-
"update:width": (args_0?: number | undefined) => any;
|
|
7515
|
-
"update:height": (args_0?: number | undefined) => any;
|
|
7516
7514
|
"update:smoothness": (args_0?: number | undefined) => any;
|
|
7515
|
+
"update:height": (args_0?: number | undefined) => any;
|
|
7516
|
+
"update:width": (args_0?: number | undefined) => any;
|
|
7517
7517
|
}, string, import("vue").PublicProps, Readonly<Props$5> & Readonly<{
|
|
7518
7518
|
"onUpdate:visible"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
7519
7519
|
"onUpdate:alpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -7647,9 +7647,9 @@ declare const __VLS_export$5: import("vue").DefineComponent<Props$5, {}, {}, {},
|
|
|
7647
7647
|
onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
7648
7648
|
onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
7649
7649
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
7650
|
-
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7651
|
-
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7652
7650
|
"onUpdate:smoothness"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7651
|
+
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7652
|
+
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7653
7653
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7654
7654
|
declare const _default$5: typeof __VLS_export$5;
|
|
7655
7655
|
//#endregion
|
|
@@ -9190,23 +9190,6 @@ export declare const useCameraStore: import("pinia").SetupStoreDefinition<"phase
|
|
|
9190
9190
|
isFading: globalThis.Ref<boolean, boolean>;
|
|
9191
9191
|
}>;
|
|
9192
9192
|
//#endregion
|
|
9193
|
-
//#region src/store/index.d.ts
|
|
9194
|
-
export declare const usePhaserStore: import("pinia").SetupStoreDefinition<"phaser", {
|
|
9195
|
-
game: globalThis.WritableComputedRef<Game | undefined, Game | undefined>;
|
|
9196
|
-
isSameScene: (newSceneKey: SceneWithPlugins["scene"]["key"]) => boolean;
|
|
9197
|
-
launchParallelScene: (scene: SceneWithPlugins, targetSceneKey: SceneWithPlugins["scene"]["key"]) => void;
|
|
9198
|
-
parallelSceneKeys: globalThis.Ref<string[], string[]>;
|
|
9199
|
-
prioritizedParallelSceneKeys: globalThis.Ref<string[], string[]>;
|
|
9200
|
-
removeParallelScene: (scene: SceneWithPlugins, targetSceneKey: SceneWithPlugins["scene"]["key"]) => void;
|
|
9201
|
-
rootSceneKey: globalThis.Ref<string | undefined, string | undefined>;
|
|
9202
|
-
switchToScene: (newSceneKey: SceneWithPlugins["scene"]["key"]) => Promise<void>;
|
|
9203
|
-
}>;
|
|
9204
|
-
//#endregion
|
|
9205
|
-
//#region src/store/input.d.ts
|
|
9206
|
-
export declare const useInputStore: import("pinia").SetupStoreDefinition<"phaser/input", {
|
|
9207
|
-
isInputActive: globalThis.Ref<boolean, boolean>;
|
|
9208
|
-
}>;
|
|
9209
|
-
//#endregion
|
|
9210
9193
|
//#region src/models/lifecycle/Lifecycle.d.ts
|
|
9211
9194
|
export declare enum Lifecycle {
|
|
9212
9195
|
Create = "Create",
|
|
@@ -9220,12 +9203,29 @@ export declare enum Lifecycle {
|
|
|
9220
9203
|
//#region src/models/lifecycle/ListenersMap.d.ts
|
|
9221
9204
|
export type ListenersMap = Map<string, ((scene: SceneWithPlugins) => void)[]>;
|
|
9222
9205
|
//#endregion
|
|
9223
|
-
//#region src/store/
|
|
9206
|
+
//#region src/store/ExternalSceneStore.d.ts
|
|
9224
9207
|
export declare const ExternalSceneStore: {
|
|
9225
9208
|
lifecycleListenersMap: Map<Lifecycle, ListenersMap>;
|
|
9226
9209
|
sceneReadyMap: Map<string, boolean>;
|
|
9227
9210
|
};
|
|
9228
9211
|
//#endregion
|
|
9212
|
+
//#region src/store/index.d.ts
|
|
9213
|
+
export declare const usePhaserStore: import("pinia").SetupStoreDefinition<"phaser", {
|
|
9214
|
+
game: globalThis.WritableComputedRef<Game | undefined, Game | undefined>;
|
|
9215
|
+
isSameScene: (newSceneKey: SceneWithPlugins["scene"]["key"]) => boolean;
|
|
9216
|
+
launchParallelScene: (scene: SceneWithPlugins, targetSceneKey: SceneWithPlugins["scene"]["key"]) => void;
|
|
9217
|
+
parallelSceneKeys: globalThis.Ref<string[], string[]>;
|
|
9218
|
+
prioritizedParallelSceneKeys: globalThis.Ref<string[], string[]>;
|
|
9219
|
+
removeParallelScene: (scene: SceneWithPlugins, targetSceneKey: SceneWithPlugins["scene"]["key"]) => void;
|
|
9220
|
+
rootSceneKey: globalThis.Ref<string | undefined, string | undefined>;
|
|
9221
|
+
switchToScene: (newSceneKey: SceneWithPlugins["scene"]["key"]) => Promise<void>;
|
|
9222
|
+
}>;
|
|
9223
|
+
//#endregion
|
|
9224
|
+
//#region src/store/input.d.ts
|
|
9225
|
+
export declare const useInputStore: import("pinia").SetupStoreDefinition<"phaser/input", {
|
|
9226
|
+
isInputActive: globalThis.Ref<boolean, boolean>;
|
|
9227
|
+
}>;
|
|
9228
|
+
//#endregion
|
|
9229
9229
|
//#region src/store/text.d.ts
|
|
9230
9230
|
export declare const useTextStore: import("pinia").SetupStoreDefinition<"phaser/text", {
|
|
9231
9231
|
defaultTextStyle: globalThis.Ref<Types.GameObjects.Text.TextStyle | undefined, Types.GameObjects.Text.TextStyle | undefined>;
|
|
@@ -10328,7 +10328,7 @@ export declare const AnimationSetterMap: {
|
|
|
10328
10328
|
onResumeParams?: any[] | undefined;
|
|
10329
10329
|
persist?: boolean | undefined;
|
|
10330
10330
|
interpolation?: (string | Function) | undefined;
|
|
10331
|
-
}[] | undefined) => void) & ((event: "update:origin", args_0?: number | undefined) => void) & ((event: "update:scrollFactor", args_0?: number | undefined) => void) & ((event: "clickoutside", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "drag", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragend", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragenter", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragleave", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragover", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragstart", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "drop", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerdown", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointermove", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerout", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerover", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerup", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "wheel", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "update:
|
|
10331
|
+
}[] | undefined) => void) & ((event: "update:origin", args_0?: number | undefined) => void) & ((event: "update:scrollFactor", args_0?: number | undefined) => void) & ((event: "clickoutside", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "drag", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragend", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragenter", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragleave", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragover", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragstart", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "drop", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerdown", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointermove", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerout", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerover", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerup", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "wheel", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "update:height", args_0?: number | undefined) => void) & ((event: "update:width", args_0?: number | undefined) => void) & ((event: "update:alphaTopLeft", args_0?: number | undefined) => void) & ((event: "update:alphaTopRight", args_0?: number | undefined) => void) & ((event: "update:alphaBottomLeft", args_0?: number | undefined) => void) & ((event: "update:alphaBottomRight", args_0?: number | undefined) => void) & ((event: "update:tintTopLeft", args_0?: number | undefined) => void) & ((event: "update:tintTopRight", args_0?: number | undefined) => void) & ((event: "update:tintBottomLeft", args_0?: number | undefined) => void) & ((event: "update:tintBottomRight", args_0?: number | undefined) => void) & ((event: "update:tint2TopLeft", args_0?: number | undefined) => void) & ((event: "update:tint2TopRight", args_0?: number | undefined) => void) & ((event: "update:tint2BottomLeft", args_0?: number | undefined) => void) & ((event: "update:tint2BottomRight", args_0?: number | undefined) => void) & ((event: "update:tintMode", args_0?: Phaser.TintModes | undefined) => void) & ((event: "update:tint", args_0?: number | undefined) => void) & ((event: "update:isTinted", args_0?: boolean | undefined) => void) & ((event: "update:key", args_0?: string | Phaser.Textures.Texture | undefined) => void) & ((event: "update:frame", args_0?: string | number | undefined) => void) & ((event: "update:flipX", args_0?: boolean | undefined) => void) & ((event: "update:flipY", args_0?: boolean | undefined) => void) & ((event: "update:useSpriteSheet", args_0?: boolean | undefined) => void) & ((event: "update:texture", args_0?: string | undefined) => void) & ((event: "update:animations", args_0?: Phaser.Types.Animations.Animation[] | undefined) => void) & ((event: "update:playAnimationKey", args_0?: undefined) => void)) => (configurations: Phaser.Types.Animations.Animation[] | undefined) => void;
|
|
10332
10332
|
readonly playAnimationKey: (gameObject: GameObjects.Sprite) => (value: undefined) => void;
|
|
10333
10333
|
};
|
|
10334
10334
|
//#endregion
|
package/dist/index.js
CHANGED
|
@@ -87,7 +87,7 @@ let Lifecycle = /* @__PURE__ */ function(Lifecycle) {
|
|
|
87
87
|
return Lifecycle;
|
|
88
88
|
}({});
|
|
89
89
|
//#endregion
|
|
90
|
-
//#region src/store/
|
|
90
|
+
//#region src/store/ExternalSceneStore.ts
|
|
91
91
|
const ExternalSceneStore = {
|
|
92
92
|
lifecycleListenersMap: /* @__PURE__ */ new Map(),
|
|
93
93
|
sceneReadyMap: /* @__PURE__ */ new Map()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-phaserjs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "A component library to integrate Phaser Framework with Vue.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"component-library",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@arethetypeswrong/core": "^0.18.5",
|
|
58
|
-
"@esposter/configuration": "3.
|
|
58
|
+
"@esposter/configuration": "3.5.0",
|
|
59
59
|
"@vue/test-utils": "^2.5.1",
|
|
60
60
|
"publint": "^0.3.24",
|
|
61
61
|
"tsdown": "^0.23.0",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"vue-tsc": "^3.3.11"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@esposter/shared": "3.
|
|
69
|
-
"parse-tmx": "3.
|
|
68
|
+
"@esposter/shared": "3.4.0",
|
|
69
|
+
"parse-tmx": "3.4.0",
|
|
70
70
|
"phaser": "^4.2.1",
|
|
71
71
|
"phaser4-rex-plugins": "^4.2.0",
|
|
72
72
|
"pinia": "^4.0.3",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"inlinedDependencies": {
|
|
76
76
|
"type-fest": "5.10.0"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "dd47fa9c4f07dcf7a9ce49a09874a6bcf4e4ace4"
|
|
79
79
|
}
|