vue-phaserjs 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1081 -244
- package/dist/index.js +39 -72
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,40 +1,6 @@
|
|
|
1
1
|
import { SetupContext, VNode, WatchHandle } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { FunctionLike } from "@esposter/shared";
|
|
3
3
|
import { Curves, Game, GameObjects, Loader, Scene, Tilemaps, Types } from "phaser";
|
|
4
|
-
//#region src/models/configuration/components/AlphaSingleConfiguration.d.ts
|
|
5
|
-
export interface AlphaSingleConfiguration extends ExcludeFunctionProperties<GameObjects.Components.AlphaSingle> {}
|
|
6
|
-
//#endregion
|
|
7
|
-
//#region src/models/configuration/components/BlendModeConfiguration.d.ts
|
|
8
|
-
export interface BlendModeConfiguration extends ExcludeFunctionProperties<GameObjects.Components.BlendMode> {}
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region src/models/configuration/components/DepthConfiguration.d.ts
|
|
11
|
-
export interface DepthConfiguration extends ExcludeFunctionProperties<GameObjects.Components.Depth> {}
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region src/models/configuration/components/MaskConfiguration.d.ts
|
|
14
|
-
export interface MaskConfiguration extends ExcludeFunctionProperties<GameObjects.Components.Mask> {}
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region src/models/configuration/components/OriginConfiguration.d.ts
|
|
17
|
-
export interface OriginConfiguration extends ExcludeFunctionProperties<GameObjects.Components.Origin> {
|
|
18
|
-
origin: number;
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
//#region src/models/configuration/components/RenderNodesConfiguration.d.ts
|
|
22
|
-
export interface RenderNodesConfiguration extends ExcludeFunctionProperties<GameObjects.Components.RenderNodes> {}
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region src/models/configuration/components/ScrollFactorConfiguration.d.ts
|
|
25
|
-
export interface ScrollFactorConfiguration extends ExcludeFunctionProperties<GameObjects.Components.ScrollFactor> {
|
|
26
|
-
scrollFactor: number;
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
//#region src/models/configuration/components/TransformConfiguration.d.ts
|
|
30
|
-
export interface TransformConfiguration extends ExcludeFunctionProperties<GameObjects.Components.Transform> {}
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region src/models/configuration/components/VisibleConfiguration.d.ts
|
|
33
|
-
export interface VisibleConfiguration extends ExcludeFunctionProperties<GameObjects.Components.Visible> {}
|
|
34
|
-
//#endregion
|
|
35
|
-
//#region src/models/configuration/global/GameObjectConfiguration.d.ts
|
|
36
|
-
export interface GameObjectConfiguration extends Pick<GameObjects.GameObject, "active"> {}
|
|
37
|
-
//#endregion
|
|
38
4
|
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/primitive.d.ts
|
|
39
5
|
/**
|
|
40
6
|
Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
|
|
@@ -1394,6 +1360,65 @@ type _IsStringLiteral<S> =
|
|
|
1394
1360
|
// and since `{}` extends index signatures, the result becomes `false`.
|
|
1395
1361
|
S extends string ? {} extends Record<S, never> ? false : true : false;
|
|
1396
1362
|
//#endregion
|
|
1363
|
+
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-null.d.ts
|
|
1364
|
+
/**
|
|
1365
|
+
Returns a boolean for whether the given type is `null`.
|
|
1366
|
+
|
|
1367
|
+
@example
|
|
1368
|
+
```
|
|
1369
|
+
import type {IsNull} from 'type-fest';
|
|
1370
|
+
|
|
1371
|
+
type NonNullFallback<T, Fallback> = IsNull<T> extends true ? Fallback : T;
|
|
1372
|
+
|
|
1373
|
+
type Example1 = NonNullFallback<null, string>;
|
|
1374
|
+
//=> string
|
|
1375
|
+
|
|
1376
|
+
type Example2 = NonNullFallback<number, string>;
|
|
1377
|
+
//=> number
|
|
1378
|
+
```
|
|
1379
|
+
|
|
1380
|
+
@category Type Guard
|
|
1381
|
+
@category Utilities
|
|
1382
|
+
*/
|
|
1383
|
+
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
|
+
/**
|
|
1387
|
+
Returns a boolean for whether the given type is `unknown`.
|
|
1388
|
+
|
|
1389
|
+
@link https://github.com/dsherret/conditional-type-checks/pull/16
|
|
1390
|
+
|
|
1391
|
+
Useful in type utilities, such as when dealing with unknown data from API calls.
|
|
1392
|
+
|
|
1393
|
+
@example
|
|
1394
|
+
```
|
|
1395
|
+
import type {IsUnknown} from 'type-fest';
|
|
1396
|
+
|
|
1397
|
+
type A = IsUnknown<unknown>;
|
|
1398
|
+
//=> true
|
|
1399
|
+
|
|
1400
|
+
type B = IsUnknown<any>;
|
|
1401
|
+
//=> false
|
|
1402
|
+
|
|
1403
|
+
type C = IsUnknown<never>;
|
|
1404
|
+
//=> false
|
|
1405
|
+
|
|
1406
|
+
type D = IsUnknown<unknown[]>;
|
|
1407
|
+
//=> false
|
|
1408
|
+
|
|
1409
|
+
type E = IsUnknown<object>;
|
|
1410
|
+
//=> false
|
|
1411
|
+
|
|
1412
|
+
type F = IsUnknown<string>;
|
|
1413
|
+
//=> false
|
|
1414
|
+
```
|
|
1415
|
+
|
|
1416
|
+
@category Utilities
|
|
1417
|
+
*/
|
|
1418
|
+
type IsUnknown<T> = (unknown extends T // `T` can be `unknown` or `any`
|
|
1419
|
+
? IsNull<T> extends false // `any` can be `null`, but `unknown` can't be
|
|
1420
|
+
? true : false : false);
|
|
1421
|
+
//#endregion
|
|
1397
1422
|
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/all-extend.d.ts
|
|
1398
1423
|
/**
|
|
1399
1424
|
@see {@link AllExtend}
|
|
@@ -1497,6 +1522,160 @@ type _AllExtend<TArray extends UnknownArray, Type, Options extends Required<AllE
|
|
|
1497
1522
|
// If target `Type` is also `never`, or is `any`, or `strictNever` is disabled, recurse further.
|
|
1498
1523
|
_AllExtend<Rest, Type, Options> : false : First extends Type ? _AllExtend<Rest, Type, Options> : false : true;
|
|
1499
1524
|
//#endregion
|
|
1525
|
+
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/and-all.d.ts
|
|
1526
|
+
/**
|
|
1527
|
+
Returns a boolean for whether all of the given elements are `true`.
|
|
1528
|
+
|
|
1529
|
+
Use-cases:
|
|
1530
|
+
- Check if all conditions in a list of booleans are met.
|
|
1531
|
+
|
|
1532
|
+
@example
|
|
1533
|
+
```
|
|
1534
|
+
import type {AndAll} from 'type-fest';
|
|
1535
|
+
|
|
1536
|
+
type TTT = AndAll<[true, true, true]>;
|
|
1537
|
+
//=> true
|
|
1538
|
+
|
|
1539
|
+
type TTF = AndAll<[true, true, false]>;
|
|
1540
|
+
//=> false
|
|
1541
|
+
|
|
1542
|
+
type TFT = AndAll<[true, false, true]>;
|
|
1543
|
+
//=> false
|
|
1544
|
+
```
|
|
1545
|
+
|
|
1546
|
+
Note: When `boolean` is passed as an element, it is distributed into separate cases, and the final result is a union of those cases.
|
|
1547
|
+
For example, `AndAll<[true, boolean]>` expands to `AndAll<[true, true]> | AndAll<[true, false]>`, which simplifies to `true | false` (i.e., `boolean`).
|
|
1548
|
+
|
|
1549
|
+
@example
|
|
1550
|
+
```
|
|
1551
|
+
import type {AndAll} from 'type-fest';
|
|
1552
|
+
|
|
1553
|
+
type A = AndAll<[true, boolean]>;
|
|
1554
|
+
//=> boolean
|
|
1555
|
+
|
|
1556
|
+
type B = AndAll<[false, boolean]>;
|
|
1557
|
+
//=> false
|
|
1558
|
+
```
|
|
1559
|
+
|
|
1560
|
+
Note: If any of the elements is `never`, the result becomes `false`.
|
|
1561
|
+
|
|
1562
|
+
@example
|
|
1563
|
+
```
|
|
1564
|
+
import type {AndAll} from 'type-fest';
|
|
1565
|
+
|
|
1566
|
+
type A = AndAll<[true, true, never]>;
|
|
1567
|
+
//=> false
|
|
1568
|
+
|
|
1569
|
+
type B = AndAll<[false, never, never]>;
|
|
1570
|
+
//=> false
|
|
1571
|
+
|
|
1572
|
+
type C = AndAll<[never, never, never]>;
|
|
1573
|
+
//=> false
|
|
1574
|
+
|
|
1575
|
+
type D = AndAll<[boolean, true, never]>;
|
|
1576
|
+
//=> false
|
|
1577
|
+
```
|
|
1578
|
+
|
|
1579
|
+
Note: If `any` is passed as an element, it is treated as `boolean` and the result is computed accordingly.
|
|
1580
|
+
|
|
1581
|
+
@example
|
|
1582
|
+
```
|
|
1583
|
+
import type {AndAll} from 'type-fest';
|
|
1584
|
+
|
|
1585
|
+
type A = AndAll<[false, any]>;
|
|
1586
|
+
//=> false
|
|
1587
|
+
|
|
1588
|
+
type B = AndAll<[true, any]>;
|
|
1589
|
+
//=> boolean
|
|
1590
|
+
```
|
|
1591
|
+
|
|
1592
|
+
Note: `AndAll<[]>` evaluates to `true` due to the concept of [vacuous truth](https://en.wikipedia.org/wiki/Logical_conjunction#:~:text=In%20keeping%20with%20the%20concept%20of%20vacuous%20truth%2C%20when%20conjunction%20is%20defined%20as%20an%20operator%20or%20function%20of%20arbitrary%20arity%2C%20the%20empty%20conjunction%20(AND%2Ding%20over%20an%20empty%20set%20of%20operands)%20is%20often%20defined%20as%20having%20the%20result%20true.), i.e., there are no `false` elements in an empty tuple.
|
|
1593
|
+
|
|
1594
|
+
@see {@link And}
|
|
1595
|
+
@see {@link OrAll}
|
|
1596
|
+
*/
|
|
1597
|
+
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
|
+
/**
|
|
1601
|
+
Returns a boolean for whether two given types are both `true`.
|
|
1602
|
+
|
|
1603
|
+
Use-case: Constructing complex conditional types where multiple conditions must be satisfied.
|
|
1604
|
+
|
|
1605
|
+
@example
|
|
1606
|
+
```
|
|
1607
|
+
import type {And} from 'type-fest';
|
|
1608
|
+
|
|
1609
|
+
type TT = And<true, true>;
|
|
1610
|
+
//=> true
|
|
1611
|
+
|
|
1612
|
+
type TF = And<true, false>;
|
|
1613
|
+
//=> false
|
|
1614
|
+
|
|
1615
|
+
type FT = And<false, true>;
|
|
1616
|
+
//=> false
|
|
1617
|
+
|
|
1618
|
+
type FF = And<false, false>;
|
|
1619
|
+
//=> false
|
|
1620
|
+
```
|
|
1621
|
+
|
|
1622
|
+
Note: When `boolean` is passed as an argument, it is distributed into separate cases, and the final result is a union of those cases.
|
|
1623
|
+
For example, `And<true, boolean>` expands to `And<true, true> | And<true, false>`, which simplifies to `true | false` (i.e., `boolean`).
|
|
1624
|
+
|
|
1625
|
+
@example
|
|
1626
|
+
```
|
|
1627
|
+
import type {And} from 'type-fest';
|
|
1628
|
+
|
|
1629
|
+
type A = And<true, boolean>;
|
|
1630
|
+
//=> boolean
|
|
1631
|
+
|
|
1632
|
+
type B = And<boolean, true>;
|
|
1633
|
+
//=> boolean
|
|
1634
|
+
|
|
1635
|
+
type C = And<false, boolean>;
|
|
1636
|
+
//=> false
|
|
1637
|
+
|
|
1638
|
+
type D = And<boolean, false>;
|
|
1639
|
+
//=> false
|
|
1640
|
+
|
|
1641
|
+
type E = And<boolean, boolean>;
|
|
1642
|
+
//=> boolean
|
|
1643
|
+
```
|
|
1644
|
+
|
|
1645
|
+
Note: If either of the types is `never`, the result becomes `false`.
|
|
1646
|
+
|
|
1647
|
+
@example
|
|
1648
|
+
```
|
|
1649
|
+
import type {And} from 'type-fest';
|
|
1650
|
+
|
|
1651
|
+
type A = And<true, never>;
|
|
1652
|
+
//=> false
|
|
1653
|
+
|
|
1654
|
+
type B = And<never, true>;
|
|
1655
|
+
//=> false
|
|
1656
|
+
|
|
1657
|
+
type C = And<false, never>;
|
|
1658
|
+
//=> false
|
|
1659
|
+
|
|
1660
|
+
type D = And<never, false>;
|
|
1661
|
+
//=> false
|
|
1662
|
+
|
|
1663
|
+
type E = And<boolean, never>;
|
|
1664
|
+
//=> false
|
|
1665
|
+
|
|
1666
|
+
type F = And<never, boolean>;
|
|
1667
|
+
//=> false
|
|
1668
|
+
|
|
1669
|
+
type G = And<never, never>;
|
|
1670
|
+
//=> false
|
|
1671
|
+
```
|
|
1672
|
+
|
|
1673
|
+
@see {@link AndAll}
|
|
1674
|
+
@see {@link Or}
|
|
1675
|
+
@see {@link Xor}
|
|
1676
|
+
*/
|
|
1677
|
+
type And<A extends boolean, B extends boolean> = AndAll<[A, B]>;
|
|
1678
|
+
//#endregion
|
|
1500
1679
|
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/except.d.ts
|
|
1501
1680
|
/**
|
|
1502
1681
|
Filter out keys from an object.
|
|
@@ -1646,101 +1825,426 @@ type SetArrayRequired<TArray extends UnknownArray, Keys, Counter extends any[] =
|
|
|
1646
1825
|
// `TArray` contains no non-rest elements preceding the rest element (e.g., `[...string[]]` or `[...string[], string]`).
|
|
1647
1826
|
[...Accumulator, ...TArray] : never; // Should never happen
|
|
1648
1827
|
//#endregion
|
|
1649
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/
|
|
1650
|
-
|
|
1651
|
-
Returns a boolean for whether the given string literal is lowercase.
|
|
1652
|
-
|
|
1653
|
-
@example
|
|
1654
|
-
```
|
|
1655
|
-
import type {IsLowercase} from 'type-fest';
|
|
1656
|
-
|
|
1657
|
-
type A = IsLowercase<'abc'>;
|
|
1658
|
-
//=> true
|
|
1659
|
-
|
|
1660
|
-
type B = IsLowercase<'Abc'>;
|
|
1661
|
-
//=> false
|
|
1662
|
-
|
|
1663
|
-
type C = IsLowercase<string>;
|
|
1664
|
-
//=> boolean
|
|
1665
|
-
```
|
|
1666
|
-
*/
|
|
1667
|
-
type IsLowercase<S extends string> = AllExtend<_IsLowercase<S>, true>;
|
|
1668
|
-
/**
|
|
1669
|
-
Loops through each part in the string and returns a boolean array indicating whether each part is lowercase.
|
|
1670
|
-
*/
|
|
1671
|
-
type _IsLowercase<S extends string, Accumulator extends boolean[] = []> = S extends `${infer First}${infer Rest}` ? _IsLowercase<Rest, [...Accumulator, IsLowercaseHelper<First>]> : [...Accumulator, IsLowercaseHelper<S>];
|
|
1672
|
-
/**
|
|
1673
|
-
Returns a boolean for whether an individual part of the string is lowercase.
|
|
1674
|
-
*/
|
|
1675
|
-
type IsLowercaseHelper<S extends string> = S extends Lowercase<string> ? true : S extends Uppercase<string> | Capitalize<string> | `${string}${Uppercase<string>}${string}` ? false : boolean;
|
|
1676
|
-
//#endregion
|
|
1677
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-uppercase.d.ts
|
|
1678
|
-
/**
|
|
1679
|
-
Returns a boolean for whether the given string literal is uppercase.
|
|
1680
|
-
|
|
1681
|
-
@example
|
|
1682
|
-
```
|
|
1683
|
-
import type {IsUppercase} from 'type-fest';
|
|
1684
|
-
|
|
1685
|
-
type A = IsUppercase<'ABC'>;
|
|
1686
|
-
//=> true
|
|
1687
|
-
|
|
1688
|
-
type B = IsUppercase<'Abc'>;
|
|
1689
|
-
//=> false
|
|
1690
|
-
|
|
1691
|
-
type C = IsUppercase<string>;
|
|
1692
|
-
//=> boolean
|
|
1693
|
-
```
|
|
1694
|
-
*/
|
|
1695
|
-
type IsUppercase<S extends string> = AllExtend<_IsUppercase<S>, true>;
|
|
1696
|
-
/**
|
|
1697
|
-
Loops through each part in the string and returns a boolean array indicating whether each part is uppercase.
|
|
1698
|
-
*/
|
|
1699
|
-
type _IsUppercase<S extends string, Accumulator extends boolean[] = []> = S extends `${infer First}${infer Rest}` ? _IsUppercase<Rest, [...Accumulator, IsUppercaseHelper<First>]> : [...Accumulator, IsUppercaseHelper<S>];
|
|
1700
|
-
/**
|
|
1701
|
-
Returns a boolean for whether an individual part of the string is uppercase.
|
|
1702
|
-
*/
|
|
1703
|
-
type IsUppercaseHelper<S extends string> = S extends Uppercase<string> ? true : S extends Lowercase<string> | Uncapitalize<string> | `${string}${Lowercase<string>}${string}` ? false : boolean;
|
|
1704
|
-
//#endregion
|
|
1705
|
-
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/words.d.ts
|
|
1706
|
-
type SkipEmptyWord<Word extends string> = Word extends '' ? [] : [Word];
|
|
1707
|
-
type RemoveLastCharacter<Sentence extends string, Character extends string> = Sentence extends `${infer LeftSide}${Character}` ? SkipEmptyWord<LeftSide> : never;
|
|
1708
|
-
/**
|
|
1709
|
-
Words options.
|
|
1710
|
-
|
|
1711
|
-
@see {@link Words}
|
|
1712
|
-
*/
|
|
1713
|
-
type WordsOptions = {
|
|
1828
|
+
//#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/extends-strict.d.ts
|
|
1829
|
+
type ExtendsStrictOptions = {
|
|
1714
1830
|
/**
|
|
1715
|
-
|
|
1831
|
+
Whether to distribute over unions.
|
|
1716
1832
|
|
|
1717
|
-
@default
|
|
1833
|
+
@default false
|
|
1718
1834
|
|
|
1719
1835
|
@example
|
|
1720
1836
|
```
|
|
1721
|
-
import type {
|
|
1837
|
+
import type {ExtendsStrict} from 'type-fest';
|
|
1722
1838
|
|
|
1723
|
-
type
|
|
1724
|
-
//=>
|
|
1839
|
+
type T1 = ExtendsStrict<string | number, string, {distributiveUnions: true}>;
|
|
1840
|
+
//=> boolean
|
|
1725
1841
|
|
|
1726
|
-
type
|
|
1727
|
-
//=>
|
|
1842
|
+
type T2 = ExtendsStrict<string | number, string, {distributiveUnions: false}>;
|
|
1843
|
+
//=> false
|
|
1728
1844
|
```
|
|
1729
1845
|
*/
|
|
1730
|
-
|
|
1846
|
+
distributiveUnions?: boolean;
|
|
1731
1847
|
/**
|
|
1732
|
-
|
|
1848
|
+
Whether `never` extends every other type.
|
|
1849
|
+
|
|
1850
|
+
When enabled, `never` is not treated as a bottom type and only extends itself (or `any` / `unknown`).
|
|
1851
|
+
|
|
1852
|
+
@default true
|
|
1733
1853
|
|
|
1734
1854
|
@example
|
|
1735
1855
|
```
|
|
1736
|
-
import type {
|
|
1856
|
+
import type {ExtendsStrict} from 'type-fest';
|
|
1737
1857
|
|
|
1738
|
-
type
|
|
1739
|
-
//=>
|
|
1858
|
+
type T1 = ExtendsStrict<never, number, {strictNever: true}>;
|
|
1859
|
+
//=> false
|
|
1740
1860
|
|
|
1741
|
-
type
|
|
1742
|
-
//=>
|
|
1743
|
-
|
|
1861
|
+
type T2 = ExtendsStrict<never, number, {strictNever: false}>;
|
|
1862
|
+
//=> true
|
|
1863
|
+
|
|
1864
|
+
type T3 = ExtendsStrict<never, never, {strictNever: true}>;
|
|
1865
|
+
//=> true
|
|
1866
|
+
|
|
1867
|
+
type T4 = ExtendsStrict<never, any, {strictNever: true}>;
|
|
1868
|
+
//=> true
|
|
1869
|
+
|
|
1870
|
+
type T5 = ExtendsStrict<never, unknown, {strictNever: true}>;
|
|
1871
|
+
//=> true
|
|
1872
|
+
```
|
|
1873
|
+
|
|
1874
|
+
Note: This option only has an effect when checking assignability from `never` (`ExtendsStrict<never, ...>`), and not when checking assignability to `never` (`ExtendsStrict<..., never>`).
|
|
1875
|
+
*/
|
|
1876
|
+
strictNever?: boolean;
|
|
1877
|
+
/**
|
|
1878
|
+
Whether `any` extends every other type.
|
|
1879
|
+
|
|
1880
|
+
When enabled, `any` does not extend every other type, it only extends itself (or `unknown`).
|
|
1881
|
+
|
|
1882
|
+
@default false
|
|
1883
|
+
|
|
1884
|
+
@example
|
|
1885
|
+
```
|
|
1886
|
+
import type {ExtendsStrict} from 'type-fest';
|
|
1887
|
+
|
|
1888
|
+
type T1 = ExtendsStrict<any, number, {strictAny: true}>;
|
|
1889
|
+
//=> false
|
|
1890
|
+
|
|
1891
|
+
type T2 = ExtendsStrict<any, number, {strictAny: false; distributiveUnions: false}>;
|
|
1892
|
+
//=> true
|
|
1893
|
+
|
|
1894
|
+
type T3 = ExtendsStrict<any, any, {strictAny: true}>;
|
|
1895
|
+
//=> true
|
|
1896
|
+
|
|
1897
|
+
type T4 = ExtendsStrict<any, unknown, {strictAny: true}>;
|
|
1898
|
+
//=> true
|
|
1899
|
+
```
|
|
1900
|
+
|
|
1901
|
+
Note: If `strictAny` is `false` and `distributiveUnions` is `true`, then `any` would distribute and the result would be the `boolean` type, except when checking assignability to `any` or `unknown`.
|
|
1902
|
+
|
|
1903
|
+
@example
|
|
1904
|
+
```
|
|
1905
|
+
import type {ExtendsStrict} from 'type-fest';
|
|
1906
|
+
|
|
1907
|
+
type T1 = ExtendsStrict<any, number, {strictAny: false; distributiveUnions: true}>;
|
|
1908
|
+
//=> boolean
|
|
1909
|
+
|
|
1910
|
+
type T2 = ExtendsStrict<any, any, {strictAny: false; distributiveUnions: true}>;
|
|
1911
|
+
//=> true
|
|
1912
|
+
|
|
1913
|
+
type T3 = ExtendsStrict<any, unknown, {strictAny: false; distributiveUnions: true}>;
|
|
1914
|
+
//=> true
|
|
1915
|
+
```
|
|
1916
|
+
|
|
1917
|
+
Note: This option only has an effect when checking assignability from `any` (`ExtendsStrict<any, ...>`), and not when checking assignability to `any` (`ExtendsStrict<..., any>`).
|
|
1918
|
+
*/
|
|
1919
|
+
strictAny?: boolean;
|
|
1920
|
+
};
|
|
1921
|
+
type DefaultExtendsStrictOptions = {
|
|
1922
|
+
distributiveUnions: false;
|
|
1923
|
+
strictNever: true;
|
|
1924
|
+
strictAny: false;
|
|
1925
|
+
};
|
|
1926
|
+
/**
|
|
1927
|
+
A customizable version of `extends` for checking whether one type is assignable to another.
|
|
1928
|
+
|
|
1929
|
+
Refer {@link ExtendsStrictOptions} for the different ways you can customize the behavior of this type.
|
|
1930
|
+
|
|
1931
|
+
@example
|
|
1932
|
+
```
|
|
1933
|
+
import type {ExtendsStrict} from 'type-fest';
|
|
1934
|
+
|
|
1935
|
+
type T1 = ExtendsStrict<number | string, string, {distributiveUnions: false}>;
|
|
1936
|
+
//=> false
|
|
1937
|
+
|
|
1938
|
+
type T2 = ExtendsStrict<never, number, {strictNever: true}>;
|
|
1939
|
+
//=> false
|
|
1940
|
+
|
|
1941
|
+
type T3 = ExtendsStrict<any, number, {strictAny: true}>;
|
|
1942
|
+
//=> false
|
|
1943
|
+
```
|
|
1944
|
+
|
|
1945
|
+
@see {@link ExtendsStrictOptions}
|
|
1946
|
+
|
|
1947
|
+
@category Improved Built-in
|
|
1948
|
+
*/
|
|
1949
|
+
type ExtendsStrict<Left, Right, Options extends ExtendsStrictOptions = {}> = _ExtendsStrict<Left, Right, ApplyDefaultOptions<ExtendsStrictOptions, DefaultExtendsStrictOptions, Options>>;
|
|
1950
|
+
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
|
+
/**
|
|
1954
|
+
@see {@link IsTuple}
|
|
1955
|
+
*/
|
|
1956
|
+
type IsTupleOptions = {
|
|
1957
|
+
/**
|
|
1958
|
+
Consider only fixed length arrays as tuples.
|
|
1959
|
+
|
|
1960
|
+
- When set to `true` (default), arrays with rest elements (e.g., `[1, ...number[]]`) are _not_ considered as tuples.
|
|
1961
|
+
- When set to `false`, arrays with at least one non-rest element (e.g., `[1, ...number[]]`) are considered as tuples.
|
|
1962
|
+
|
|
1963
|
+
@default true
|
|
1964
|
+
|
|
1965
|
+
@example
|
|
1966
|
+
```ts
|
|
1967
|
+
import type {IsTuple} from 'type-fest';
|
|
1968
|
+
|
|
1969
|
+
type Example1 = IsTuple<[number, ...number[]], {fixedLengthOnly: true}>;
|
|
1970
|
+
//=> false
|
|
1971
|
+
|
|
1972
|
+
type Example2 = IsTuple<[number, ...number[]], {fixedLengthOnly: false}>;
|
|
1973
|
+
//=> true
|
|
1974
|
+
```
|
|
1975
|
+
*/
|
|
1976
|
+
fixedLengthOnly?: boolean;
|
|
1977
|
+
};
|
|
1978
|
+
type DefaultIsTupleOptions = {
|
|
1979
|
+
fixedLengthOnly: true;
|
|
1980
|
+
};
|
|
1981
|
+
/**
|
|
1982
|
+
Returns a boolean for whether the given array is a tuple.
|
|
1983
|
+
|
|
1984
|
+
Use-case:
|
|
1985
|
+
- If you want to make a conditional branch based on the result of whether an array is a tuple or not.
|
|
1986
|
+
|
|
1987
|
+
Note: `IsTuple` returns `boolean` when instantiated with a union of tuple and non-tuple (e.g., `IsTuple<[1, 2] | number[]>`).
|
|
1988
|
+
|
|
1989
|
+
@example
|
|
1990
|
+
```ts
|
|
1991
|
+
import type {IsTuple} from 'type-fest';
|
|
1992
|
+
|
|
1993
|
+
type Tuple = IsTuple<[1, 2, 3]>;
|
|
1994
|
+
//=> true
|
|
1995
|
+
|
|
1996
|
+
type NotTuple = IsTuple<number[]>;
|
|
1997
|
+
//=> false
|
|
1998
|
+
|
|
1999
|
+
type TupleWithOptionalItems = IsTuple<[1?, 2?]>;
|
|
2000
|
+
//=> true
|
|
2001
|
+
|
|
2002
|
+
type RestItemsNotAllowed = IsTuple<[1, 2, ...number[]]>;
|
|
2003
|
+
//=> false
|
|
2004
|
+
|
|
2005
|
+
type RestItemsAllowed = IsTuple<[1, 2, ...number[]], {fixedLengthOnly: false}>;
|
|
2006
|
+
//=> true
|
|
2007
|
+
```
|
|
2008
|
+
|
|
2009
|
+
@see {@link IsTupleOptions}
|
|
2010
|
+
|
|
2011
|
+
@category Type Guard
|
|
2012
|
+
@category Utilities
|
|
2013
|
+
*/
|
|
2014
|
+
type IsTuple<TArray extends UnknownArray, Options extends IsTupleOptions = {}> = _IsTuple<TArray, ApplyDefaultOptions<IsTupleOptions, DefaultIsTupleOptions, Options>>;
|
|
2015
|
+
type _IsTuple<TArray extends UnknownArray, Options extends Required<IsTupleOptions>> = If<IsAny<TArray>, boolean, If<IsNever<TArray>, false, TArray extends unknown // For distributing `TArray`
|
|
2016
|
+
? 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
|
+
: 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
|
+
/**
|
|
2021
|
+
Transforms a tuple into an object, mapping each tuple index to its corresponding type as a key-value pair.
|
|
2022
|
+
|
|
2023
|
+
Note: Tuple labels are [lost in the transformation process](https://stackoverflow.com/a/70398429/11719314). For example, `TupleToObject<[x: number, y: number]>` produces `{0: number; 1: number}`, and not `{x: number; y: number}`.
|
|
2024
|
+
|
|
2025
|
+
@example
|
|
2026
|
+
```
|
|
2027
|
+
import type {TupleToObject} from 'type-fest';
|
|
2028
|
+
|
|
2029
|
+
type Example1 = TupleToObject<[number, string, boolean]>;
|
|
2030
|
+
//=> {0: number; 1: string; 2: boolean}
|
|
2031
|
+
|
|
2032
|
+
// Tuples with optional indices
|
|
2033
|
+
type Example2 = TupleToObject<[number, string?, boolean?]>;
|
|
2034
|
+
//=> {0: number; 1?: string; 2?: boolean}
|
|
2035
|
+
|
|
2036
|
+
// Readonly tuples
|
|
2037
|
+
type Example3 = TupleToObject<readonly [number, string?]>;
|
|
2038
|
+
//=> {readonly 0: number; readonly 1?: string}
|
|
2039
|
+
|
|
2040
|
+
// Non-tuple arrays get transformed into index signatures
|
|
2041
|
+
type Example4 = TupleToObject<string[]>;
|
|
2042
|
+
//=> {[x: number]: string}
|
|
2043
|
+
|
|
2044
|
+
// Tuples with rest elements
|
|
2045
|
+
type Example5 = TupleToObject<[number, string, ...boolean[]]>;
|
|
2046
|
+
//=> {[x: number]: string | number | boolean; 0: number; 1: string}
|
|
2047
|
+
|
|
2048
|
+
// Tuple labels are not preserved
|
|
2049
|
+
type Example6 = TupleToObject<[x: number, y: number]>;
|
|
2050
|
+
//=> {0: number; 1: number}
|
|
2051
|
+
```
|
|
2052
|
+
|
|
2053
|
+
@category Array
|
|
2054
|
+
*/
|
|
2055
|
+
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
|
+
/**
|
|
2059
|
+
Extract the keys from a type where the value type of the key extends the given `Condition`.
|
|
2060
|
+
|
|
2061
|
+
Internally this is used for the `ConditionalPick` and `ConditionalExcept` types.
|
|
2062
|
+
|
|
2063
|
+
@example
|
|
2064
|
+
```
|
|
2065
|
+
import type {ConditionalKeys} from 'type-fest';
|
|
2066
|
+
|
|
2067
|
+
type Example = {
|
|
2068
|
+
a: string;
|
|
2069
|
+
b: string | number;
|
|
2070
|
+
c?: string;
|
|
2071
|
+
d: {};
|
|
2072
|
+
};
|
|
2073
|
+
|
|
2074
|
+
type StringKeysOnly = ConditionalKeys<Example, string>;
|
|
2075
|
+
//=> 'a'
|
|
2076
|
+
```
|
|
2077
|
+
|
|
2078
|
+
Note: To extract optional keys, make sure your `Condition` is a union of `undefined` (for example, `string | undefined`) as demonstrated below.
|
|
2079
|
+
|
|
2080
|
+
@example
|
|
2081
|
+
```
|
|
2082
|
+
import type {ConditionalKeys} from 'type-fest';
|
|
2083
|
+
|
|
2084
|
+
type StringKeysAndUndefined = ConditionalKeys<{a?: string}, string | undefined>;
|
|
2085
|
+
//=> 'a'
|
|
2086
|
+
|
|
2087
|
+
type NoMatchingKeys = ConditionalKeys<{a?: string}, string>;
|
|
2088
|
+
//=> never
|
|
2089
|
+
```
|
|
2090
|
+
|
|
2091
|
+
You can also extract array indices whose value match the specified condition, as shown below:
|
|
2092
|
+
```
|
|
2093
|
+
import type {ConditionalKeys} from 'type-fest';
|
|
2094
|
+
|
|
2095
|
+
type StringValueIndices = ConditionalKeys<[string, number, string], string>;
|
|
2096
|
+
//=> '0' | '2'
|
|
2097
|
+
|
|
2098
|
+
type NumberValueIndices = ConditionalKeys<[string, number?, string?], number | undefined>;
|
|
2099
|
+
//=> '1'
|
|
2100
|
+
```
|
|
2101
|
+
|
|
2102
|
+
@category Object
|
|
2103
|
+
*/
|
|
2104
|
+
type ConditionalKeys<Base, Condition> = (Base extends UnknownArray ? TupleToObject<Base> : Base) extends (infer _Base // Remove non-numeric keys from arrays
|
|
2105
|
+
) ? IfNotAnyOrNever<_Base, {
|
|
2106
|
+
ifNot: _ConditionalKeys<_Base, Condition>;
|
|
2107
|
+
ifAny: keyof _Base;
|
|
2108
|
+
}> : never;
|
|
2109
|
+
type _ConditionalKeys<Base, Condition> = keyof { [Key in (keyof Base & {}) // `& {}` prevents homomorphism
|
|
2110
|
+
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
|
+
/**
|
|
2114
|
+
Exclude keys from a shape that matches the given `Condition`.
|
|
2115
|
+
|
|
2116
|
+
This is useful when you want to create a new type with a specific set of keys from a shape. For example, you might want to exclude all the primitive properties from a class and form a new shape containing everything but the primitive properties.
|
|
2117
|
+
|
|
2118
|
+
@example
|
|
2119
|
+
```
|
|
2120
|
+
import type {Primitive, ConditionalExcept} from 'type-fest';
|
|
2121
|
+
|
|
2122
|
+
class Awesome {
|
|
2123
|
+
constructor(public name: string, public successes: number, public failures: bigint) {}
|
|
2124
|
+
|
|
2125
|
+
run() {
|
|
2126
|
+
// do something
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
type ExceptPrimitivesFromAwesome = ConditionalExcept<Awesome, Primitive>;
|
|
2131
|
+
//=> {run: () => void}
|
|
2132
|
+
```
|
|
2133
|
+
|
|
2134
|
+
@example
|
|
2135
|
+
```
|
|
2136
|
+
import type {ConditionalExcept} from 'type-fest';
|
|
2137
|
+
|
|
2138
|
+
type Example = {
|
|
2139
|
+
a: string;
|
|
2140
|
+
b: string | number;
|
|
2141
|
+
c: () => void;
|
|
2142
|
+
d: {};
|
|
2143
|
+
};
|
|
2144
|
+
|
|
2145
|
+
type NonStringKeysOnly = ConditionalExcept<Example, string>;
|
|
2146
|
+
//=> {b: string | number; c: () => void; d: {}}
|
|
2147
|
+
```
|
|
2148
|
+
|
|
2149
|
+
@category Object
|
|
2150
|
+
*/
|
|
2151
|
+
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
|
+
/**
|
|
2155
|
+
Returns a boolean for whether the given string literal is lowercase.
|
|
2156
|
+
|
|
2157
|
+
@example
|
|
2158
|
+
```
|
|
2159
|
+
import type {IsLowercase} from 'type-fest';
|
|
2160
|
+
|
|
2161
|
+
type A = IsLowercase<'abc'>;
|
|
2162
|
+
//=> true
|
|
2163
|
+
|
|
2164
|
+
type B = IsLowercase<'Abc'>;
|
|
2165
|
+
//=> false
|
|
2166
|
+
|
|
2167
|
+
type C = IsLowercase<string>;
|
|
2168
|
+
//=> boolean
|
|
2169
|
+
```
|
|
2170
|
+
*/
|
|
2171
|
+
type IsLowercase<S extends string> = AllExtend<_IsLowercase<S>, true>;
|
|
2172
|
+
/**
|
|
2173
|
+
Loops through each part in the string and returns a boolean array indicating whether each part is lowercase.
|
|
2174
|
+
*/
|
|
2175
|
+
type _IsLowercase<S extends string, Accumulator extends boolean[] = []> = S extends `${infer First}${infer Rest}` ? _IsLowercase<Rest, [...Accumulator, IsLowercaseHelper<First>]> : [...Accumulator, IsLowercaseHelper<S>];
|
|
2176
|
+
/**
|
|
2177
|
+
Returns a boolean for whether an individual part of the string is lowercase.
|
|
2178
|
+
*/
|
|
2179
|
+
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
|
+
/**
|
|
2183
|
+
Returns a boolean for whether the given string literal is uppercase.
|
|
2184
|
+
|
|
2185
|
+
@example
|
|
2186
|
+
```
|
|
2187
|
+
import type {IsUppercase} from 'type-fest';
|
|
2188
|
+
|
|
2189
|
+
type A = IsUppercase<'ABC'>;
|
|
2190
|
+
//=> true
|
|
2191
|
+
|
|
2192
|
+
type B = IsUppercase<'Abc'>;
|
|
2193
|
+
//=> false
|
|
2194
|
+
|
|
2195
|
+
type C = IsUppercase<string>;
|
|
2196
|
+
//=> boolean
|
|
2197
|
+
```
|
|
2198
|
+
*/
|
|
2199
|
+
type IsUppercase<S extends string> = AllExtend<_IsUppercase<S>, true>;
|
|
2200
|
+
/**
|
|
2201
|
+
Loops through each part in the string and returns a boolean array indicating whether each part is uppercase.
|
|
2202
|
+
*/
|
|
2203
|
+
type _IsUppercase<S extends string, Accumulator extends boolean[] = []> = S extends `${infer First}${infer Rest}` ? _IsUppercase<Rest, [...Accumulator, IsUppercaseHelper<First>]> : [...Accumulator, IsUppercaseHelper<S>];
|
|
2204
|
+
/**
|
|
2205
|
+
Returns a boolean for whether an individual part of the string is uppercase.
|
|
2206
|
+
*/
|
|
2207
|
+
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
|
+
type SkipEmptyWord<Word extends string> = Word extends '' ? [] : [Word];
|
|
2211
|
+
type RemoveLastCharacter<Sentence extends string, Character extends string> = Sentence extends `${infer LeftSide}${Character}` ? SkipEmptyWord<LeftSide> : never;
|
|
2212
|
+
/**
|
|
2213
|
+
Words options.
|
|
2214
|
+
|
|
2215
|
+
@see {@link Words}
|
|
2216
|
+
*/
|
|
2217
|
+
type WordsOptions = {
|
|
2218
|
+
/**
|
|
2219
|
+
Split on numeric sequence.
|
|
2220
|
+
|
|
2221
|
+
@default true
|
|
2222
|
+
|
|
2223
|
+
@example
|
|
2224
|
+
```
|
|
2225
|
+
import type {Words} from 'type-fest';
|
|
2226
|
+
|
|
2227
|
+
type Example1 = Words<'p2pNetwork', {splitOnNumbers: true}>;
|
|
2228
|
+
//=> ['p', '2', 'p', 'Network']
|
|
2229
|
+
|
|
2230
|
+
type Example2 = Words<'p2pNetwork', {splitOnNumbers: false}>;
|
|
2231
|
+
//=> ['p2p', 'Network']
|
|
2232
|
+
```
|
|
2233
|
+
*/
|
|
2234
|
+
splitOnNumbers?: boolean;
|
|
2235
|
+
/**
|
|
2236
|
+
Split on {@link AsciiPunctuation | punctuation characters} (e.g., `#`, `&`, `*`, `:`, `?`, `@`, `~`).
|
|
2237
|
+
|
|
2238
|
+
@example
|
|
2239
|
+
```
|
|
2240
|
+
import type {Words} from 'type-fest';
|
|
2241
|
+
|
|
2242
|
+
type Example1 = Words<'hello:world', {splitOnPunctuation: true}>;
|
|
2243
|
+
//=> ['hello', 'world']
|
|
2244
|
+
|
|
2245
|
+
type Example2 = Words<'hello:world', {splitOnPunctuation: false}>;
|
|
2246
|
+
//=> ['hello', ':world']
|
|
2247
|
+
```
|
|
1744
2248
|
*/
|
|
1745
2249
|
splitOnPunctuation?: boolean;
|
|
1746
2250
|
};
|
|
@@ -1909,6 +2413,40 @@ const rawCliOptions: KebabCasedProperties<CliOptions> = {
|
|
|
1909
2413
|
*/
|
|
1910
2414
|
type KebabCase<Value, Options extends WordsOptions = {}> = DelimiterCase<Value, '-', ApplyDefaultOptions<WordsOptions, _DefaultDelimiterCaseOptions, Options>>;
|
|
1911
2415
|
//#endregion
|
|
2416
|
+
//#region src/models/configuration/components/AlphaSingleConfiguration.d.ts
|
|
2417
|
+
export interface AlphaSingleConfiguration extends ConditionalExcept<GameObjects.Components.AlphaSingle, FunctionLike> {}
|
|
2418
|
+
//#endregion
|
|
2419
|
+
//#region src/models/configuration/components/BlendModeConfiguration.d.ts
|
|
2420
|
+
export interface BlendModeConfiguration extends ConditionalExcept<GameObjects.Components.BlendMode, FunctionLike> {}
|
|
2421
|
+
//#endregion
|
|
2422
|
+
//#region src/models/configuration/components/DepthConfiguration.d.ts
|
|
2423
|
+
export interface DepthConfiguration extends ConditionalExcept<GameObjects.Components.Depth, FunctionLike> {}
|
|
2424
|
+
//#endregion
|
|
2425
|
+
//#region src/models/configuration/components/MaskConfiguration.d.ts
|
|
2426
|
+
export interface MaskConfiguration extends ConditionalExcept<GameObjects.Components.Mask, FunctionLike> {}
|
|
2427
|
+
//#endregion
|
|
2428
|
+
//#region src/models/configuration/components/OriginConfiguration.d.ts
|
|
2429
|
+
export interface OriginConfiguration extends ConditionalExcept<GameObjects.Components.Origin, FunctionLike> {
|
|
2430
|
+
origin: number;
|
|
2431
|
+
}
|
|
2432
|
+
//#endregion
|
|
2433
|
+
//#region src/models/configuration/components/RenderNodesConfiguration.d.ts
|
|
2434
|
+
export interface RenderNodesConfiguration extends ConditionalExcept<GameObjects.Components.RenderNodes, FunctionLike> {}
|
|
2435
|
+
//#endregion
|
|
2436
|
+
//#region src/models/configuration/components/ScrollFactorConfiguration.d.ts
|
|
2437
|
+
export interface ScrollFactorConfiguration extends ConditionalExcept<GameObjects.Components.ScrollFactor, FunctionLike> {
|
|
2438
|
+
scrollFactor: number;
|
|
2439
|
+
}
|
|
2440
|
+
//#endregion
|
|
2441
|
+
//#region src/models/configuration/components/TransformConfiguration.d.ts
|
|
2442
|
+
export interface TransformConfiguration extends ConditionalExcept<GameObjects.Components.Transform, FunctionLike> {}
|
|
2443
|
+
//#endregion
|
|
2444
|
+
//#region src/models/configuration/components/VisibleConfiguration.d.ts
|
|
2445
|
+
export interface VisibleConfiguration extends ConditionalExcept<GameObjects.Components.Visible, FunctionLike> {}
|
|
2446
|
+
//#endregion
|
|
2447
|
+
//#region src/models/configuration/global/GameObjectConfiguration.d.ts
|
|
2448
|
+
export interface GameObjectConfiguration extends Pick<GameObjects.GameObject, "active"> {}
|
|
2449
|
+
//#endregion
|
|
1912
2450
|
//#region src/models/configuration/shared/TweenBuilderConfiguration.d.ts
|
|
1913
2451
|
export type TweenBuilderConfiguration = Except<Types.Tweens.TweenBuilderConfig, "targets">;
|
|
1914
2452
|
//#endregion
|
|
@@ -2219,13 +2757,16 @@ declare const __VLS_export$26: import("vue").DefineComponent<Props$24, {}, {}, {
|
|
|
2219
2757
|
declare const _default: typeof __VLS_export$26;
|
|
2220
2758
|
//#endregion
|
|
2221
2759
|
//#region src/models/configuration/components/AlphaConfiguration.d.ts
|
|
2222
|
-
export interface AlphaConfiguration extends
|
|
2760
|
+
export interface AlphaConfiguration extends ConditionalExcept<GameObjects.Components.Alpha, FunctionLike> {}
|
|
2223
2761
|
//#endregion
|
|
2224
2762
|
//#region src/models/configuration/components/TintConfiguration.d.ts
|
|
2225
|
-
export interface TintConfiguration extends
|
|
2763
|
+
export interface TintConfiguration extends ConditionalExcept<GameObjects.Components.Tint, FunctionLike> {}
|
|
2764
|
+
//#endregion
|
|
2765
|
+
//#region src/models/configuration/shared/RenderableConfiguration.d.ts
|
|
2766
|
+
export interface RenderableConfiguration extends AlphaConfiguration, BlendModeConfiguration, DepthConfiguration, GlobalConfiguration, MaskConfiguration, OriginConfiguration, RenderNodesConfiguration, ScrollFactorConfiguration, TintConfiguration, TransformConfiguration, VisibleConfiguration {}
|
|
2226
2767
|
//#endregion
|
|
2227
2768
|
//#region src/models/configuration/BitmapTextConfiguration.d.ts
|
|
2228
|
-
export interface BitmapTextConfiguration extends
|
|
2769
|
+
export interface BitmapTextConfiguration extends Pick<GameObjects.BitmapText, "align" | "font" | "fontSize" | "letterSpacing" | "lineSpacing" | "text" | "wordWrapCharCode">, RenderableConfiguration {
|
|
2229
2770
|
dropShadow: Parameters<GameObjects.BitmapText["setDropShadow"]>;
|
|
2230
2771
|
maxWidth: Parameters<GameObjects.BitmapText["setMaxWidth"]>[0];
|
|
2231
2772
|
}
|
|
@@ -2364,10 +2905,6 @@ declare const __VLS_export$25: import("vue").DefineComponent<Props$23, {}, {}, {
|
|
|
2364
2905
|
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
2365
2906
|
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
2366
2907
|
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
2367
|
-
"update:alphaTopLeft": (args_0?: number | undefined) => any;
|
|
2368
|
-
"update:alphaTopRight": (args_0?: number | undefined) => any;
|
|
2369
|
-
"update:alphaBottomLeft": (args_0?: number | undefined) => any;
|
|
2370
|
-
"update:alphaBottomRight": (args_0?: number | undefined) => any;
|
|
2371
2908
|
"update:align": (args_0?: number | undefined) => any;
|
|
2372
2909
|
"update:font": (args_0?: string | undefined) => any;
|
|
2373
2910
|
"update:fontSize": (args_0?: number | undefined) => any;
|
|
@@ -2375,6 +2912,10 @@ declare const __VLS_export$25: import("vue").DefineComponent<Props$23, {}, {}, {
|
|
|
2375
2912
|
"update:lineSpacing": (args_0?: number | undefined) => any;
|
|
2376
2913
|
"update:text": (args_0?: string | undefined) => any;
|
|
2377
2914
|
"update:wordWrapCharCode": (args_0?: number | undefined) => any;
|
|
2915
|
+
"update:alphaTopLeft": (args_0?: number | undefined) => any;
|
|
2916
|
+
"update:alphaTopRight": (args_0?: number | undefined) => any;
|
|
2917
|
+
"update:alphaBottomLeft": (args_0?: number | undefined) => any;
|
|
2918
|
+
"update:alphaBottomRight": (args_0?: number | undefined) => any;
|
|
2378
2919
|
"update:tintTopLeft": (args_0?: number | undefined) => any;
|
|
2379
2920
|
"update:tintTopRight": (args_0?: number | undefined) => any;
|
|
2380
2921
|
"update:tintBottomLeft": (args_0?: number | undefined) => any;
|
|
@@ -2516,10 +3057,6 @@ declare const __VLS_export$25: import("vue").DefineComponent<Props$23, {}, {}, {
|
|
|
2516
3057
|
onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
2517
3058
|
onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
2518
3059
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
2519
|
-
"onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
2520
|
-
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
2521
|
-
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
2522
|
-
"onUpdate:alphaBottomRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
2523
3060
|
"onUpdate:align"?: ((args_0?: number | undefined) => any) | undefined;
|
|
2524
3061
|
"onUpdate:font"?: ((args_0?: string | undefined) => any) | undefined;
|
|
2525
3062
|
"onUpdate:fontSize"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -2527,6 +3064,10 @@ declare const __VLS_export$25: import("vue").DefineComponent<Props$23, {}, {}, {
|
|
|
2527
3064
|
"onUpdate:lineSpacing"?: ((args_0?: number | undefined) => any) | undefined;
|
|
2528
3065
|
"onUpdate:text"?: ((args_0?: string | undefined) => any) | undefined;
|
|
2529
3066
|
"onUpdate:wordWrapCharCode"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3067
|
+
"onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3068
|
+
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3069
|
+
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
3070
|
+
"onUpdate:alphaBottomRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
2530
3071
|
"onUpdate:tintTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
2531
3072
|
"onUpdate:tintTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
2532
3073
|
"onUpdate:tintBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -3931,10 +4472,10 @@ declare const __VLS_export$19: import("vue").DefineComponent<Props$17, {}, {}, {
|
|
|
3931
4472
|
declare const _default$7: typeof __VLS_export$19;
|
|
3932
4473
|
//#endregion
|
|
3933
4474
|
//#region src/models/configuration/components/FlipConfiguration.d.ts
|
|
3934
|
-
export interface FlipConfiguration extends
|
|
4475
|
+
export interface FlipConfiguration extends ConditionalExcept<GameObjects.Components.Flip, FunctionLike> {}
|
|
3935
4476
|
//#endregion
|
|
3936
4477
|
//#region src/models/configuration/components/SizeConfiguration.d.ts
|
|
3937
|
-
export interface SizeConfiguration extends
|
|
4478
|
+
export interface SizeConfiguration extends ConditionalExcept<GameObjects.Components.Size, FunctionLike> {}
|
|
3938
4479
|
//#endregion
|
|
3939
4480
|
//#region src/models/configuration/components/BaseTextureConfiguration.d.ts
|
|
3940
4481
|
export interface BaseTextureConfiguration {
|
|
@@ -3943,10 +4484,10 @@ export interface BaseTextureConfiguration {
|
|
|
3943
4484
|
}
|
|
3944
4485
|
//#endregion
|
|
3945
4486
|
//#region src/models/configuration/components/TextureCropConfiguration.d.ts
|
|
3946
|
-
export interface TextureCropConfiguration extends
|
|
4487
|
+
export interface TextureCropConfiguration extends ConditionalExcept<BaseTextureConfiguration & Except<GameObjects.Components.TextureCrop, keyof BaseTextureConfiguration>, FunctionLike> {}
|
|
3947
4488
|
//#endregion
|
|
3948
4489
|
//#region src/models/configuration/ImageConfiguration.d.ts
|
|
3949
|
-
export interface ImageConfiguration extends
|
|
4490
|
+
export interface ImageConfiguration extends Except<Types.GameObjects.Sprite.SpriteConfig, "frame" | keyof Types.GameObjects.GameObjectConfig>, FlipConfiguration, RenderableConfiguration, SizeConfiguration, TextureCropConfiguration {}
|
|
3950
4491
|
//#endregion
|
|
3951
4492
|
//#region src/components/Image.vue.d.ts
|
|
3952
4493
|
interface Props$16 {
|
|
@@ -5151,7 +5692,7 @@ declare const __VLS_export$15: import("vue").DefineComponent<Props$13, {}, {}, {
|
|
|
5151
5692
|
declare const _default$11: typeof __VLS_export$15;
|
|
5152
5693
|
//#endregion
|
|
5153
5694
|
//#region src/models/configuration/components/TextureConfiguration.d.ts
|
|
5154
|
-
export interface TextureConfiguration extends
|
|
5695
|
+
export interface TextureConfiguration extends ConditionalExcept<BaseTextureConfiguration & Except<GameObjects.Components.Texture, keyof BaseTextureConfiguration>, FunctionLike> {}
|
|
5155
5696
|
//#endregion
|
|
5156
5697
|
//#region src/models/configuration/NinesliceConfiguration.d.ts
|
|
5157
5698
|
export interface NinesliceConfiguration extends AlphaSingleConfiguration, BlendModeConfiguration, DepthConfiguration, Except<Types.GameObjects.NineSlice.NineSliceConfig, "frame" | keyof Types.GameObjects.GameObjectConfig>, GlobalConfiguration, MaskConfiguration, OriginConfiguration, RenderNodesConfiguration, ScrollFactorConfiguration, TextureConfiguration, TransformConfiguration, VisibleConfiguration {}
|
|
@@ -5710,10 +6251,10 @@ declare const __VLS_export$13: import("vue").DefineComponent<Props$11, {}, {}, {
|
|
|
5710
6251
|
declare const _default$13: typeof __VLS_export$13;
|
|
5711
6252
|
//#endregion
|
|
5712
6253
|
//#region src/models/configuration/components/PathFollowerComponentConfiguration.d.ts
|
|
5713
|
-
export interface PathFollowerComponentConfiguration extends
|
|
6254
|
+
export interface PathFollowerComponentConfiguration extends ConditionalExcept<GameObjects.Components.PathFollower, FunctionLike> {}
|
|
5714
6255
|
//#endregion
|
|
5715
6256
|
//#region src/models/configuration/PathFollowerConfiguration.d.ts
|
|
5716
|
-
export interface PathFollowerConfiguration extends
|
|
6257
|
+
export interface PathFollowerConfiguration extends Except<Types.GameObjects.PathFollower.PathConfig, "rotateToPath">, FlipConfiguration, PathFollowerComponentConfiguration, RenderableConfiguration, SizeConfiguration, TextureConfiguration {}
|
|
5717
6258
|
//#endregion
|
|
5718
6259
|
//#region src/components/PathFollower.vue.d.ts
|
|
5719
6260
|
interface Props$10 {
|
|
@@ -6971,6 +7512,7 @@ interface Props$6 {
|
|
|
6971
7512
|
onComplete?: (scene: SceneWithPlugins, sprite: GameObjects.Sprite) => void;
|
|
6972
7513
|
}
|
|
6973
7514
|
declare const __VLS_export$7: import("vue").DefineComponent<Props$6, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7515
|
+
[x: `animationcomplete-${string}`]: () => any;
|
|
6974
7516
|
"update:visible": (args_0?: boolean | undefined) => any;
|
|
6975
7517
|
"update:alpha": (args_0?: number | undefined) => any;
|
|
6976
7518
|
"update:blendMode": (args_0?: string | number | Phaser.BlendModes | undefined) => any;
|
|
@@ -7126,6 +7668,7 @@ declare const __VLS_export$7: import("vue").DefineComponent<Props$6, {}, {}, {},
|
|
|
7126
7668
|
"update:animations": (args_0?: Phaser.Types.Animations.Animation[] | undefined) => any;
|
|
7127
7669
|
"update:playAnimationKey": (args_0?: undefined) => any;
|
|
7128
7670
|
}, string, import("vue").PublicProps, Readonly<Props$6> & Readonly<{
|
|
7671
|
+
[x: `onAnimationcomplete-${string}`]: (() => any) | undefined;
|
|
7129
7672
|
"onUpdate:visible"?: ((args_0?: boolean | undefined) => any) | undefined;
|
|
7130
7673
|
"onUpdate:alpha"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7131
7674
|
"onUpdate:blendMode"?: ((args_0?: string | number | Phaser.BlendModes | undefined) => any) | undefined;
|
|
@@ -7568,10 +8111,10 @@ declare const __VLS_export$6: import("vue").DefineComponent<Props$5, {}, {}, {},
|
|
|
7568
8111
|
declare const _default$20: typeof __VLS_export$6;
|
|
7569
8112
|
//#endregion
|
|
7570
8113
|
//#region src/models/configuration/components/ComputedSizeConfiguration.d.ts
|
|
7571
|
-
export interface ComputedSizeConfiguration extends
|
|
8114
|
+
export interface ComputedSizeConfiguration extends ConditionalExcept<GameObjects.Components.ComputedSize, FunctionLike> {}
|
|
7572
8115
|
//#endregion
|
|
7573
8116
|
//#region src/models/configuration/TextConfiguration.d.ts
|
|
7574
|
-
export interface TextConfiguration extends
|
|
8117
|
+
export interface TextConfiguration extends ComputedSizeConfiguration, Except<Types.GameObjects.Text.TextConfig, keyof Types.GameObjects.GameObjectConfig>, FlipConfiguration, RenderableConfiguration {
|
|
7575
8118
|
text: string;
|
|
7576
8119
|
}
|
|
7577
8120
|
//#endregion
|
|
@@ -7712,11 +8255,11 @@ declare const __VLS_export$5: import("vue").DefineComponent<TextProps, {}, {}, {
|
|
|
7712
8255
|
pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
7713
8256
|
pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
7714
8257
|
wheel: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
8258
|
+
"update:text": (args_0?: string | undefined) => any;
|
|
7715
8259
|
"update:alphaTopLeft": (args_0?: number | undefined) => any;
|
|
7716
8260
|
"update:alphaTopRight": (args_0?: number | undefined) => any;
|
|
7717
8261
|
"update:alphaBottomLeft": (args_0?: number | undefined) => any;
|
|
7718
8262
|
"update:alphaBottomRight": (args_0?: number | undefined) => any;
|
|
7719
|
-
"update:text": (args_0?: string | undefined) => any;
|
|
7720
8263
|
"update:tintTopLeft": (args_0?: number | undefined) => any;
|
|
7721
8264
|
"update:tintTopRight": (args_0?: number | undefined) => any;
|
|
7722
8265
|
"update:tintBottomLeft": (args_0?: number | undefined) => any;
|
|
@@ -7864,11 +8407,11 @@ declare const __VLS_export$5: import("vue").DefineComponent<TextProps, {}, {}, {
|
|
|
7864
8407
|
onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
7865
8408
|
onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
7866
8409
|
onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
|
|
8410
|
+
"onUpdate:text"?: ((args_0?: string | undefined) => any) | undefined;
|
|
7867
8411
|
"onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7868
8412
|
"onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7869
8413
|
"onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7870
8414
|
"onUpdate:alphaBottomRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7871
|
-
"onUpdate:text"?: ((args_0?: string | undefined) => any) | undefined;
|
|
7872
8415
|
"onUpdate:tintTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7873
8416
|
"onUpdate:tintTopRight"?: ((args_0?: number | undefined) => any) | undefined;
|
|
7874
8417
|
"onUpdate:tintBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
|
|
@@ -7890,7 +8433,7 @@ declare const __VLS_export$5: import("vue").DefineComponent<TextProps, {}, {}, {
|
|
|
7890
8433
|
declare const _default$21: typeof __VLS_export$5;
|
|
7891
8434
|
//#endregion
|
|
7892
8435
|
//#region src/models/configuration/TileSpriteConfiguration.d.ts
|
|
7893
|
-
export interface TileSpriteConfiguration extends
|
|
8436
|
+
export interface TileSpriteConfiguration extends ComputedSizeConfiguration, Except<Types.GameObjects.TileSprite.TileSpriteConfig, "frame" | "height" | "width" | keyof Types.GameObjects.GameObjectConfig>, FlipConfiguration, RenderableConfiguration, TextureConfiguration {}
|
|
7894
8437
|
//#endregion
|
|
7895
8438
|
//#region src/components/TileSprite.vue.d.ts
|
|
7896
8439
|
interface Props$4 {
|
|
@@ -9284,8 +9827,15 @@ export type RectangleEventEmitsOptions = EmitsOptionsFor<RectangleConfiguration>
|
|
|
9284
9827
|
//#region src/models/emit/RenderTextureEventEmitsOptions.d.ts
|
|
9285
9828
|
export type RenderTextureEventEmitsOptions = EmitsOptionsFor<RenderTextureConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9286
9829
|
//#endregion
|
|
9830
|
+
//#region src/services/shared/constants.d.ts
|
|
9831
|
+
export declare const TILEMAP_TILED_JSON_EXTERNAL_KEY = "tilemapTiledJSONExternal";
|
|
9832
|
+
export declare const ANIMATION_COMPLETE_EVENT_PREFIX = "animationcomplete-";
|
|
9833
|
+
//#endregion
|
|
9834
|
+
//#region src/models/emit/shared/AnimationCompleteEventEmitsOptions.d.ts
|
|
9835
|
+
export type AnimationCompleteEventEmitsOptions = Record<`${typeof ANIMATION_COMPLETE_EVENT_PREFIX}${string}`, []>;
|
|
9836
|
+
//#endregion
|
|
9287
9837
|
//#region src/models/emit/SpriteEventEmitsOptions.d.ts
|
|
9288
|
-
export type SpriteEventEmitsOptions = EmitsOptionsFor<SpriteConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9838
|
+
export type SpriteEventEmitsOptions = AnimationCompleteEventEmitsOptions & EmitsOptionsFor<SpriteConfiguration> & GameObjectEventMapEmitsOptions;
|
|
9289
9839
|
//#endregion
|
|
9290
9840
|
//#region src/models/emit/StarEventEmitsOptions.d.ts
|
|
9291
9841
|
export type StarEventEmitsOptions = EmitsOptionsFor<StarConfiguration> & GameObjectEventMapEmitsOptions;
|
|
@@ -9400,7 +9950,7 @@ declare const MultiFile: typeof Loader.MultiFile;
|
|
|
9400
9950
|
export declare class TiledJSONExternalFile extends MultiFile {
|
|
9401
9951
|
files: [TilemapFile, ...TilesetFile[]];
|
|
9402
9952
|
constructor(loader: Loader.LoaderPlugin, key: object | string, tilemapURL?: object | string, path?: object | string, baseURL?: object | string, tilemapXhrSettings?: Types.Loader.XHRSettingsObject, tilesetXhrSettings?: Types.Loader.XHRSettingsObject);
|
|
9403
|
-
addToCache():
|
|
9953
|
+
addToCache(): void;
|
|
9404
9954
|
onFileComplete(file: TilemapFile): void;
|
|
9405
9955
|
}
|
|
9406
9956
|
//#endregion
|
|
@@ -9666,9 +10216,267 @@ export declare const GameObjectSetterMap: {
|
|
|
9666
10216
|
readonly active: (gameObject: GameObjects.GameObject) => (value: boolean | undefined) => void;
|
|
9667
10217
|
};
|
|
9668
10218
|
//#endregion
|
|
9669
|
-
//#region src/services/setterMap/global/GlobalSetterMap.d.ts
|
|
9670
|
-
export declare const GlobalSetterMap: {
|
|
9671
|
-
readonly active: (gameObject: GameObjects.GameObject) => (value: boolean | undefined) => void;
|
|
10219
|
+
//#region src/services/setterMap/global/GlobalSetterMap.d.ts
|
|
10220
|
+
export declare const GlobalSetterMap: {
|
|
10221
|
+
readonly active: (gameObject: GameObjects.GameObject) => (value: boolean | undefined) => void;
|
|
10222
|
+
readonly tween: (gameObject: GameObjects.GameObject, emit: ((event: "update:tween", args_0?: {
|
|
10223
|
+
[x: string]: any;
|
|
10224
|
+
delay?: (number | Function) | undefined;
|
|
10225
|
+
duration?: number | undefined;
|
|
10226
|
+
ease?: (string | Function) | undefined;
|
|
10227
|
+
easeParams?: any[] | undefined;
|
|
10228
|
+
hold?: number | undefined;
|
|
10229
|
+
repeat?: number | undefined;
|
|
10230
|
+
repeatDelay?: number | undefined;
|
|
10231
|
+
yoyo?: boolean | undefined;
|
|
10232
|
+
flipX?: boolean | undefined;
|
|
10233
|
+
flipY?: boolean | undefined;
|
|
10234
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
10235
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
10236
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
10237
|
+
paused?: boolean | undefined;
|
|
10238
|
+
props?: {
|
|
10239
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
10240
|
+
} | undefined;
|
|
10241
|
+
callbackScope?: any;
|
|
10242
|
+
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
10243
|
+
onCompleteParams?: any[] | undefined;
|
|
10244
|
+
onLoop?: Phaser.Types.Tweens.TweenOnLoopCallback | undefined;
|
|
10245
|
+
onLoopParams?: any[] | undefined;
|
|
10246
|
+
onRepeat?: Phaser.Types.Tweens.TweenOnRepeatCallback | undefined;
|
|
10247
|
+
onRepeatParams?: any[] | undefined;
|
|
10248
|
+
onStart?: Phaser.Types.Tweens.TweenOnStartCallback | undefined;
|
|
10249
|
+
onStartParams?: any[] | undefined;
|
|
10250
|
+
onStop?: Phaser.Types.Tweens.TweenOnStopCallback | undefined;
|
|
10251
|
+
onStopParams?: any[] | undefined;
|
|
10252
|
+
onUpdate?: Phaser.Types.Tweens.TweenOnUpdateCallback | undefined;
|
|
10253
|
+
onUpdateParams?: any[] | undefined;
|
|
10254
|
+
onYoyo?: Phaser.Types.Tweens.TweenOnYoyoCallback | undefined;
|
|
10255
|
+
onYoyoParams?: any[] | undefined;
|
|
10256
|
+
onActive?: Phaser.Types.Tweens.TweenOnActiveCallback | undefined;
|
|
10257
|
+
onActiveParams?: any[] | undefined;
|
|
10258
|
+
onPause?: Phaser.Types.Tweens.TweenOnPauseCallback | undefined;
|
|
10259
|
+
onPauseParams?: any[] | undefined;
|
|
10260
|
+
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
10261
|
+
onResumeParams?: any[] | undefined;
|
|
10262
|
+
persist?: boolean | undefined;
|
|
10263
|
+
interpolation?: (string | Function) | undefined;
|
|
10264
|
+
} | undefined) => void) & ((event: "update:tweenchain", args_0?: {
|
|
10265
|
+
[x: string]: any;
|
|
10266
|
+
delay?: (number | Function) | undefined;
|
|
10267
|
+
duration?: number | undefined;
|
|
10268
|
+
ease?: (string | Function) | undefined;
|
|
10269
|
+
easeParams?: any[] | undefined;
|
|
10270
|
+
hold?: number | undefined;
|
|
10271
|
+
repeat?: number | undefined;
|
|
10272
|
+
repeatDelay?: number | undefined;
|
|
10273
|
+
yoyo?: boolean | undefined;
|
|
10274
|
+
flipX?: boolean | undefined;
|
|
10275
|
+
flipY?: boolean | undefined;
|
|
10276
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
10277
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
10278
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
10279
|
+
paused?: boolean | undefined;
|
|
10280
|
+
props?: {
|
|
10281
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
10282
|
+
} | undefined;
|
|
10283
|
+
callbackScope?: any;
|
|
10284
|
+
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
10285
|
+
onCompleteParams?: any[] | undefined;
|
|
10286
|
+
onLoop?: Phaser.Types.Tweens.TweenOnLoopCallback | undefined;
|
|
10287
|
+
onLoopParams?: any[] | undefined;
|
|
10288
|
+
onRepeat?: Phaser.Types.Tweens.TweenOnRepeatCallback | undefined;
|
|
10289
|
+
onRepeatParams?: any[] | undefined;
|
|
10290
|
+
onStart?: Phaser.Types.Tweens.TweenOnStartCallback | undefined;
|
|
10291
|
+
onStartParams?: any[] | undefined;
|
|
10292
|
+
onStop?: Phaser.Types.Tweens.TweenOnStopCallback | undefined;
|
|
10293
|
+
onStopParams?: any[] | undefined;
|
|
10294
|
+
onUpdate?: Phaser.Types.Tweens.TweenOnUpdateCallback | undefined;
|
|
10295
|
+
onUpdateParams?: any[] | undefined;
|
|
10296
|
+
onYoyo?: Phaser.Types.Tweens.TweenOnYoyoCallback | undefined;
|
|
10297
|
+
onYoyoParams?: any[] | undefined;
|
|
10298
|
+
onActive?: Phaser.Types.Tweens.TweenOnActiveCallback | undefined;
|
|
10299
|
+
onActiveParams?: any[] | undefined;
|
|
10300
|
+
onPause?: Phaser.Types.Tweens.TweenOnPauseCallback | undefined;
|
|
10301
|
+
onPauseParams?: any[] | undefined;
|
|
10302
|
+
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
10303
|
+
onResumeParams?: any[] | undefined;
|
|
10304
|
+
persist?: boolean | undefined;
|
|
10305
|
+
interpolation?: (string | Function) | undefined;
|
|
10306
|
+
}[] | undefined) => void)) => (value: {
|
|
10307
|
+
[x: string]: any;
|
|
10308
|
+
delay?: (number | Function) | undefined;
|
|
10309
|
+
duration?: number | undefined;
|
|
10310
|
+
ease?: (string | Function) | undefined;
|
|
10311
|
+
easeParams?: any[] | undefined;
|
|
10312
|
+
hold?: number | undefined;
|
|
10313
|
+
repeat?: number | undefined;
|
|
10314
|
+
repeatDelay?: number | undefined;
|
|
10315
|
+
yoyo?: boolean | undefined;
|
|
10316
|
+
flipX?: boolean | undefined;
|
|
10317
|
+
flipY?: boolean | undefined;
|
|
10318
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
10319
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
10320
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
10321
|
+
paused?: boolean | undefined;
|
|
10322
|
+
props?: {
|
|
10323
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
10324
|
+
} | undefined;
|
|
10325
|
+
callbackScope?: any;
|
|
10326
|
+
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
10327
|
+
onCompleteParams?: any[] | undefined;
|
|
10328
|
+
onLoop?: Phaser.Types.Tweens.TweenOnLoopCallback | undefined;
|
|
10329
|
+
onLoopParams?: any[] | undefined;
|
|
10330
|
+
onRepeat?: Phaser.Types.Tweens.TweenOnRepeatCallback | undefined;
|
|
10331
|
+
onRepeatParams?: any[] | undefined;
|
|
10332
|
+
onStart?: Phaser.Types.Tweens.TweenOnStartCallback | undefined;
|
|
10333
|
+
onStartParams?: any[] | undefined;
|
|
10334
|
+
onStop?: Phaser.Types.Tweens.TweenOnStopCallback | undefined;
|
|
10335
|
+
onStopParams?: any[] | undefined;
|
|
10336
|
+
onUpdate?: Phaser.Types.Tweens.TweenOnUpdateCallback | undefined;
|
|
10337
|
+
onUpdateParams?: any[] | undefined;
|
|
10338
|
+
onYoyo?: Phaser.Types.Tweens.TweenOnYoyoCallback | undefined;
|
|
10339
|
+
onYoyoParams?: any[] | undefined;
|
|
10340
|
+
onActive?: Phaser.Types.Tweens.TweenOnActiveCallback | undefined;
|
|
10341
|
+
onActiveParams?: any[] | undefined;
|
|
10342
|
+
onPause?: Phaser.Types.Tweens.TweenOnPauseCallback | undefined;
|
|
10343
|
+
onPauseParams?: any[] | undefined;
|
|
10344
|
+
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
10345
|
+
onResumeParams?: any[] | undefined;
|
|
10346
|
+
persist?: boolean | undefined;
|
|
10347
|
+
interpolation?: (string | Function) | undefined;
|
|
10348
|
+
} | undefined) => void;
|
|
10349
|
+
readonly tweenchain: (gameObject: GameObjects.GameObject, emit: ((event: "update:tween", args_0?: {
|
|
10350
|
+
[x: string]: any;
|
|
10351
|
+
delay?: (number | Function) | undefined;
|
|
10352
|
+
duration?: number | undefined;
|
|
10353
|
+
ease?: (string | Function) | undefined;
|
|
10354
|
+
easeParams?: any[] | undefined;
|
|
10355
|
+
hold?: number | undefined;
|
|
10356
|
+
repeat?: number | undefined;
|
|
10357
|
+
repeatDelay?: number | undefined;
|
|
10358
|
+
yoyo?: boolean | undefined;
|
|
10359
|
+
flipX?: boolean | undefined;
|
|
10360
|
+
flipY?: boolean | undefined;
|
|
10361
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
10362
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
10363
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
10364
|
+
paused?: boolean | undefined;
|
|
10365
|
+
props?: {
|
|
10366
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
10367
|
+
} | undefined;
|
|
10368
|
+
callbackScope?: any;
|
|
10369
|
+
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
10370
|
+
onCompleteParams?: any[] | undefined;
|
|
10371
|
+
onLoop?: Phaser.Types.Tweens.TweenOnLoopCallback | undefined;
|
|
10372
|
+
onLoopParams?: any[] | undefined;
|
|
10373
|
+
onRepeat?: Phaser.Types.Tweens.TweenOnRepeatCallback | undefined;
|
|
10374
|
+
onRepeatParams?: any[] | undefined;
|
|
10375
|
+
onStart?: Phaser.Types.Tweens.TweenOnStartCallback | undefined;
|
|
10376
|
+
onStartParams?: any[] | undefined;
|
|
10377
|
+
onStop?: Phaser.Types.Tweens.TweenOnStopCallback | undefined;
|
|
10378
|
+
onStopParams?: any[] | undefined;
|
|
10379
|
+
onUpdate?: Phaser.Types.Tweens.TweenOnUpdateCallback | undefined;
|
|
10380
|
+
onUpdateParams?: any[] | undefined;
|
|
10381
|
+
onYoyo?: Phaser.Types.Tweens.TweenOnYoyoCallback | undefined;
|
|
10382
|
+
onYoyoParams?: any[] | undefined;
|
|
10383
|
+
onActive?: Phaser.Types.Tweens.TweenOnActiveCallback | undefined;
|
|
10384
|
+
onActiveParams?: any[] | undefined;
|
|
10385
|
+
onPause?: Phaser.Types.Tweens.TweenOnPauseCallback | undefined;
|
|
10386
|
+
onPauseParams?: any[] | undefined;
|
|
10387
|
+
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
10388
|
+
onResumeParams?: any[] | undefined;
|
|
10389
|
+
persist?: boolean | undefined;
|
|
10390
|
+
interpolation?: (string | Function) | undefined;
|
|
10391
|
+
} | undefined) => void) & ((event: "update:tweenchain", args_0?: {
|
|
10392
|
+
[x: string]: any;
|
|
10393
|
+
delay?: (number | Function) | undefined;
|
|
10394
|
+
duration?: number | undefined;
|
|
10395
|
+
ease?: (string | Function) | undefined;
|
|
10396
|
+
easeParams?: any[] | undefined;
|
|
10397
|
+
hold?: number | undefined;
|
|
10398
|
+
repeat?: number | undefined;
|
|
10399
|
+
repeatDelay?: number | undefined;
|
|
10400
|
+
yoyo?: boolean | undefined;
|
|
10401
|
+
flipX?: boolean | undefined;
|
|
10402
|
+
flipY?: boolean | undefined;
|
|
10403
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
10404
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
10405
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
10406
|
+
paused?: boolean | undefined;
|
|
10407
|
+
props?: {
|
|
10408
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
10409
|
+
} | undefined;
|
|
10410
|
+
callbackScope?: any;
|
|
10411
|
+
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
10412
|
+
onCompleteParams?: any[] | undefined;
|
|
10413
|
+
onLoop?: Phaser.Types.Tweens.TweenOnLoopCallback | undefined;
|
|
10414
|
+
onLoopParams?: any[] | undefined;
|
|
10415
|
+
onRepeat?: Phaser.Types.Tweens.TweenOnRepeatCallback | undefined;
|
|
10416
|
+
onRepeatParams?: any[] | undefined;
|
|
10417
|
+
onStart?: Phaser.Types.Tweens.TweenOnStartCallback | undefined;
|
|
10418
|
+
onStartParams?: any[] | undefined;
|
|
10419
|
+
onStop?: Phaser.Types.Tweens.TweenOnStopCallback | undefined;
|
|
10420
|
+
onStopParams?: any[] | undefined;
|
|
10421
|
+
onUpdate?: Phaser.Types.Tweens.TweenOnUpdateCallback | undefined;
|
|
10422
|
+
onUpdateParams?: any[] | undefined;
|
|
10423
|
+
onYoyo?: Phaser.Types.Tweens.TweenOnYoyoCallback | undefined;
|
|
10424
|
+
onYoyoParams?: any[] | undefined;
|
|
10425
|
+
onActive?: Phaser.Types.Tweens.TweenOnActiveCallback | undefined;
|
|
10426
|
+
onActiveParams?: any[] | undefined;
|
|
10427
|
+
onPause?: Phaser.Types.Tweens.TweenOnPauseCallback | undefined;
|
|
10428
|
+
onPauseParams?: any[] | undefined;
|
|
10429
|
+
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
10430
|
+
onResumeParams?: any[] | undefined;
|
|
10431
|
+
persist?: boolean | undefined;
|
|
10432
|
+
interpolation?: (string | Function) | undefined;
|
|
10433
|
+
}[] | undefined) => void)) => (value: {
|
|
10434
|
+
[x: string]: any;
|
|
10435
|
+
delay?: (number | Function) | undefined;
|
|
10436
|
+
duration?: number | undefined;
|
|
10437
|
+
ease?: (string | Function) | undefined;
|
|
10438
|
+
easeParams?: any[] | undefined;
|
|
10439
|
+
hold?: number | undefined;
|
|
10440
|
+
repeat?: number | undefined;
|
|
10441
|
+
repeatDelay?: number | undefined;
|
|
10442
|
+
yoyo?: boolean | undefined;
|
|
10443
|
+
flipX?: boolean | undefined;
|
|
10444
|
+
flipY?: boolean | undefined;
|
|
10445
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
10446
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
10447
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
10448
|
+
paused?: boolean | undefined;
|
|
10449
|
+
props?: {
|
|
10450
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
10451
|
+
} | undefined;
|
|
10452
|
+
callbackScope?: any;
|
|
10453
|
+
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
10454
|
+
onCompleteParams?: any[] | undefined;
|
|
10455
|
+
onLoop?: Phaser.Types.Tweens.TweenOnLoopCallback | undefined;
|
|
10456
|
+
onLoopParams?: any[] | undefined;
|
|
10457
|
+
onRepeat?: Phaser.Types.Tweens.TweenOnRepeatCallback | undefined;
|
|
10458
|
+
onRepeatParams?: any[] | undefined;
|
|
10459
|
+
onStart?: Phaser.Types.Tweens.TweenOnStartCallback | undefined;
|
|
10460
|
+
onStartParams?: any[] | undefined;
|
|
10461
|
+
onStop?: Phaser.Types.Tweens.TweenOnStopCallback | undefined;
|
|
10462
|
+
onStopParams?: any[] | undefined;
|
|
10463
|
+
onUpdate?: Phaser.Types.Tweens.TweenOnUpdateCallback | undefined;
|
|
10464
|
+
onUpdateParams?: any[] | undefined;
|
|
10465
|
+
onYoyo?: Phaser.Types.Tweens.TweenOnYoyoCallback | undefined;
|
|
10466
|
+
onYoyoParams?: any[] | undefined;
|
|
10467
|
+
onActive?: Phaser.Types.Tweens.TweenOnActiveCallback | undefined;
|
|
10468
|
+
onActiveParams?: any[] | undefined;
|
|
10469
|
+
onPause?: Phaser.Types.Tweens.TweenOnPauseCallback | undefined;
|
|
10470
|
+
onPauseParams?: any[] | undefined;
|
|
10471
|
+
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
10472
|
+
onResumeParams?: any[] | undefined;
|
|
10473
|
+
persist?: boolean | undefined;
|
|
10474
|
+
interpolation?: (string | Function) | undefined;
|
|
10475
|
+
}[] | undefined) => void;
|
|
10476
|
+
};
|
|
10477
|
+
//#endregion
|
|
10478
|
+
//#region src/services/setterMap/global/TweenSetterMap.d.ts
|
|
10479
|
+
export declare const TweenSetterMap: {
|
|
9672
10480
|
readonly tween: (gameObject: GameObjects.GameObject, emit: ((event: "update:tween", args_0?: {
|
|
9673
10481
|
[x: string]: any;
|
|
9674
10482
|
delay?: (number | Function) | undefined;
|
|
@@ -9925,9 +10733,9 @@ export declare const GlobalSetterMap: {
|
|
|
9925
10733
|
}[] | undefined) => void;
|
|
9926
10734
|
};
|
|
9927
10735
|
//#endregion
|
|
9928
|
-
//#region src/services/setterMap/
|
|
9929
|
-
export declare const
|
|
9930
|
-
readonly
|
|
10736
|
+
//#region src/services/setterMap/shared/AnimationSetterMap.d.ts
|
|
10737
|
+
export declare const AnimationSetterMap: {
|
|
10738
|
+
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:blendMode", args_0?: string | number | Phaser.BlendModes | undefined) => void) & ((event: "update:depth", args_0?: number | undefined) => void) & ((event: "update:active", args_0?: boolean | undefined) => void) & ((event: "update:mask", args_0?: Phaser.Display.Masks.GeometryMask | 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: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?: {
|
|
9931
10739
|
[x: string]: any;
|
|
9932
10740
|
delay?: (number | Function) | undefined;
|
|
9933
10741
|
duration?: number | undefined;
|
|
@@ -10011,7 +10819,95 @@ export declare const TweenSetterMap: {
|
|
|
10011
10819
|
onResumeParams?: any[] | undefined;
|
|
10012
10820
|
persist?: boolean | undefined;
|
|
10013
10821
|
interpolation?: (string | Function) | undefined;
|
|
10014
|
-
}[] | undefined) => void)) => (
|
|
10822
|
+
}[] | 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;
|
|
10823
|
+
readonly playAnimationKey: (gameObject: GameObjects.Sprite) => (value: undefined) => void;
|
|
10824
|
+
};
|
|
10825
|
+
//#endregion
|
|
10826
|
+
//#region src/services/setterMap/shared/IsoSetterMap.d.ts
|
|
10827
|
+
export declare const IsoSetterMap: {
|
|
10828
|
+
readonly fillLeft: (gameObject: {
|
|
10829
|
+
fillLeft: number;
|
|
10830
|
+
fillRight: number;
|
|
10831
|
+
fillTop: number;
|
|
10832
|
+
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
10833
|
+
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
10834
|
+
setProjection: (value: number) => unknown;
|
|
10835
|
+
showLeft: boolean;
|
|
10836
|
+
showRight: boolean;
|
|
10837
|
+
showTop: boolean;
|
|
10838
|
+
}) => (value: number | undefined) => void;
|
|
10839
|
+
readonly fillRight: (gameObject: {
|
|
10840
|
+
fillLeft: number;
|
|
10841
|
+
fillRight: number;
|
|
10842
|
+
fillTop: number;
|
|
10843
|
+
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
10844
|
+
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
10845
|
+
setProjection: (value: number) => unknown;
|
|
10846
|
+
showLeft: boolean;
|
|
10847
|
+
showRight: boolean;
|
|
10848
|
+
showTop: boolean;
|
|
10849
|
+
}) => (value: number | undefined) => void;
|
|
10850
|
+
readonly fillTop: (gameObject: {
|
|
10851
|
+
fillLeft: number;
|
|
10852
|
+
fillRight: number;
|
|
10853
|
+
fillTop: number;
|
|
10854
|
+
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
10855
|
+
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
10856
|
+
setProjection: (value: number) => unknown;
|
|
10857
|
+
showLeft: boolean;
|
|
10858
|
+
showRight: boolean;
|
|
10859
|
+
showTop: boolean;
|
|
10860
|
+
}) => (value: number | undefined) => void;
|
|
10861
|
+
readonly projection: (gameObject: {
|
|
10862
|
+
fillLeft: number;
|
|
10863
|
+
fillRight: number;
|
|
10864
|
+
fillTop: number;
|
|
10865
|
+
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
10866
|
+
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
10867
|
+
setProjection: (value: number) => unknown;
|
|
10868
|
+
showLeft: boolean;
|
|
10869
|
+
showRight: boolean;
|
|
10870
|
+
showTop: boolean;
|
|
10871
|
+
}) => (value: number | undefined) => void;
|
|
10872
|
+
readonly showLeft: (gameObject: {
|
|
10873
|
+
fillLeft: number;
|
|
10874
|
+
fillRight: number;
|
|
10875
|
+
fillTop: number;
|
|
10876
|
+
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
10877
|
+
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
10878
|
+
setProjection: (value: number) => unknown;
|
|
10879
|
+
showLeft: boolean;
|
|
10880
|
+
showRight: boolean;
|
|
10881
|
+
showTop: boolean;
|
|
10882
|
+
}) => (value: boolean | undefined) => void;
|
|
10883
|
+
readonly showRight: (gameObject: {
|
|
10884
|
+
fillLeft: number;
|
|
10885
|
+
fillRight: number;
|
|
10886
|
+
fillTop: number;
|
|
10887
|
+
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
10888
|
+
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
10889
|
+
setProjection: (value: number) => unknown;
|
|
10890
|
+
showLeft: boolean;
|
|
10891
|
+
showRight: boolean;
|
|
10892
|
+
showTop: boolean;
|
|
10893
|
+
}) => (value: boolean | undefined) => void;
|
|
10894
|
+
readonly showTop: (gameObject: {
|
|
10895
|
+
fillLeft: number;
|
|
10896
|
+
fillRight: number;
|
|
10897
|
+
fillTop: number;
|
|
10898
|
+
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
10899
|
+
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
10900
|
+
setProjection: (value: number) => unknown;
|
|
10901
|
+
showLeft: boolean;
|
|
10902
|
+
showRight: boolean;
|
|
10903
|
+
showTop: boolean;
|
|
10904
|
+
}) => (value: boolean | undefined) => void;
|
|
10905
|
+
};
|
|
10906
|
+
//#endregion
|
|
10907
|
+
//#region src/services/setterMap/shared/RenderableSetterMap.d.ts
|
|
10908
|
+
export declare const RenderableSetterMap: {
|
|
10909
|
+
active: (gameObject: Phaser.GameObjects.GameObject) => (value: boolean | undefined) => void;
|
|
10910
|
+
tween: (gameObject: Phaser.GameObjects.GameObject, emit: ((event: "update:tween", args_0?: {
|
|
10015
10911
|
[x: string]: any;
|
|
10016
10912
|
delay?: (number | Function) | undefined;
|
|
10017
10913
|
duration?: number | undefined;
|
|
@@ -10053,8 +10949,7 @@ export declare const TweenSetterMap: {
|
|
|
10053
10949
|
onResumeParams?: any[] | undefined;
|
|
10054
10950
|
persist?: boolean | undefined;
|
|
10055
10951
|
interpolation?: (string | Function) | undefined;
|
|
10056
|
-
} | undefined) => void
|
|
10057
|
-
readonly tweenchain: (gameObject: GameObjects.GameObject, emit: ((event: "update:tween", args_0?: {
|
|
10952
|
+
} | undefined) => void) & ((event: "update:tweenchain", args_0?: {
|
|
10058
10953
|
[x: string]: any;
|
|
10059
10954
|
delay?: (number | Function) | undefined;
|
|
10060
10955
|
duration?: number | undefined;
|
|
@@ -10096,7 +10991,7 @@ export declare const TweenSetterMap: {
|
|
|
10096
10991
|
onResumeParams?: any[] | undefined;
|
|
10097
10992
|
persist?: boolean | undefined;
|
|
10098
10993
|
interpolation?: (string | Function) | undefined;
|
|
10099
|
-
} | undefined) => void)
|
|
10994
|
+
}[] | undefined) => void)) => (value: {
|
|
10100
10995
|
[x: string]: any;
|
|
10101
10996
|
delay?: (number | Function) | undefined;
|
|
10102
10997
|
duration?: number | undefined;
|
|
@@ -10138,7 +11033,8 @@ export declare const TweenSetterMap: {
|
|
|
10138
11033
|
onResumeParams?: any[] | undefined;
|
|
10139
11034
|
persist?: boolean | undefined;
|
|
10140
11035
|
interpolation?: (string | Function) | undefined;
|
|
10141
|
-
}
|
|
11036
|
+
} | undefined) => void;
|
|
11037
|
+
tweenchain: (gameObject: Phaser.GameObjects.GameObject, emit: ((event: "update:tween", args_0?: {
|
|
10142
11038
|
[x: string]: any;
|
|
10143
11039
|
delay?: (number | Function) | undefined;
|
|
10144
11040
|
duration?: number | undefined;
|
|
@@ -10180,12 +11076,7 @@ export declare const TweenSetterMap: {
|
|
|
10180
11076
|
onResumeParams?: any[] | undefined;
|
|
10181
11077
|
persist?: boolean | undefined;
|
|
10182
11078
|
interpolation?: (string | Function) | undefined;
|
|
10183
|
-
}
|
|
10184
|
-
};
|
|
10185
|
-
//#endregion
|
|
10186
|
-
//#region src/services/setterMap/shared/AnimationSetterMap.d.ts
|
|
10187
|
-
export declare const AnimationSetterMap: {
|
|
10188
|
-
readonly animations: (gameObject: GameObjects.Sprite, emit: ((event: "update:visible", args_0?: boolean | undefined) => void) & ((event: "update:alpha", args_0?: number | undefined) => void) & ((event: "update:blendMode", args_0?: string | number | Phaser.BlendModes | undefined) => void) & ((event: "update:depth", args_0?: number | undefined) => void) & ((event: "update:active", args_0?: boolean | undefined) => void) & ((event: "update:mask", args_0?: Phaser.Display.Masks.GeometryMask | 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: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?: {
|
|
11079
|
+
} | undefined) => void) & ((event: "update:tweenchain", args_0?: {
|
|
10189
11080
|
[x: string]: any;
|
|
10190
11081
|
delay?: (number | Function) | undefined;
|
|
10191
11082
|
duration?: number | undefined;
|
|
@@ -10227,7 +11118,7 @@ export declare const AnimationSetterMap: {
|
|
|
10227
11118
|
onResumeParams?: any[] | undefined;
|
|
10228
11119
|
persist?: boolean | undefined;
|
|
10229
11120
|
interpolation?: (string | Function) | undefined;
|
|
10230
|
-
} | undefined) => void)
|
|
11121
|
+
}[] | undefined) => void)) => (value: {
|
|
10231
11122
|
[x: string]: any;
|
|
10232
11123
|
delay?: (number | Function) | undefined;
|
|
10233
11124
|
duration?: number | undefined;
|
|
@@ -10269,89 +11160,38 @@ export declare const AnimationSetterMap: {
|
|
|
10269
11160
|
onResumeParams?: any[] | undefined;
|
|
10270
11161
|
persist?: boolean | undefined;
|
|
10271
11162
|
interpolation?: (string | Function) | undefined;
|
|
10272
|
-
}[] | undefined) => void
|
|
10273
|
-
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
|
|
10278
|
-
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10290
|
-
|
|
10291
|
-
|
|
10292
|
-
|
|
10293
|
-
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
10305
|
-
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
10306
|
-
setProjection: (value: number) => unknown;
|
|
10307
|
-
showLeft: boolean;
|
|
10308
|
-
showRight: boolean;
|
|
10309
|
-
showTop: boolean;
|
|
10310
|
-
}) => (value: number | undefined) => void;
|
|
10311
|
-
readonly projection: (gameObject: {
|
|
10312
|
-
fillLeft: number;
|
|
10313
|
-
fillRight: number;
|
|
10314
|
-
fillTop: number;
|
|
10315
|
-
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
10316
|
-
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
10317
|
-
setProjection: (value: number) => unknown;
|
|
10318
|
-
showLeft: boolean;
|
|
10319
|
-
showRight: boolean;
|
|
10320
|
-
showTop: boolean;
|
|
10321
|
-
}) => (value: number | undefined) => void;
|
|
10322
|
-
readonly showLeft: (gameObject: {
|
|
10323
|
-
fillLeft: number;
|
|
10324
|
-
fillRight: number;
|
|
10325
|
-
fillTop: number;
|
|
10326
|
-
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
10327
|
-
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
10328
|
-
setProjection: (value: number) => unknown;
|
|
10329
|
-
showLeft: boolean;
|
|
10330
|
-
showRight: boolean;
|
|
10331
|
-
showTop: boolean;
|
|
10332
|
-
}) => (value: boolean | undefined) => void;
|
|
10333
|
-
readonly showRight: (gameObject: {
|
|
10334
|
-
fillLeft: number;
|
|
10335
|
-
fillRight: number;
|
|
10336
|
-
fillTop: number;
|
|
10337
|
-
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
10338
|
-
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
10339
|
-
setProjection: (value: number) => unknown;
|
|
10340
|
-
showLeft: boolean;
|
|
10341
|
-
showRight: boolean;
|
|
10342
|
-
showTop: boolean;
|
|
10343
|
-
}) => (value: boolean | undefined) => void;
|
|
10344
|
-
readonly showTop: (gameObject: {
|
|
10345
|
-
fillLeft: number;
|
|
10346
|
-
fillRight: number;
|
|
10347
|
-
fillTop: number;
|
|
10348
|
-
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
10349
|
-
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
10350
|
-
setProjection: (value: number) => unknown;
|
|
10351
|
-
showLeft: boolean;
|
|
10352
|
-
showRight: boolean;
|
|
10353
|
-
showTop: boolean;
|
|
10354
|
-
}) => (value: boolean | undefined) => void;
|
|
11163
|
+
}[] | undefined) => void;
|
|
11164
|
+
visible: (gameObject: Phaser.GameObjects.Components.Visible) => (value: boolean | undefined) => void;
|
|
11165
|
+
angle: (gameObject: Phaser.GameObjects.Components.Transform) => (value: number | undefined) => void;
|
|
11166
|
+
rotation: (gameObject: Phaser.GameObjects.Components.Transform) => (value: number | undefined) => void;
|
|
11167
|
+
scale: (gameObject: Phaser.GameObjects.Components.Transform) => (value: number | undefined) => void;
|
|
11168
|
+
scaleX: (gameObject: Phaser.GameObjects.Components.Transform) => (value: number | undefined) => void;
|
|
11169
|
+
scaleY: (gameObject: Phaser.GameObjects.Components.Transform) => (value: number | undefined) => void;
|
|
11170
|
+
w: (gameObject: Phaser.GameObjects.Components.Transform) => (value: number | undefined) => void;
|
|
11171
|
+
x: (gameObject: Phaser.GameObjects.Components.Transform) => (value: number | undefined) => void;
|
|
11172
|
+
y: (gameObject: Phaser.GameObjects.Components.Transform) => (value: number | undefined) => void;
|
|
11173
|
+
z: (gameObject: Phaser.GameObjects.Components.Transform) => (value: number | undefined) => void;
|
|
11174
|
+
tint: (gameObject: Phaser.GameObjects.Components.Tint) => (value: number | undefined) => void;
|
|
11175
|
+
tintBottomLeft: (gameObject: Phaser.GameObjects.Components.Tint) => (value: number | undefined) => void;
|
|
11176
|
+
tintBottomRight: (gameObject: Phaser.GameObjects.Components.Tint) => (value: number | undefined) => void;
|
|
11177
|
+
tintTopLeft: (gameObject: Phaser.GameObjects.Components.Tint) => (value: number | undefined) => void;
|
|
11178
|
+
tintTopRight: (gameObject: Phaser.GameObjects.Components.Tint) => (value: number | undefined) => void;
|
|
11179
|
+
scrollFactor: (gameObject: Phaser.GameObjects.Components.ScrollFactor) => (value: number | undefined) => void;
|
|
11180
|
+
scrollFactorX: (gameObject: Phaser.GameObjects.Components.ScrollFactor) => (value: number | undefined) => void;
|
|
11181
|
+
scrollFactorY: (gameObject: Phaser.GameObjects.Components.ScrollFactor) => (value: number | undefined) => void;
|
|
11182
|
+
displayOriginX: (gameObject: Phaser.GameObjects.Components.Origin) => (value: number | undefined) => void;
|
|
11183
|
+
displayOriginY: (gameObject: Phaser.GameObjects.Components.Origin) => (value: number | undefined) => void;
|
|
11184
|
+
origin: (gameObject: Phaser.GameObjects.Components.Origin) => (value: number | undefined) => void;
|
|
11185
|
+
originX: (gameObject: Phaser.GameObjects.Components.Origin) => (value: number | undefined) => void;
|
|
11186
|
+
originY: (gameObject: Phaser.GameObjects.Components.Origin) => (value: number | undefined) => void;
|
|
11187
|
+
mask: (gameObject: Phaser.GameObjects.Components.Mask) => (value: Phaser.Display.Masks.GeometryMask | undefined) => void;
|
|
11188
|
+
depth: (gameObject: Phaser.GameObjects.Components.Depth & Phaser.GameObjects.GameObject) => (value: number | undefined) => void;
|
|
11189
|
+
blendMode: (gameObject: Phaser.GameObjects.Components.BlendMode) => (value: string | number | Phaser.BlendModes | undefined) => void;
|
|
11190
|
+
alpha: (gameObject: Phaser.GameObjects.Components.Alpha) => (value: number | undefined) => void;
|
|
11191
|
+
alphaBottomLeft: (gameObject: Phaser.GameObjects.Components.Alpha) => (value: number | undefined) => void;
|
|
11192
|
+
alphaBottomRight: (gameObject: Phaser.GameObjects.Components.Alpha) => (value: number | undefined) => void;
|
|
11193
|
+
alphaTopLeft: (gameObject: Phaser.GameObjects.Components.Alpha) => (value: number | undefined) => void;
|
|
11194
|
+
alphaTopRight: (gameObject: Phaser.GameObjects.Components.Alpha) => (value: number | undefined) => void;
|
|
10355
11195
|
};
|
|
10356
11196
|
//#endregion
|
|
10357
11197
|
//#region src/services/setterMap/shared/ShapeSetterMap.d.ts
|
|
@@ -10400,9 +11240,6 @@ export declare const InjectionKeyMap: {
|
|
|
10400
11240
|
readonly SceneKey: InjectionKey<SceneWithPlugins["scene"]["key"]>;
|
|
10401
11241
|
};
|
|
10402
11242
|
//#endregion
|
|
10403
|
-
//#region src/services/shared/constants.d.ts
|
|
10404
|
-
export declare const TILEMAP_TILED_JSON_EXTERNAL_KEY = "tilemapTiledJSONExternal";
|
|
10405
|
-
//#endregion
|
|
10406
11243
|
//#region src/services/shared/createSceneClass.d.ts
|
|
10407
11244
|
export declare const createSceneClass: (key: string, hooks?: SceneLifecycleHooks) => new () => Scene;
|
|
10408
11245
|
//#endregion
|