vue-phaserjs 4.3.1 → 4.3.3
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 +4 -540
- package/dist/index.js +117 -234
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { SetupContext, VNode, WatchHandle } from "vue";
|
|
2
2
|
import { FunctionLike } from "@esposter/shared";
|
|
3
3
|
import { Curves, Game, GameObjects, Loader, Scene, Tilemaps, Types } from "phaser";
|
|
4
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/primitive.d.ts
|
|
5
4
|
/**
|
|
6
5
|
Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
|
|
7
6
|
|
|
8
7
|
@category Type
|
|
9
8
|
*/
|
|
10
9
|
type Primitive = null | undefined | string | number | boolean | symbol | bigint;
|
|
11
|
-
//#endregion
|
|
12
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/union-to-intersection.d.ts
|
|
13
10
|
/**
|
|
14
11
|
Convert a union type to an intersection type.
|
|
15
12
|
|
|
@@ -42,8 +39,6 @@ never
|
|
|
42
39
|
) extends ((mergedIntersection: infer Intersection) => void) ?
|
|
43
40
|
// The `& Union` is to ensure result of `UnionToIntersection<A | B>` is always assignable to `A | B`
|
|
44
41
|
Intersection & Union : never;
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/keys-of-union.d.ts
|
|
47
42
|
/**
|
|
48
43
|
Create a union of all keys from a given type, even those exclusive to specific union members.
|
|
49
44
|
|
|
@@ -84,8 +79,6 @@ type AllKeys = KeysOfUnion<Union>;
|
|
|
84
79
|
type KeysOfUnion<ObjectType> =
|
|
85
80
|
// Hack to fix https://github.com/sindresorhus/type-fest/issues/1008
|
|
86
81
|
keyof UnionToIntersection<ObjectType extends unknown ? Record<keyof ObjectType, never> : never>;
|
|
87
|
-
//#endregion
|
|
88
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-any.d.ts
|
|
89
82
|
/**
|
|
90
83
|
Returns a boolean for whether the given type is `any`.
|
|
91
84
|
|
|
@@ -115,8 +108,6 @@ const anyA = get(anyObject, 'a');
|
|
|
115
108
|
@category Utilities
|
|
116
109
|
*/
|
|
117
110
|
type IsAny<T> = 0 extends 1 & NoInfer<T> ? true : false;
|
|
118
|
-
//#endregion
|
|
119
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-optional-key-of.d.ts
|
|
120
111
|
/**
|
|
121
112
|
Returns a boolean for whether the given key is an optional key of type.
|
|
122
113
|
|
|
@@ -158,8 +149,6 @@ type T5 = IsOptionalKeyOf<User | Admin, 'surname'>;
|
|
|
158
149
|
@category Utilities
|
|
159
150
|
*/
|
|
160
151
|
type IsOptionalKeyOf<Type extends object, Key extends keyof Type> = IsAny<Type | Key> extends true ? never : Key extends keyof Type ? Type extends Record<Key, Type[Key]> ? false : true : false;
|
|
161
|
-
//#endregion
|
|
162
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/optional-keys-of.d.ts
|
|
163
152
|
/**
|
|
164
153
|
Extract all optional keys from the given type.
|
|
165
154
|
|
|
@@ -196,8 +185,6 @@ const update2: UpdateOperation<User> = {
|
|
|
196
185
|
type OptionalKeysOf<Type extends object> = Type extends unknown // For distributing `Type`
|
|
197
186
|
? (keyof { [Key in keyof Type as IsOptionalKeyOf<Type, Key> extends false ? never : Key]: never; }) & keyof Type // Intersect with `keyof Type` to ensure result of `OptionalKeysOf<Type>` is always assignable to `keyof Type`
|
|
198
187
|
: never; // Should never happen
|
|
199
|
-
//#endregion
|
|
200
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/required-keys-of.d.ts
|
|
201
188
|
/**
|
|
202
189
|
Extract all required keys from the given type.
|
|
203
190
|
|
|
@@ -230,8 +217,6 @@ const validator3 = createValidation<User>('luckyNumber', value => value > 0);
|
|
|
230
217
|
*/
|
|
231
218
|
type RequiredKeysOf<Type extends object> = Type extends unknown // For distributing `Type`
|
|
232
219
|
? Exclude<keyof Type, OptionalKeysOf<Type>> : never; // Should never happen
|
|
233
|
-
//#endregion
|
|
234
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-never.d.ts
|
|
235
220
|
/**
|
|
236
221
|
Returns a boolean for whether the given type is `never`.
|
|
237
222
|
|
|
@@ -286,8 +271,6 @@ type B = IsTrueFixed<never>;
|
|
|
286
271
|
@category Utilities
|
|
287
272
|
*/
|
|
288
273
|
type IsNever<T> = [T] extends [never] ? true : false;
|
|
289
|
-
//#endregion
|
|
290
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/if.d.ts
|
|
291
274
|
/**
|
|
292
275
|
An if-else-like type that resolves depending on whether the given `boolean` type is `true` or `false`.
|
|
293
276
|
|
|
@@ -381,8 +364,6 @@ type Works = IncludesWithoutIf<HundredZeroes, '1'>;
|
|
|
381
364
|
@category Utilities
|
|
382
365
|
*/
|
|
383
366
|
type If<Type extends boolean, IfBranch, ElseBranch> = IsNever<Type> extends true ? ElseBranch : Type extends true ? IfBranch : ElseBranch;
|
|
384
|
-
//#endregion
|
|
385
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/unknown-array.d.ts
|
|
386
367
|
/**
|
|
387
368
|
Represents an array with `unknown` value.
|
|
388
369
|
|
|
@@ -408,8 +389,6 @@ type C = IsArray<string>;
|
|
|
408
389
|
@category Array
|
|
409
390
|
*/
|
|
410
391
|
type UnknownArray = readonly unknown[];
|
|
411
|
-
//#endregion
|
|
412
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/type.d.ts
|
|
413
392
|
/**
|
|
414
393
|
Returns a boolean for whether A is false.
|
|
415
394
|
|
|
@@ -476,8 +455,6 @@ type IfNotAnyOrNever<T, Cases extends {
|
|
|
476
455
|
Indicates the value of `exactOptionalPropertyTypes` compiler option.
|
|
477
456
|
*/
|
|
478
457
|
type IsExactOptionalPropertyTypesEnabled = [(string | undefined)?] extends [string?] ? false : true;
|
|
479
|
-
//#endregion
|
|
480
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/array.d.ts
|
|
481
458
|
/**
|
|
482
459
|
Returns whether the given array `T` is readonly.
|
|
483
460
|
*/
|
|
@@ -529,8 +506,6 @@ TArray extends readonly [unknown, ...unknown[]] ? First : If<IsExactOptionalProp
|
|
|
529
506
|
TArray extends readonly [...infer Rest, infer Last] ? _CollapseRestElement<Rest, ForwardAccumulator, [Last, ...BackwardAccumulator]> // Accumulate elements that are present after the rest element.
|
|
530
507
|
: TArray extends readonly [] ? [...ForwardAccumulator, ...BackwardAccumulator] : [...ForwardAccumulator, TArray[number], ...BackwardAccumulator] // Add the rest element between the accumulated elements.
|
|
531
508
|
: never; // Should never happen
|
|
532
|
-
//#endregion
|
|
533
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/characters.d.ts
|
|
534
509
|
type Whitespace = '\t' // '\t'
|
|
535
510
|
| '\n' // '\n'
|
|
536
511
|
| '\v' // '\v'
|
|
@@ -540,8 +515,6 @@ type Whitespace = '\t' // '\t'
|
|
|
540
515
|
| '
' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | '
' | '
' | ' ' | ' ' | ' ' | '';
|
|
541
516
|
type WordSeparators = '-' | '_' | Whitespace;
|
|
542
517
|
type AsciiPunctuation = '!' | '"' | '#' | '$' | '%' | '&' | '\'' | '(' | ')' | '*' | '+' | ',' | '-' | '.' | '/' | ':' | ';' | '<' | '=' | '>' | '?' | '@' | '[' | '\\' | ']' | '^' | '_' | '`' | '{' | '|' | '}' | '~';
|
|
543
|
-
//#endregion
|
|
544
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/simplify.d.ts
|
|
545
518
|
/**
|
|
546
519
|
Useful to flatten the type output to improve type hints shown in editors. And also to transform an interface into a type to aide with assignability.
|
|
547
520
|
|
|
@@ -601,8 +574,6 @@ fn(someInterface as Simplify<SomeInterface>); // Good: transform an `interface`
|
|
|
601
574
|
@category Object
|
|
602
575
|
*/
|
|
603
576
|
type Simplify<T> = { [KeyType in keyof T]: T[KeyType]; } & {};
|
|
604
|
-
//#endregion
|
|
605
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-equal.d.ts
|
|
606
577
|
/**
|
|
607
578
|
Returns a boolean for whether the two given types are equal.
|
|
608
579
|
|
|
@@ -632,8 +603,6 @@ type Includes<Value extends readonly any[], Item> =
|
|
|
632
603
|
type IsEqual<A, B> = [A] extends [B] ? [B] extends [A] ? _IsEqual<A, B> : false : false;
|
|
633
604
|
// This version fails the `equalWrappedTupleIntersectionToBeNeverAndNeverExpanded` test in `test-d/is-equal.ts`.
|
|
634
605
|
type _IsEqual<A, B> = (<G>() => G extends A & G | G ? 1 : 2) extends (<G>() => G extends B & G | G ? 1 : 2) ? true : false;
|
|
635
|
-
//#endregion
|
|
636
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/omit-index-signature.d.ts
|
|
637
606
|
/**
|
|
638
607
|
Omit any index signatures from the given object type, leaving only explicitly defined properties.
|
|
639
608
|
|
|
@@ -726,8 +695,6 @@ type ExampleWithoutIndexSignatures = OmitIndexSignature<Example>;
|
|
|
726
695
|
@category Object
|
|
727
696
|
*/
|
|
728
697
|
type OmitIndexSignature<ObjectType> = { [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown> ? never : KeyType]: ObjectType[KeyType]; };
|
|
729
|
-
//#endregion
|
|
730
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/pick-index-signature.d.ts
|
|
731
698
|
/**
|
|
732
699
|
Pick only index signatures from the given object type, leaving out all explicitly defined properties.
|
|
733
700
|
|
|
@@ -774,8 +741,6 @@ type ExampleIndexSignature = PickIndexSignature<Example>;
|
|
|
774
741
|
@category Object
|
|
775
742
|
*/
|
|
776
743
|
type PickIndexSignature<ObjectType> = { [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown> ? KeyType : never]: ObjectType[KeyType]; };
|
|
777
|
-
//#endregion
|
|
778
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/merge.d.ts
|
|
779
744
|
// Merges two objects without worrying about index signatures.
|
|
780
745
|
type SimpleMerge<Destination, Source> = Simplify<{ [Key in keyof Destination as Key extends keyof Source ? never : Key]: Destination[Key]; } & Source>;
|
|
781
746
|
/**
|
|
@@ -845,8 +810,6 @@ type Merge<Destination, Source> = Destination extends unknown // For distributin
|
|
|
845
810
|
? If<IsEqual<Destination, Source>, Destination, _Merge<Destination, Source>> : never // Should never happen
|
|
846
811
|
: never; // Should never happen
|
|
847
812
|
type _Merge<Destination, Source> = Simplify<SimpleMerge<PickIndexSignature<Destination>, PickIndexSignature<Source>> & SimpleMerge<OmitIndexSignature<Destination>, OmitIndexSignature<Source>>>;
|
|
848
|
-
//#endregion
|
|
849
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/trim.d.ts
|
|
850
813
|
/**
|
|
851
814
|
Remove spaces from the left side.
|
|
852
815
|
*/
|
|
@@ -870,8 +833,6 @@ type Example = Trim<' foo '>;
|
|
|
870
833
|
@category Template literal
|
|
871
834
|
*/
|
|
872
835
|
type Trim<V extends string> = TrimLeft<TrimRight<V>>;
|
|
873
|
-
//#endregion
|
|
874
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/some-extend.d.ts
|
|
875
836
|
/**
|
|
876
837
|
@see {@link SomeExtend}
|
|
877
838
|
*/
|
|
@@ -967,8 +928,6 @@ type SomeExtend<TArray extends UnknownArray, Type, Options extends SomeExtendOpt
|
|
|
967
928
|
type _SomeExtend<TArray extends UnknownArray, Type, Options extends Required<SomeExtendOptions>> = TArray extends readonly [infer First, ...infer Rest] ? IsNever<First> extends true ? Or<Or<IsNever<Type>, IsAny<Type>>, Not<Options['strictNever']>> extends true ?
|
|
968
929
|
// If target `Type` is also `never`, or is `any`, or `strictNever` is disabled, return `true`.
|
|
969
930
|
true : _SomeExtend<Rest, Type, Options> : First extends Type ? true : _SomeExtend<Rest, Type, Options> : false;
|
|
970
|
-
//#endregion
|
|
971
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/or-all.d.ts
|
|
972
931
|
/**
|
|
973
932
|
Returns a boolean for whether any of the given elements is `true`.
|
|
974
933
|
|
|
@@ -1038,8 +997,6 @@ Note: `OrAll<[]>` evaluates to `false` because there are no `true` elements in a
|
|
|
1038
997
|
@see {@link AndAll}
|
|
1039
998
|
*/
|
|
1040
999
|
type OrAll<T extends readonly boolean[]> = SomeExtend<T, true>;
|
|
1041
|
-
//#endregion
|
|
1042
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/or.d.ts
|
|
1043
1000
|
/**
|
|
1044
1001
|
Returns a boolean for whether either of two given types is `true`.
|
|
1045
1002
|
|
|
@@ -1118,8 +1075,6 @@ type G = Or<never, never>;
|
|
|
1118
1075
|
@see {@link Xor}
|
|
1119
1076
|
*/
|
|
1120
1077
|
type Or<A extends boolean, B extends boolean> = OrAll<[A, B]>;
|
|
1121
|
-
//#endregion
|
|
1122
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/string.d.ts
|
|
1123
1078
|
/**
|
|
1124
1079
|
Returns a boolean for whether the given string `S` starts with the given string `SearchString`.
|
|
1125
1080
|
|
|
@@ -1148,8 +1103,6 @@ Returns a boolean for whether the string is numeric.
|
|
|
1148
1103
|
This type is a workaround for [Microsoft/TypeScript#46109](https://github.com/microsoft/TypeScript/issues/46109#issuecomment-930307987).
|
|
1149
1104
|
*/
|
|
1150
1105
|
type IsNumeric<T extends string> = T extends `${number}` ? Trim<T> extends T ? true : false : false;
|
|
1151
|
-
//#endregion
|
|
1152
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/object.d.ts
|
|
1153
1106
|
/**
|
|
1154
1107
|
Works similar to the built-in `Pick` utility type, except for the following differences:
|
|
1155
1108
|
- Distributes over union types and allows picking keys from any member of the union type.
|
|
@@ -1295,8 +1248,6 @@ type UnwrapBrand<T> = IfNotAnyOrNever<T, {
|
|
|
1295
1248
|
ifNot: _UnwrapBrand<T, Primitive>;
|
|
1296
1249
|
}>;
|
|
1297
1250
|
type _UnwrapBrand<T, Base> = T extends Primitive ? T extends (infer U) & Pick<T, Exclude<keyof T, KeysOfUnion<Base>>> ? U : T : T;
|
|
1298
|
-
//#endregion
|
|
1299
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-string-literal.d.ts
|
|
1300
1251
|
/**
|
|
1301
1252
|
Returns a boolean for whether the given type is a `string` [literal type](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types).
|
|
1302
1253
|
|
|
@@ -1359,8 +1310,6 @@ type _IsStringLiteral<S> =
|
|
|
1359
1310
|
// If `S` is an infinite string type (e.g., `on${string}`), `Record<S, never>` produces an index signature,
|
|
1360
1311
|
// and since `{}` extends index signatures, the result becomes `false`.
|
|
1361
1312
|
S extends string ? {} extends Record<S, never> ? false : true : false;
|
|
1362
|
-
//#endregion
|
|
1363
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-null.d.ts
|
|
1364
1313
|
/**
|
|
1365
1314
|
Returns a boolean for whether the given type is `null`.
|
|
1366
1315
|
|
|
@@ -1381,8 +1330,6 @@ type Example2 = NonNullFallback<number, string>;
|
|
|
1381
1330
|
@category Utilities
|
|
1382
1331
|
*/
|
|
1383
1332
|
type IsNull<T> = [T] extends [null] ? true : false;
|
|
1384
|
-
//#endregion
|
|
1385
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-unknown.d.ts
|
|
1386
1333
|
/**
|
|
1387
1334
|
Returns a boolean for whether the given type is `unknown`.
|
|
1388
1335
|
|
|
@@ -1418,8 +1365,6 @@ type F = IsUnknown<string>;
|
|
|
1418
1365
|
type IsUnknown<T> = (unknown extends T // `T` can be `unknown` or `any`
|
|
1419
1366
|
? IsNull<T> extends false // `any` can be `null`, but `unknown` can't be
|
|
1420
1367
|
? true : false : false);
|
|
1421
|
-
//#endregion
|
|
1422
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/all-extend.d.ts
|
|
1423
1368
|
/**
|
|
1424
1369
|
@see {@link AllExtend}
|
|
1425
1370
|
*/
|
|
@@ -1521,8 +1466,6 @@ type AllExtend<TArray extends UnknownArray, Type, Options extends AllExtendOptio
|
|
|
1521
1466
|
type _AllExtend<TArray extends UnknownArray, Type, Options extends Required<AllExtendOptions>> = TArray extends readonly [infer First, ...infer Rest] ? IsNever<First> extends true ? Or<Or<IsNever<Type>, IsAny<Type>>, Not<Options['strictNever']>> extends true ?
|
|
1522
1467
|
// If target `Type` is also `never`, or is `any`, or `strictNever` is disabled, recurse further.
|
|
1523
1468
|
_AllExtend<Rest, Type, Options> : false : First extends Type ? _AllExtend<Rest, Type, Options> : false : true;
|
|
1524
|
-
//#endregion
|
|
1525
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/and-all.d.ts
|
|
1526
1469
|
/**
|
|
1527
1470
|
Returns a boolean for whether all of the given elements are `true`.
|
|
1528
1471
|
|
|
@@ -1595,8 +1538,6 @@ Note: `AndAll<[]>` evaluates to `true` due to the concept of [vacuous truth](htt
|
|
|
1595
1538
|
@see {@link OrAll}
|
|
1596
1539
|
*/
|
|
1597
1540
|
type AndAll<T extends readonly boolean[]> = AllExtend<T, true>;
|
|
1598
|
-
//#endregion
|
|
1599
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/and.d.ts
|
|
1600
1541
|
/**
|
|
1601
1542
|
Returns a boolean for whether two given types are both `true`.
|
|
1602
1543
|
|
|
@@ -1675,8 +1616,6 @@ type G = And<never, never>;
|
|
|
1675
1616
|
@see {@link Xor}
|
|
1676
1617
|
*/
|
|
1677
1618
|
type And<A extends boolean, B extends boolean> = AndAll<[A, B]>;
|
|
1678
|
-
//#endregion
|
|
1679
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/except.d.ts
|
|
1680
1619
|
/**
|
|
1681
1620
|
Filter out keys from an object.
|
|
1682
1621
|
|
|
@@ -1775,8 +1714,6 @@ type PostPayloadFixed = Except<UserData, 'email'>;
|
|
|
1775
1714
|
*/
|
|
1776
1715
|
type Except<ObjectType, KeysType extends keyof ObjectType, Options extends ExceptOptions = {}> = _Except<ObjectType, KeysType, ApplyDefaultOptions<ExceptOptions, DefaultExceptOptions, Options>>;
|
|
1777
1716
|
type _Except<ObjectType, KeysType extends keyof ObjectType, Options extends Required<ExceptOptions>> = { [KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType]; } & (Options['requireExactProps'] extends true ? Partial<Record<KeysType, never>> : {});
|
|
1778
|
-
//#endregion
|
|
1779
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-required.d.ts
|
|
1780
1717
|
/**
|
|
1781
1718
|
Create a type that makes the given keys required, while keeping the remaining keys as is.
|
|
1782
1719
|
|
|
@@ -1824,8 +1761,6 @@ type SetArrayRequired<TArray extends UnknownArray, Keys, Counter extends any[] =
|
|
|
1824
1761
|
// Exit if `TArray` is empty (e.g., []), or
|
|
1825
1762
|
// `TArray` contains no non-rest elements preceding the rest element (e.g., `[...string[]]` or `[...string[], string]`).
|
|
1826
1763
|
[...Accumulator, ...TArray] : never; // Should never happen
|
|
1827
|
-
//#endregion
|
|
1828
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/extends-strict.d.ts
|
|
1829
1764
|
type ExtendsStrictOptions = {
|
|
1830
1765
|
/**
|
|
1831
1766
|
Whether to distribute over unions.
|
|
@@ -1948,8 +1883,6 @@ type T3 = ExtendsStrict<any, number, {strictAny: true}>;
|
|
|
1948
1883
|
*/
|
|
1949
1884
|
type ExtendsStrict<Left, Right, Options extends ExtendsStrictOptions = {}> = _ExtendsStrict<Left, Right, ApplyDefaultOptions<ExtendsStrictOptions, DefaultExtendsStrictOptions, Options>>;
|
|
1950
1885
|
type _ExtendsStrict<Left, Right, Options extends Required<ExtendsStrictOptions>> = And<IsAny<Left>, Options['strictAny']> extends true ? Or<IsAny<Right>, IsUnknown<Right>> : IsNever<Left> extends true ? Options['strictNever'] extends true ? OrAll<[IsNever<Right>, IsAny<Right>, IsUnknown<Right>]> : true : Options['distributiveUnions'] extends true ? Left extends Right ? true : false : [Left] extends [Right] ? true : false;
|
|
1951
|
-
//#endregion
|
|
1952
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-tuple.d.ts
|
|
1953
1886
|
/**
|
|
1954
1887
|
@see {@link IsTuple}
|
|
1955
1888
|
*/
|
|
@@ -2015,8 +1948,6 @@ type IsTuple<TArray extends UnknownArray, Options extends IsTupleOptions = {}> =
|
|
|
2015
1948
|
type _IsTuple<TArray extends UnknownArray, Options extends Required<IsTupleOptions>> = If<IsAny<TArray>, boolean, If<IsNever<TArray>, false, TArray extends unknown // For distributing `TArray`
|
|
2016
1949
|
? number extends TArray['length'] ? Options['fixedLengthOnly'] extends false ? '0' extends keyof TArray ? true : TArray extends readonly [...any, any] ? true : false // To handle cases where a non-rest element follows a rest element, e.g., `[...number[], number]`
|
|
2017
1950
|
: false : true : false>>;
|
|
2018
|
-
//#endregion
|
|
2019
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/tuple-to-object.d.ts
|
|
2020
1951
|
/**
|
|
2021
1952
|
Transforms a tuple into an object, mapping each tuple index to its corresponding type as a key-value pair.
|
|
2022
1953
|
|
|
@@ -2053,8 +1984,6 @@ type Example6 = TupleToObject<[x: number, y: number]>;
|
|
|
2053
1984
|
@category Array
|
|
2054
1985
|
*/
|
|
2055
1986
|
type TupleToObject<TArray extends UnknownArray> = If<IsAny<TArray>, any, { [Key in keyof TArray as Key & (`${number}` | (IsTuple<TArray> extends true ? never : number))]: TArray[Key]; }>;
|
|
2056
|
-
//#endregion
|
|
2057
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/conditional-keys.d.ts
|
|
2058
1987
|
/**
|
|
2059
1988
|
Extract the keys from a type where the value type of the key extends the given `Condition`.
|
|
2060
1989
|
|
|
@@ -2108,8 +2037,6 @@ type ConditionalKeys<Base, Condition> = (Base extends UnknownArray ? TupleToObje
|
|
|
2108
2037
|
}> : never;
|
|
2109
2038
|
type _ConditionalKeys<Base, Condition> = keyof { [Key in (keyof Base & {}) // `& {}` prevents homomorphism
|
|
2110
2039
|
as ExtendsStrict<Base[Key], Condition> extends true ? Key : never]: never; };
|
|
2111
|
-
//#endregion
|
|
2112
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/conditional-except.d.ts
|
|
2113
2040
|
/**
|
|
2114
2041
|
Exclude keys from a shape that matches the given `Condition`.
|
|
2115
2042
|
|
|
@@ -2149,8 +2076,6 @@ type NonStringKeysOnly = ConditionalExcept<Example, string>;
|
|
|
2149
2076
|
@category Object
|
|
2150
2077
|
*/
|
|
2151
2078
|
type ConditionalExcept<Base, Condition> = Except<Base, ConditionalKeys<Base, Condition>>;
|
|
2152
|
-
//#endregion
|
|
2153
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-lowercase.d.ts
|
|
2154
2079
|
/**
|
|
2155
2080
|
Returns a boolean for whether the given string literal is lowercase.
|
|
2156
2081
|
|
|
@@ -2177,8 +2102,6 @@ type _IsLowercase<S extends string, Accumulator extends boolean[] = []> = S exte
|
|
|
2177
2102
|
Returns a boolean for whether an individual part of the string is lowercase.
|
|
2178
2103
|
*/
|
|
2179
2104
|
type IsLowercaseHelper<S extends string> = S extends Lowercase<string> ? true : S extends Uppercase<string> | Capitalize<string> | `${string}${Uppercase<string>}${string}` ? false : boolean;
|
|
2180
|
-
//#endregion
|
|
2181
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-uppercase.d.ts
|
|
2182
2105
|
/**
|
|
2183
2106
|
Returns a boolean for whether the given string literal is uppercase.
|
|
2184
2107
|
|
|
@@ -2205,8 +2128,6 @@ type _IsUppercase<S extends string, Accumulator extends boolean[] = []> = S exte
|
|
|
2205
2128
|
Returns a boolean for whether an individual part of the string is uppercase.
|
|
2206
2129
|
*/
|
|
2207
2130
|
type IsUppercaseHelper<S extends string> = S extends Uppercase<string> ? true : S extends Lowercase<string> | Uncapitalize<string> | `${string}${Lowercase<string>}${string}` ? false : boolean;
|
|
2208
|
-
//#endregion
|
|
2209
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/words.d.ts
|
|
2210
2131
|
type SkipEmptyWord<Word extends string> = Word extends '' ? [] : [Word];
|
|
2211
2132
|
type RemoveLastCharacter<Sentence extends string, Character extends string> = Sentence extends `${infer LeftSide}${Character}` ? SkipEmptyWord<LeftSide> : never;
|
|
2212
2133
|
/**
|
|
@@ -2321,8 +2242,6 @@ WordsImplementation<RemainingCharacters, Options, FirstCharacter, `${CurrentWord
|
|
|
2321
2242
|
[true, true] extends [IsUppercase<LastCharacter>, IsLowercase<FirstCharacter>] ? [...RemoveLastCharacter<CurrentWord, LastCharacter>, ...WordsImplementation<RemainingCharacters, Options, FirstCharacter, `${LastCharacter}${FirstCharacter}`>] :
|
|
2322
2243
|
// No case change: concat word
|
|
2323
2244
|
WordsImplementation<RemainingCharacters, Options, FirstCharacter, `${CurrentWord}${FirstCharacter}`> : [...SkipEmptyWord<CurrentWord>];
|
|
2324
|
-
//#endregion
|
|
2325
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/delimiter-case.d.ts
|
|
2326
2245
|
type _DefaultDelimiterCaseOptions = Merge<_DefaultWordsOptions, {
|
|
2327
2246
|
splitOnNumbers: false;
|
|
2328
2247
|
}>;
|
|
@@ -2372,8 +2291,6 @@ const rawCliOptions: OddlyCasedProperties<SomeOptions> = {
|
|
|
2372
2291
|
*/
|
|
2373
2292
|
type DelimiterCase<Value, Delimiter extends string, Options extends WordsOptions = {}> = Value extends string ? Delimiter extends string // For distributing `Delimiter`
|
|
2374
2293
|
? IsStringLiteral<Value> extends false ? Value : Lowercase<DelimiterCaseFromArray<Words<Value, ApplyDefaultOptions<WordsOptions, _DefaultDelimiterCaseOptions, Options>>, Delimiter>> : never : Value;
|
|
2375
|
-
//#endregion
|
|
2376
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/kebab-case.d.ts
|
|
2377
2294
|
/**
|
|
2378
2295
|
Convert a string literal to kebab-case.
|
|
2379
2296
|
|
|
@@ -2412,71 +2329,33 @@ const rawCliOptions: KebabCasedProperties<CliOptions> = {
|
|
|
2412
2329
|
@category Template literal
|
|
2413
2330
|
*/
|
|
2414
2331
|
type KebabCase<Value, Options extends WordsOptions = {}> = DelimiterCase<Value, '-', ApplyDefaultOptions<WordsOptions, _DefaultDelimiterCaseOptions, Options>>;
|
|
2415
|
-
//#endregion
|
|
2416
|
-
//#region src/models/configuration/components/AlphaSingleConfiguration.d.ts
|
|
2417
2332
|
export interface AlphaSingleConfiguration extends ConditionalExcept<GameObjects.Components.AlphaSingle, FunctionLike> {}
|
|
2418
|
-
//#endregion
|
|
2419
|
-
//#region src/models/configuration/components/OriginConfiguration.d.ts
|
|
2420
2333
|
export interface OriginConfiguration extends ConditionalExcept<GameObjects.Components.Origin, FunctionLike> {
|
|
2421
2334
|
origin: number;
|
|
2422
2335
|
}
|
|
2423
|
-
//#endregion
|
|
2424
|
-
//#region src/models/configuration/components/RenderNodesConfiguration.d.ts
|
|
2425
2336
|
export interface RenderNodesConfiguration extends ConditionalExcept<GameObjects.Components.RenderNodes, FunctionLike> {}
|
|
2426
|
-
//#endregion
|
|
2427
|
-
//#region src/models/configuration/global/GameObjectConfiguration.d.ts
|
|
2428
2337
|
export interface GameObjectConfiguration extends Pick<GameObjects.GameObject, "active"> {}
|
|
2429
|
-
//#endregion
|
|
2430
|
-
//#region src/models/configuration/shared/TweenBuilderConfiguration.d.ts
|
|
2431
2338
|
export type TweenBuilderConfiguration = Except<Types.Tweens.TweenBuilderConfig, "targets">;
|
|
2432
|
-
//#endregion
|
|
2433
|
-
//#region src/models/configuration/global/TweenConfiguration.d.ts
|
|
2434
2339
|
export interface TweenConfiguration {
|
|
2435
2340
|
tween: TweenBuilderConfiguration;
|
|
2436
2341
|
tweenchain: TweenBuilderConfiguration[];
|
|
2437
2342
|
}
|
|
2438
|
-
//#endregion
|
|
2439
|
-
//#region src/models/configuration/global/GlobalConfiguration.d.ts
|
|
2440
2343
|
export interface GlobalConfiguration extends GameObjectConfiguration, TweenConfiguration {}
|
|
2441
|
-
//#endregion
|
|
2442
|
-
//#region src/models/configuration/components/BlendModeConfiguration.d.ts
|
|
2443
2344
|
export interface BlendModeConfiguration extends ConditionalExcept<GameObjects.Components.BlendMode, FunctionLike> {}
|
|
2444
|
-
//#endregion
|
|
2445
|
-
//#region src/models/configuration/components/DepthConfiguration.d.ts
|
|
2446
2345
|
export interface DepthConfiguration extends ConditionalExcept<GameObjects.Components.Depth, FunctionLike> {}
|
|
2447
|
-
//#endregion
|
|
2448
|
-
//#region src/models/configuration/components/MaskConfiguration.d.ts
|
|
2449
2346
|
export interface MaskConfiguration extends ConditionalExcept<GameObjects.Components.Mask, FunctionLike> {}
|
|
2450
|
-
//#endregion
|
|
2451
|
-
//#region src/models/configuration/components/ScrollFactorConfiguration.d.ts
|
|
2452
2347
|
export interface ScrollFactorConfiguration extends ConditionalExcept<GameObjects.Components.ScrollFactor, FunctionLike> {
|
|
2453
2348
|
scrollFactor: number;
|
|
2454
2349
|
}
|
|
2455
|
-
//#endregion
|
|
2456
|
-
//#region src/models/configuration/components/TransformConfiguration.d.ts
|
|
2457
2350
|
export interface TransformConfiguration extends ConditionalExcept<GameObjects.Components.Transform, FunctionLike> {}
|
|
2458
|
-
//#endregion
|
|
2459
|
-
//#region src/models/configuration/components/VisibleConfiguration.d.ts
|
|
2460
2351
|
export interface VisibleConfiguration extends ConditionalExcept<GameObjects.Components.Visible, FunctionLike> {}
|
|
2461
|
-
//#endregion
|
|
2462
|
-
//#region src/models/configuration/shared/SceneObjectConfiguration.d.ts
|
|
2463
2352
|
export interface SceneObjectConfiguration extends BlendModeConfiguration, DepthConfiguration, MaskConfiguration, ScrollFactorConfiguration, TransformConfiguration, VisibleConfiguration {}
|
|
2464
|
-
//#endregion
|
|
2465
|
-
//#region src/models/configuration/shared/ShapeConfiguration.d.ts
|
|
2466
2353
|
export interface ShapeConfiguration extends AlphaSingleConfiguration, GlobalConfiguration, OriginConfiguration, Pick<GameObjects.Shape, "displayHeight" | "displayWidth" | "fillAlpha" | "fillColor">, RenderNodesConfiguration, SceneObjectConfiguration {
|
|
2467
2354
|
strokeStyle: Parameters<GameObjects.Shape["setStrokeStyle"]>;
|
|
2468
2355
|
}
|
|
2469
|
-
//#endregion
|
|
2470
|
-
//#region src/models/configuration/ArcConfiguration.d.ts
|
|
2471
2356
|
export interface ArcConfiguration extends Pick<GameObjects.Arc, "closePath" | "endAngle" | "radius" | "startAngle">, ShapeConfiguration {}
|
|
2472
|
-
//#endregion
|
|
2473
|
-
//#region src/models/scene/ScenePlugins.d.ts
|
|
2474
2357
|
export interface ScenePlugins {}
|
|
2475
|
-
//#endregion
|
|
2476
|
-
//#region src/models/scene/SceneWithPlugins.d.ts
|
|
2477
2358
|
export interface SceneWithPlugins extends Scene, ScenePlugins {}
|
|
2478
|
-
//#endregion
|
|
2479
|
-
//#region src/components/Arc.vue.d.ts
|
|
2480
2359
|
interface Props$24 {
|
|
2481
2360
|
configuration: Partial<ArcConfiguration>;
|
|
2482
2361
|
immediate?: true;
|
|
@@ -2758,23 +2637,13 @@ declare const __VLS_export$26: import("vue").DefineComponent<Props$24, {}, {}, {
|
|
|
2758
2637
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
2759
2638
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2760
2639
|
declare const _default: typeof __VLS_export$26;
|
|
2761
|
-
//#endregion
|
|
2762
|
-
//#region src/models/configuration/components/AlphaConfiguration.d.ts
|
|
2763
2640
|
export interface AlphaConfiguration extends ConditionalExcept<GameObjects.Components.Alpha, FunctionLike> {}
|
|
2764
|
-
//#endregion
|
|
2765
|
-
//#region src/models/configuration/components/TintConfiguration.d.ts
|
|
2766
2641
|
export interface TintConfiguration extends ConditionalExcept<GameObjects.Components.Tint, FunctionLike> {}
|
|
2767
|
-
//#endregion
|
|
2768
|
-
//#region src/models/configuration/shared/RenderableConfiguration.d.ts
|
|
2769
2642
|
export interface RenderableConfiguration extends AlphaConfiguration, GlobalConfiguration, OriginConfiguration, RenderNodesConfiguration, SceneObjectConfiguration, TintConfiguration {}
|
|
2770
|
-
//#endregion
|
|
2771
|
-
//#region src/models/configuration/BitmapTextConfiguration.d.ts
|
|
2772
2643
|
export interface BitmapTextConfiguration extends Pick<GameObjects.BitmapText, "align" | "font" | "fontSize" | "letterSpacing" | "lineSpacing" | "text" | "wordWrapCharCode">, RenderableConfiguration {
|
|
2773
2644
|
dropShadow: Parameters<GameObjects.BitmapText["setDropShadow"]>;
|
|
2774
2645
|
maxWidth: Parameters<GameObjects.BitmapText["setMaxWidth"]>[0];
|
|
2775
2646
|
}
|
|
2776
|
-
//#endregion
|
|
2777
|
-
//#region src/components/BitmapText.vue.d.ts
|
|
2778
2647
|
interface Props$23 {
|
|
2779
2648
|
configuration: Partial<BitmapTextConfiguration> & Pick<BitmapTextConfiguration, "font">;
|
|
2780
2649
|
immediate?: true;
|
|
@@ -3086,8 +2955,6 @@ declare const __VLS_export$25: import("vue").DefineComponent<Props$23, {}, {}, {
|
|
|
3086
2955
|
"onUpdate:maxWidth"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3087
2956
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3088
2957
|
declare const _default$1: typeof __VLS_export$25;
|
|
3089
|
-
//#endregion
|
|
3090
|
-
//#region src/components/Circle.vue.d.ts
|
|
3091
2958
|
interface Props$22 {
|
|
3092
2959
|
configuration: Partial<ArcConfiguration>;
|
|
3093
2960
|
immediate?: true;
|
|
@@ -3369,11 +3236,7 @@ declare const __VLS_export$24: import("vue").DefineComponent<Props$22, {}, {}, {
|
|
|
3369
3236
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
3370
3237
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3371
3238
|
declare const _default$2: typeof __VLS_export$24;
|
|
3372
|
-
//#endregion
|
|
3373
|
-
//#region src/models/configuration/ContainerConfiguration.d.ts
|
|
3374
3239
|
export interface ContainerConfiguration extends AlphaSingleConfiguration, Except<Types.GameObjects.Container.ContainerConfig, keyof Types.GameObjects.GameObjectConfig>, GlobalConfiguration, SceneObjectConfiguration {}
|
|
3375
|
-
//#endregion
|
|
3376
|
-
//#region src/components/Container.vue.d.ts
|
|
3377
3240
|
interface Props$21 {
|
|
3378
3241
|
configuration?: Partial<ContainerConfiguration>;
|
|
3379
3242
|
onComplete?: (scene: SceneWithPlugins, container: GameObjects.Container) => void;
|
|
@@ -3631,13 +3494,9 @@ type __VLS_WithSlots$3<T, S> = T & {
|
|
|
3631
3494
|
$slots: S;
|
|
3632
3495
|
};
|
|
3633
3496
|
};
|
|
3634
|
-
//#endregion
|
|
3635
|
-
//#region src/models/configuration/CurveConfiguration.d.ts
|
|
3636
3497
|
export interface CurveConfiguration extends Pick<GameObjects.Curve, "smoothness">, ShapeConfiguration {
|
|
3637
3498
|
curve: Curves.Curve;
|
|
3638
3499
|
}
|
|
3639
|
-
//#endregion
|
|
3640
|
-
//#region src/components/Curve.vue.d.ts
|
|
3641
3500
|
interface Props$20 {
|
|
3642
3501
|
configuration: Partial<CurveConfiguration>;
|
|
3643
3502
|
immediate?: true;
|
|
@@ -3915,11 +3774,7 @@ declare const __VLS_export$22: import("vue").DefineComponent<Props$20, {}, {}, {
|
|
|
3915
3774
|
"onUpdate:curve"?: ((args_0?: Phaser.Curves.Curve | undefined) => any) | undefined;
|
|
3916
3775
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3917
3776
|
declare const _default$4: typeof __VLS_export$22;
|
|
3918
|
-
//#endregion
|
|
3919
|
-
//#region src/models/configuration/EllipseConfiguration.d.ts
|
|
3920
3777
|
export interface EllipseConfiguration extends Pick<GameObjects.Ellipse, "height" | "smoothness" | "width">, ShapeConfiguration {}
|
|
3921
|
-
//#endregion
|
|
3922
|
-
//#region src/components/Ellipse.vue.d.ts
|
|
3923
3778
|
interface Props$19 {
|
|
3924
3779
|
configuration: Partial<EllipseConfiguration>;
|
|
3925
3780
|
immediate?: true;
|
|
@@ -4058,8 +3913,8 @@ declare const __VLS_export$21: import("vue").DefineComponent<Props$19, {}, {}, {
|
|
|
4058
3913
|
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
4059
3914
|
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
4060
3915
|
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
4061
|
-
"update:height": (args_0?: number | undefined) => any;
|
|
4062
3916
|
"update:smoothness": (args_0?: number | undefined) => any;
|
|
3917
|
+
"update:height": (args_0?: number | undefined) => any;
|
|
4063
3918
|
"update:width": (args_0?: number | undefined) => any;
|
|
4064
3919
|
}, string, import("vue").PublicProps, Readonly<Props$19> & Readonly<{
|
|
4065
3920
|
"onUpdate:visible"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
@@ -4194,13 +4049,11 @@ declare const __VLS_export$21: import("vue").DefineComponent<Props$19, {}, {}, {
|
|
|
4194
4049
|
onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
4195
4050
|
onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
4196
4051
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
4197
|
-
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4198
4052
|
"onUpdate:smoothness"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4053
|
+
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4199
4054
|
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
4200
4055
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4201
4056
|
declare const _default$5: typeof __VLS_export$21;
|
|
4202
|
-
//#endregion
|
|
4203
|
-
//#region src/components/Game.vue.d.ts
|
|
4204
4057
|
interface Props$18 {
|
|
4205
4058
|
configuration: Except<Types.Core.GameConfig, "scene">;
|
|
4206
4059
|
}
|
|
@@ -4215,11 +4068,7 @@ type __VLS_WithSlots$2<T, S> = T & {
|
|
|
4215
4068
|
$slots: S;
|
|
4216
4069
|
};
|
|
4217
4070
|
};
|
|
4218
|
-
//#endregion
|
|
4219
|
-
//#region src/models/configuration/GraphicsConfiguration.d.ts
|
|
4220
4071
|
export interface GraphicsConfiguration extends AlphaSingleConfiguration, GlobalConfiguration, RenderNodesConfiguration, SceneObjectConfiguration {}
|
|
4221
|
-
//#endregion
|
|
4222
|
-
//#region src/components/Graphics.vue.d.ts
|
|
4223
4072
|
interface Props$17 {
|
|
4224
4073
|
configuration?: Partial<GraphicsConfiguration>;
|
|
4225
4074
|
immediate?: true;
|
|
@@ -4473,26 +4322,14 @@ declare const __VLS_export$19: import("vue").DefineComponent<Props$17, {}, {}, {
|
|
|
4473
4322
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
4474
4323
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4475
4324
|
declare const _default$7: typeof __VLS_export$19;
|
|
4476
|
-
//#endregion
|
|
4477
|
-
//#region src/models/configuration/components/FlipConfiguration.d.ts
|
|
4478
4325
|
export interface FlipConfiguration extends ConditionalExcept<GameObjects.Components.Flip, FunctionLike> {}
|
|
4479
|
-
//#endregion
|
|
4480
|
-
//#region src/models/configuration/components/SizeConfiguration.d.ts
|
|
4481
4326
|
export interface SizeConfiguration extends ConditionalExcept<GameObjects.Components.Size, FunctionLike> {}
|
|
4482
|
-
//#endregion
|
|
4483
|
-
//#region src/models/configuration/components/BaseTextureConfiguration.d.ts
|
|
4484
4327
|
export interface BaseTextureConfiguration {
|
|
4485
4328
|
frame: number | string;
|
|
4486
4329
|
texture: string;
|
|
4487
4330
|
}
|
|
4488
|
-
//#endregion
|
|
4489
|
-
//#region src/models/configuration/components/TextureCropConfiguration.d.ts
|
|
4490
4331
|
export interface TextureCropConfiguration extends ConditionalExcept<BaseTextureConfiguration & Except<GameObjects.Components.TextureCrop, keyof BaseTextureConfiguration>, FunctionLike> {}
|
|
4491
|
-
//#endregion
|
|
4492
|
-
//#region src/models/configuration/ImageConfiguration.d.ts
|
|
4493
4332
|
export interface ImageConfiguration extends Except<Types.GameObjects.Sprite.SpriteConfig, "frame" | keyof Types.GameObjects.GameObjectConfig>, FlipConfiguration, RenderableConfiguration, SizeConfiguration, TextureCropConfiguration {}
|
|
4494
|
-
//#endregion
|
|
4495
|
-
//#region src/components/Image.vue.d.ts
|
|
4496
4333
|
interface Props$16 {
|
|
4497
4334
|
configuration: SetRequired<Partial<ImageConfiguration>, "texture">;
|
|
4498
4335
|
onComplete?: (scene: SceneWithPlugins, image: GameObjects.Image) => void;
|
|
@@ -4809,14 +4646,10 @@ declare const __VLS_export$18: import("vue").DefineComponent<Props$16, {}, {}, {
|
|
|
4809
4646
|
"onUpdate:isCropped"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
4810
4647
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4811
4648
|
declare const _default$8: typeof __VLS_export$18;
|
|
4812
|
-
//#endregion
|
|
4813
|
-
//#region src/models/configuration/IsoBoxConfiguration.d.ts
|
|
4814
4649
|
export interface IsoBoxConfiguration extends Pick<GameObjects.IsoBox, "fillLeft" | "fillRight" | "fillTop" | "projection" | "showLeft" | "showRight" | "showTop">, ShapeConfiguration {
|
|
4815
4650
|
height: number;
|
|
4816
4651
|
size: number;
|
|
4817
4652
|
}
|
|
4818
|
-
//#endregion
|
|
4819
|
-
//#region src/components/IsoBox.vue.d.ts
|
|
4820
4653
|
interface Props$15 {
|
|
4821
4654
|
configuration: Partial<IsoBoxConfiguration>;
|
|
4822
4655
|
immediate?: true;
|
|
@@ -5108,14 +4941,10 @@ declare const __VLS_export$17: import("vue").DefineComponent<Props$15, {}, {}, {
|
|
|
5108
4941
|
"onUpdate:showTop"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
5109
4942
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5110
4943
|
declare const _default$9: typeof __VLS_export$17;
|
|
5111
|
-
//#endregion
|
|
5112
|
-
//#region src/models/configuration/IsoTriangleConfiguration.d.ts
|
|
5113
4944
|
export interface IsoTriangleConfiguration extends Pick<GameObjects.IsoTriangle, "fillLeft" | "fillRight" | "fillTop" | "isReversed" | "projection" | "showLeft" | "showRight" | "showTop">, ShapeConfiguration {
|
|
5114
4945
|
height: number;
|
|
5115
4946
|
size: number;
|
|
5116
4947
|
}
|
|
5117
|
-
//#endregion
|
|
5118
|
-
//#region src/components/IsoTriangle.vue.d.ts
|
|
5119
4948
|
interface Props$14 {
|
|
5120
4949
|
configuration: Partial<IsoTriangleConfiguration>;
|
|
5121
4950
|
immediate?: true;
|
|
@@ -5259,11 +5088,11 @@ declare const __VLS_export$16: import("vue").DefineComponent<Props$14, {}, {}, {
|
|
|
5259
5088
|
"update:fillLeft": (args_0?: number | undefined) => any;
|
|
5260
5089
|
"update:fillRight": (args_0?: number | undefined) => any;
|
|
5261
5090
|
"update:fillTop": (args_0?: number | undefined) => any;
|
|
5262
|
-
"update:isReversed": (args_0?: boolean | undefined) => any;
|
|
5263
5091
|
"update:projection": (args_0?: number | undefined) => any;
|
|
5264
5092
|
"update:showLeft": (args_0?: boolean | undefined) => any;
|
|
5265
5093
|
"update:showRight": (args_0?: boolean | undefined) => any;
|
|
5266
5094
|
"update:showTop": (args_0?: boolean | undefined) => any;
|
|
5095
|
+
"update:isReversed": (args_0?: boolean | undefined) => any;
|
|
5267
5096
|
}, string, import("vue").PublicProps, Readonly<Props$14> & Readonly<{
|
|
5268
5097
|
"onUpdate:visible"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
5269
5098
|
"onUpdate:alpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -5402,20 +5231,16 @@ declare const __VLS_export$16: import("vue").DefineComponent<Props$14, {}, {}, {
|
|
|
5402
5231
|
"onUpdate:fillLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5403
5232
|
"onUpdate:fillRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5404
5233
|
"onUpdate:fillTop"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5405
|
-
"onUpdate:isReversed"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
5406
5234
|
"onUpdate:projection"?: ((args_0?: number | undefined) => any) | undefined;
|
|
5407
5235
|
"onUpdate:showLeft"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
5408
5236
|
"onUpdate:showRight"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
5409
5237
|
"onUpdate:showTop"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
5238
|
+
"onUpdate:isReversed"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
5410
5239
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5411
5240
|
declare const _default$10: typeof __VLS_export$16;
|
|
5412
|
-
//#endregion
|
|
5413
|
-
//#region src/models/configuration/LineConfiguration.d.ts
|
|
5414
5241
|
export interface LineConfiguration extends Pick<GameObjects.Line, "lineWidth">, ShapeConfiguration {
|
|
5415
5242
|
to: Parameters<GameObjects.Line["setTo"]>;
|
|
5416
5243
|
}
|
|
5417
|
-
//#endregion
|
|
5418
|
-
//#region src/components/Line.vue.d.ts
|
|
5419
5244
|
interface Props$13 {
|
|
5420
5245
|
configuration: Partial<LineConfiguration>;
|
|
5421
5246
|
immediate?: true;
|
|
@@ -5693,14 +5518,8 @@ declare const __VLS_export$15: import("vue").DefineComponent<Props$13, {}, {}, {
|
|
|
5693
5518
|
"onUpdate:to"?: ((args_0?: [x1?: number | undefined, y1?: number | undefined, x2?: number | undefined, y2?: number | undefined] | undefined) => any) | undefined;
|
|
5694
5519
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5695
5520
|
declare const _default$11: typeof __VLS_export$15;
|
|
5696
|
-
//#endregion
|
|
5697
|
-
//#region src/models/configuration/components/TextureConfiguration.d.ts
|
|
5698
5521
|
export interface TextureConfiguration extends ConditionalExcept<BaseTextureConfiguration & Except<GameObjects.Components.Texture, keyof BaseTextureConfiguration>, FunctionLike> {}
|
|
5699
|
-
//#endregion
|
|
5700
|
-
//#region src/models/configuration/NinesliceConfiguration.d.ts
|
|
5701
5522
|
export interface NinesliceConfiguration extends AlphaSingleConfiguration, Except<Types.GameObjects.NineSlice.NineSliceConfig, "frame" | keyof Types.GameObjects.GameObjectConfig>, GlobalConfiguration, OriginConfiguration, RenderNodesConfiguration, SceneObjectConfiguration, TextureConfiguration {}
|
|
5702
|
-
//#endregion
|
|
5703
|
-
//#region src/components/Nineslice.vue.d.ts
|
|
5704
5523
|
interface Props$12 {
|
|
5705
5524
|
configuration: SetRequired<Partial<NinesliceConfiguration>, "texture">;
|
|
5706
5525
|
immediate?: true;
|
|
@@ -5986,13 +5805,9 @@ declare const __VLS_export$14: import("vue").DefineComponent<Props$12, {}, {}, {
|
|
|
5986
5805
|
"onUpdate:tileY"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
5987
5806
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5988
5807
|
declare const _default$12: typeof __VLS_export$14;
|
|
5989
|
-
//#endregion
|
|
5990
|
-
//#region src/models/configuration/ParticlesConfiguration.d.ts
|
|
5991
5808
|
export interface ParticlesConfiguration extends AlphaSingleConfiguration, GlobalConfiguration, RenderNodesConfiguration, SceneObjectConfiguration, TextureConfiguration {
|
|
5992
5809
|
config: Types.GameObjects.Particles.ParticleEmitterConfig;
|
|
5993
5810
|
}
|
|
5994
|
-
//#endregion
|
|
5995
|
-
//#region src/components/Particles.vue.d.ts
|
|
5996
5811
|
interface Props$11 {
|
|
5997
5812
|
configuration: Partial<ParticlesConfiguration>;
|
|
5998
5813
|
immediate?: true;
|
|
@@ -6252,14 +6067,8 @@ declare const __VLS_export$13: import("vue").DefineComponent<Props$11, {}, {}, {
|
|
|
6252
6067
|
"onUpdate:config"?: ((args_0?: Phaser.Types.GameObjects.Particles.ParticleEmitterConfig | undefined) => any) | undefined;
|
|
6253
6068
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6254
6069
|
declare const _default$13: typeof __VLS_export$13;
|
|
6255
|
-
//#endregion
|
|
6256
|
-
//#region src/models/configuration/components/PathFollowerComponentConfiguration.d.ts
|
|
6257
6070
|
export interface PathFollowerComponentConfiguration extends ConditionalExcept<GameObjects.Components.PathFollower, FunctionLike> {}
|
|
6258
|
-
//#endregion
|
|
6259
|
-
//#region src/models/configuration/PathFollowerConfiguration.d.ts
|
|
6260
6071
|
export interface PathFollowerConfiguration extends Except<Types.GameObjects.PathFollower.PathConfig, "rotateToPath">, FlipConfiguration, PathFollowerComponentConfiguration, RenderableConfiguration, SizeConfiguration, TextureConfiguration {}
|
|
6261
|
-
//#endregion
|
|
6262
|
-
//#region src/components/PathFollower.vue.d.ts
|
|
6263
6072
|
interface Props$10 {
|
|
6264
6073
|
configuration: SetRequired<Partial<PathFollowerConfiguration>, "path" | "texture">;
|
|
6265
6074
|
onComplete?: (scene: SceneWithPlugins, pathFollower: GameObjects.PathFollower) => void;
|
|
@@ -6586,13 +6395,9 @@ declare const __VLS_export$12: import("vue").DefineComponent<Props$10, {}, {}, {
|
|
|
6586
6395
|
"onUpdate:pathRotationOffset"?: ((args_0?: number | undefined) => any) | undefined;
|
|
6587
6396
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6588
6397
|
declare const _default$14: typeof __VLS_export$12;
|
|
6589
|
-
//#endregion
|
|
6590
|
-
//#region src/models/configuration/PolygonConfiguration.d.ts
|
|
6591
6398
|
export interface PolygonConfiguration extends ShapeConfiguration {
|
|
6592
6399
|
points: Parameters<GameObjects.Polygon["setTo"]>[0];
|
|
6593
6400
|
}
|
|
6594
|
-
//#endregion
|
|
6595
|
-
//#region src/components/Polygon.vue.d.ts
|
|
6596
6401
|
interface Props$9 {
|
|
6597
6402
|
configuration: Partial<PolygonConfiguration>;
|
|
6598
6403
|
immediate?: true;
|
|
@@ -6868,11 +6673,7 @@ declare const __VLS_export$11: import("vue").DefineComponent<Props$9, {}, {}, {}
|
|
|
6868
6673
|
"onUpdate:points"?: ((args_0?: string | number[] | Phaser.Types.Math.Vector2Like[] | undefined) => any) | undefined;
|
|
6869
6674
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6870
6675
|
declare const _default$15: typeof __VLS_export$11;
|
|
6871
|
-
//#endregion
|
|
6872
|
-
//#region src/models/configuration/RectangleConfiguration.d.ts
|
|
6873
6676
|
export interface RectangleConfiguration extends Pick<GameObjects.Rectangle, "height" | "width">, ShapeConfiguration {}
|
|
6874
|
-
//#endregion
|
|
6875
|
-
//#region src/components/Rectangle.vue.d.ts
|
|
6876
6677
|
interface Props$8 {
|
|
6877
6678
|
configuration: Partial<RectangleConfiguration>;
|
|
6878
6679
|
immediate?: true;
|
|
@@ -7150,14 +6951,10 @@ declare const __VLS_export$10: import("vue").DefineComponent<Props$8, {}, {}, {}
|
|
|
7150
6951
|
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7151
6952
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7152
6953
|
declare const _default$16: typeof __VLS_export$10;
|
|
7153
|
-
//#endregion
|
|
7154
|
-
//#region src/models/configuration/RenderTextureConfiguration.d.ts
|
|
7155
6954
|
export interface RenderTextureConfiguration extends AlphaConfiguration, FlipConfiguration, GlobalConfiguration, OriginConfiguration, RenderNodesConfiguration, SceneObjectConfiguration, SizeConfiguration, TintConfiguration {
|
|
7156
6955
|
height: number;
|
|
7157
6956
|
width: number;
|
|
7158
6957
|
}
|
|
7159
|
-
//#endregion
|
|
7160
|
-
//#region src/components/RenderTexture.vue.d.ts
|
|
7161
6958
|
interface Props$7 {
|
|
7162
6959
|
configuration: Partial<RenderTextureConfiguration>;
|
|
7163
6960
|
immediate?: true;
|
|
@@ -7463,14 +7260,10 @@ declare const __VLS_export$9: import("vue").DefineComponent<Props$7, {}, {}, {},
|
|
|
7463
7260
|
"onUpdate:flipY"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
7464
7261
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7465
7262
|
declare const _default$17: typeof __VLS_export$9;
|
|
7466
|
-
//#endregion
|
|
7467
|
-
//#region src/models/scene/SceneProps.d.ts
|
|
7468
7263
|
export interface SceneProps {
|
|
7469
7264
|
autoStart?: boolean;
|
|
7470
7265
|
sceneKey: SceneWithPlugins["scene"]["key"];
|
|
7471
7266
|
}
|
|
7472
|
-
//#endregion
|
|
7473
|
-
//#region src/components/Scene.vue.d.ts
|
|
7474
7267
|
type __VLS_Slots$1 = {
|
|
7475
7268
|
default: () => VNode;
|
|
7476
7269
|
};
|
|
@@ -7494,21 +7287,13 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
7494
7287
|
$slots: S;
|
|
7495
7288
|
};
|
|
7496
7289
|
};
|
|
7497
|
-
//#endregion
|
|
7498
|
-
//#region src/models/keys/AnimationKey.d.ts
|
|
7499
7290
|
export type AnimationKey = AnimationKeyMap[keyof AnimationKeyMap];
|
|
7500
7291
|
export interface AnimationKeyMap {}
|
|
7501
|
-
//#endregion
|
|
7502
|
-
//#region src/models/configuration/shared/AnimationConfiguration.d.ts
|
|
7503
7292
|
export interface AnimationConfiguration {
|
|
7504
7293
|
animations: Types.Animations.Animation[];
|
|
7505
7294
|
playAnimationKey: AnimationKey;
|
|
7506
7295
|
}
|
|
7507
|
-
//#endregion
|
|
7508
|
-
//#region src/models/configuration/SpriteConfiguration.d.ts
|
|
7509
7296
|
export interface SpriteConfiguration extends AlphaConfiguration, AnimationConfiguration, Except<Types.GameObjects.Sprite.SpriteConfig, "anims" | "frame" | keyof Types.GameObjects.GameObjectConfig>, FlipConfiguration, GlobalConfiguration, OriginConfiguration, RenderNodesConfiguration, SceneObjectConfiguration, SizeConfiguration, TextureConfiguration, TintConfiguration {}
|
|
7510
|
-
//#endregion
|
|
7511
|
-
//#region src/components/Sprite.vue.d.ts
|
|
7512
7297
|
interface Props$6 {
|
|
7513
7298
|
configuration: SetRequired<Partial<SpriteConfiguration>, "texture">;
|
|
7514
7299
|
immediate?: true;
|
|
@@ -7828,11 +7613,7 @@ declare const __VLS_export$7: import("vue").DefineComponent<Props$6, {}, {}, {},
|
|
|
7828
7613
|
"onUpdate:playAnimationKey"?: ((args_0?: undefined) => any) | undefined;
|
|
7829
7614
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7830
7615
|
declare const _default$19: typeof __VLS_export$7;
|
|
7831
|
-
//#endregion
|
|
7832
|
-
//#region src/models/configuration/StarConfiguration.d.ts
|
|
7833
7616
|
export interface StarConfiguration extends Pick<GameObjects.Star, "innerRadius" | "outerRadius" | "points">, ShapeConfiguration {}
|
|
7834
|
-
//#endregion
|
|
7835
|
-
//#region src/components/Star.vue.d.ts
|
|
7836
7617
|
interface Props$5 {
|
|
7837
7618
|
configuration: Partial<StarConfiguration>;
|
|
7838
7619
|
immediate?: true;
|
|
@@ -8112,22 +7893,14 @@ declare const __VLS_export$6: import("vue").DefineComponent<Props$5, {}, {}, {},
|
|
|
8112
7893
|
"onUpdate:outerRadius"?: ((args_0?: number | undefined) => any) | undefined;
|
|
8113
7894
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8114
7895
|
declare const _default$20: typeof __VLS_export$6;
|
|
8115
|
-
//#endregion
|
|
8116
|
-
//#region src/models/configuration/components/ComputedSizeConfiguration.d.ts
|
|
8117
7896
|
export interface ComputedSizeConfiguration extends ConditionalExcept<GameObjects.Components.ComputedSize, FunctionLike> {}
|
|
8118
|
-
//#endregion
|
|
8119
|
-
//#region src/models/configuration/TextConfiguration.d.ts
|
|
8120
7897
|
export interface TextConfiguration extends ComputedSizeConfiguration, Except<Types.GameObjects.Text.TextConfig, keyof Types.GameObjects.GameObjectConfig>, FlipConfiguration, RenderableConfiguration {
|
|
8121
7898
|
text: string;
|
|
8122
7899
|
}
|
|
8123
|
-
//#endregion
|
|
8124
|
-
//#region src/models/text/TextProps.d.ts
|
|
8125
7900
|
export interface TextProps {
|
|
8126
7901
|
configuration: SetRequired<Partial<TextConfiguration>, "text">;
|
|
8127
7902
|
immediate?: true;
|
|
8128
7903
|
}
|
|
8129
|
-
//#endregion
|
|
8130
|
-
//#region src/components/Text.vue.d.ts
|
|
8131
7904
|
declare const __VLS_export$5: import("vue").DefineComponent<TextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8132
7905
|
"update:visible": (args_0?: boolean | undefined) => any;
|
|
8133
7906
|
"update:alpha": (args_0?: number | undefined) => any;
|
|
@@ -8434,11 +8207,7 @@ declare const __VLS_export$5: import("vue").DefineComponent<TextProps, {}, {}, {
|
|
|
8434
8207
|
"onUpdate:padding"?: ((args_0?: Phaser.Types.GameObjects.Text.TextPadding | undefined) => any) | undefined;
|
|
8435
8208
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8436
8209
|
declare const _default$21: typeof __VLS_export$5;
|
|
8437
|
-
//#endregion
|
|
8438
|
-
//#region src/models/configuration/TileSpriteConfiguration.d.ts
|
|
8439
8210
|
export interface TileSpriteConfiguration extends ComputedSizeConfiguration, Except<Types.GameObjects.TileSprite.TileSpriteConfig, "frame" | "height" | "width" | keyof Types.GameObjects.GameObjectConfig>, FlipConfiguration, RenderableConfiguration, TextureConfiguration {}
|
|
8440
|
-
//#endregion
|
|
8441
|
-
//#region src/components/TileSprite.vue.d.ts
|
|
8442
8211
|
interface Props$4 {
|
|
8443
8212
|
configuration: SetRequired<Partial<TileSpriteConfiguration>, "texture">;
|
|
8444
8213
|
immediate?: true;
|
|
@@ -8750,8 +8519,6 @@ declare const __VLS_export$4: import("vue").DefineComponent<Props$4, {}, {}, {},
|
|
|
8750
8519
|
"onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
|
|
8751
8520
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8752
8521
|
declare const _default$22: typeof __VLS_export$4;
|
|
8753
|
-
//#endregion
|
|
8754
|
-
//#region src/components/Tilemap.vue.d.ts
|
|
8755
8522
|
interface Props$3 {
|
|
8756
8523
|
configuration: Types.Tilemaps.TilemapConfig;
|
|
8757
8524
|
onComplete?: (scene: SceneWithPlugins, tilemap: Tilemaps.Tilemap) => void;
|
|
@@ -8767,13 +8534,9 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
8767
8534
|
$slots: S;
|
|
8768
8535
|
};
|
|
8769
8536
|
};
|
|
8770
|
-
//#endregion
|
|
8771
|
-
//#region src/models/configuration/TriangleConfiguration.d.ts
|
|
8772
8537
|
export interface TriangleConfiguration extends ShapeConfiguration {
|
|
8773
8538
|
to: Parameters<GameObjects.Triangle["setTo"]>;
|
|
8774
8539
|
}
|
|
8775
|
-
//#endregion
|
|
8776
|
-
//#region src/components/Triangle.vue.d.ts
|
|
8777
8540
|
interface Props$2 {
|
|
8778
8541
|
configuration: Partial<TriangleConfiguration>;
|
|
8779
8542
|
immediate?: true;
|
|
@@ -9049,15 +8812,11 @@ declare const __VLS_export$2: import("vue").DefineComponent<Props$2, {}, {}, {},
|
|
|
9049
8812
|
"onUpdate:to"?: ((args_0?: [x1?: number | undefined, y1?: number | undefined, x2?: number | undefined, y2?: number | undefined, x3?: number | undefined, y3?: number | undefined] | undefined) => any) | undefined;
|
|
9050
8813
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9051
8814
|
declare const _default$24: typeof __VLS_export$2;
|
|
9052
|
-
//#endregion
|
|
9053
|
-
//#region src/models/configuration/VideoConfiguration.d.ts
|
|
9054
8815
|
export interface VideoConfiguration extends AlphaConfiguration, FlipConfiguration, GlobalConfiguration, OriginConfiguration, RenderNodesConfiguration, SceneObjectConfiguration, TextureCropConfiguration, TintConfiguration {
|
|
9055
8816
|
key: string;
|
|
9056
8817
|
muted: boolean;
|
|
9057
8818
|
volume: number;
|
|
9058
8819
|
}
|
|
9059
|
-
//#endregion
|
|
9060
|
-
//#region src/components/Video.vue.d.ts
|
|
9061
8820
|
interface Props$1 {
|
|
9062
8821
|
configuration: Partial<VideoConfiguration>;
|
|
9063
8822
|
immediate?: true;
|
|
@@ -9367,14 +9126,10 @@ declare const __VLS_export$1: import("vue").DefineComponent<Props$1, {}, {}, {},
|
|
|
9367
9126
|
"onUpdate:volume"?: ((args_0?: number | undefined) => any) | undefined;
|
|
9368
9127
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9369
9128
|
declare const _default$25: typeof __VLS_export$1;
|
|
9370
|
-
//#endregion
|
|
9371
|
-
//#region src/models/configuration/ZoneConfiguration.d.ts
|
|
9372
9129
|
export interface ZoneConfiguration extends DepthConfiguration, Except<Types.GameObjects.Zone.ZoneConfig, keyof Types.GameObjects.GameObjectConfig>, GlobalConfiguration, OriginConfiguration, ScrollFactorConfiguration, TransformConfiguration, VisibleConfiguration {
|
|
9373
9130
|
displayHeight: GameObjects.Zone["displayHeight"];
|
|
9374
9131
|
displayWidth: GameObjects.Zone["displayWidth"];
|
|
9375
9132
|
}
|
|
9376
|
-
//#endregion
|
|
9377
|
-
//#region src/components/Zone.vue.d.ts
|
|
9378
9133
|
interface Props {
|
|
9379
9134
|
configuration: SetRequired<Partial<ZoneConfiguration>, "height" | "width" | "x" | "y">;
|
|
9380
9135
|
}
|
|
@@ -9632,8 +9387,6 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
9632
9387
|
"onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
|
|
9633
9388
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9634
9389
|
declare const _default$26: typeof __VLS_export;
|
|
9635
|
-
//#endregion
|
|
9636
|
-
//#region src/composables/useAnimations.d.ts
|
|
9637
9390
|
export declare const useAnimations: (createConfigurations: (scene: SceneWithPlugins) => Types.Animations.Animation[], immediate?: true) => globalThis.Ref<{
|
|
9638
9391
|
key?: string | undefined;
|
|
9639
9392
|
frames?: string | {
|
|
@@ -9677,65 +9430,29 @@ export declare const useAnimations: (createConfigurations: (scene: SceneWithPlug
|
|
|
9677
9430
|
hideOnComplete?: boolean | undefined;
|
|
9678
9431
|
randomFrame?: boolean | undefined;
|
|
9679
9432
|
}[]>;
|
|
9680
|
-
//#endregion
|
|
9681
|
-
//#region src/composables/useGame.d.ts
|
|
9682
9433
|
export declare const useGame: () => Game;
|
|
9683
|
-
//#endregion
|
|
9684
|
-
//#region src/models/setterMap/SetterMap.d.ts
|
|
9685
9434
|
export type SetterMap<TConfiguration extends object, TGameObject extends object, TEmitsOptions extends object> = { [P in keyof TConfiguration]?: (gameObject: TGameObject, emit: SetupContext<TEmitsOptions>["emit"]) => (value?: TConfiguration[P]) => void; };
|
|
9686
|
-
//#endregion
|
|
9687
|
-
//#region src/composables/useInitializeGameObject.d.ts
|
|
9688
9435
|
export declare const useInitializeGameObject: <TConfiguration extends object, TGameObject extends GameObjects.GameObject, TEmitsOptions extends Record<string, unknown[]>>(create: (scene: SceneWithPlugins) => TGameObject, configuration: () => TConfiguration, emit: SetupContext<TEmitsOptions>["emit"], setterMap: SetterMap<NoInfer<TConfiguration>, TGameObject, TEmitsOptions>, immediate?: true) => void;
|
|
9689
|
-
//#endregion
|
|
9690
|
-
//#region src/composables/useInitializeGameObjectEvents.d.ts
|
|
9691
9436
|
export declare const useInitializeGameObjectEvents: () => {
|
|
9692
9437
|
eventStopHandles: (() => void)[];
|
|
9693
9438
|
initializeGameObjectEvents: <TEmitsOptions extends Record<string, unknown[]>>(gameObject: GameObjects.GameObject, emit: SetupContext<TEmitsOptions>["emit"], scene: SceneWithPlugins) => void;
|
|
9694
9439
|
};
|
|
9695
|
-
//#endregion
|
|
9696
|
-
//#region src/composables/useInitializeGameObjectSetters.d.ts
|
|
9697
9440
|
export declare const useInitializeGameObjectSetters: <TConfiguration extends object, TGameObject extends GameObjects.GameObject, TEmitsOptions extends Record<string, unknown[]>>(gameObject: () => TGameObject, configuration: () => TConfiguration, emit: SetupContext<TEmitsOptions>["emit"], setterMap: SetterMap<TConfiguration, TGameObject, TEmitsOptions>, immediate?: true) => {
|
|
9698
9441
|
initializeGameObjectSetters: (targetGameObject: TGameObject) => void;
|
|
9699
9442
|
setterWatchHandles: WatchHandle[];
|
|
9700
9443
|
};
|
|
9701
|
-
//#endregion
|
|
9702
|
-
//#region src/composables/useInjectSceneKey.d.ts
|
|
9703
9444
|
export declare const useInjectSceneKey: () => SceneWithPlugins["scene"]["key"];
|
|
9704
|
-
//#endregion
|
|
9705
|
-
//#region src/composables/useTween.d.ts
|
|
9706
9445
|
export declare const useTween: (tween: Ref<TweenBuilderConfiguration | undefined>, newTween: TweenBuilderConfiguration) => void;
|
|
9707
|
-
//#endregion
|
|
9708
|
-
//#region src/models/lifecycle/HookArgs.d.ts
|
|
9709
9446
|
export type HookArgs = [listener: (scene: SceneWithPlugins) => void, sceneKey?: SceneWithPlugins["scene"]["key"]];
|
|
9710
|
-
//#endregion
|
|
9711
|
-
//#region src/hooks/onCreate.d.ts
|
|
9712
9447
|
export declare const onCreate: (...args: HookArgs) => void;
|
|
9713
|
-
//#endregion
|
|
9714
|
-
//#region src/hooks/onInit.d.ts
|
|
9715
9448
|
export declare const onInit: (...args: HookArgs) => void;
|
|
9716
|
-
//#endregion
|
|
9717
|
-
//#region src/hooks/onNextTick.d.ts
|
|
9718
9449
|
export declare const onNextTick: (...args: HookArgs) => void;
|
|
9719
|
-
//#endregion
|
|
9720
|
-
//#region src/hooks/onPreload.d.ts
|
|
9721
9450
|
export declare const onPreload: (...args: HookArgs) => void;
|
|
9722
|
-
//#endregion
|
|
9723
|
-
//#region src/hooks/onShutdown.d.ts
|
|
9724
9451
|
export declare const onShutdown: (...args: HookArgs) => void;
|
|
9725
|
-
//#endregion
|
|
9726
|
-
//#region src/hooks/onUpdate.d.ts
|
|
9727
9452
|
export declare const onUpdate: (...args: HookArgs) => void;
|
|
9728
|
-
//#endregion
|
|
9729
|
-
//#region src/models/emit/ExtractUpdateEvent.d.ts
|
|
9730
9453
|
export type ExtractUpdateEvent<TUpdateEvent extends string> = TUpdateEvent extends `update:${infer TEvent}` ? TEvent : TUpdateEvent;
|
|
9731
|
-
//#endregion
|
|
9732
|
-
//#region src/models/emit/UpdateEvent.d.ts
|
|
9733
9454
|
export type UpdateEvent<TEvent extends string> = `update:${TEvent}`;
|
|
9734
|
-
//#endregion
|
|
9735
|
-
//#region src/models/emit/EmitsOptionsFor.d.ts
|
|
9736
9455
|
export type EmitsOptionsFor<TConfiguration extends object> = { [P in UpdateEvent<keyof TConfiguration & string>]: [TConfiguration[ExtractUpdateEvent<P> & keyof TConfiguration]?]; };
|
|
9737
|
-
//#endregion
|
|
9738
|
-
//#region src/services/emit/GameObjectEventMap.d.ts
|
|
9739
9456
|
export declare const GameObjectEventMap: {
|
|
9740
9457
|
readonly clickoutside: {};
|
|
9741
9458
|
readonly drag: {
|
|
@@ -9778,153 +9495,55 @@ export declare const GameObjectEventMap: {
|
|
|
9778
9495
|
readonly eventIndex: 4;
|
|
9779
9496
|
};
|
|
9780
9497
|
};
|
|
9781
|
-
//#endregion
|
|
9782
|
-
//#region src/models/emit/shared/GameObjectEventMapEmitsOptions.d.ts
|
|
9783
9498
|
export type GameObjectEventMapEmitsOptions = { [P in keyof typeof GameObjectEventMap]: Types.Input.EventData[]; };
|
|
9784
|
-
//#endregion
|
|
9785
|
-
//#region src/models/emit/ArcEventEmitsOptions.d.ts
|
|
9786
9499
|
export type ArcEventEmitsOptions = EmitsOptionsFor<ArcConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9787
|
-
//#endregion
|
|
9788
|
-
//#region src/models/emit/BitmapTextEventEmitsOptions.d.ts
|
|
9789
9500
|
export type BitmapTextEventEmitsOptions = EmitsOptionsFor<BitmapTextConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9790
|
-
//#endregion
|
|
9791
|
-
//#region src/models/emit/ContainerEventEmitsOptions.d.ts
|
|
9792
9501
|
export type ContainerEventEmitsOptions = EmitsOptionsFor<ContainerConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9793
|
-
//#endregion
|
|
9794
|
-
//#region src/models/emit/CurveEventEmitsOptions.d.ts
|
|
9795
9502
|
export type CurveEventEmitsOptions = EmitsOptionsFor<CurveConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9796
|
-
//#endregion
|
|
9797
|
-
//#region src/models/emit/EllipseEventEmitsOptions.d.ts
|
|
9798
9503
|
export type EllipseEventEmitsOptions = EmitsOptionsFor<EllipseConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9799
|
-
//#endregion
|
|
9800
|
-
//#region src/models/emit/GraphicsEventEmitsOptions.d.ts
|
|
9801
9504
|
export type GraphicsEventEmitsOptions = EmitsOptionsFor<GraphicsConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9802
|
-
//#endregion
|
|
9803
|
-
//#region src/models/emit/ImageEventEmitsOptions.d.ts
|
|
9804
9505
|
export type ImageEventEmitsOptions = EmitsOptionsFor<ImageConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9805
|
-
//#endregion
|
|
9806
|
-
//#region src/models/emit/IsoBoxEventEmitsOptions.d.ts
|
|
9807
9506
|
export type IsoBoxEventEmitsOptions = EmitsOptionsFor<IsoBoxConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9808
|
-
//#endregion
|
|
9809
|
-
//#region src/models/emit/IsoTriangleEventEmitsOptions.d.ts
|
|
9810
9507
|
export type IsoTriangleEventEmitsOptions = EmitsOptionsFor<IsoTriangleConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9811
|
-
//#endregion
|
|
9812
|
-
//#region src/models/emit/LineEventEmitsOptions.d.ts
|
|
9813
9508
|
export type LineEventEmitsOptions = EmitsOptionsFor<LineConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9814
|
-
//#endregion
|
|
9815
|
-
//#region src/models/emit/NinesliceEventEmitsOptions.d.ts
|
|
9816
9509
|
export type NinesliceEventEmitsOptions = EmitsOptionsFor<NinesliceConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9817
|
-
//#endregion
|
|
9818
|
-
//#region src/models/emit/ParticlesEventEmitsOptions.d.ts
|
|
9819
9510
|
export type ParticlesEventEmitsOptions = EmitsOptionsFor<ParticlesConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9820
|
-
//#endregion
|
|
9821
|
-
//#region src/models/emit/PathFollowerEventEmitsOptions.d.ts
|
|
9822
9511
|
export type PathFollowerEventEmitsOptions = EmitsOptionsFor<PathFollowerConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9823
|
-
//#endregion
|
|
9824
|
-
//#region src/models/emit/PolygonEventEmitsOptions.d.ts
|
|
9825
9512
|
export type PolygonEventEmitsOptions = EmitsOptionsFor<PolygonConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9826
|
-
//#endregion
|
|
9827
|
-
//#region src/models/emit/RectangleEventEmitsOptions.d.ts
|
|
9828
9513
|
export type RectangleEventEmitsOptions = EmitsOptionsFor<RectangleConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9829
|
-
//#endregion
|
|
9830
|
-
//#region src/models/emit/RenderTextureEventEmitsOptions.d.ts
|
|
9831
9514
|
export type RenderTextureEventEmitsOptions = EmitsOptionsFor<RenderTextureConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9832
|
-
//#endregion
|
|
9833
|
-
//#region src/services/shared/constants.d.ts
|
|
9834
9515
|
export declare const TILEMAP_TILED_JSON_EXTERNAL_KEY = "tilemapTiledJSONExternal";
|
|
9835
9516
|
export declare const ANIMATION_COMPLETE_EVENT_PREFIX = "animationcomplete-";
|
|
9836
|
-
//#endregion
|
|
9837
|
-
//#region src/models/emit/shared/AnimationCompleteEventEmitsOptions.d.ts
|
|
9838
9517
|
export type AnimationCompleteEventEmitsOptions = Record<`${typeof ANIMATION_COMPLETE_EVENT_PREFIX}${string}`, []>;
|
|
9839
|
-
//#endregion
|
|
9840
|
-
//#region src/models/emit/SpriteEventEmitsOptions.d.ts
|
|
9841
9518
|
export type SpriteEventEmitsOptions = AnimationCompleteEventEmitsOptions & EmitsOptionsFor<SpriteConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9842
|
-
//#endregion
|
|
9843
|
-
//#region src/models/emit/StarEventEmitsOptions.d.ts
|
|
9844
9519
|
export type StarEventEmitsOptions = EmitsOptionsFor<StarConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9845
|
-
//#endregion
|
|
9846
|
-
//#region src/models/emit/TextEventEmitsOptions.d.ts
|
|
9847
9520
|
export type TextEventEmitsOptions = EmitsOptionsFor<TextConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9848
|
-
//#endregion
|
|
9849
|
-
//#region src/models/emit/TileSpriteEventEmitsOptions.d.ts
|
|
9850
9521
|
export type TileSpriteEventEmitsOptions = EmitsOptionsFor<TileSpriteConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9851
|
-
//#endregion
|
|
9852
|
-
//#region src/models/emit/TriangleEventEmitsOptions.d.ts
|
|
9853
9522
|
export type TriangleEventEmitsOptions = EmitsOptionsFor<TriangleConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9854
|
-
//#endregion
|
|
9855
|
-
//#region src/models/emit/VideoEventEmitsOptions.d.ts
|
|
9856
9523
|
export type VideoEventEmitsOptions = EmitsOptionsFor<VideoConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9857
|
-
//#endregion
|
|
9858
|
-
//#region src/models/emit/ZoneEventEmitsOptions.d.ts
|
|
9859
9524
|
export type ZoneEventEmitsOptions = EmitsOptionsFor<ZoneConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9860
|
-
//#endregion
|
|
9861
|
-
//#region src/models/emit/components/AlphaEventEmitsOptions.d.ts
|
|
9862
9525
|
export type AlphaEventEmitsOptions = EmitsOptionsFor<AlphaConfiguration>;
|
|
9863
|
-
//#endregion
|
|
9864
|
-
//#region src/models/emit/components/AlphaSingleEventEmitsOptions.d.ts
|
|
9865
9526
|
export type AlphaSingleEventEmitsOptions = EmitsOptionsFor<AlphaSingleConfiguration>;
|
|
9866
|
-
//#endregion
|
|
9867
|
-
//#region src/models/emit/components/BaseTextureEventEmitsOptions.d.ts
|
|
9868
9527
|
export type BaseTextureEventEmitsOptions = EmitsOptionsFor<BaseTextureConfiguration>;
|
|
9869
|
-
//#endregion
|
|
9870
|
-
//#region src/models/emit/components/BlendModeEventEmitsOptions.d.ts
|
|
9871
9528
|
export type BlendModeEventEmitsOptions = EmitsOptionsFor<BlendModeConfiguration>;
|
|
9872
|
-
//#endregion
|
|
9873
|
-
//#region src/models/emit/components/ComputedSizeEventEmitsOptions.d.ts
|
|
9874
9529
|
export type ComputedSizeEventEmitsOptions = EmitsOptionsFor<ComputedSizeConfiguration>;
|
|
9875
|
-
//#endregion
|
|
9876
|
-
//#region src/models/emit/components/DepthEventEmitsOptions.d.ts
|
|
9877
9530
|
export type DepthEventEmitsOptions = EmitsOptionsFor<DepthConfiguration>;
|
|
9878
|
-
//#endregion
|
|
9879
|
-
//#region src/models/emit/components/FlipEventEmitsOptions.d.ts
|
|
9880
9531
|
export type FlipEventEmitsOptions = EmitsOptionsFor<FlipConfiguration>;
|
|
9881
|
-
//#endregion
|
|
9882
|
-
//#region src/models/emit/components/MaskEventEmitsOptions.d.ts
|
|
9883
9532
|
export type MaskEventEmitsOptions = EmitsOptionsFor<MaskConfiguration>;
|
|
9884
|
-
//#endregion
|
|
9885
|
-
//#region src/models/emit/components/OriginEventEmitsOptions.d.ts
|
|
9886
9533
|
export type OriginEventEmitsOptions = EmitsOptionsFor<OriginConfiguration>;
|
|
9887
|
-
//#endregion
|
|
9888
|
-
//#region src/models/emit/components/PathFollowerComponentEventEmitsOptions.d.ts
|
|
9889
9534
|
export type PathFollowerComponentEventEmitsOptions = EmitsOptionsFor<PathFollowerComponentConfiguration>;
|
|
9890
|
-
//#endregion
|
|
9891
|
-
//#region src/models/emit/components/RenderNodesEventEmitsOptions.d.ts
|
|
9892
9535
|
export type RenderNodesEventEmitsOptions = EmitsOptionsFor<RenderNodesConfiguration>;
|
|
9893
|
-
//#endregion
|
|
9894
|
-
//#region src/models/emit/components/ScrollFactorEventEmitsOptions.d.ts
|
|
9895
9536
|
export type ScrollFactorEventEmitsOptions = EmitsOptionsFor<ScrollFactorConfiguration>;
|
|
9896
|
-
//#endregion
|
|
9897
|
-
//#region src/models/emit/components/SizeEventEmitsOptions.d.ts
|
|
9898
9537
|
export type SizeEventEmitsOptions = EmitsOptionsFor<SizeConfiguration>;
|
|
9899
|
-
//#endregion
|
|
9900
|
-
//#region src/models/emit/components/TextureCropEventEmitsOptions.d.ts
|
|
9901
9538
|
export type TextureCropEventEmitsOptions = EmitsOptionsFor<TextureCropConfiguration>;
|
|
9902
|
-
//#endregion
|
|
9903
|
-
//#region src/models/emit/components/TextureEventEmitsOptions.d.ts
|
|
9904
9539
|
export type TextureEventEmitsOptions = EmitsOptionsFor<TextureConfiguration>;
|
|
9905
|
-
//#endregion
|
|
9906
|
-
//#region src/models/emit/components/TintEventEmitsOptions.d.ts
|
|
9907
9540
|
export type TintEventEmitsOptions = EmitsOptionsFor<TintConfiguration>;
|
|
9908
|
-
//#endregion
|
|
9909
|
-
//#region src/models/emit/components/TransformEventEmitsOptions.d.ts
|
|
9910
9541
|
export type TransformEventEmitsOptions = EmitsOptionsFor<TransformConfiguration>;
|
|
9911
|
-
//#endregion
|
|
9912
|
-
//#region src/models/emit/components/VisibleEventEmitsOptions.d.ts
|
|
9913
9542
|
export type VisibleEventEmitsOptions = EmitsOptionsFor<VisibleConfiguration>;
|
|
9914
|
-
//#endregion
|
|
9915
|
-
//#region src/models/emit/global/GameObjectEventEmitsOptions.d.ts
|
|
9916
9543
|
export type GameObjectEventEmitsOptions = EmitsOptionsFor<GameObjectConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9917
|
-
//#endregion
|
|
9918
|
-
//#region src/models/emit/global/TweenEventEmitsOptions.d.ts
|
|
9919
9544
|
export type TweenEventEmitsOptions = EmitsOptionsFor<TweenConfiguration>;
|
|
9920
|
-
//#endregion
|
|
9921
|
-
//#region src/models/emit/global/GlobalEventEmitsOptions.d.ts
|
|
9922
9545
|
export interface GlobalEventEmitsOptions extends GameObjectEventEmitsOptions, TweenEventEmitsOptions {}
|
|
9923
|
-
//#endregion
|
|
9924
|
-
//#region src/models/emit/shared/ShapeEventEmitsOptions.d.ts
|
|
9925
9546
|
export type ShapeEventEmitsOptions = EmitsOptionsFor<ShapeConfiguration>;
|
|
9926
|
-
//#endregion
|
|
9927
|
-
//#region src/models/lifecycle/Lifecycle.d.ts
|
|
9928
9547
|
export declare enum Lifecycle {
|
|
9929
9548
|
Create = "Create",
|
|
9930
9549
|
Init = "Init",
|
|
@@ -9933,22 +9552,14 @@ export declare enum Lifecycle {
|
|
|
9933
9552
|
Shutdown = "Shutdown",
|
|
9934
9553
|
Update = "Update"
|
|
9935
9554
|
}
|
|
9936
|
-
//#endregion
|
|
9937
|
-
//#region src/models/lifecycle/ListenersMap.d.ts
|
|
9938
9555
|
export type ListenersMap = Map<string, ((scene: SceneWithPlugins) => void)[]>;
|
|
9939
|
-
//#endregion
|
|
9940
|
-
//#region src/models/plugins/TilemapFile.d.ts
|
|
9941
9556
|
declare const JSONFile: typeof Loader.FileTypes.JSONFile;
|
|
9942
9557
|
export declare class TilemapFile extends JSONFile {}
|
|
9943
|
-
//#endregion
|
|
9944
|
-
//#region src/models/plugins/TilesetFile.d.ts
|
|
9945
9558
|
declare const XMLFile: typeof Loader.FileTypes.XMLFile;
|
|
9946
9559
|
export declare class TilesetFile extends XMLFile {
|
|
9947
9560
|
tilesetIndex: number;
|
|
9948
9561
|
constructor(tilesetIndex: number, ...args: ConstructorParameters<typeof XMLFile>);
|
|
9949
9562
|
}
|
|
9950
|
-
//#endregion
|
|
9951
|
-
//#region src/models/plugins/TiledJSONExternalFile.d.ts
|
|
9952
9563
|
declare const MultiFile: typeof Loader.MultiFile;
|
|
9953
9564
|
export declare class TiledJSONExternalFile extends MultiFile {
|
|
9954
9565
|
files: [TilemapFile, ...TilesetFile[]];
|
|
@@ -9956,8 +9567,6 @@ export declare class TiledJSONExternalFile extends MultiFile {
|
|
|
9956
9567
|
addToCache(): void;
|
|
9957
9568
|
onFileComplete(file: TilemapFile): void;
|
|
9958
9569
|
}
|
|
9959
|
-
//#endregion
|
|
9960
|
-
//#region src/models/scene/SceneEmits.d.ts
|
|
9961
9570
|
export interface SceneEmits {
|
|
9962
9571
|
create: [SceneWithPlugins];
|
|
9963
9572
|
init: [SceneWithPlugins];
|
|
@@ -9965,115 +9574,45 @@ export interface SceneEmits {
|
|
|
9965
9574
|
shutdown: [SceneWithPlugins];
|
|
9966
9575
|
update: [SceneWithPlugins, ...Parameters<SceneWithPlugins["update"]>];
|
|
9967
9576
|
}
|
|
9968
|
-
//#endregion
|
|
9969
|
-
//#region src/models/scene/SceneLifecycleHooks.d.ts
|
|
9970
9577
|
export interface SceneLifecycleHooks {
|
|
9971
9578
|
onCreate?: (scene: SceneWithPlugins) => void;
|
|
9972
9579
|
onInit?: (scene: SceneWithPlugins) => void;
|
|
9973
9580
|
onPreload?: (scene: SceneWithPlugins) => void;
|
|
9974
9581
|
onUpdate?: (scene: SceneWithPlugins, time: number, delta: number) => void;
|
|
9975
9582
|
}
|
|
9976
|
-
//#endregion
|
|
9977
|
-
//#region src/plugins/registerTiledJSONExternalLoader.d.ts
|
|
9978
9583
|
export declare const registerTiledJSONExternalLoader: () => void;
|
|
9979
|
-
//#endregion
|
|
9980
|
-
//#region src/services/emit/checkIsEvent.d.ts
|
|
9981
9584
|
export declare const checkIsEvent: (property: string) => boolean;
|
|
9982
|
-
//#endregion
|
|
9983
|
-
//#region src/services/emit/constants.d.ts
|
|
9984
9585
|
export declare const EVENT_PREFIX = "on";
|
|
9985
|
-
//#endregion
|
|
9986
|
-
//#region src/services/emit/getEventName.d.ts
|
|
9987
9586
|
export declare const getEventName: (event: string) => string;
|
|
9988
|
-
//#endregion
|
|
9989
|
-
//#region src/services/emit/getUpdateEvent.d.ts
|
|
9990
9587
|
export declare const getUpdateEvent: <T extends string>(property: T) => UpdateEvent<KebabCase<T>>;
|
|
9991
|
-
//#endregion
|
|
9992
|
-
//#region src/services/hooks/getInitializeGameObjectLifecycleHook.d.ts
|
|
9993
9588
|
export declare const getInitializeGameObjectLifecycleHook: (sceneKey: string) => (listener: (scene: SceneWithPlugins) => void, sceneKey?: string | undefined) => void;
|
|
9994
|
-
//#endregion
|
|
9995
|
-
//#region src/services/hooks/pushListener.d.ts
|
|
9996
9589
|
export declare const pushListener: (lifecycle: Lifecycle, listener: (scene: SceneWithPlugins) => void, key?: string) => void;
|
|
9997
|
-
//#endregion
|
|
9998
|
-
//#region src/services/hooks/resetLifecycleListeners.d.ts
|
|
9999
9590
|
export declare const resetLifecycleListeners: (scene: SceneWithPlugins, lifecycle: Lifecycle) => void;
|
|
10000
|
-
//#endregion
|
|
10001
|
-
//#region src/services/hooks/runLifecycleListeners.d.ts
|
|
10002
9591
|
export declare const runLifecycleListeners: (scene: SceneWithPlugins, lifecycle: Lifecycle, isReset?: boolean) => void;
|
|
10003
|
-
//#endregion
|
|
10004
|
-
//#region src/services/hooks/runSceneShutdown.d.ts
|
|
10005
9592
|
export declare const runSceneShutdown: (scene: SceneWithPlugins) => void;
|
|
10006
|
-
//#endregion
|
|
10007
|
-
//#region src/services/setterMap/ArcSetterMap.d.ts
|
|
10008
9593
|
export declare const ArcSetterMap: SetterMap<ArcConfiguration, GameObjects.Arc, ArcEventEmitsOptions>;
|
|
10009
|
-
//#endregion
|
|
10010
|
-
//#region src/services/setterMap/BitmapTextSetterMap.d.ts
|
|
10011
9594
|
export declare const BitmapTextSetterMap: SetterMap<BitmapTextConfiguration, GameObjects.BitmapText, BitmapTextEventEmitsOptions>;
|
|
10012
|
-
//#endregion
|
|
10013
|
-
//#region src/services/setterMap/ContainerSetterMap.d.ts
|
|
10014
9595
|
export declare const ContainerSetterMap: SetterMap<ContainerConfiguration, GameObjects.Container, ContainerEventEmitsOptions>;
|
|
10015
|
-
//#endregion
|
|
10016
|
-
//#region src/services/setterMap/CurveSetterMap.d.ts
|
|
10017
9596
|
export declare const CurveSetterMap: SetterMap<CurveConfiguration, GameObjects.Curve, CurveEventEmitsOptions>;
|
|
10018
|
-
//#endregion
|
|
10019
|
-
//#region src/services/setterMap/EllipseSetterMap.d.ts
|
|
10020
9597
|
export declare const EllipseSetterMap: SetterMap<EllipseConfiguration, GameObjects.Ellipse, EllipseEventEmitsOptions>;
|
|
10021
|
-
//#endregion
|
|
10022
|
-
//#region src/services/setterMap/GraphicsSetterMap.d.ts
|
|
10023
9598
|
export declare const GraphicsSetterMap: SetterMap<GraphicsConfiguration, GameObjects.Graphics, GraphicsEventEmitsOptions>;
|
|
10024
|
-
//#endregion
|
|
10025
|
-
//#region src/services/setterMap/ImageSetterMap.d.ts
|
|
10026
9599
|
export declare const ImageSetterMap: SetterMap<ImageConfiguration, GameObjects.Image, ImageEventEmitsOptions>;
|
|
10027
|
-
//#endregion
|
|
10028
|
-
//#region src/services/setterMap/IsoBoxSetterMap.d.ts
|
|
10029
9600
|
export declare const IsoBoxSetterMap: SetterMap<IsoBoxConfiguration, GameObjects.IsoBox, IsoBoxEventEmitsOptions>;
|
|
10030
|
-
//#endregion
|
|
10031
|
-
//#region src/services/setterMap/IsoTriangleSetterMap.d.ts
|
|
10032
9601
|
export declare const IsoTriangleSetterMap: SetterMap<IsoTriangleConfiguration, GameObjects.IsoTriangle, IsoTriangleEventEmitsOptions>;
|
|
10033
|
-
//#endregion
|
|
10034
|
-
//#region src/services/setterMap/LineSetterMap.d.ts
|
|
10035
9602
|
export declare const LineSetterMap: SetterMap<LineConfiguration, GameObjects.Line, LineEventEmitsOptions>;
|
|
10036
|
-
//#endregion
|
|
10037
|
-
//#region src/services/setterMap/NinesliceSetterMap.d.ts
|
|
10038
9603
|
export declare const NinesliceSetterMap: SetterMap<NinesliceConfiguration, GameObjects.NineSlice, NinesliceEventEmitsOptions>;
|
|
10039
|
-
//#endregion
|
|
10040
|
-
//#region src/services/setterMap/ParticlesSetterMap.d.ts
|
|
10041
9604
|
export declare const ParticlesSetterMap: SetterMap<ParticlesConfiguration, GameObjects.Particles.ParticleEmitter, ParticlesEventEmitsOptions>;
|
|
10042
|
-
//#endregion
|
|
10043
|
-
//#region src/services/setterMap/PathFollowerSetterMap.d.ts
|
|
10044
9605
|
export declare const PathFollowerSetterMap: SetterMap<PathFollowerConfiguration, GameObjects.PathFollower, PathFollowerEventEmitsOptions>;
|
|
10045
|
-
//#endregion
|
|
10046
|
-
//#region src/services/setterMap/PolygonSetterMap.d.ts
|
|
10047
9606
|
export declare const PolygonSetterMap: SetterMap<PolygonConfiguration, GameObjects.Polygon, PolygonEventEmitsOptions>;
|
|
10048
|
-
//#endregion
|
|
10049
|
-
//#region src/services/setterMap/RectangleSetterMap.d.ts
|
|
10050
9607
|
export declare const RectangleSetterMap: SetterMap<RectangleConfiguration, GameObjects.Rectangle, RectangleEventEmitsOptions>;
|
|
10051
|
-
//#endregion
|
|
10052
|
-
//#region src/services/setterMap/RenderTextureSetterMap.d.ts
|
|
10053
9608
|
export declare const RenderTextureSetterMap: SetterMap<RenderTextureConfiguration, GameObjects.RenderTexture, RenderTextureEventEmitsOptions>;
|
|
10054
|
-
//#endregion
|
|
10055
|
-
//#region src/services/setterMap/SpriteSetterMap.d.ts
|
|
10056
9609
|
export declare const SpriteSetterMap: SetterMap<SpriteConfiguration, GameObjects.Sprite, SpriteEventEmitsOptions>;
|
|
10057
|
-
//#endregion
|
|
10058
|
-
//#region src/services/setterMap/StarSetterMap.d.ts
|
|
10059
9610
|
export declare const StarSetterMap: SetterMap<StarConfiguration, GameObjects.Star, StarEventEmitsOptions>;
|
|
10060
|
-
//#endregion
|
|
10061
|
-
//#region src/services/setterMap/TextSetterMap.d.ts
|
|
10062
9611
|
export declare const TextSetterMap: SetterMap<TextConfiguration, GameObjects.Text, TextEventEmitsOptions>;
|
|
10063
|
-
//#endregion
|
|
10064
|
-
//#region src/services/setterMap/TileSpriteSetterMap.d.ts
|
|
10065
9612
|
export declare const TileSpriteSetterMap: SetterMap<TileSpriteConfiguration, GameObjects.TileSprite, TileSpriteEventEmitsOptions>;
|
|
10066
|
-
//#endregion
|
|
10067
|
-
//#region src/services/setterMap/TriangleSetterMap.d.ts
|
|
10068
9613
|
export declare const TriangleSetterMap: SetterMap<TriangleConfiguration, GameObjects.Triangle, TriangleEventEmitsOptions>;
|
|
10069
|
-
//#endregion
|
|
10070
|
-
//#region src/services/setterMap/VideoSetterMap.d.ts
|
|
10071
9614
|
export declare const VideoSetterMap: SetterMap<VideoConfiguration, GameObjects.Video, VideoEventEmitsOptions>;
|
|
10072
|
-
//#endregion
|
|
10073
|
-
//#region src/services/setterMap/ZoneSetterMap.d.ts
|
|
10074
9615
|
export declare const ZoneSetterMap: SetterMap<ZoneConfiguration, GameObjects.Zone, ZoneEventEmitsOptions>;
|
|
10075
|
-
//#endregion
|
|
10076
|
-
//#region src/services/setterMap/components/AlphaSetterMap.d.ts
|
|
10077
9616
|
export declare const AlphaSetterMap: {
|
|
10078
9617
|
readonly alpha: (gameObject: GameObjects.Components.Alpha) => (value: number | undefined) => void;
|
|
10079
9618
|
readonly alphaBottomLeft: (gameObject: GameObjects.Components.Alpha) => (value: number | undefined) => void;
|
|
@@ -10081,24 +9620,16 @@ export declare const AlphaSetterMap: {
|
|
|
10081
9620
|
readonly alphaTopLeft: (gameObject: GameObjects.Components.Alpha) => (value: number | undefined) => void;
|
|
10082
9621
|
readonly alphaTopRight: (gameObject: GameObjects.Components.Alpha) => (value: number | undefined) => void;
|
|
10083
9622
|
};
|
|
10084
|
-
//#endregion
|
|
10085
|
-
//#region src/services/setterMap/components/AlphaSingleSetterMap.d.ts
|
|
10086
9623
|
export declare const AlphaSingleSetterMap: {
|
|
10087
9624
|
readonly alpha: (gameObject: GameObjects.Components.AlphaSingle) => (value: number | undefined) => void;
|
|
10088
9625
|
};
|
|
10089
|
-
//#endregion
|
|
10090
|
-
//#region src/services/setterMap/components/BaseTextureSetterMap.d.ts
|
|
10091
9626
|
export declare const BaseTextureSetterMap: {
|
|
10092
9627
|
readonly frame: (gameObject: GameObjects.Components.Texture) => (value: string | number | undefined) => void;
|
|
10093
9628
|
readonly texture: (gameObject: GameObjects.Components.Texture) => (value: string | undefined) => void;
|
|
10094
9629
|
};
|
|
10095
|
-
//#endregion
|
|
10096
|
-
//#region src/services/setterMap/components/BlendModeSetterMap.d.ts
|
|
10097
9630
|
export declare const BlendModeSetterMap: {
|
|
10098
9631
|
readonly blendMode: (gameObject: GameObjects.Components.BlendMode) => (value: string | number | Phaser.BlendModes | undefined) => void;
|
|
10099
9632
|
};
|
|
10100
|
-
//#endregion
|
|
10101
|
-
//#region src/services/setterMap/components/ComputedSizeSetterMap.d.ts
|
|
10102
9633
|
export declare const ComputedSizeSetterMap: {
|
|
10103
9634
|
readonly height: (gameObject: GameObjects.Components.ComputedSize) => (value: number | undefined) => void;
|
|
10104
9635
|
readonly width: (gameObject: GameObjects.Components.ComputedSize) => (value: number | undefined) => void;
|
|
@@ -10113,13 +9644,9 @@ export declare const ComputedSizeSetterMap: {
|
|
|
10113
9644
|
setDisplaySize: (width: number, height: number) => unknown;
|
|
10114
9645
|
}) => (value: number | undefined) => void;
|
|
10115
9646
|
};
|
|
10116
|
-
//#endregion
|
|
10117
|
-
//#region src/services/setterMap/components/DepthSetterMap.d.ts
|
|
10118
9647
|
export declare const DepthSetterMap: {
|
|
10119
9648
|
readonly depth: (gameObject: GameObjects.Components.Depth & GameObjects.GameObject) => (value: number | undefined) => void;
|
|
10120
9649
|
};
|
|
10121
|
-
//#endregion
|
|
10122
|
-
//#region src/services/setterMap/components/DisplaySizeSetterMap.d.ts
|
|
10123
9650
|
export declare const DisplaySizeSetterMap: {
|
|
10124
9651
|
readonly displayHeight: (gameObject: {
|
|
10125
9652
|
displayHeight: number;
|
|
@@ -10132,19 +9659,13 @@ export declare const DisplaySizeSetterMap: {
|
|
|
10132
9659
|
setDisplaySize: (width: number, height: number) => unknown;
|
|
10133
9660
|
}) => (value: number | undefined) => void;
|
|
10134
9661
|
};
|
|
10135
|
-
//#endregion
|
|
10136
|
-
//#region src/services/setterMap/components/FlipSetterMap.d.ts
|
|
10137
9662
|
export declare const FlipSetterMap: {
|
|
10138
9663
|
readonly flipX: (gameObject: GameObjects.Components.Flip) => (value: boolean | undefined) => void;
|
|
10139
9664
|
readonly flipY: (gameObject: GameObjects.Components.Flip) => (value: boolean | undefined) => void;
|
|
10140
9665
|
};
|
|
10141
|
-
//#endregion
|
|
10142
|
-
//#region src/services/setterMap/components/MaskSetterMap.d.ts
|
|
10143
9666
|
export declare const MaskSetterMap: {
|
|
10144
9667
|
readonly mask: (gameObject: GameObjects.Components.Mask) => (value: Phaser.Display.Masks.GeometryMask | undefined) => void;
|
|
10145
9668
|
};
|
|
10146
|
-
//#endregion
|
|
10147
|
-
//#region src/services/setterMap/components/OriginSetterMap.d.ts
|
|
10148
9669
|
export declare const OriginSetterMap: {
|
|
10149
9670
|
readonly displayOriginX: (gameObject: GameObjects.Components.Origin) => (value: number | undefined) => void;
|
|
10150
9671
|
readonly displayOriginY: (gameObject: GameObjects.Components.Origin) => (value: number | undefined) => void;
|
|
@@ -10152,23 +9673,15 @@ export declare const OriginSetterMap: {
|
|
|
10152
9673
|
readonly originX: (gameObject: GameObjects.Components.Origin) => (value: number | undefined) => void;
|
|
10153
9674
|
readonly originY: (gameObject: GameObjects.Components.Origin) => (value: number | undefined) => void;
|
|
10154
9675
|
};
|
|
10155
|
-
//#endregion
|
|
10156
|
-
//#region src/services/setterMap/components/PathFollowerComponentSetterMap.d.ts
|
|
10157
9676
|
export declare const PathFollowerComponentSetterMap: {
|
|
10158
9677
|
readonly path: (gameObject: GameObjects.Components.PathFollower) => (value: Phaser.Curves.Path | undefined) => void;
|
|
10159
9678
|
};
|
|
10160
|
-
//#endregion
|
|
10161
|
-
//#region src/services/setterMap/components/RenderNodesSetterMap.d.ts
|
|
10162
9679
|
export declare const RenderNodesSetterMap: {};
|
|
10163
|
-
//#endregion
|
|
10164
|
-
//#region src/services/setterMap/components/ScrollFactorSetterMap.d.ts
|
|
10165
9680
|
export declare const ScrollFactorSetterMap: {
|
|
10166
9681
|
readonly scrollFactor: (gameObject: GameObjects.Components.ScrollFactor) => (value: number | undefined) => void;
|
|
10167
9682
|
readonly scrollFactorX: (gameObject: GameObjects.Components.ScrollFactor) => (value: number | undefined) => void;
|
|
10168
9683
|
readonly scrollFactorY: (gameObject: GameObjects.Components.ScrollFactor) => (value: number | undefined) => void;
|
|
10169
9684
|
};
|
|
10170
|
-
//#endregion
|
|
10171
|
-
//#region src/services/setterMap/components/SizeSetterMap.d.ts
|
|
10172
9685
|
export declare const SizeSetterMap: {
|
|
10173
9686
|
readonly height: (gameObject: GameObjects.Components.ComputedSize) => (value: number | undefined) => void;
|
|
10174
9687
|
readonly width: (gameObject: GameObjects.Components.ComputedSize) => (value: number | undefined) => void;
|
|
@@ -10183,20 +9696,14 @@ export declare const SizeSetterMap: {
|
|
|
10183
9696
|
setDisplaySize: (width: number, height: number) => unknown;
|
|
10184
9697
|
}) => (value: number | undefined) => void;
|
|
10185
9698
|
};
|
|
10186
|
-
//#endregion
|
|
10187
|
-
//#region src/services/setterMap/components/TextureCropSetterMap.d.ts
|
|
10188
9699
|
export declare const TextureCropSetterMap: {
|
|
10189
9700
|
readonly frame: (gameObject: GameObjects.Components.Texture) => (value: string | number | undefined) => void;
|
|
10190
9701
|
readonly texture: (gameObject: GameObjects.Components.Texture) => (value: string | undefined) => void;
|
|
10191
9702
|
};
|
|
10192
|
-
//#endregion
|
|
10193
|
-
//#region src/services/setterMap/components/TextureSetterMap.d.ts
|
|
10194
9703
|
export declare const TextureSetterMap: {
|
|
10195
9704
|
readonly frame: (gameObject: GameObjects.Components.Texture) => (value: string | number | undefined) => void;
|
|
10196
9705
|
readonly texture: (gameObject: GameObjects.Components.Texture) => (value: string | undefined) => void;
|
|
10197
9706
|
};
|
|
10198
|
-
//#endregion
|
|
10199
|
-
//#region src/services/setterMap/components/TintSetterMap.d.ts
|
|
10200
9707
|
export declare const TintSetterMap: {
|
|
10201
9708
|
readonly tint: (gameObject: GameObjects.Components.Tint) => (value: number | undefined) => void;
|
|
10202
9709
|
readonly tintBottomLeft: (gameObject: GameObjects.Components.Tint) => (value: number | undefined) => void;
|
|
@@ -10204,8 +9711,6 @@ export declare const TintSetterMap: {
|
|
|
10204
9711
|
readonly tintTopLeft: (gameObject: GameObjects.Components.Tint) => (value: number | undefined) => void;
|
|
10205
9712
|
readonly tintTopRight: (gameObject: GameObjects.Components.Tint) => (value: number | undefined) => void;
|
|
10206
9713
|
};
|
|
10207
|
-
//#endregion
|
|
10208
|
-
//#region src/services/setterMap/components/TransformSetterMap.d.ts
|
|
10209
9714
|
export declare const TransformSetterMap: {
|
|
10210
9715
|
readonly angle: (gameObject: GameObjects.Components.Transform) => (value: number | undefined) => void;
|
|
10211
9716
|
readonly rotation: (gameObject: GameObjects.Components.Transform) => (value: number | undefined) => void;
|
|
@@ -10217,18 +9722,12 @@ export declare const TransformSetterMap: {
|
|
|
10217
9722
|
readonly y: (gameObject: GameObjects.Components.Transform) => (value: number | undefined) => void;
|
|
10218
9723
|
readonly z: (gameObject: GameObjects.Components.Transform) => (value: number | undefined) => void;
|
|
10219
9724
|
};
|
|
10220
|
-
//#endregion
|
|
10221
|
-
//#region src/services/setterMap/components/VisibleSetterMap.d.ts
|
|
10222
9725
|
export declare const VisibleSetterMap: {
|
|
10223
9726
|
readonly visible: (gameObject: GameObjects.Components.Visible) => (value: boolean | undefined) => void;
|
|
10224
9727
|
};
|
|
10225
|
-
//#endregion
|
|
10226
|
-
//#region src/services/setterMap/global/GameObjectSetterMap.d.ts
|
|
10227
9728
|
export declare const GameObjectSetterMap: {
|
|
10228
9729
|
readonly active: (gameObject: GameObjects.GameObject) => (value: boolean | undefined) => void;
|
|
10229
9730
|
};
|
|
10230
|
-
//#endregion
|
|
10231
|
-
//#region src/services/setterMap/global/GlobalSetterMap.d.ts
|
|
10232
9731
|
export declare const GlobalSetterMap: {
|
|
10233
9732
|
readonly active: (gameObject: GameObjects.GameObject) => (value: boolean | undefined) => void;
|
|
10234
9733
|
readonly tween: (gameObject: GameObjects.GameObject, emit: ((event: "update:tween", args_0?: {
|
|
@@ -10486,8 +9985,6 @@ export declare const GlobalSetterMap: {
|
|
|
10486
9985
|
interpolation?: (string | Function) | undefined;
|
|
10487
9986
|
}[] | undefined) => void;
|
|
10488
9987
|
};
|
|
10489
|
-
//#endregion
|
|
10490
|
-
//#region src/services/setterMap/global/TweenSetterMap.d.ts
|
|
10491
9988
|
export declare const TweenSetterMap: {
|
|
10492
9989
|
readonly tween: (gameObject: GameObjects.GameObject, emit: ((event: "update:tween", args_0?: {
|
|
10493
9990
|
[x: string]: any;
|
|
@@ -10744,8 +10241,6 @@ export declare const TweenSetterMap: {
|
|
|
10744
10241
|
interpolation?: (string | Function) | undefined;
|
|
10745
10242
|
}[] | undefined) => void;
|
|
10746
10243
|
};
|
|
10747
|
-
//#endregion
|
|
10748
|
-
//#region src/services/setterMap/shared/AnimationSetterMap.d.ts
|
|
10749
10244
|
export declare const AnimationSetterMap: {
|
|
10750
10245
|
readonly animations: (gameObject: GameObjects.Sprite, emit: ((event: `animationcomplete-${string}`) => void) & ((event: "update:visible", args_0?: boolean | undefined) => void) & ((event: "update:alpha", args_0?: number | undefined) => void) & ((event: "update:active", args_0?: boolean | undefined) => void) & ((event: "update:originX", args_0?: number | undefined) => void) & ((event: "update:originY", args_0?: number | undefined) => void) & ((event: "update:displayOriginX", args_0?: number | undefined) => void) & ((event: "update:displayOriginY", args_0?: number | undefined) => void) & ((event: "update:displayHeight", args_0?: number | undefined) => void) & ((event: "update:displayWidth", args_0?: number | undefined) => void) & ((event: "update:customRenderNodes", args_0?: object | undefined) => void) & ((event: "update:defaultRenderNodes", args_0?: object | undefined) => void) & ((event: "update:renderNodeData", args_0?: object | undefined) => void) & ((event: "update:blendMode", args_0?: string | number | Phaser.BlendModes | undefined) => void) & ((event: "update:depth", args_0?: number | undefined) => void) & ((event: "update:mask", args_0?: Phaser.Display.Masks.GeometryMask | undefined) => void) & ((event: "update:scrollFactorX", args_0?: number | undefined) => void) & ((event: "update:scrollFactorY", args_0?: number | undefined) => void) & ((event: "update:hasTransformComponent", args_0?: boolean | undefined) => void) & ((event: "update:x", args_0?: number | undefined) => void) & ((event: "update:y", args_0?: number | undefined) => void) & ((event: "update:z", args_0?: number | undefined) => void) & ((event: "update:w", args_0?: number | undefined) => void) & ((event: "update:scale", args_0?: number | undefined) => void) & ((event: "update:scaleX", args_0?: number | undefined) => void) & ((event: "update:scaleY", args_0?: number | undefined) => void) & ((event: "update:angle", args_0?: number | undefined) => void) & ((event: "update:rotation", args_0?: number | undefined) => void) & ((event: "update:tween", args_0?: {
|
|
10751
10246
|
[x: string]: any;
|
|
@@ -10834,8 +10329,6 @@ export declare const AnimationSetterMap: {
|
|
|
10834
10329
|
}[] | 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: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:height", args_0?: number | undefined) => void) & ((event: "update:width", args_0?: number | 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;
|
|
10835
10330
|
readonly playAnimationKey: (gameObject: GameObjects.Sprite) => (value: undefined) => void;
|
|
10836
10331
|
};
|
|
10837
|
-
//#endregion
|
|
10838
|
-
//#region src/services/setterMap/shared/IsoSetterMap.d.ts
|
|
10839
10332
|
export declare const IsoSetterMap: {
|
|
10840
10333
|
readonly fillLeft: (gameObject: {
|
|
10841
10334
|
fillLeft: number;
|
|
@@ -10915,8 +10408,6 @@ export declare const IsoSetterMap: {
|
|
|
10915
10408
|
showTop: boolean;
|
|
10916
10409
|
}) => (value: boolean | undefined) => void;
|
|
10917
10410
|
};
|
|
10918
|
-
//#endregion
|
|
10919
|
-
//#region src/services/setterMap/shared/RenderableSetterMap.d.ts
|
|
10920
10411
|
export declare const RenderableSetterMap: {
|
|
10921
10412
|
active: (gameObject: Phaser.GameObjects.GameObject) => (value: boolean | undefined) => void;
|
|
10922
10413
|
tween: (gameObject: Phaser.GameObjects.GameObject, emit: ((event: "update:tween", args_0?: {
|
|
@@ -11205,8 +10696,6 @@ export declare const RenderableSetterMap: {
|
|
|
11205
10696
|
alphaTopLeft: (gameObject: Phaser.GameObjects.Components.Alpha) => (value: number | undefined) => void;
|
|
11206
10697
|
alphaTopRight: (gameObject: Phaser.GameObjects.Components.Alpha) => (value: number | undefined) => void;
|
|
11207
10698
|
};
|
|
11208
|
-
//#endregion
|
|
11209
|
-
//#region src/services/setterMap/shared/SceneObjectSetterMap.d.ts
|
|
11210
10699
|
export declare const SceneObjectSetterMap: {
|
|
11211
10700
|
visible: (gameObject: Phaser.GameObjects.Components.Visible) => (value: boolean | undefined) => void;
|
|
11212
10701
|
angle: (gameObject: Phaser.GameObjects.Components.Transform) => (value: number | undefined) => void;
|
|
@@ -11225,8 +10714,6 @@ export declare const SceneObjectSetterMap: {
|
|
|
11225
10714
|
depth: (gameObject: Phaser.GameObjects.Components.Depth & Phaser.GameObjects.GameObject) => (value: number | undefined) => void;
|
|
11226
10715
|
blendMode: (gameObject: Phaser.GameObjects.Components.BlendMode) => (value: string | number | Phaser.BlendModes | undefined) => void;
|
|
11227
10716
|
};
|
|
11228
|
-
//#endregion
|
|
11229
|
-
//#region src/services/setterMap/shared/ShapeSetterMap.d.ts
|
|
11230
10717
|
export declare const ShapeSetterMap: {
|
|
11231
10718
|
readonly fillAlpha: (gameObject: GameObjects.Shape) => (value: number | undefined) => void;
|
|
11232
10719
|
readonly fillColor: (gameObject: GameObjects.Shape) => (value: number | undefined) => void;
|
|
@@ -11265,42 +10752,24 @@ export declare const ShapeSetterMap: {
|
|
|
11265
10752
|
readonly blendMode: (gameObject: GameObjects.Components.BlendMode) => (value: string | number | Phaser.BlendModes | undefined) => void;
|
|
11266
10753
|
readonly alpha: (gameObject: GameObjects.Components.AlphaSingle) => (value: number | undefined) => void;
|
|
11267
10754
|
};
|
|
11268
|
-
//#endregion
|
|
11269
|
-
//#region src/services/shared/InjectionKeyMap.d.ts
|
|
11270
10755
|
export declare const InjectionKeyMap: {
|
|
11271
10756
|
readonly ParentContainer: InjectionKey<Ref<GameObjects.Container | undefined>>;
|
|
11272
10757
|
readonly SceneKey: InjectionKey<SceneWithPlugins["scene"]["key"]>;
|
|
11273
10758
|
};
|
|
11274
|
-
//#endregion
|
|
11275
|
-
//#region src/services/shared/createSceneClass.d.ts
|
|
11276
10759
|
export declare const createSceneClass: (key: string, hooks?: SceneLifecycleHooks) => new () => Scene;
|
|
11277
|
-
//#endregion
|
|
11278
|
-
//#region src/services/shared/getDepthInsertIndex.d.ts
|
|
11279
10760
|
export declare const getDepthInsertIndex: (list: readonly object[], depth: unknown) => number;
|
|
11280
|
-
//#endregion
|
|
11281
|
-
//#region src/services/shared/getScene.d.ts
|
|
11282
10761
|
export declare const getScene: (sceneKey: SceneWithPlugins["scene"]["key"]) => SceneWithPlugins;
|
|
11283
|
-
//#endregion
|
|
11284
|
-
//#region src/services/shared/pushGameObject.d.ts
|
|
11285
10762
|
export declare const pushGameObject: (parentContainer: GameObjects.Container, configuration: object, gameObject: GameObjects.GameObject) => void;
|
|
11286
|
-
//#endregion
|
|
11287
|
-
//#region src/services/shared/sleepScene.d.ts
|
|
11288
10763
|
export declare const sleepScene: (scene: SceneWithPlugins, durationMs: number) => Promise<void>;
|
|
11289
|
-
//#endregion
|
|
11290
|
-
//#region src/store/ExternalSceneStore.d.ts
|
|
11291
10764
|
export declare const ExternalSceneStore: {
|
|
11292
10765
|
lifecycleListenersMap: Map<Lifecycle, ListenersMap>;
|
|
11293
10766
|
sceneReadyMap: Map<string, boolean>;
|
|
11294
10767
|
};
|
|
11295
|
-
//#endregion
|
|
11296
|
-
//#region src/store/camera.d.ts
|
|
11297
10768
|
export declare const useCameraStore: import("pinia").SetupStoreDefinition<"phaser/camera", {
|
|
11298
10769
|
fadeIn: (scene: SceneWithPlugins, duration?: number | undefined, red?: number | undefined, green?: number | undefined, blue?: number | undefined, callback?: Function | undefined, context?: any) => void;
|
|
11299
10770
|
fadeOut: (scene: SceneWithPlugins, duration?: number | undefined, red?: number | undefined, green?: number | undefined, blue?: number | undefined, callback?: Function | undefined, context?: any) => void;
|
|
11300
10771
|
isFading: globalThis.Ref<boolean, boolean>;
|
|
11301
10772
|
}>;
|
|
11302
|
-
//#endregion
|
|
11303
|
-
//#region src/store/index.d.ts
|
|
11304
10773
|
export declare const usePhaserStore: import("pinia").SetupStoreDefinition<"phaser", {
|
|
11305
10774
|
game: globalThis.WritableComputedRef<Game | undefined, Game | undefined>;
|
|
11306
10775
|
isSameScene: (newSceneKey: SceneWithPlugins["scene"]["key"]) => boolean;
|
|
@@ -11311,15 +10780,10 @@ export declare const usePhaserStore: import("pinia").SetupStoreDefinition<"phase
|
|
|
11311
10780
|
rootSceneKey: globalThis.Ref<string | undefined, string | undefined>;
|
|
11312
10781
|
switchToScene: (newSceneKey: SceneWithPlugins["scene"]["key"]) => Promise<void>;
|
|
11313
10782
|
}>;
|
|
11314
|
-
//#endregion
|
|
11315
|
-
//#region src/store/input.d.ts
|
|
11316
10783
|
export declare const useInputStore: import("pinia").SetupStoreDefinition<"phaser/input", {
|
|
11317
10784
|
isInputActive: globalThis.Ref<boolean, boolean>;
|
|
11318
10785
|
}>;
|
|
11319
|
-
//#endregion
|
|
11320
|
-
//#region src/store/text.d.ts
|
|
11321
10786
|
export declare const useTextStore: import("pinia").SetupStoreDefinition<"phaser/text", {
|
|
11322
10787
|
defaultTextStyle: globalThis.Ref<Types.GameObjects.Text.TextStyle | undefined, Types.GameObjects.Text.TextStyle | undefined>;
|
|
11323
10788
|
}>;
|
|
11324
|
-
//#endregion
|
|
11325
10789
|
export { _default as Arc, _default$1 as BitmapText, _default$2 as Circle, _default$3 as Container, _default$4 as Curve, _default$5 as Ellipse, _default$6 as Game, _default$7 as Graphics, _default$8 as Image, _default$9 as IsoBox, _default$10 as IsoTriangle, _default$11 as Line, _default$12 as Nineslice, _default$13 as Particles, _default$14 as PathFollower, _default$15 as Polygon, _default$16 as Rectangle, _default$17 as RenderTexture, _default$18 as Scene, _default$19 as Sprite, _default$20 as Star, _default$21 as Text, _default$22 as TileSprite, _default$23 as Tilemap, _default$24 as Triangle, _default$25 as Video, _default$26 as Zone };
|