@moku-labs/game 0.15.102 → 0.15.104
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/README.md +1 -1
- package/dist/app/page.d.mts +1 -1
- package/dist/app/page.mjs +1 -1
- package/dist/app/system.d.mts +3 -3
- package/dist/app.d.mts +3 -3
- package/dist/app.mjs +1 -1
- package/dist/assets.d.mts +1 -1
- package/dist/{commands-C2JXDkUV.d.mts → commands-CYXJyv3w.d.mts} +5 -5
- package/dist/control.d.mts +4 -4
- package/dist/{define-DNF9A0ce.d.mts → define-Cq8Df0_C.d.mts} +2 -2
- package/dist/{headless-CEG1oR5D.d.mts → headless-DRiVyv9T.d.mts} +1 -1
- package/dist/{index-DtbI1op8.d.mts → index-BIofySGI.d.mts} +37 -7
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +3 -3
- package/dist/inspect.d.mts +6 -6
- package/dist/inspect.mjs +1 -1
- package/dist/jsx-dev-runtime.d.mts +1 -1
- package/dist/jsx-runtime.d.mts +1 -1
- package/dist/{runtime-CcHPrVBm.d.mts → runtime-DuAOUZ-z.d.mts} +1 -1
- package/dist/{sources-BJyIJf_X.mjs → sources-JeKXYU_y.mjs} +1 -1
- package/dist/{src-CilP057R.mjs → src-BJBCs69P.mjs} +1553 -467
- package/dist/testing.d.mts +4 -4
- package/dist/testing.mjs +1 -1
- package/dist/{types-IJXSUFJa.d.mts → types-BT8kKhan.d.mts} +4 -4
- package/dist/{types-C1B7-x7p.d.mts → types-BlXBiM8d.d.mts} +191 -36
- package/dist/{types-Cdzw3as5.d.mts → types-C1-VCBhy.d.mts} +23 -5
- package/dist/{types-C612npUH.d.mts → types-Ca90Yo7d.d.mts} +2 -2
- package/dist/{types-Ce5W0gZe.d.mts → types-CayM8xne.d.mts} +1 -1
- package/dist/{visual-BoSpJLWP.d.mts → visual-B_3sVlRK.d.mts} +6 -6
- package/dist/{visual-DhqD6W3v.mjs → visual-fyUJwUJf.mjs} +163 -4
- package/dist/visual.d.mts +1 -1
- package/dist/visual.mjs +1 -1
- package/llms.txt +3 -3
- package/package.json +2 -2
package/dist/testing.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as createApp } from "./index-
|
|
3
|
-
import { b as memory, x as saveOf, y as WithGameState } from "./types-
|
|
4
|
-
import { a as createHeadless, i as ReproResult, n as HeadlessGame, o as runRepro, r as Repro, s as stepFrames, t as HeadlessApp } from "./headless-
|
|
1
|
+
import { Fr as ClockSource, Jn as NodeFx, Lr as FakeClock, Nn as AnyFlow, Un as Descriptor, Ur as Json, jn as FeaturePlugin, qn as Hint, zn as NodeTable } from "./types-CayM8xne.mjs";
|
|
2
|
+
import { t as createApp } from "./index-BIofySGI.mjs";
|
|
3
|
+
import { b as memory, x as saveOf, y as WithGameState } from "./types-BT8kKhan.mjs";
|
|
4
|
+
import { a as createHeadless, i as ReproResult, n as HeadlessGame, o as runRepro, r as Repro, s as stepFrames, t as HeadlessApp } from "./headless-DRiVyv9T.mjs";
|
|
5
5
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/clock/fake.d.ts
|
package/dist/testing.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dn as refuseStart, gn as type, pn as exit, t as createApp, w as flattenFeatures } from "./src-BJBCs69P.mjs";
|
|
2
2
|
import { n as saveOf, t as memory } from "./memory-DeD9wis6.mjs";
|
|
3
3
|
import { n as fakeClock } from "./fake-hnJcJeYf.mjs";
|
|
4
4
|
import { i as stepFrames, r as runRepro, t as createHeadless } from "./headless-CCiUwvlp.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { o as AudioContextLike, s as Config$4 } from "./types-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { $r as SnapshotOf, Fr as ClockSource, Hn as TypeTag, Jr as PlayerStateProvider, Lr as FakeClock, Nn as AnyFlow, Q as Config$2, Ur as Json, Vr as Config, Xr as SaveDoc, Yr as ProviderCall, a as Config$3, d as Manifest, gt as Orientation, hn as Config$1, jn as FeaturePlugin, n as AssetsIo, rt as PixiModule } from "./types-CayM8xne.mjs";
|
|
2
|
+
import { o as AudioContextLike, s as Config$4 } from "./types-C1-VCBhy.mjs";
|
|
3
|
+
import { J as StringTable, U as I18nApi, Y as TextKey } from "./types-BlXBiM8d.mjs";
|
|
4
|
+
import { Et as PlatformProvider, It as audioPlugin, Nt as effectsPlugin, i as screen, t as createApp, wt as platformPlugin } from "./index-BIofySGI.mjs";
|
|
5
5
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/model/store/providers/memory.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as TransformValue, Or as TagType, Pr as Api$5, Qn as ChangeHook, Un as Descriptor, Ur as Json, Xn as Answered, Z as Api$3, Zn as AnchorTarget, _r as ComponentType, ar as ProjectionMotion, dr as ViewHandle, er as Ease, et as PixiContainer, fr as AnyComponent, ir as NumericFields, kr as Api$2, li as Api, mr as AnyComponentValue, nr as MotionCause, pn as Api$1, pr as AnyComponentType, qn as Hint, rr as MotionHandle, rt as PixiModule, s as Events$1, sr as ReducedMotion, t as Api$4, tr as Motion, vt as ViewportSize, yi as Require, yr as Entity } from "./types-CayM8xne.mjs";
|
|
2
2
|
import { Log } from "@moku-labs/common/browser";
|
|
3
3
|
import { PluginCtx } from "@moku-labs/core";
|
|
4
4
|
import { Node, Yoga } from "yoga-layout/load";
|
|
@@ -653,7 +653,9 @@ type I18nApi<Key extends string = string> = {
|
|
|
653
653
|
*/
|
|
654
654
|
format(message: Message, locale: string): readonly Part[];
|
|
655
655
|
/**
|
|
656
|
-
* The parts joined into one string, elements dropped.
|
|
656
|
+
* The parts joined into one string, elements dropped. Every `\<` reads as `<`, so a string
|
|
657
|
+
* parameter shows as the player wrote it, without the escape `format` keeps for `text`. For
|
|
658
|
+
* logs, tests, aria-labels and `flow.describe()`.
|
|
657
659
|
*
|
|
658
660
|
* @param message - What `tr` returned.
|
|
659
661
|
* @returns The sentence as text.
|
|
@@ -661,6 +663,8 @@ type I18nApi<Key extends string = string> = {
|
|
|
661
663
|
* ```ts
|
|
662
664
|
* // A test asserts what the HUD says without touching the renderer.
|
|
663
665
|
* app.i18n.plain(tr("hud.coins", { n: 25, icon: coinIcon })); // "25": the icon is dropped
|
|
666
|
+
* // "lobby.host" is "Host: {name}"; format answers "Host: \\<b>x" for the same message.
|
|
667
|
+
* app.i18n.plain(tr("lobby.host", { name: "<b>x" })); // "Host: <b>x"
|
|
664
668
|
* ```
|
|
665
669
|
*/
|
|
666
670
|
plain(message: Message): string;
|
|
@@ -832,7 +836,11 @@ type TypedTr<Table extends StringTable> = {
|
|
|
832
836
|
* ```
|
|
833
837
|
*/
|
|
834
838
|
type I18nKit<Table extends StringTable> = {
|
|
835
|
-
/**
|
|
839
|
+
/**
|
|
840
|
+
* `tr`, checked against the game's table: builds a `Message` for a key of the table; a key
|
|
841
|
+
* with parameters requires them.
|
|
842
|
+
*/
|
|
843
|
+
tr: TypedTr<Table>;
|
|
836
844
|
/**
|
|
837
845
|
* Checks a key that does not take parameters against the game's table and returns it, typed:
|
|
838
846
|
* what a data table stores instead of a `string`. The same string at run time.
|
|
@@ -1428,7 +1436,7 @@ declare function defineComponent<Properties extends object, Local extends object
|
|
|
1428
1436
|
*/
|
|
1429
1437
|
declare function defineComponent<Properties extends object, Local extends object>(name: string, spec: ComponentSpec<Properties, Local, never>): ComponentDefinition<Properties, Local, undefined>;
|
|
1430
1438
|
declare namespace types_d_exports {
|
|
1431
|
-
export { AdvanceTable, AssetsReplaced, BindField, BindOptions, BundleLoaded, BundleUnloaded, Config, CountdownValue, Deps, DrawnLabel, FormattedNumber, IconRun, KernelSlice, LayoutOptions, Line, LocaleChanged, Point, Run, SeenText, Size, State, TextAlign, TextApi, TextBind, TextCtx, TextFormat, TextFormatAnswer, TextFormatFunction, TextFormats, TextLayout, TextRun, TextShadow, TextStyle, TextStyleInput, TextStyles, TextValue, TextWrap, Warn };
|
|
1439
|
+
export { AdvanceTable, AssetsReplaced, BindField, BindOptions, BundleLoaded, BundleUnloaded, Config, CountdownValue, Deps, DrawCursor, DrawnLabel, FormattedNumber, IconRun, KernelSlice, LayoutOptions, Line, LocaleChanged, Point, Run, SeenText, ShownLayout, Size, State, TextAlign, TextApi, TextBind, TextCtx, TextFormat, TextFormatAnswer, TextFormatFunction, TextFormats, TextLayout, TextRun, TextRunStyle, TextShadow, TextStyle, TextStyleInput, TextStyles, TextValue, TextWrap, Warn };
|
|
1432
1440
|
}
|
|
1433
1441
|
/**
|
|
1434
1442
|
* A point in reference units: where a label sits, and which point of the block sits there.
|
|
@@ -1659,6 +1667,35 @@ type TextShadow = {
|
|
|
1659
1667
|
dy: number;
|
|
1660
1668
|
alpha: number;
|
|
1661
1669
|
};
|
|
1670
|
+
/**
|
|
1671
|
+
* The glyph look of a piece of a line: what `boldStyle` lays over a style for its `<b>` runs.
|
|
1672
|
+
* Every field is optional; one left out comes from the style. `font` is the font the run draws
|
|
1673
|
+
* with, so it wins over `bold`. `shadow` is a drop shadow as on a style, `alpha` 1 when left out.
|
|
1674
|
+
*
|
|
1675
|
+
* @example
|
|
1676
|
+
* ```ts
|
|
1677
|
+
* // The count of «<b>140★</b> можно потратить в магазине звёзд»: 16 px bold in a 13 px line.
|
|
1678
|
+
* const count: TextRunStyle = { font: "ui.fonts.alt-bold", size: 16 };
|
|
1679
|
+
*
|
|
1680
|
+
* defineTextStyles({
|
|
1681
|
+
* "album.row.13": { font: "ui.fonts.text-medium", size: 13, fill: 0x3b2a1a, boldStyle: count }
|
|
1682
|
+
* }).map["album.row.13"]?.boldStyle; // { font: "ui.fonts.alt-bold", size: 16 }
|
|
1683
|
+
* ```
|
|
1684
|
+
*/
|
|
1685
|
+
type TextRunStyle = {
|
|
1686
|
+
font?: string;
|
|
1687
|
+
size?: number;
|
|
1688
|
+
fill?: number;
|
|
1689
|
+
letterSpacing?: number;
|
|
1690
|
+
stroke?: number;
|
|
1691
|
+
strokeWidth?: number;
|
|
1692
|
+
shadow?: {
|
|
1693
|
+
color: number;
|
|
1694
|
+
dx: number;
|
|
1695
|
+
dy: number;
|
|
1696
|
+
alpha?: number;
|
|
1697
|
+
};
|
|
1698
|
+
};
|
|
1662
1699
|
/**
|
|
1663
1700
|
* One style as a game writes it: the font and the size are required, the rest has defaults.
|
|
1664
1701
|
*
|
|
@@ -1733,11 +1770,50 @@ type TextStyleInput = {
|
|
|
1733
1770
|
* ```
|
|
1734
1771
|
*/
|
|
1735
1772
|
balance?: boolean;
|
|
1773
|
+
/**
|
|
1774
|
+
* The look of the `<b>` runs of this style: the style with these fields laid over it. Without
|
|
1775
|
+
* it a `<b>` run draws in the `bold` font, or as a synthetic bold when the style names none.
|
|
1776
|
+
* A key outside the seven of `TextRunStyle`, a `size` that is not a number above 0, or a
|
|
1777
|
+
* `letterSpacing` or `strokeWidth` that is not finite is refused when the style is defined.
|
|
1778
|
+
*
|
|
1779
|
+
* @example
|
|
1780
|
+
* ```ts
|
|
1781
|
+
* // The game line: the count is 16 px alt-bold, the words 13 px text-medium.
|
|
1782
|
+
* defineTextStyles({
|
|
1783
|
+
* "album.row.13": {
|
|
1784
|
+
* font: "ui.fonts.text-medium", size: 13, fill: 0x3b2a1a, wrap: "box",
|
|
1785
|
+
* boldStyle: { font: "ui.fonts.alt-bold", size: 16 }
|
|
1786
|
+
* }
|
|
1787
|
+
* });
|
|
1788
|
+
*
|
|
1789
|
+
* // Every glyph 0.6 em while no font is loaded: "140" is 3 × 9.6, " можно" 6 × 7.8.
|
|
1790
|
+
* app.text.measure("<b>140</b> можно", "album.row.13"); // { width: 75.6, height: 19.2 }
|
|
1791
|
+
* ```
|
|
1792
|
+
*/
|
|
1793
|
+
boldStyle?: TextRunStyle;
|
|
1794
|
+
/**
|
|
1795
|
+
* The indent of the first line of the block, in reference px, like CSS `text-indent`. The first
|
|
1796
|
+
* line wraps at the wrap less the indent, and its width counts it; a line after `\n` starts at
|
|
1797
|
+
* the edge. A number below 0 or not finite is refused; 0 is left out.
|
|
1798
|
+
*
|
|
1799
|
+
* @example
|
|
1800
|
+
* ```ts
|
|
1801
|
+
* defineTextStyles({
|
|
1802
|
+
* "card.body.14": { font: "ui.font-body", size: 14, fill: 0x3b2a1a, wrap: 200, textIndent: 20 }
|
|
1803
|
+
* });
|
|
1804
|
+
*
|
|
1805
|
+
* // 0.6 em while no font is loaded: the indent and 12 glyphs of 8.4.
|
|
1806
|
+
* app.text.measure("Once upon a.", "card.body.14"); // { width: 120.8, height: 16.8 }
|
|
1807
|
+
* ```
|
|
1808
|
+
*/
|
|
1809
|
+
textIndent?: number;
|
|
1736
1810
|
};
|
|
1737
1811
|
/**
|
|
1738
1812
|
* One style as the plugin stores it: every field filled, `bold` and `italic` only when the game
|
|
1739
1813
|
* shipped those MSDF fonts, `shadow` only when the style has one, `lineHeight` only when the style
|
|
1740
1814
|
* names its line (`undefined` is the font's line), and `balance` only on a style that balances.
|
|
1815
|
+
* `boldStyle` holds the fields the game gave, its shadow with the alpha filled, and `textIndent`
|
|
1816
|
+
* is there only above 0: a style that names neither equals the literal below.
|
|
1741
1817
|
*
|
|
1742
1818
|
* @example
|
|
1743
1819
|
* ```ts
|
|
@@ -1763,6 +1839,8 @@ type TextStyle = {
|
|
|
1763
1839
|
shadow: TextShadow | undefined;
|
|
1764
1840
|
lineHeight: number | undefined;
|
|
1765
1841
|
balance?: true;
|
|
1842
|
+
boldStyle?: TextRunStyle;
|
|
1843
|
+
textIndent?: number;
|
|
1766
1844
|
};
|
|
1767
1845
|
/**
|
|
1768
1846
|
* What `defineTextStyles` returns and a feature registers under its `textStyles` key. Structural
|
|
@@ -1779,24 +1857,33 @@ type TextStyles = {
|
|
|
1779
1857
|
};
|
|
1780
1858
|
/**
|
|
1781
1859
|
* The advances of one font at the size the `.fnt` was exported with. Widths scale by
|
|
1782
|
-
* `style.size / size`; kerning pairs are ignored.
|
|
1860
|
+
* `style.size / size`; kerning pairs are ignored. `base` is how far the baseline sits below the
|
|
1861
|
+
* top of a line of the font (`common.base`), 0.8 × `size` when the file names none.
|
|
1783
1862
|
*
|
|
1784
1863
|
* @example
|
|
1785
1864
|
* ```ts
|
|
1786
|
-
* const table: AdvanceTable = {
|
|
1865
|
+
* const table: AdvanceTable = {
|
|
1866
|
+
* size: 32, lineHeight: 40, base: 32, advances: new Map([["1", 18]])
|
|
1867
|
+
* };
|
|
1787
1868
|
* ```
|
|
1788
1869
|
*/
|
|
1789
1870
|
type AdvanceTable = {
|
|
1790
1871
|
size: number;
|
|
1791
1872
|
lineHeight: number;
|
|
1873
|
+
base: number;
|
|
1792
1874
|
advances: Map<string, number>;
|
|
1793
1875
|
};
|
|
1794
1876
|
/**
|
|
1795
|
-
* One run of glyphs: the text and the flags every glyph in it shares.
|
|
1877
|
+
* One run of glyphs: the text and the flags every glyph in it shares. `span` is the key of the
|
|
1878
|
+
* style a `<span style=KEY>` around it borrows the look of, `undefined` outside a span.
|
|
1796
1879
|
*
|
|
1797
1880
|
* @example
|
|
1798
1881
|
* ```ts
|
|
1799
|
-
* const run: TextRun = {
|
|
1882
|
+
* const run: TextRun = {
|
|
1883
|
+
* kind: "text", text: "+5", bold: true, italic: false, color: 0xffe082, span: undefined
|
|
1884
|
+
* };
|
|
1885
|
+
* // "<span style=price.22>1 250</span>" is one run in the look of "price.22".
|
|
1886
|
+
* const price: TextRun = { ...run, text: "1 250", bold: false, color: undefined, span: "price.22" };
|
|
1800
1887
|
* ```
|
|
1801
1888
|
*/
|
|
1802
1889
|
type TextRun = {
|
|
@@ -1805,42 +1892,54 @@ type TextRun = {
|
|
|
1805
1892
|
bold: boolean;
|
|
1806
1893
|
italic: boolean;
|
|
1807
1894
|
color: number | undefined;
|
|
1895
|
+
span: string | undefined;
|
|
1808
1896
|
};
|
|
1809
1897
|
/**
|
|
1810
|
-
* One inline icon: an asset key drawn square at the line
|
|
1898
|
+
* One inline icon: an asset key drawn square at the line of its look, the span's when it sits in
|
|
1899
|
+
* one.
|
|
1811
1900
|
*
|
|
1812
1901
|
* @example
|
|
1813
1902
|
* ```ts
|
|
1814
|
-
* const run: IconRun = { kind: "icon", key: "hud.coin" };
|
|
1903
|
+
* const run: IconRun = { kind: "icon", key: "hud.coin", span: undefined };
|
|
1815
1904
|
* ```
|
|
1816
1905
|
*/
|
|
1817
1906
|
type IconRun = {
|
|
1818
1907
|
kind: "icon";
|
|
1819
1908
|
key: string;
|
|
1909
|
+
span: string | undefined;
|
|
1820
1910
|
};
|
|
1821
1911
|
/**
|
|
1822
1912
|
* A piece of a line: glyphs or one inline icon.
|
|
1823
1913
|
*
|
|
1824
1914
|
* @example
|
|
1825
1915
|
* ```ts
|
|
1826
|
-
* const runs: Run[] = [{ kind: "icon", key: "hud.coin" }];
|
|
1916
|
+
* const runs: Run[] = [{ kind: "icon", key: "hud.coin", span: undefined }];
|
|
1827
1917
|
* ```
|
|
1828
1918
|
*/
|
|
1829
1919
|
type Run = TextRun | IconRun;
|
|
1830
1920
|
/**
|
|
1831
|
-
* One laid-out line
|
|
1921
|
+
* One laid-out line: its runs, how wide it is, how high its line box is, and where its baseline
|
|
1922
|
+
* sits below its top. A line of one look is as high as that look's line; a piece of a taller look
|
|
1923
|
+
* makes it taller, and every piece stands on the one baseline.
|
|
1832
1924
|
*
|
|
1833
1925
|
* @example
|
|
1834
1926
|
* ```ts
|
|
1835
|
-
*
|
|
1927
|
+
* // An icon in `body` while no font is loaded: a line of 1.2 em, the baseline at 0.8 em.
|
|
1928
|
+
* const line: Line = {
|
|
1929
|
+
* runs: [{ kind: "icon", key: "hud.coin", span: undefined }], width: 38.4, height: 38.4,
|
|
1930
|
+
* baseline: 25.6
|
|
1931
|
+
* };
|
|
1836
1932
|
* ```
|
|
1837
1933
|
*/
|
|
1838
1934
|
type Line = {
|
|
1839
1935
|
runs: Run[];
|
|
1840
1936
|
width: number;
|
|
1937
|
+
height: number;
|
|
1938
|
+
baseline: number;
|
|
1841
1939
|
};
|
|
1842
1940
|
/**
|
|
1843
|
-
* A laid-out block: its lines and the size `measure` answers with.
|
|
1941
|
+
* A laid-out block: its lines and the size `measure` answers with. `height` is the sum of the
|
|
1942
|
+
* heights of its lines.
|
|
1844
1943
|
*
|
|
1845
1944
|
* @example
|
|
1846
1945
|
* ```ts
|
|
@@ -1856,13 +1955,41 @@ type TextLayout = {
|
|
|
1856
1955
|
* What one label container was last filled from: the style object, the laid-out block and the
|
|
1857
1956
|
* generation of the state at that moment. An update with the same style object, the same
|
|
1858
1957
|
* generation, the same anchor and the same lines and runs writes the new text and positions into
|
|
1859
|
-
* the objects already there. An older generation means a dev hot swap replaced a font
|
|
1860
|
-
* since: the objects hold textures that are destroyed,
|
|
1958
|
+
* the objects already there. An older generation means a dev hot swap replaced a font, an icon or
|
|
1959
|
+
* the styles since: the objects hold textures that are destroyed, or are in a look that changed,
|
|
1960
|
+
* so they are built again. `entity` is the entity the container was built for, so an update reads
|
|
1961
|
+
* the layout the text step fetched for it. A retext writes the new layout into this record.
|
|
1861
1962
|
*/
|
|
1862
1963
|
type DrawnLabel = {
|
|
1863
1964
|
style: TextStyle;
|
|
1864
1965
|
layout: TextLayout;
|
|
1865
1966
|
generation: number;
|
|
1967
|
+
entity: Entity | undefined;
|
|
1968
|
+
};
|
|
1969
|
+
/**
|
|
1970
|
+
* The layout the text step measured a label with last, and what it was laid out from: the
|
|
1971
|
+
* resolved string, the style name, the box and the epoch of the layout cache. The draw of the same
|
|
1972
|
+
* label takes it when all four still hold, so a changing label builds its cache key once a frame.
|
|
1973
|
+
* Made once per label, then written in place.
|
|
1974
|
+
*/
|
|
1975
|
+
type ShownLayout = {
|
|
1976
|
+
resolved: string;
|
|
1977
|
+
style: string;
|
|
1978
|
+
box: number | undefined;
|
|
1979
|
+
epoch: number;
|
|
1980
|
+
layout: TextLayout;
|
|
1981
|
+
};
|
|
1982
|
+
/**
|
|
1983
|
+
* Where a draw is: the container it writes into, the Pixi module, the index of the next child, and
|
|
1984
|
+
* where the run at hand starts (`at[0]` across, `at[1]` down, in a typed array so writing a spot
|
|
1985
|
+
* boxes no number). One per plugin, written in place by every fill and retext, so neither builds a
|
|
1986
|
+
* closure or a point.
|
|
1987
|
+
*/
|
|
1988
|
+
type DrawCursor = {
|
|
1989
|
+
container: PixiContainer | undefined;
|
|
1990
|
+
pixi: PixiModule | undefined;
|
|
1991
|
+
index: number;
|
|
1992
|
+
at: Float64Array;
|
|
1866
1993
|
};
|
|
1867
1994
|
/**
|
|
1868
1995
|
* A dev warning that is written once per key. Pure modules take it as an argument, so nothing
|
|
@@ -1870,15 +1997,20 @@ type DrawnLabel = {
|
|
|
1870
1997
|
*/
|
|
1871
1998
|
type Warn = (key: string, message: string, data?: Record<string, unknown>) => void;
|
|
1872
1999
|
/**
|
|
1873
|
-
* What the pure layout needs next to the runs, the style and the tables
|
|
2000
|
+
* What the pure layout needs next to the runs, the style and the tables: where a warning goes,
|
|
2001
|
+
* and the style table and the bold looks a run in a span or in `<b>` takes its look from. Left
|
|
2002
|
+
* out, every run is in the look of the paragraph.
|
|
1874
2003
|
*
|
|
1875
2004
|
* @example
|
|
1876
2005
|
* ```ts
|
|
1877
2006
|
* const options: LayoutOptions = { warn: () => undefined };
|
|
2007
|
+
* const looked: LayoutOptions = { warn: () => undefined, styles: state.styles, looks: state.looks };
|
|
1878
2008
|
* ```
|
|
1879
2009
|
*/
|
|
1880
2010
|
type LayoutOptions = {
|
|
1881
2011
|
warn: Warn;
|
|
2012
|
+
styles?: ReadonlyMap<string, TextStyle>;
|
|
2013
|
+
looks?: ReadonlyMap<TextStyle, TextStyle>;
|
|
1882
2014
|
};
|
|
1883
2015
|
/**
|
|
1884
2016
|
* What was resolved for one entity last, so the frame step knows whether anything moved. `style`
|
|
@@ -1924,17 +2056,32 @@ type Config = {
|
|
|
1924
2056
|
* text plugin state.
|
|
1925
2057
|
*/
|
|
1926
2058
|
type State = {
|
|
1927
|
-
/** Built-in styles first, then the styles of every feature in feature order. */styles: Map<string, TextStyle>;
|
|
2059
|
+
/** Built-in styles first, then the styles of every feature in feature order. */styles: Map<string, TextStyle>;
|
|
2060
|
+
/**
|
|
2061
|
+
* A style that has `boldStyle` to the look of its `<b>` runs: the style with `boldStyle` laid
|
|
2062
|
+
* over it. Built with the style table and again on every hot swap, so a layout and a draw read
|
|
2063
|
+
* a look and build none.
|
|
2064
|
+
*/
|
|
2065
|
+
looks: Map<TextStyle, TextStyle>; /** Style name to the feature that brought it, for the duplicate error. */
|
|
1928
2066
|
styleOwner: Map<string, string>; /** The number formats of every feature by name, in feature order. */
|
|
1929
2067
|
formats: Map<string, TextFormatFunction>; /** Format name to the feature that brought it, for the duplicate error. */
|
|
1930
|
-
formatOwner: Map<string, string>; /** The config fonts plus every `font`, `bold` and `
|
|
2068
|
+
formatOwner: Map<string, string>; /** The config fonts plus every `font`, `bold`, `italic` and `boldStyle.font` of every style. */
|
|
1931
2069
|
fontKeys: Set<string>; /** The parsed advance table per font key, filled when `assets` has the font. */
|
|
1932
2070
|
tables: Map<string, AdvanceTable>; /** The font keys handed to `renderer.sync.fonts.install`. */
|
|
1933
2071
|
installed: Set<string>; /** What was resolved for an entity last. */
|
|
1934
2072
|
seen: Map<Entity, SeenText>; /** `bind.component` to its world type; `undefined` after the one warning. */
|
|
1935
2073
|
bindTypes: Map<string, AnyComponent | undefined>; /** The measured size of every live label, for `ui`. */
|
|
1936
2074
|
measured: Map<Entity, Size>; /** Layout per `style + resolved`, and the box width for a `"box"` style; oldest dropped first. */
|
|
1937
|
-
cache: Map<string, TextLayout>; /**
|
|
2075
|
+
cache: Map<string, TextLayout>; /** Counts the times the layout cache was dropped, so a kept layout of an older count is stale. */
|
|
2076
|
+
epoch: number; /** The layout the text step measured each live label with last. */
|
|
2077
|
+
shown: Map<Entity, ShownLayout>; /** The draw in progress. */
|
|
2078
|
+
cursor: DrawCursor;
|
|
2079
|
+
/**
|
|
2080
|
+
* The width of every run a draw measured, by run: a run belongs to one cached layout, laid out
|
|
2081
|
+
* under one set of tables, so its width stands while the run lives. A retext reads it and
|
|
2082
|
+
* measures no glyph.
|
|
2083
|
+
*/
|
|
2084
|
+
runWidths: WeakMap<Run, number>; /** What every live label container was last filled from, by container. */
|
|
1938
2085
|
drawn: WeakMap<object, DrawnLabel>; /** Entities to re-resolve in the next layout phase. */
|
|
1939
2086
|
dirty: Set<Entity>;
|
|
1940
2087
|
/**
|
|
@@ -1949,8 +2096,8 @@ type State = {
|
|
|
1949
2096
|
*/
|
|
1950
2097
|
rewrite: Entity[];
|
|
1951
2098
|
/**
|
|
1952
|
-
* Counts the dev hot swaps that replaced a font
|
|
1953
|
-
* container drawn under an older count is built again on its next update.
|
|
2099
|
+
* Counts the dev hot swaps that replaced a font, an inline icon or the styles of a live label. A
|
|
2100
|
+
* label container drawn under an older count is built again on its next update.
|
|
1954
2101
|
*/
|
|
1955
2102
|
generation: number; /** Warning keys already written, so a style, a tag, a glyph or a font warns once. */
|
|
1956
2103
|
warned: Set<string>; /** The `"box"` styles a layout measured at a width: a label of one with no box fits its row, it is not outside a layout (F65). */
|
|
@@ -1958,9 +2105,9 @@ type State = {
|
|
|
1958
2105
|
removers: Array<() => void>;
|
|
1959
2106
|
};
|
|
1960
2107
|
/**
|
|
1961
|
-
* text plugin API, `app.text`.
|
|
1962
|
-
* registered, and what a game's number format answers; and one order,
|
|
1963
|
-
* file. Everything else happens in the frame.
|
|
2108
|
+
* text plugin API, `app.text`. Four questions: how big a piece of text is, whether a font has a
|
|
2109
|
+
* glyph, which styles the game registered, and what a game's number format answers; and one order,
|
|
2110
|
+
* the dev hot swap of a styles file. Everything else happens in the frame.
|
|
1964
2111
|
*
|
|
1965
2112
|
* @example
|
|
1966
2113
|
* ```ts
|
|
@@ -1972,8 +2119,9 @@ type TextApi = {
|
|
|
1972
2119
|
/**
|
|
1973
2120
|
* The size of a piece of text in reference pixels, from the advance table of the style's font.
|
|
1974
2121
|
* A `Message` is formatted in the current locale first. Never touches a canvas, so the answer
|
|
1975
|
-
* is the same in a browser and in plain Bun.
|
|
1976
|
-
*
|
|
2122
|
+
* is the same in a browser and in plain Bun. A block with pieces of other looks (`<span>`,
|
|
2123
|
+
* `boldStyle`) is as high as the line boxes of its lines, and the width counts `textIndent`.
|
|
2124
|
+
* Cached per style and resolved string, and per width for a `"box"` style. A call with a width is a layout's (`ui.layout` is the caller it is
|
|
1977
2125
|
* meant for): it marks the style as laid out, so a label of it with no box (one that fits its
|
|
1978
2126
|
* row) no longer warns `wrap "box" outside layout` (F65).
|
|
1979
2127
|
*
|
|
@@ -2027,11 +2175,14 @@ type TextApi = {
|
|
|
2027
2175
|
* four built-in formats included, and for a format that threw (reported once per name).
|
|
2028
2176
|
* @example
|
|
2029
2177
|
* ```ts
|
|
2030
|
-
* //
|
|
2031
|
-
* // Below a thousand
|
|
2032
|
-
*
|
|
2033
|
-
*
|
|
2034
|
-
*
|
|
2178
|
+
* // `ui` asks in the first solve of a label bound through "pill.number", before its `Text`
|
|
2179
|
+
* // exists. Below a thousand the format answers the digits in "digits.17", from there "1.5K"
|
|
2180
|
+
* // in "digits.14.5".
|
|
2181
|
+
* const text = ctx.require(textPlugin);
|
|
2182
|
+
*
|
|
2183
|
+
* text.formatted("pill.number", 949.6); // { text: "950", style: "digits.17" }
|
|
2184
|
+
* text.formatted("pill.number", 1500); // { text: "1.5K", style: "digits.14.5" }
|
|
2185
|
+
* text.formatted("mm:ss", 95_000); // undefined: a built-in format has no answer here
|
|
2035
2186
|
* ```
|
|
2036
2187
|
*/
|
|
2037
2188
|
formatted(name: string, value: number): FormattedNumber | undefined;
|
|
@@ -2051,8 +2202,9 @@ type TextApi = {
|
|
|
2051
2202
|
* The dev hot swap of a styles file: writes every style of the map over the table. A known
|
|
2052
2203
|
* name keeps the feature that owns it, a new name is added and usable at once. The fonts the
|
|
2053
2204
|
* styles name are read, the measured layouts are dropped, and every label is laid out again
|
|
2054
|
-
* on the next frame and
|
|
2055
|
-
*
|
|
2205
|
+
* on the next frame and built again, even when its text and its style name did not change: a
|
|
2206
|
+
* label whose `<span>` or `boldStyle` look changed redraws too. The game loop is woken for that
|
|
2207
|
+
* frame.
|
|
2056
2208
|
*
|
|
2057
2209
|
* @param styles - What `defineTextStyles` returned in the saved module.
|
|
2058
2210
|
* @example
|
|
@@ -2091,10 +2243,13 @@ type KernelSlice = PluginCtx<Config, State> & {
|
|
|
2091
2243
|
readonly require: Require;
|
|
2092
2244
|
};
|
|
2093
2245
|
/**
|
|
2094
|
-
* Domain context shared by the files of the plugin: the kernel slice
|
|
2246
|
+
* Domain context shared by the files of the plugin: the kernel slice, the resolved deps, and the
|
|
2247
|
+
* layout options every layout and draw is handed, built once with the context: the warning of this
|
|
2248
|
+
* app, the style table and the bold looks (both kept in place, so the references stand).
|
|
2095
2249
|
*/
|
|
2096
2250
|
type TextCtx = KernelSlice & {
|
|
2097
2251
|
readonly deps: Deps;
|
|
2252
|
+
readonly layoutOptions: LayoutOptions;
|
|
2098
2253
|
};
|
|
2099
2254
|
/**
|
|
2100
2255
|
* Payload of the `assets:bundle-loaded` hook: a bundle landed, so a font may be readable now.
|
|
@@ -3520,4 +3675,4 @@ type CommonProps = {
|
|
|
3520
3675
|
components?: ElementComponents;
|
|
3521
3676
|
};
|
|
3522
3677
|
//#endregion
|
|
3523
|
-
export {
|
|
3678
|
+
export { ResolvedStyle as $, TextFormats as A, types_d_exports$1 as B, Point as C, TextFormat as D, TextBind as E, types_d_exports as F, Message as G, Config$2 as H, defineComponent as I, StringTable as J, Part as K, Config$1 as L, TextStyleInput as M, TextStyles as N, TextFormatAnswer as O, TextValue as P, IsFlags as Q, InputApi as R, FormattedNumber as S, TextApi as T, I18nApi as U, Argument as V, IntlKit as W, TypedTr as X, TextKey as Y, types_d_exports$2 as Z, UiIntrinsicElements as _, JsxChild as a, Config as b, UiNode as c, DebugTrigger as d, Style as et, LocalWrite as f, IntrinsicElementsFor as g, defineTokens as h, Finding as i, TextRunStyle as j, TextFormatFunction as k, LayoutState as l, popup as m, ElementChange as n, WhenFlags as nt, JsxState as o, ScrollState as p, State$2 as q, ElementMotion as r, PopupComponent as s, DescriptionNode as t, StylesState as tt, Box as u, BindField as v, State as w, CountdownValue as x, BindOptions as y, State$1 as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { A as FilterSlotQuad, Br as Api$6, Hn as TypeTag, Hr as Events$3, O as FilterSlot, Un as Descriptor, Ur as Json, Z as Api$4, Zn as AnchorTarget, _r as ComponentType, _t as Point, ai as Events$5, at as PixiTexture, b as Events$4, er as Ease, fr as AnyComponent, hr as ComponentHandle, ir as NumericFields, it as PixiSprite, j as SyncApi, k as FilterSlotInputs, kr as Api$3, li as Api$1, lr as TrackOptions, mr as AnyComponentValue, nt as PixiGpuProgram, ot as PixiUniformGroup, pn as Api$2, rr as MotionHandle, rt as PixiModule, s as Events$1, sr as ReducedMotion, t as Api$5, tt as PixiFilter, ur as TrackSegment, vi as Events$2, yi as Require, yr as Entity, yt as FilterCache } from "./types-CayM8xne.mjs";
|
|
2
|
+
import { R as InputApi, T as TextApi, U as I18nApi, c as UiNode, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion, tt as StylesState } from "./types-BlXBiM8d.mjs";
|
|
3
3
|
import { Log } from "@moku-labs/common/browser";
|
|
4
4
|
import { PluginCtx } from "@moku-labs/core";
|
|
5
5
|
|
|
@@ -1634,7 +1634,9 @@ type FilterInput<Value> = {
|
|
|
1634
1634
|
readonly stages: readonly FilterStage[];
|
|
1635
1635
|
/**
|
|
1636
1636
|
* The steps of the second texture for this value and resolution. Pure: no state, no randomness; the context object
|
|
1637
|
-
* is the engine's and valid during the call only.
|
|
1637
|
+
* is the engine's and valid during the call only. The engine reads the steps during the call and copies the uniform
|
|
1638
|
+
* values it needs, so a chain may answer the same array on every call, its uniform objects written in place (what
|
|
1639
|
+
* `Bloom` does, so a tween allocates nothing in the chain).
|
|
1638
1640
|
*
|
|
1639
1641
|
* @param value - The stored value of the filter component.
|
|
1640
1642
|
* @param context - The resolution of the texture the view is drawn into.
|
|
@@ -2398,8 +2400,24 @@ type FoldValue = {
|
|
|
2398
2400
|
enabled: boolean;
|
|
2399
2401
|
order: number;
|
|
2400
2402
|
};
|
|
2403
|
+
/**
|
|
2404
|
+
* `Bloom`: light around the bright parts of the view: what is above `threshold` (0..1) of its light, blurred `radius`
|
|
2405
|
+
* CSS px wide and added back by `strength` (0..2).
|
|
2406
|
+
*
|
|
2407
|
+
* @example
|
|
2408
|
+
* ```ts
|
|
2409
|
+
* const value: BloomValue = { strength: 0.6, threshold: 0.7, radius: 16, enabled: true, order: 0 };
|
|
2410
|
+
* ```
|
|
2411
|
+
*/
|
|
2412
|
+
type BloomValue = {
|
|
2413
|
+
strength: number;
|
|
2414
|
+
threshold: number;
|
|
2415
|
+
radius: number;
|
|
2416
|
+
enabled: boolean;
|
|
2417
|
+
order: number;
|
|
2418
|
+
};
|
|
2401
2419
|
declare namespace types_d_exports$2 {
|
|
2402
|
-
export { AlphaValue, AssetsReplaced$1 as AssetsReplaced, AuraValue, BlurValue, BundleUnloaded$1 as BundleUnloaded, ColorMatrixValue, Config$2 as Config, CoreKind, Curve, Deps$2 as Deps, DisplacementValue, DissolveValue, EffectsApi, EffectsCtx, EffectsDiagnostics, EffectsStats, EmitterConfig, EmitterDefinition, EmitterValue, FilterArea, FilterCache, FilterChainContext, FilterComponent, FilterDefinition, FilterInput, FilterInputDefinition, FilterSpec, FilterStage, FilterStep, FilterValueOf, FlashValue, FoldValue, GlowValue, GradeValue, HotSwap, KernelSlice$2 as KernelSlice, NoiseValue, OutlineValue, Range, ResolvedEmitterConfig, RevealLineValue, RevealRoundValue, Shape, ShineValue, State$2 as State, UniformDeclaration, UniformSpec, UniformValue, VignetteValue };
|
|
2420
|
+
export { AlphaValue, AssetsReplaced$1 as AssetsReplaced, AuraValue, BloomValue, BlurValue, BundleUnloaded$1 as BundleUnloaded, ColorMatrixValue, Config$2 as Config, CoreKind, Curve, Deps$2 as Deps, DisplacementValue, DissolveValue, EffectsApi, EffectsCtx, EffectsDiagnostics, EffectsStats, EmitterConfig, EmitterDefinition, EmitterValue, FilterArea, FilterCache, FilterChainContext, FilterComponent, FilterDefinition, FilterInput, FilterInputDefinition, FilterSpec, FilterStage, FilterStep, FilterValueOf, FlashValue, FoldValue, GlowValue, GradeValue, HotSwap, KernelSlice$2 as KernelSlice, NoiseValue, OutlineValue, Range, ResolvedEmitterConfig, RevealLineValue, RevealRoundValue, Shape, ShineValue, State$2 as State, UniformDeclaration, UniformSpec, UniformValue, VignetteValue };
|
|
2403
2421
|
}
|
|
2404
2422
|
/**
|
|
2405
2423
|
* effects plugin config. `maxParticles` here is the global warning line; the `maxParticles` of an
|
|
@@ -3386,4 +3404,4 @@ type UiApi = {
|
|
|
3386
3404
|
}> | undefined;
|
|
3387
3405
|
};
|
|
3388
3406
|
//#endregion
|
|
3389
|
-
export {
|
|
3407
|
+
export { SfxDescriptor as $, EmitterDefinition as A, GlowValue as B, FoldValue as C, ShineValue as D, RevealRoundValue as E, DisplacementValue as F, AnimPlayerValue as G, OutlineValue as H, FilterArea as I, MotionKeyframe as J, Config$3 as K, FilterComponent as L, AlphaValue as M, BlurValue as N, VignetteValue as O, ColorMatrixValue as P, HapticKind as Q, FilterSpec as R, FlashValue as S, RevealLineValue as T, UniformDeclaration as U, NoiseValue as V, AnimApi as W, Target as X, State$3 as Y, types_d_exports$3 as Z, State$2 as _, use as _t, AudioApi as a, haptic as at, BloomValue as b, types_d_exports$4 as bt, MusicDescriptor as c, play as ct, State$1 as d, sfx as dt, Step as et, VolumesFor as f, spawn as ft, EffectsStats as g, tween as gt, EffectsApi as h, stopSfx as ht, types_d_exports as i, frames as it, EmitterValue as j, EmitterConfig as k, MusicOptions as l, sequence as lt, Config$2 as m, stagger as mt, State as n, defineAnimation as nt, AudioContextLike as o, mark as ot, types_d_exports$1 as p, spawned as pt, FramesValue as q, UiApi as r, external as rt, Config$1 as s, parallel as st, Config as t, HAPTIC_KINDS as tt, SoundEntry as u, set as ut, types_d_exports$2 as v, wait as vt, GradeValue as w, DissolveValue as x, AuraValue as y, OverlayApi as yt, FilterValueOf as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as HeadlessApp } from "./headless-
|
|
1
|
+
import { Qr as Snapshot, Ur as Json } from "./types-CayM8xne.mjs";
|
|
2
|
+
import { t as HeadlessApp } from "./headless-DRiVyv9T.mjs";
|
|
3
3
|
import { Log } from "@moku-labs/common/browser";
|
|
4
4
|
|
|
5
5
|
//#region src/plugins/flow/doors/types.d.ts
|
|
@@ -14676,4 +14676,4 @@ type BundleCompanion = {
|
|
|
14676
14676
|
unload(bundle: string): void;
|
|
14677
14677
|
};
|
|
14678
14678
|
//#endregion
|
|
14679
|
-
export { MonitorConfig as $,
|
|
14679
|
+
export { MonitorConfig as $, DescriptionNode as $n, SnapshotOf as $r, PerfSpikeLine as $t, FilterSlotQuad as A, FeatureDescription as An, Config$4 as Ar, OverlayEventDetail as At, Parent as B, RouteStep as Bn, Api$5 as Br, PerfChangeEntry as Bt, SceneSpec as C, types_d_exports$3 as Cn, Narrowed as Cr, FrameReadResult as Ct, DebugSwitches as D, slot as Dn, SystemFor as Dr, LongFrameEntry as Dt, types_d_exports$1 as E, exit as En, SystemDefinition as Er, FrameRing as Et, HudPartValue as F, DefineNode as Fn, ClockSource as Fr, PROBLEM_RULES as Ft, SpriteOptions as G, EffectOptions as Gn, State$6 as Gr, PerfEventName as Gt, ShapeValue as H, TypeTag as Hn, Events$5 as Hr, PerfCounts as Ht, NineSlice$1 as I, FlowGraph as In, Config$5 as Ir, PassKind as It, TransformValue as J, NodeFx as Jn, PlayerStateProvider as Jr, PerfLogLine as Jt, SpriteValue as K, GuideOptions as Kn, types_d_exports$6 as Kr, PerfGapLine as Kt, NineSliceValue as L, FlowState as Ln, FakeClock as Lr, PassRecord as Lt, WhyEntry as M, FeatureTree as Mn, State$4 as Mr, PERF_CAUSES as Mt, Display as N, AnyFlow as Nn, types_d_exports$4 as Nr, PERF_GAP_BUCKETS as Nt, FilterSlot as O, to as On, TagType as Or, MONITOR_SECTIONS as Ot, HudPart as P, Bookmark as Pn, Api$4 as Pr, PERF_LOG_VERSION as Pt, Config$2 as Q, ChangeHook as Qn, Snapshot as Qr, PerfSampleLine as Qt, Overlay as R, JournalEntry as Rn, State$5 as Rr, PerfCause as Rt, SceneDefinition as S, TextStylesOf as Sn, Mut as Sr, FrameColumns as St, State$1 as T, defineFlow as Tn, ResourceType as Tr, FrameRecord as Tt, Sprite as U, Descriptor as Un, Json as Ur, PerfDisplay as Ut, Shape as V, SceneIdOf as Vn, Config$6 as Vr, PerfCollectorLine as Vt, SpriteBlend as W, Effect as Wn, Root as Wr, PerfEventLine as Wt, AdaptiveScale as X, Answered as Xn, SaveDoc as Xr, PerfMarkLine as Xt, sprite as Y, Answer as Yn, ProviderCall as Yr, PerfLongFrameLine as Yt, Api$1 as Z, AnchorTarget as Zn, SaveUnreadableError as Zr, PerfMeasured as Zt, AnySceneProjection as _, Config$9 as _i, GameTypes as _n, ComponentType as _r, Point as _t, Config as a, Events$6 as ai, ProblemRule as an, ProjectionMotion as ar, PixiTexture as at, Events$1 as b, State$3 as bn, EntitySnapshot as br, RetakeWhy as bt, LoadBundles as c, types_d_exports$7 as ci, ShaderWhat as cn, SceneSwitch as cr, State$2 as ct, Manifest as d, FrameRate as di, CanvasRestart as dn, ViewHandle as dr, ShotsApi as dt, StoreApi as ei, PerfStartupLine as en, Ease as er, PixiContainer as et, ReadyBundles as f, RateChange as fi, DEMAND_REASONS as fn, AnyComponent as fr, ShotsConfig as ft, types_d_exports as g, types_d_exports$8 as gi, EmitterIdOf as gn, ComponentSchema as gr, Orientation as gt, Usage as h, Time as hi, Config$3 as hn, ComponentHandle as hr, RenderStats as ht, BundleSpec as i, Config$7 as ii, ProblemEventDetail as in, NumericFields as ir, PixiSprite as it, SyncApi as j, FeaturePlugin as jn, Explained as jr, OverlayWhat as jt, FilterSlotInputs as k, type as kn, Api$3 as kr, MonitorSections as kt, LoadReason as l, Api$7 as li, WarmDetail as ln, TrackOptions as lr, Under as lt, Tier as m, ThermalReading as mi, BundlesOf as mn, AnyComponentValue as mr, MonitorCounts as mt, AssetsIo as n, RngState as ni, PerfThermalLine as nn, MotionCause as nr, PixiGpuProgram as nt, DefineBundles as o, PauseReason as oi, SHADER_WHATS as on, ProjectionSpec as or, PixiUniformGroup as ot, State as p, State$8 as pi, Api$2 as pn, AnyComponentType as pr, Captured as pt, Transform as q, Hint as qn, Patch as qr, PerfHeaderLine as qt, BundleMap as r, Api$6 as ri, PoolTrimDetail as rn, MotionHandle as rr, PixiModule as rt, Events as s, State$7 as si, ShaderEventDetail as sn, ReducedMotion as sr, PoolTrim as st, Api as t, RngApi as ti, PerfTelemetryLine as tn, Motion as tr, PixiFilter as tt, LoadResult as u, Config$8 as ui, CANVAS_RESTARTS as un, TrackSegment as ur, types_d_exports$2 as ut, Config$1 as v, Events$8 as vi, HudKeysOf as vn, ComponentValue as vr, ViewportSize as vt, ScenesApi as w, contribution as wn, QueryTerm as wr, FrameReadout as wt, LayerMap as x, TextFormatsOf as xn, FrameDiff as xr, WhyLive as xt, DefineScene as y, Require as yi, Position as yn, Entity as yr, FilterCache as yt, OverlayValue as z, NodeTable as zn, types_d_exports$5 as zr, PerfChange as zt };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { r as Repro } from "./headless-
|
|
5
|
-
import { i as ControlApp, o as InputOf } from "./types-
|
|
6
|
-
import { t as commands } from "./commands-
|
|
1
|
+
import { Br as Api$2, Pr as Api$4, Z as Api, kr as Api$1, ri as Api$3 } from "./types-CayM8xne.mjs";
|
|
2
|
+
import { W as AnimApi, r as UiApi } from "./types-C1-VCBhy.mjs";
|
|
3
|
+
import { R as InputApi } from "./types-BlXBiM8d.mjs";
|
|
4
|
+
import { r as Repro } from "./headless-DRiVyv9T.mjs";
|
|
5
|
+
import { i as ControlApp, o as InputOf } from "./types-Ca90Yo7d.mjs";
|
|
6
|
+
import { t as commands } from "./commands-CYXJyv3w.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/visual/types.d.ts
|
|
9
9
|
/** The base commands of the `/control` door, keyed by their short names. */
|